Currently I am working on NetBeans 6.9 and using Apache Tomcat 6.0 server.
Following are the steps that how to work with NetBeans 6.9 and creating your first Servlet Project(web Application).
Step 1: goto File->New Project
Step 2: Choose Project->Java Web->Web Application
click on next
Step 3: Give Name of the Project and Location of Project.
click on Next
Step 4: In next Step I am using Apache Tomcat 6.0 as Server. you can choose another one if you want.
Step 5: If You want to use any Framework then select that framework and then click on Finish button.
Step 6: Project Window after Adding Project
Step 7: Adding Servlet file to Project.
Right Click on Project->New->Servlet
Step 8: Give Name and Location of the Servlet and click on Next
Following are the steps that how to work with NetBeans 6.9 and creating your first Servlet Project(web Application).
Step 1: goto File->New Project
Step 2: Choose Project->Java Web->Web Application
click on next
Step 3: Give Name of the Project and Location of Project.
click on Next
Step 4: In next Step I am using Apache Tomcat 6.0 as Server. you can choose another one if you want.
Step 5: If You want to use any Framework then select that framework and then click on Finish button.
Step 6: Project Window after Adding Project
Step 7: Adding Servlet file to Project.
Right Click on Project->New->Servlet
Step 8: Give Name and Location of the Servlet and click on Next
Step 9: In
Configure servlet Deployment Servlet Name and Url Pattern are already
set as Class Name but you can change both here or in web.xml file
present in WEB-INF folder of your project.
Step 10: Project in Projects Window After Adding Servlet File.
More Servlet Topics :
- Introduction : Servlet Interface
- Java Package javax.servlet(Interfaces,Classes and Methods)
- Java Package javax.servlet.http (Interfaces,Classes and Methods)
- How to Create a Web Application using NetBeans and Apache Tomcat Server
- Basic Program using HttpServlet Class
- Basic Login Program using JSP and GenericSevlet class
- Login using JDBC,Servlet with NetBeans and Oracle
- SevletConfig Interface using JDBC,NetBeans 6.9 and Oracle 10g
- Validation on TextField using JavaScript and Print command using servlet on NetBeans
- ServletContext Interface
- RequestDispatcher Interface and SendRedirect() Method
- Session Tracking
- Session Tracking using Cookies
- Session Tracking using HttpSession Interface
- Session Tracking using URL Rewriting
- Session Tracking using Hidden Forms Field
- Sql Query Tool using Servlet
No comments:
Post a Comment