Forums Register Login
I get ServletException from a very simple html form
Hello all,
I have this html page :

this action in struts:

this form:

and this action:

And it doesn't work. It doesn't enter my action, i get:


Servlet execution threw an exception
org.apache.catalina.core.ApplicationFilterChain:internalDoFilter (292)
org.apache.catalina.core.ApplicationFilterChain oFilter (188)
org.apache.catalina.core.StandardWrapperValve:invoke (213)
org.apache.catalina.core.StandardContextValve:invoke (172)
org.apache.catalina.core.StandardHostValve:invoke (127)
Try this,

Look at forward slash "/", added into path !
Doesn't work with slash, i get:

type Status report

message /xlsImportAction.do

description The requested resource (/xlsImportAction.do) is not available.
The exception you posted is not sufficient to tell what exactly happening at server side , better you post the error which present in logs !
in what log? at the console i don't have log
Your application server should have a log file. The appliation servers I've worked with the name is configurable. On Sun servers its called server.log. Also, since it looks like the problem is happening in your filters you might want to post your web.xml.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 988 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jan 18, 2018 23:02:52.