I'm using Tomcat 4.1.18 on Linux.  When I deploy my
app (war file in the 'webapps' directory) and the
invoker servlet is uncommented from web.xml, my
application works fine.

I then comment out the invoker servlet, and remove all
references in my JSPs to 'servlet' as part of form
'action' values, and the application stops working
(resource ... is not available).

As an example, if a form in a JSP has
action="/myapp/servlet/MyServlet/NextJsp", I removed
'/servlet'.  I have one servlet, MyServlet, that
handles all of the control logic, so all 'actions'
refer to this servlet.

The servlet class is obviously defined, and the
servlet mapping is as follows:

<servlet-mapping>
  <servlet-name>MyServlet</servlet-name>
  <url-pattern>/myapp</url-pattern>
</servlet-mapping>

This mapping is the same one that works when the
invoker servlet is uncommented.

Can someone please explain to me what is happening?

Thank you.

Les



=====
--
-----------------------------------------------------------
Les Hartzman    "Those that don't read have no
                 advantage over those that can't."  -- Mark Twain



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to