Hi,

I'm trying to set up a very simple application :

1. I load an index.jsp file which creates a JavaBean (AdminSession.AdminSessionBean) 
and contains a
link to a servlet (<A HREF="servlet/AdminSession.AdminSessionServlet>, having 
Auto-Invoker's Servlet
Web Path set to .../servlet);

2. After clicking on this link, the servlet sets a property of AdminSessionBean with 
some computed
value, then calls back index.jsp using callPage(..);

3. index.jsp is redisplayed according to the value set in AdminSessionBean;

4. another click on the servlet link is supposed to set back AdminSessionBean to its 
previous state,
and redisplay index.jsp just as it was the first time it was called.

The problem is that everything's fine up to step 3, but when one clicks a second time 
on the servlet
link, the following error message is returned :

[Error 500

An error has occured while processing
request:http://myurl.mydomain.com/LocalWebApp/servlet/servlet/AdminSession.AdminSessionServlet

Message:Server caught unhandled exception from servlet [Auto-Invoker]
Target Servlet: Auto-Invoker]

Any idea why the hell Auto Invoker duplicates "servlet" in the request path ???

Thanks in advance,

Seb.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to