Pady, Every action should have an action class or some subclass made of it or one of the other actions subclasses. From what I understand, there is no default 'type' so leaving it out should have interesting (and unusual) consequences.
Regards, David -----Original Message----- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 10:00 AM To: Struts Users Mailing List Subject: RE: basic struts question... I have exactly that. It doesn't work. I don't have the Action class. Could that be creating a problem ? I was expecting Struts to throw an error about the missing class. Anyways, I will create an Action class and see. Thanks -- pady [EMAIL PROTECTED] -----Original Message----- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 5:35 PM To: Struts Users Mailing List Subject: RE: basic struts question... Pady, Your external url of http://myserver/taglib/jsp/submit.do, suggests your application is mapped to "/taglib/". That means your directory structure should be: taglib/jsp taglib/WEB-INF/struts-config.xml taglib/WEB-INF/web.xml taglib/WEB-INF/classes taglib/WEB-INF/lib (and so forth Then your mapping should as: (path modified) > <action-mappings> > <action > path="/jsp/submit" > type="com.heroix.firenze.webui.actions.TabChangeAction"> > <forward name="success" path="/jsp/tiles_insert.jsp"/> > </action> > > </action-mappings> Regards, David -----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] --------------------------------------------------------------------- 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]

