struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitendra Kharche" <jkstr...@hotmail.com>
Subject please help - difficult to understand how ActionMapping works
Date Thu, 17 Oct 2002 11:56:49 GMT

Hi All,

I am experiencing a problem with action mapping.
The error statement seen in browser is -

Not Found
The requested URL /struts-ex1/logon.do was not found on this server.
--------------------------------------------------------------------------------
Apache/1.3.14 Server at struts.test.com Port 80

The details are pasted below.
I have not modified any contents of the web.xml file except indenting it 
properly as per my editor. I think this should not make any differnce.

I am using Linux, JDK1.2.2 with Tomcat 3.2.3 under Apache 1.3.14.

Also I have created a simple JSP page named index.jsp with a login form. The 
action of this form is set to "/index" and not "index.do". Hence, I also 
have not defined the <servlet-mapping> tag in web.xml.
Is it necessary to add ".do" to every action.
On submitting this form, I get the same error as stated above.

Also please suggest a method to debug a struts application.

Please help.

Thanks in advance.

Jitendra






_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message