Jsp- java server pages-using netbean6.8
Introduction:
IDE – Integrated Development Environment. It is very useful to create web application.
Now a days most of the company use IDE to develop web application.we use netbean 6.8 IDE to create web application.
Now a days most of the company use IDE to develop web application.we use netbean 6.8 IDE to create web application.
Download netbean 6.8:
2). Install netbean 6.8
Using netbean 6.8:
Step 1:
Open NetBeans IDE 6.8
Step 2:
Create web project
New Project window will open
Under categories select Java Web and right side we select Web Application under projects.
Next
New Web Application window will open
Where we give project name JspProject
Next
New web Application window will open.
Where we select server as Apache Tomcat 6.0.20
Finish
home.jsp
< %@page contentType="text/html" pageEncoding="UTF-8"% >
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd >
< html >
< head >
< title > JSP Page < /title >
< /head >
< body >
< h1 > Hello World! < /h1 >
< /body >
< /html >
Step 5:
Run the jsp application
Right click on home.jsp
Output
No comments:
Post a Comment