Re: Question about testing custom tags

Kazuhito SUGURI <[email protected]>
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
Hi,

In article <OFC35BACFF.EE60F089-ON85257132.00568197-85257132.0056B6F5@vanguard.com>,
Wed, 15 Mar 2006 10:47:09 -0500,
[email protected] wrote: 
samarth_kumar> web.xml
samarth_kumar>  
samarth_kumar> <servlet>
samarth_kumar>         <servlet-name>JspRedirector</servlet-name>
samarth_kumar>         <servlet-class>/jspRedirector.jsp</servlet-class>
samarth_kumar> </servlet>

<servlet>
        <servlet-name>JspRedirector</servlet-name>
        <jsp-file>/jspRedirector.jsp</jsp-file>
</servlet>


samarth_kumar> <servlet-mapping>
samarth_kumar>         <servlet-name>JspRedirector</servlet-name>
samarth_kumar>         <url-pattern>/JspRedirector</url-pattern>
samarth_kumar> </servlet-mapping>
samarth_kumar>  
samarth_kumar> The jspRedirector.jsp is located in the WEB-INF directory of the web 
samarth_kumar> application. 

Put the jspRedirector.jsp as /jspRedirector.jsp of the web application.

Hope this helps,
----
Kazuhito SUGURI
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.