hi guys
I wish to add that my directory structure is as follows

CONTEXT
   +
   |
   +--- META-INF
   +--- WEB-INF
   +--- grfx
   +--- jsp
         +---- index.jsp
         +---- login.jsp

Thanx
Anand    
On Mon, 23 October 2000, [EMAIL PROTECTED] wrote:

> 
> Hi guys
> When i try to post a small form develepoed using struts i am not able to forward the 
>request to the action page.. 
> The config files seem to be fine with the following for the context
> 
> ***web.xml***
>   <servlet-mapping>
>     <servlet-name>action</servlet-name>
>     <url-pattern>*.do</url-pattern>
>   </servlet-mapping>
> 
> ***action.xml***
> <action-mappings>
>     <action path="/logonForm"
>         type="com.indiatoday.contests.wacky.LogonForm"
>         name="contestDetails"
>         input="/jsp/index.jsp">
>     <forward name="success"    path="/jsp/logon.jsp"/>
>     </action>
> </action-mappings>
> 
> Tomcat reports back with a 400 error message 
> 
> Error: 400
> Location:/contest/jsp/logonForm.do
> Invalid path /jsp/logonForm was requested
> 
> Can any one please tell me how i can get rid of this..
> 
> Thanx for ur time
> Anand Raman
> 
> 
>    
> -------------------------------------------------
> Get personalized e-mail and a web address or your
> own free e-mail at http://www.networksolutions.com.


   
-------------------------------------------------
Get personalized e-mail and a web address or your
own free e-mail at http://www.networksolutions.com.




Reply via email to