dcsimg
Redirecting requests
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Dan_Messina
Posted On:   Friday, December 12, 2003 04:47 AM

I would like to know if it is possible to redirect all requests for pages to a servlet. I would like to have my servlet examine the http request and get the requested page via file i/o then if the user has permission to view the resource serve the page.

Any help would be appreciated.

Sorry if this question appears twice. I don't see my previous post.

Re: Redirecting requests

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, December 12, 2003 05:58 AM

Specify the wildcard in the servlet-mapping, in your web.xml. Also you might want to write it as a filter perhaps.

About | Sitemap | Contact