Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HTTP method POST is not supported by this URL

1,310 views
Skip to first unread message

Helena Åberg

unread,
Jul 12, 2000, 3:00:00 AM7/12/00
to
I get the "HTTP method POST is not supported by this URL" error when trying
to invoke a servlet from a jsp file. I have file the File Serving Enabler
running and the "Serve servlets by class name" servlet is enabled. And I
also checked that I'm using HttpServletRequest/Response. Any suggestions
would be much appreciated!

/Helena

PS. The exact error message is:

A recursive error was detected.
The server cannot use specified error page. Please check the application
error-path.

Original Error:
Error Message: HTTP method POST is not supported by this URL
Error Code: 405
Target Servlet: File Serving Enabler
Error Stack:
----------------------------------------------------------------------------
----
Root Error-1: HTTP method POST is not supported by this URL
com.ibm.servlet.engine.webapp.WebAppErrorReport: HTTP method POST is not
supported by this URL at
com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispa
tcherContext.java:240) at
javax.servlet.http.HttpServlet.doPost(HttpServlet.java:283) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:566) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:639) at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService
< ETC>

Michael Lehmann

unread,
Jul 12, 2000, 3:00:00 AM7/12/00
to
Hi Helena !

It seems that you use the wrong URL to call your servlet. Normally anonymous
servlets will be called via
http://yourhostname/webapppath/servlet/packagename.servletclassname

So first check if the URL in your jsp page is correct.

Michael

Helena Åberg

unread,
Jul 13, 2000, 3:00:00 AM7/13/00
to
Hi Micheal,

I've tried all sorts of combinations for the URL in the jsp, so I don't
think this is the problem.

/Helena

Ken Hygh

unread,
Jul 13, 2000, 3:00:00 AM7/13/00
to
Helena,
Note that this message is being produced by the 'File Serving Enabler'. As
Michael points out, you're either using the wrong URL, or you do not have a JSP
enabler configured for your URL.

Ken

"Helena Åberg" wrote:

> I get the "HTTP method POST is not supported by this URL" error when trying
> to invoke a servlet from a jsp file. I have file the File Serving Enabler
> running and the "Serve servlets by class name" servlet is enabled. And I
> also checked that I'm using HttpServletRequest/Response. Any suggestions
> would be much appreciated!
>
> /Helena
>

Michael Lehmann

unread,
Jul 13, 2000, 3:00:00 AM7/13/00
to
Hi Helena !

I think you should check the Webpath of your Invoker Servlet. It should look like

default_host/WebApplicationWebPath/servlet.

In your JSP page you can call for example a servlet using the URL
/servlet/com.test.TestServlet or if you want call a servlet in another wep
application using the full URL (for example
http://yourhostname/WebApplicationPath/servlet/com.test.TestServlet

Michael

Sigtryggur Sigtryggsson

unread,
Jul 13, 2000, 3:00:00 AM7/13/00
to
Hello

I have the same problem as Helena althoug I can invoke my servlet from a jsp
but the problem is that I want to invoke two servlets at the same time from
the same jsp as in the following skra.jsp:

<SERVLET Name=Registration CODEBASE=/myapp/servlet/Registration></SERVLET>
<SERVLET Name=SnoopServlet CODEBASE=/myapp/servlet/SnoopServlet></SERVLET>

The first servlet is displayed but after that there is an error message for
the SnoopServlet see below.
If I run either one of the servlets individually then I get no error and the
Registration or the Snoop servlet are
displayed correctly.

-------------------------------- results
below ------------------------------------------

Registration Servlet


Username: Password:


A recursive error was detected.
The server cannot use specified error page. Please check the application
error-path.


Original Error:
Error Message: Server caught unhandled exception from servlet [JSP 0.91]
Error Code: 500
Target Servlet: JSP 0.91
Error Stack:


----------------------------------------------------------------------------
----

Root Error-1: Unhandled exception caught in JSP service method: Exception
caught for servlet: null
javax.servlet.ServletException: Unhandled exception caught in JSP service
method: Exception caught for servlet: null at java.lang.Exception.(Compiled
Code) at javax.servlet.ServletException.(Compiled Code) at
pagecompile._skra_xjsp.service(Compiled Code) at
javax.servlet.http.HttpServlet.service(Compiled Code) at
com.ibm.servlet.jsp.http.pagecompile.JSPState.service(Compiled Code) at
com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doService(Compiled
Code) at
com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doGet(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code) at
javax.servlet.http.HttpServlet.service(Compiled Code) at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled Code)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code) at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled
Code) at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code) at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled Code)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled
Code) at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled
Code) at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled
Code) at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled
Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Co
mpiled Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled
Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Com
piled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(Compiled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(Compiled Code) at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled Code) at java.lang.Thread.run(Compiled Code)


----------------------------------------------------------------------------
----

Wrapped Error-2: pagecompile._skra_xjsp.class
javax.servlet.ServletException: pagecompile._skra_xjsp.class at
java.lang.Exception.(Compiled Code) at
javax.servlet.ServletException.(Compiled Code) at
com.ibm.servlet.jsp.http.pagecompile.JSPState.service(Compiled Code) at
com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doService(Compiled
Code) at
com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doGet(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code) at
javax.servlet.http.HttpServlet.service(Compiled Code) at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled Code)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code) at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled
Code) at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code) at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled Code)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled
Code) at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled
Code) at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled
Code) at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled
Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Co
mpiled Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled
Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Com
piled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(Compiled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(Compiled Code) at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled Code) at java.lang.Thread.run(Compiled Code)


----------------------------------------------------------------------------
----

Wrapped Error-3: Uncaught exception from JSP: /skra.jsp
javax.servlet.ServletException: Uncaught exception from JSP: /skra.jsp at
java.lang.Exception.(Compiled Code) at
javax.servlet.ServletException.(Compiled Code) at
com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doService(Compiled
Code) at
com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doGet(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code) at
javax.servlet.http.HttpServlet.service(Compiled Code) at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled Code)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code) at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled
Code) at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code) at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled Code)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled
Code) at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled
Code) at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled
Code) at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled
Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Co
mpiled Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled
Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Com
piled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(Compiled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(Compiled Code) at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled Code) at java.lang.Thread.run(Compiled Code)


----------------------------------------------------------------------------
----

Wrapped Error-4: Server caught unhandled exception from servlet [JSP 0.91]
com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught
unhandled exception from servlet [JSP 0.91] at java.lang.Exception.(Compiled
Code) at javax.servlet.ServletException.(Compiled Code) at
com.ibm.websphere.servlet.error.ServletErrorReport.(Compiled Code) at
com.ibm.servlet.engine.webapp.WebAppErrorReport.(Compiled Code) at
com.ibm.servlet.engine.webapp.UncaughtServletException.(Compiled Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled Code)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled
Code) at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled
Code) at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled
Code) at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled
Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Co
mpiled Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled
Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Com
piled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(Compiled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(Compiled Code) at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled Code) at java.lang.Thread.run(Compiled Code)


Recursive Error:
Error Message: Server caught unhandled exception from servlet [File Serving
Enabler]
Error Code: 0
Target Servlet: null
Error Stack:


----------------------------------------------------------------------------
----

Root Error-1: null
java.lang.NullPointerException at java.text.MessageFormat.format(Compiled
Code) at java.text.MessageFormat.format(Compiled Code) at
java.text.MessageFormat.format(Compiled Code) at
com.ibm.servlet.engine.webapp.SimpleFileServlet.doGet(Compiled Code) at
javax.servlet.http.HttpServlet.service(Compiled Code) at
javax.servlet.http.HttpServlet.service(Compiled Code) at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled Code)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code) at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled
Code) at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code) at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.include(Compiled Code)
at com.ibm.servlet.engine.webapp.WebApp.sendError(Compiled Code) at
com.ibm.servlet.engine.webapp.WebApp.sendError(Compiled Code) at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled Code)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled
Code) at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled
Code) at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled
Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Co
mpiled Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled
Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Com
piled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(Compiled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(Compiled Code) at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled Code) at java.lang.Thread.run(Compiled Code)


----------------------------------------------------------------------------
----

Wrapped Error-2: null
javax.servlet.ServletException at java.lang.Exception.(Compiled Code) at
javax.servlet.ServletException.(Compiled Code) at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled Code)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code) at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled
Code) at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code) at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.include(Compiled Code)
at com.ibm.servlet.engine.webapp.WebApp.sendError(Compiled Code) at
com.ibm.servlet.engine.webapp.WebApp.sendError(Compiled Code) at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled Code)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled
Code) at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled
Code) at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled
Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Co
mpiled Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled
Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Com
piled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(Compiled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(Compiled Code) at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled Code) at java.lang.Thread.run(Compiled Code)


----------------------------------------------------------------------------
----

Wrapped Error-3: Server caught unhandled exception from servlet [File
Serving Enabler]
com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught
unhandled exception from servlet [File Serving Enabler] at
java.lang.Exception.(Compiled Code) at
javax.servlet.ServletException.(Compiled Code) at
com.ibm.websphere.servlet.error.ServletErrorReport.(Compiled Code) at
com.ibm.servlet.engine.webapp.WebAppErrorReport.(Compiled Code) at
com.ibm.servlet.engine.webapp.UncaughtServletException.(Compiled Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.include(Compiled Code)
at com.ibm.servlet.engine.webapp.WebApp.sendError(Compiled Code) at
com.ibm.servlet.engine.webapp.WebApp.sendError(Compiled Code) at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled Code)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled
Code) at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled
Code) at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled
Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Co
mpiled Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled
Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Com
piled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(Compiled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(Compiled Code) at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled Code) at java.lang.Thread.run(Compiled Code)


----------------------------------------------------------------------------
----

Wrapped Error-4: Server caught unhandled exception from servlet [File
Serving Enabler]
com.ibm.servlet.engine.webapp.WebAppErrorReport: Server caught unhandled
exception from servlet [File Serving Enabler] at
java.lang.Exception.(Compiled Code) at
javax.servlet.ServletException.(Compiled Code) at
com.ibm.websphere.servlet.error.ServletErrorReport.(Compiled Code) at
com.ibm.servlet.engine.webapp.WebAppErrorReport.(Compiled Code) at
com.ibm.servlet.engine.webapp.WebApp.sendError(Compiled Code) at
com.ibm.servlet.engine.webapp.WebApp.sendError(Compiled Code) at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled Code)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled
Code) at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled
Code) at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled
Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Co
mpiled Code) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled
Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Com
piled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(Compiled Code) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(Compiled Code) at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled Code) at java.lang.Thread.run(Compiled Code)


"Helena Åberg" <hel...@appeal.se> wrote in message
news:8kiant$b0g$1...@news.software.ibm.com...

Rajendra Mishra

unread,
Jul 14, 2000, 3:00:00 AM7/14/00
to
Helena,

I had faced the exact problem like you have described and the temporary
fix that i did was to specify the entire path. For some reason, using the
short-name of the servlet gives this error.
I also noticed that I got this error when the jsp page was accessed
after a few forwards using request dispatcher. Also, another thing that I
noticed was that if you specfy something like "../<app-server name>/<servlet
name>", then it works.

Raaj.

jhc...@my-deja.com

unread,
Jul 14, 2000, 3:00:00 AM7/14/00
to
Check your Auto-Invoker setting for the path name in the servlet web
path list.

Suppose your web application is called "YourWebApp", unthe Topology,
locate YourWebApp under ServletEngine. There should be an Auto-invoker
setting.

In that frame, your web path list may contain something like:

default_host/YourWebApp/servlet

You may need to change it to:

default_host/YourWebApp/servlets

if your servlets are actually stored in a directory named "servlets"

In article <8kjtoe$ios$1...@news.software.ibm.com>,


"Helena Åberg" <hel...@appeal.se> wrote:
> Hi Micheal,
>
> I've tried all sorts of combinations for the URL in the jsp, so I
don't
> think this is the problem.
>
> /Helena
>
> Michael Lehmann wrote:
>
> > Hi Helena !
> >
> > It seems that you use the wrong URL to call your servlet. Normally
> anonymous
> > servlets will be called via
> > http://yourhostname/webapppath/servlet/packagename.servletclassname
> >
> > So first check if the URL in your jsp page is correct.
> >
> > Michael
> >
> > "Helena Åberg" wrote:
> >

> > > I get the "HTTP method POST is not supported by this URL" error
when
> trying
> > > to invoke a servlet from a jsp file. I have file the File Serving
> Enabler
> > > running and the "Serve servlets by class name" servlet is
enabled. And I
> > > also checked that I'm using HttpServletRequest/Response. Any
suggestions
> > > would be much appreciated!
> > >
> > > /Helena
> >
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

Helena Åberg

unread,
Jul 17, 2000, 3:00:00 AM7/17/00
to
I found the problem now. It was the wrong path combined with the fact that I
was trying to deploy a servlet to a directory when it was already included
in the EJB jar-file. I couldn't understand why my code changes in the
servlet had no effect. Stupid mistake!
Thanks everybody for your input!

/Helena


Michael Lehmann wrote:

> Hi Helena !
>

0 new messages