Please also check whether this worked on the previous AS release.

On Fri, Mar 23, 2012 at 8:49 AM, Nuwan Bandara <[email protected]> wrote:

> 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
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to