First off, you don't configure the ".do" extension in the "path"
attribute.  You put it in the "href" attribute of your link in your web
page, or the "action" attribute of your form tag.

Secondly, you've got to be kidding me about not creating an Action class
and then asking the list why your stuff isn't working when the
documentation answers your question.  Come on.



> -----Original Message-----
> From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 02, 2003 4:59 PM
> To: Struts Users Mailing List
> Subject: RE: basic struts question...
> 
> 
> I tried all the changes recommended here, but it doesn't work. I hope
you
> meant changing <action path="/jsp/submit"...> to <action
> path="/jsp/submit.do"...>
> 
> That didn't work.
> 
> 
> Thanks
> 
> -- pady
> [EMAIL PROTECTED]
> 
> 
> -----Original Message-----
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 02, 2003 4:32 PM
> To: Struts Users Mailing List
> Subject: RE: basic struts question...
> 
> Specifically, the URL in your action path in struts-config.xml.
> 
> -----Original Message-----
> From: Bradley Handy [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 02, 2003 4:28 PM
> To: Struts Users Mailing List
> Subject: RE: basic struts question...
> 
> 
> You need to append the ".do" extension to your request URL.
> 
> > -----Original Message-----
> > From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 02, 2003 3:35 PM
> > To: [EMAIL PROTECTED]
> > Subject: basic struts question...
> >
> >
> >
> > If I have an action-mapping defined as
> >
> >
> >
> >   <action-mappings>
> >
> >     <action    path="/taglib/jsp/submit"
> >
> >
> type="com.heroix.firenze.webui.actions.TabChangeAction">
> >
> >        <forward name="success" path="/jsp/tiles_insert.jsp"/>
> >
> >     </action>
> >
> >   </action-mappings>
> >
> >
> >
> > When I access http://myserver/taglib/jsp/submit.do I get an error
> Invalid
> > path "/jsp/submit" was requested. My web.xml does have *.do mapped
to
> > ActionServlet.
> >
> >
> >
> >
> >
> > What am I doing wrong ?
> >
> >
> >
> >
> >
> > Thanks
> >
> >
> >
> > -- pady
> >
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> 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]
> 
> 
> ---------------------------------------------------------------------
> 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