Trond Hersløv wrote:
But, if I try using wildcards, eg. <url-pattern>/*foxer</url-pattern it doesent 
work anymore.

Correct. Wildcards are not supported for mapping paths. Read the servlet spec for more details.

If I try to map the servlet so that it seems like a jsp-page 
<url-pattern>/foxer.jsp</url-pattern>, it doesn't work at all.

Also correct. There is a server-wide mapping for *.jsp (wild cards are supported for extension mapping) in $TOMCAT_HOME/conf/web.xml

In the book I also read that I should be able to access the servlet even if 
it's not mapped up in web.xml. http://www.mymachine.no/servlet/foxer Ofcourse 
this does also not work.

This is using the invoker servlet, which is disabled by default.

Who can explain how to use the <url-pattern> and maybe tell me where I can find 
some documentation on how to configure web.xml

The servlet spec.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to