wood burning stoves 2.0*
The moose likes Servlets and the fly likes Tompcat - calling servlet from JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tompcat - calling servlet from JSP" Watch "Tompcat - calling servlet from JSP" New topic

Tompcat - calling servlet from JSP

m asif

Joined: Apr 01, 2003
Posts: 6
Hi everyone,
I am getting no page found error while calling servlet from jsp page.
here is jsp code:
<form name="Form"
<input type="hidden" name="action" value="ADD">
<input type="submit" name="Submit" value="Add">
following is WAR file configuration:
web.xml path: web-inf/
jsp Path: web-inf/
servlet path: web-inf/classes/asif/
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

servlet1 and Servlet1 are two different things (the case of the first letter).

Also, it's WEB-INF, not web-inf (and yes, it absolutely makes a difference)
m asif

Joined: Apr 01, 2003
Posts: 6
Mike your are the Man!!! thanks for telling me very basic.
Consider Paul's rocket mass heater.
subject: Tompcat - calling servlet from JSP
Similar Threads
Http status 404 resource not available
Error: creating bean of class (HELP THE NEWBE)
help with module level struts config
Cannot find ActionMappings or ActionFormBeans collection
obatining JNDI connection in load-on-startup or context listener?