This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts in WebSphere

 
Anurag Mishra
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • 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
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like an invalid path to me. Why should it work?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Sriram Chandrasekaran
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • 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.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic