Actually you can, I am doing something similiar with it, just like a web mail program, you don't actually need forms in the first page where you see the mails, there are practically no input form types in it (the checkbox to delete is an exceptional case).
For this scenario, your struts-config.xml is correct, but your jsp is not. I think you used the <html:form> tags in your jsp. If you use it, struts is going to look for the form bean in struts-config.xml, if you don't use html:form, then it won't look for the form. My solution is to use a vanilla <form> instead of <html:form>, then I can still have my checkbox and delete button working. Hope this helps! On Wednesday 21 November 2001 12:13 am, you wrote: > 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: > > <action path="/main" > type="addressbook.MainAction" > input="/main.jsp" > > </action> > > But it threw an exception: > javax.servlet.ServletException: Cannot retrieve definition for > form bean null > > > Maris -- Cheers, Yee Keat -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

