From what I can see you your alias could be incorrect in httpd.conf
notice the Alias, Redirect, Directory and Location assignments in this example
http://syger.com/jsc/docs/reader/jsp/environ.htm

*or your actions in your webapp are not defined correctly* in struts-config.xml
take a look at
http://struts.apache.org/faqs/newbie.html
Martin
----- Original Message ----- From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, August 23, 2005 5:54 PM
Subject: A forward problem


Hi,


Frantically trying to get a client demo working for the morning and I
feel like I ought to be able to work this out but I just can't.

I've got a demo system (not) running on a URL on tomcat 5.5/Java 1.5
with a file structure like
myserver/mydomain_com/mydomain.com/ so until I get the domain stuff
sorted out I can access via a url like
http://www.myhost.com/mydomain.com/mydomain_com/login.do

My login page works much like the struts mailreader application - I have
an action path to <action path="/SubmitLogon" and the html form action
is <html:form action="SubmitLogon>

The browser gets sent this with an action path to
/mydomain_com/SubmitLogon.do i.e. back up one directory on the file
structure. So what happens when the submit event fires is that it goes to
http://www.myhost.com/smydomain.com/SubmitLogon.do
Thus giving me a 404 error.

Is there anything quick and easy that can be done here to prevent this.
I thought I could maybe set the <action path="/SubmitLogon" without the
/ (<action path="SubmitLogon" > but this errors with an "action path
missing /" error message.

Thanks in advance,

Chum


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to