hello!

I run a restlet application inside a j2ee container.

in my web xml are the following entries:

<servlet-mapping>  
 <servlet-name>RestletServlet</servlet-name>  
 <url-pattern>/restlet/*</url-pattern>
</servlet-mapping>

and

<welcome-file-list>
 <welcome-file>index.html</welcome-file>
</welcome-file-list>

Now every call to the server like "localhost:8080/MyApplication/restlet/*" is 
mapped to the application.
If I just type localhost:8080/MyApplication/ i get redirected to 
"localhost:8080/MyApplication/index.html"

How can I redirect every other call (i.e. 
"localhost:8080/MyApplication/othercall" to 
"localhost:8080/MyApplication/error.html" ?

Thanks in advance!

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2436507

Reply via email to