Daniele's right, but to make things a little clearer than tag semantics...
In web.xml, there's a servlet mapping "url-pattern" attribute which tells the servlet to throw things onto the Struts servlet, of which we tell it to react a certain way via struts-config.xml. The action-mapping path in struts-config.xml is used in the form attribute, tells the struts servlet as to what action class we're going to use to process the request after its finished its input processing business. Otherwise struts servlet wont know what to do with itself and starts to use your machines processing power to play chess with Big Blue over your internet connection* Arron. * The part about playing chess with Big Blue could be complete bulls--t. It will play chess with whatever's available, even Fujitsu mainframe. daniele rizzi wrote: >That's easy! >It's not a file, just a name to be called in <html:form >action="logon"></html:form> > >bye, >d.rizzi > > >-----Messaggio originale----- >Da: Chris Cairns [mailto:[EMAIL PROTECTED]] >Inviato: mercoledi 29 maggio 2002 9.23 >A: [EMAIL PROTECTED] >Oggetto: Brain Teaser > > >Could someone explain to me what the path attribute for the action mappings >element is for? I know it's the path of the action, but what sort of file >is it? jsp? > ><struts-config> ><form-beans> ><form-bean > name="logonForm" > type="org.apache.struts.example.LogonForm" /> ></form-beans> <global-forwards > type="org.apache.struts.action.ActionForward" /> ><forward name="logon" path="/logon.jsp" > redirect="false" /> </global-forwards> > ><action-mappings> <action > path="/logon" > type="org.apache.struts.example.LogonAction" > name="logonForm" > scope="request" > input="/logon.jsp" > unknown="false" > validate="true" /> </action-mappings> ></struts-config> > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

