This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Struts and the fly likes Help in understanding this invalid path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Help in understanding this invalid path" Watch "Help in understanding this invalid path" New topic

Help in understanding this invalid path

Thomas Kennedy
Ranch Hand

Joined: Jan 20, 2008
Posts: 137
(I'm completely new to Struts 1.) I've added my jsps and classes to the project, and modified the struts-config as follows:

but when I open the page I get

org.apache.struts.action.RequestProcessor processMapping Invalid path /providerInquiry was requested

while identical links to other pages in the same place work OK. And my struts-config entry is copied from others that work OK and all the files are in the same places.

It occurred to me to wonder if the jsp were not compiling. (The jsp uses some generics but I added the jdkSourceLevel="15" attribute to the xmi file to handle that.) This doesn't seem like the error I would get in such a case, but is there a way, through the jsp lifecycle, I can confirm it actually is compiling?

I also wondered if there is something wrong with my action class. But it's a copy of one that works fine. Is there anything I should check about that code?

The WebSphere server is 6.1, RAD is 7.something, and every other build done on this machine runs fine, so it's not that we're targeting the wrong version. What else can I check here?

Costs matter. Justice lies in processes not outcomes. Crime is caused by criminals.
I agree. Here's the link:
subject: Help in understanding this invalid path
It's not a secret anymore!