This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes getting error 404 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "getting error 404" Watch "getting error 404" New topic

getting error 404

john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
Recently I switched an app to a new web server. However I'm now having problems with struts though, something which worked before.

In index.jsp I have the following

<logic:forward name="index" />

and in my struts-config.xml I have the following

<forward name="index" path="/"/>

<action forward="/logon.jsp" name="HtmlFileForm" path="/logon" scope="session" type="org.apache.struts.actions.ForwardAction"/>

This works fine when I enter index.jsp the page is redirected to logon.jsp

logon.jsp contains

<html:form action="/logonSubmit" focus="username">

and in my struts-config.xml I have the following

<action input="" name="HtmlFileForm" path="/logonSubmit" scope="session" type="LogonAction" validate="true">
<forward name="success" path="/"/>
<forward name="failure" path="/"/>

This is where I get the error The requested URL / was not found on this server. It worked before. What might be going wrong now?

john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
just realized posted in the wrong area this should have been in Web Application Frameworks
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: getting error 404
It's not a secret anymore!