> So why make an action ?

Because I need a forward  <forward   name="main"      path="/main.jsp"/>
to main page   
and if I dont have the action I get:

javax.servlet.ServletException: Cannot retrieve mapping for action /main



Maris


Attribut name in action element cannot be null, you must put the name of
a form-bean.
- Create a blank ActionForm.
- Or remove the action
 
Emmanuel
  M�ris Orbid�ns <[EMAIL PROTECTED]> a �crit : 
Can I have a JSP form without a form bean?
I dont need the bean, there are no input fields on form.


I defined action like this:

type="addressbook.MainAction"
input="/main.jsp"
> 


But it threw an exception:
javax.servlet.ServletException: Cannot retrieve definition for
form bean null 


Maris



--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



---------------------------------
Yahoo! Courrier -- Une adresse @yahoo.fr gratuite et en fran�ais !


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

Reply via email to