Hi,

In article <[EMAIL PROTECTED]>,
Thu, 8 Sep 2005 18:06:32 +0530,
"Sharma, Harsh" <[EMAIL PROTECTED]> wrote: 
harshs> I am a newbie to Cactus.....I am trying to run "SampleTag" &
harshs> "TestSampleTag" Sample which comes with cactus 1.7.1
harshs> 
harshs> My Web.xml look like....
[snip]
harshs>         <servlet>
harshs>                 <servlet-name>JSPRedirector</servlet-name>
harshs>         
harshs> <servlet-class>org.apache.cactus.server.JSPTestRedirector</servlet-class
harshs> >
harshs>         </servlet>

JspRedirector is distributed as a JSP file.
So, your web.xml should have entry like as follows:
    <servlet>
        <servlet-name>JspRedirector</servlet-name>
        <jsp-file>/jspRedirector.jsp</jsp-file>
    </servlet>

    <servlet-mapping>
        <servlet-name>JspRedirector</servlet-name>
        <url-pattern>/JspRedirector</url-pattern>
    </servlet-mapping>

See also: 
http://jakarta.apache.org/cactus/integration/manual/howto_config.html#serverside

Hope this helps,
----
Kazuhito SUGURI

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to