File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts in WebSphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts in WebSphere" Watch "Struts in WebSphere" New topic
Author

Struts in WebSphere

Anurag Mishra
Ranch Hand

Joined: Jun 16, 2003
Posts: 121
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


SCJP 1.2
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

It looks like an invalid path to me. Why should it work?


A good workman is known by his tools.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30919
    
158

Anurag,
Did you set the context root in the ear and mapping in the web.xml?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Anurag Mishra
Ranch Hand

Joined: Jun 16, 2003
Posts: 121
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

Joined: Oct 08, 2003
Posts: 17
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

Joined: May 26, 2003
Posts: 30919
    
158

Anurag,
Paths are context sensitive in Websphere. (I thought they were on all servers, but maybe not.)
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

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.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts in WebSphere