Hi All,

I have added the following in a web.xml

<servlet>
    <servlet-name>foo</servlet-name>
    <jsp-file>/foo.jsp</jsp-file>
</servlet>
<servlet-mapping>
    <servlet-name>foo</servlet-name>
    <url-pattern>/foo</url-pattern>
</servlet-mapping>

So essentially, if my request goes to
http://localhost:9763/<context>/foo should be
served by foo.jsp

But this doesn't work in AS. I have tried the same in tomcat 7.0.5, and it
works fine. Anybody has a clue about it ?

-- 
*Thanks & Regards,

Nuwan Bandara
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://nuwan.bandara.co
*
<http://www.nuwanbando.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to