- Create a new eclipse project using the Dynamic Web Project.
- After it's created, you may find an error in web.xml: Cannot find the declaration of element 'web-app'. To fix it, change all occurrences of j2ee to javaee in the attributes of the web-app tag in web.xml.
- Place all jars required by your app:
- into yourWebApp/WEB-INF/lib folder if you want just your app to acces it
- into tomcatHome/shared/lib folder if you want all web apps on the server to share it
- into tomcatHome/common/lib folder if you want all application and the server to be able to use it
Thursday, October 29, 2009
Use Eclipse to Build a Starter Java Web Application
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment