Tim Moores wrote:Maybe you inadvertently mapped a servlet to / or /* ?
yes it is /*
I set it to contentPath/ but still dont work
Now at least, whatever I set as a welcome file works
but from a button and action="servlet_name"
I cannot trigger the servlet. Stuck on this from yesterday, cant believe it
<form METHOD=POST ACTION="init">
UserName: <input type="text" name="uname" /><br />
Password: <input type="text" name="pwd" />
<P><INPUT TYPE=SUBMIT>
</form>
cannot triger the controler mapped as 'init'
The requested resource (/LaPizzeria/init) is not available.
where my content path = "LaPizzeria"
P.P.
FINALY works after few hours split yesterday and today, cant believe this stupid xml
<servlet-name>init</servlet-name>
<url-pattern>/</url-pattern>
should be '/' , not '/*'