I'm developing a web app for a client and I'm using JDeveloper 10.1.3.5, with Struts (version 1). The application compiles properly but when I run the application, I'm getting a 404 Not Found error from the web browser. There are no error messages in the log.
If I try to call a jsp directly I get the following error in the error log:

From my investigation of the issue, it appears that I've configured something incorrectly, but all the sites I've checked out don't go as far as to say what is configured incorrectly. I would appreciate any help I can get with this.

ThomasBoxall wrote:
I'm developing a web app for a client and I'm using JDeveloper 10.1.3.5, with Struts (version 1). The application compiles properly but when I run the application, I'm getting a 404 Not Found error from the web browser. There are no error messages in the log.
If I try to call a jsp directly I get the following error in the error log:

From my investigation of the issue, it appears that I've configured something incorrectly, but all the sites I've checked out don't go as far as to say what is configured incorrectly. I would appreciate any help I can get with this.

Looks like your web application does not know what to do with the URL that the browser sent it. Browser sends the URL to your web app -> web application looks at web.xml -> hands it off to the struts servlet for handling etc etc. Trace it through each step.

Still no dice. I've played around with the Run/Debug Project Properties, the struts-config.xml, and the web.xml with no results. Is there something specific with each of these areas (or something outside these areas) that I'm missing and should look into?

That is quite a redundant statement, since compile time errors are trivial to fix.

From my investigation of the issue, it appears that I've configured something incorrectly, but all the sites I've checked out don't go as far as to say what is configured incorrectly. I would appreciate any help I can get with this.

Post your web.xml, struts-config and directory structure, as well as the URL you're trying to connect to.

ThomasBoxall wrote:
Still no dice. I've played around with the Run/Debug Project Properties, the struts-config.xml, and the web.xml with no results. Is there something specific with each of these areas (or something outside these areas) that I'm missing and should look into?

If its not something readily obvious, I say attach the struts source and start debugging.

I was able to talk to my client's internal support team. They were able to identify that my OC4J Server is not configured correctly, but they couldn't/wouldn't take me through the configuration process. Does someone have a link to a configuration guide that will help me set up a local OC4J Server in JDeveloper 10.1.3.5? The following official documentation wasn't very helpful:
http://www.oracle.com/technetwork/developer-tools/jdev/install-091582.html#oc4j

This doesn't address your problem directly, but I'm wondering (1) Are you at the very early design/testing stage of your project? and (2) Why are you using an old obsolete version of Struts (latest version is 2.3.8)?

If your project is at an early enough stage where you have the option to consider frameworks other than Struts, I'd strongly recommend it. I maintain an old legacy Struts app (written many years ago), and it is an absolute nightmare. Struts is long past its prime, IMHO. Many considered it bleeding edge technology when it first came out, but I suspect Struts cheerleaders are pretty scarce nowadays.

In answer to your questions:
1) The project is close to deployment.
2) Because the client said so.

I agree fully with your statements, but as a contractor developer that was brought in late in the development cycle, I must use the tools provided and do the best job I can with them. I know that there are several issues I'm having that would be instantly solved if I could dictate what framework, IDE, and tools I could use. This isn't the case so here I am asking for help to get a broken system fixed.