i have it like this
<servlet-mapping>
<servlet-name>action<servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>

any idea?

On Tue, Dec 2, 2008 at 10:42 AM, nikunj <[EMAIL PROTECTED]> wrote:

> Have u put following filters in web.xml?
>
>
> <filter>
>        <filter-name>action</filter-name>
>        <filter-class>org.apache.struts.action.ActionServlet</filter-class>
>    </filter>
>
> <filter-mapping>
>        <filter-name>action</filter-name>
>        <url-pattern>*.do</url-pattern>
>        <url-pattern>*.jsp</url-pattern>
>    </filter-mapping>
>
> Regards
> Nikunj Mulani
>
> -----Original Message-----
> From: hello_everyone [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 02, 2008 1:25 PM
> To: user@struts.apache.org
> Subject: .do and .jsp
>
> Hi,
>
>
>
> I am working on an application, which is developed with struts 1.2.9.
>
> I added a .jsp page and action against that page. Now the problem is: if in
> struts-config.xml, I specify the path of page with .jsp, it works. But with
> .do extension it doesn't work. Is there any other place in struts besides
> configuration file where we have to make an entry of the forward?
>
>
>
> Regards,
>
>
>
> __________ NOD32 3656 (20081202) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to