Hi all!

My big problem is this:
I have a servlet with two methods: the first builds an XML file and then
calls a JSP file and the second does some elaboration and then calls a
JSP file.

If I first call the first method and then the second I have this
situation: the first method is correctly executed while the second
returns this error:


"HTTP Error 405
405 Method Not Allowed

The method specified in the Request Line is not allowed for the resource
identified by the request. Please ensure that you have the proper MIME
type set up for the resource you are requesting.

Please contact the server's administrator if this problem persists."

How can I set the right MIME type for the first method and then for the
second?

Please help me. I'm a little desperate.

Thanks in advance.

Katiuscia.

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