A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
How to configure Struts2 for an Application
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
I like...
posted
Oct 16, 2009 04:13:02
0
Hi , i am new to struts2 , so please don't mind with my queries.
I read that this is the way to configure FilterDispatcher .
<filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> </filter> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
My Query is : Is this suffocient nothing to do with <servlet-mapping>
Save India From Corruption - Anna Hazare.
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Oct 16, 2009 07:40:57
0
Struts 2 currently uses a filter to handle requests.
Servlet
mappings aren't used with filters.
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
I like...
posted
Oct 16, 2009 08:05:33
0
Thank you very much .
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: How to configure Struts2 for an Application
Similar Threads
Struts2 struck with a issue of 404
Displaytag Data Export Problem with Struts2
Struts2 with RAD7
Struts2 with RAD7
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter