You have a few options:
Set up your application like this
| - JSP (put your jsp's here)
| - WEB-INF
| -- classes
| -- lib
Make this or your app into a war and place it in the
You can create you dir stuct like this (This is what I do)
C:\MyApplication.war (NOTICE the .war extension is the name of my application directory), just put it in the deploy directory and work from..
Hope this helps..
I would like to ask something more,
i have done the same ,war file is deployed properly,
showing index.jsp on the screen but while calling servlet
it is giving error message classnot found.
Can you show me an example that how to call servlet.
Because i m using same method which i am using for calling
on the tomcat standalone.
I have the same issue. When I am posting to my servlet I keep getting:
23:45:07,750 INFO [Engine] StandardHost[localhost]: MAPPING configuration error
for request URI /BaseServlet
On My JSP Page I have
In My web.xml I have
Don't forget that servlets etc. are relativt to the web-root.
So if your web-root is /foo and the servlet is at /barServlet, then
you can access it at /foo/barServlet.