struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hello_everyone <hello.sw...@gmail.com>
Subject Re: .do and .jsp
Date Tue, 02 Dec 2008 12:21:05 GMT
application is in 1.2.9 not in struts 2.0

On Tue, Dec 2, 2008 at 1:08 PM, hello_everyone <hello.swe26@gmail.com>wrote:

> 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 <nmulani@appliedcommerce.com>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:hello.swe26@gmail.com]
>> 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: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message