Hi Friends,

I have a servlet with init and doPost methods.
A Html page with a form's method set to "post"
is used to invoke this servlet.Jrun is used as
the servlet engine.

On my local machine first I had Jrunpro2.2.
That time this servlet got invoked and worked fine.
Later for some reasons I had to change to Jrun 2.2
Now when the html page invokes the servlet, I see
that the init(ServletConfig) is executed finely and not
the doPost(req,resp).
Instead I get an error message saying

"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."

When I change the form's method to "get" ,
The error message says that get is not implemented for this servlet
(this
servlet does not have a doGet method indeed) which is sensible.But why
is it
not recoignising the doPost method.
Is that I am missing something that is more obvious or is it a
configuration
problem
regarding jrun.

Please help me.

Thanks .

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to