Hi all,
I'm attempting to map a controller servlet so that any requests go
through it... (the MVC method).
I have a context/application called test that is accessable via the URL
"http://myhost.com/test/". In the web.xml file (in the
"webapps/test/WEB-INF" directory) I put the following mapping:
<servlet>
    <servlet-name>router</servlet-name>
    <servlet-class>router</servlet-class>
</servlet>
<servlet-mapping>
    <servlet-name>router</servlet-name>
    <url-pattern>/*</urlpattern>
</servlet-mapping>

the idea is that I should be able to request the file test.jsp and have
the router servlet pick up the request (to test for a login)...but the
servlet never gets the request... the test.jsp page just comes right
up.... grrrrr...
I'm requesting it with the URL "http://myhost.com/test/test.jsp".
Any ideas/suggestions???
Matt Goss
begin:vcard 
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
url:www.rtci.com
org:RTCI;Custom Solutions
adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US
version:2.1
email;internet:[EMAIL PROTECTED]
title:Web Developer
fn:Matt
end:vcard

Reply via email to