• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Apache + Resin + Struts

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
I am trying to integrate Apache web server with resin servlet engine.
Everything works fine except struts.
Somehow Apache/Resin doesnt recognise *.do url pattern and when ever i try to acsess http://localhost/test/login.do
it throws me 404 File not found error..
If same application i run in standalone resin server then it works fine..
Though i have added webapplication id in resin.conf but still resin doesnt get this request..
In resin.conf i have added the following lines which tells apache to fwd *.do request to resin which is not happening
<web-app id='/test>
<servlet-mapping url-pattern='/*.do' servlet-name='plugin_match'/>
</web-app>
Does anybody has any idea or has someone got sucess in integration apache + resin + struts..
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to tell apache also that .do should be passed on to resin, which will then pass it on to struts.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic