Development Environment
- JSP
- Servlet
- Database (MySQL/or any)
- Download Eclipse from www.eclipse.org version eclipse-sdk--win32.zip and extract to your desired folder.
- Download Tomcat from www.tomcat.apache.org and extract to your desired folder any binary version.
- Download sysdeo eclipse tomcat launcher plugin version tomcatPlugin.zip and extract it to eclipse plugin directory.
File Structure in Eclipse
- /project - All JSP fles
- /project/WEB-INF - Configuration directory containing deployment and descriptors
- /project/WEB-INF/classes - Servlet object directory
- /project/WEB-INF/src - Source directory for servlet
- /project/WEB-INF/lib - library and jar file for the project
- /project/work - Working directory containing pre-compiled JSP files
And at last we have to create a web.xml file in WEB-INF folder, the file is about your class file specified directories...
No comments:
Post a Comment