A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Struts2 isn't playing nice with my old submit/Servlets
Joined: May 23, 2011
May 25, 2011 21:01:28
I have a setup using
6 that utilizes my own MVC framework and all my submits post to
I then created a simple struts2 app and modified my web.xml file to contain the following struts2 filter:
My new struts2
submit worked fine but all my previous jsps (which use to work) now fail on submit. (I have no idea why but its related to my url-pattern in the filter-mapping.)
To fix my non struts2 submits I altered the /* url
(see above) to any garbage like /Struts* in my web.xml
This obviously breaks my struts2 submit but fixes all of my non struts2 submits.
Is there a way to get both my struts2 submits and non struts2 submits to work on the same development environment without
altering the web.xml file filter-mapping section between tests?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Struts2 isn't playing nice with my old submit/Servlets
Struts2 with Displaytag export option is not working
Struts2 integration with Spring Security
struts2 url mapping issue with servlet
Static content caching problem in Struts2
Displaytag Data Export Problem with Struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015