• 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

Struts in WebSphere

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Is there some issue with WebSphere??

I am using struts its working fine in OC4J server but not working on WebSphere, I am getting this error on WebSphere.

RequestProces E org.apache.struts.action.RequestProcessor Invalid path /testing/test was requested

any ideas??

thanks
Anurag
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like an invalid path to me. Why should it work?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anurag,
Did you set the context root in the ear and mapping in the web.xml?
 
Anurag Mishra
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Marc and Jeanne,

I don't think there is proble m withe ear or web.xml file as same Application is working fine with OC4J(Oracle For Java Server) but its throwing invalid path on WebSphere, is there some issue with Websphere related to relative/absolute path/Case Sensitivity etc.

If you have any idea plese reply or just give a brief description why we get this Invalid path error.


thanks
Anurag
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi i am using weblogic...i am also facing similar issue...i am using strus and tiles...just cant figure out y is the browser not requesting
http://localhost ort/appname/login.do?.....the server is receiving a request
for http://localhost ort/login.do...which is wrong...pls do post the solution if u find one...


thanks
-ram
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anurag,
Paths are context sensitive in Websphere. (I thought they were on all servers, but maybe not.)
 
Marc Peabody
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

If you have any idea plese reply or just give a brief description why we get this Invalid path error.



How about you giving us a brief description of where the error is coming from or how this path is being requested in the first place. An invalid path can mean a lot of things.

The reason why I say it looks invalid is because /testing/test does not point to a filename OR Struts. (Unless you're using /testing/* to map to Struts which won't work, at least not since 1.1... I think.)
 
reply
    Bookmark Topic Watch Topic
  • New Topic