If I write /do/acceptanstest/accDatabase I get the same result -a blank 
page. And if I remove the form tag, I will get a servlet error: Cannot find 
bean databaseForm in scope null. I don't get it......

>Both the action specified in your form, and the href for the link inside 
>the
>form are invalid. If you have mapped /do/* to the ActionServlet, then the
>href should be /do/acceptanstest/accDatabase. Give that a try and see if it
>helps.
>
>As a side note, the <html:form> tag is not necessary here.
>
>Good luck!
>Vil.
>--
>Vilya Harvey, Consultant
>[EMAIL PROTECTED]                 / digital steps /
>(W) +44 (0)1483 469 480
>(M) +44 (0)7816 678 457                 http://www.digitalsteps.com/
>
>
>
>----- Original Message -----
>From: "Ulrika Nordstr�m" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, September 24, 2002 7:19 AM
>Subject: Re: I try again... My action is not being called -I just get a
>blank page!
>
>
> > >My struts-config.xml:
> > >
> > ><struts-config>
> > ><!-- =================================== Action Mapping Definitions -->
> > >     <action-mappings type="org.apache.struts.action.ActionMapping">
> > >                 <action path="/acceptanstest/accDatabase"
> > >
> > >type="se.amfpension.admin.action.AccDatabaseAction"
> > >                         name="databaseForm"
> > >                         scope="request"
> > >                         validate="false">
> > >                                         <forward name="success"
> > >path="/acceptanstest.jsp" redirect="false" />
> > >                 </action>
> > >         </action-mappings>
> > ></struts-config>
> > >****************************
> > >index.jsp
> > >
> > ><html:form action="/acceptanstest/accDatabase">
> > >H�r kan du greja med databaser
> > ><table>
> > >         <tr><td><html:link
> >
> >forward="accDatabase">Acceptanstest</html:link></td><td>&nbsp;&nbsp;</td></
>t
> > >r>
> > ></table>
> > ></html:form>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_________________________________________________________________
Med MSN Foto kan du enkelt dela med dig av dina fotografier och best�lla 
kopior: http://photos.msn.se


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to