Wednesday, August 7, 2013

How to create webapplication in NetBeans Software ?

How to create webapplication in Netbeans ?
----------------------------------------------------

1)Go to FileMenu->NewProject->JavaWeb->WebApplication->next->
2)Provide projectname(HelloWorld)
3)Choose the Server: to which you want to deploy the webapplication(HelloWorld)
In my case I have choosen Tomcat server to deploy my webapplication.You can
choose any server other than tomcat Eg:Weblogic,Glassfish etc...
4)Click on Finish
5)Right click on index.jsp and click Run file..
6)Browser will be opened with url some thing like as given below with
"HelloWorld" message.

http://localhost:8084/HelloWorld/index.jsp
7)By default tomcat runs on port 8080. In my system I have changed the port no
to 8084 because in my system oracle XE is running on port 8080. As 8080 is busy
with oracle I have changed the port to 8084.If you port is 8080. Then the url in
browser will be
http://localhost:8080/HelloWorld/index.jsp

8)Detailed screenshots are in the attached zip folder.

Please let me know your comments to anilkumar.spectrum@gmail.com

No comments:

Post a Comment