Hi,

>The cause of this (at least 99.9% of the time) is in your
>init(ServletConfig
>config) method.  Did you remember to call super.init(config)?

Your da man!! ;)

Let me ask you then..I have to use request.getRequestURI() to get my form
action. When I use request.getServletPath() I am getting "null" back. Is
this the reason also? I just fixed my ControllerServlet to add the
super.init(config). I had this before..I must have overwritten it..stupid
me.

So the question is, does getRequestURI always return the .jsp page the
request comes from, while getServletPath() returns the actual *.do action?

If so, is the reason why getServletPath() was returning null is because I
didn't call the super.init(config)?

Thanks Craig.

===========================================================================
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