Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
86Activity
0 of .
Results for:
No results containing your search query
P. 1
JSP Tutorial

JSP Tutorial

Ratings:

4.5

(2)
|Views: 8,080 |Likes:
Published by vilasmenon

More info:

Published by: vilasmenon on Jul 23, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/17/2013

pdf

text

original

 
Database Application in JSP usingNetBeans
Created by: Siddharth Chatrola
INDEX
1.
 
Basic2.
 
Creating application and adding drivers3.
 
Creating Database Connection4.
 
Creating Database Connection pool in application5.
 
Creating Insert page6.
 
Creating Update page7.
 
Creating Delete page8.
 
Final Screenshots
 
1.
 
Basic:-
We make simple JSP application in NetBeans. It contains four jsp files.
o
 
Index.jsp : contains link for other three pages.
o
 
Insert.jsp : Insert data into STUDENT table and display.
o
 
Update.jsp : Update data of STUDENT table and display.
o
 
Delete.jsp : Delete data from STUDENT table and display.
STUDENT
table contains three fields and database is made using JavaDB.
COLUMN NAME TYPE DETAIL
ID VARCHAR(15) PRIMARY KEYNAME VARCHAR(40) NOT NULLBRANCH VARCHAR(40) NOT NULL
2.
 
Creating application and adding drivers:
o
 
Start NetBeans.
 
o
 
Go to File -> New project.
 
o
 
You will see the above window. Here from categories choose Java Web.
o
 
It will show you projects as shown in fig in right side tab.
o
 
Select Web Application and give next.
o
 
You will see next window as shown below.
 
 
o
 
Here you can specify project name and path where to store project.
o
 
When you give next it will show the web server settings.
o
 
We are using GlassFish as web server.
o
 
After giving next it will show window to choose framework.
o
 
We
are not using framework here so don’t select anyone and click finish
button. Our project is created.

Activity (86)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
JosueCarhuaricra liked this
Angelo Silva liked this
Bùi Lệ Quyên liked this
Bùi Lệ Quyên liked this
accord123 liked this
ghenriquez liked this
Bruce Lee liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->