hi,
I found one of the problems, i had copied the code from a previous (working) jsp, and it had a <javascript formName="someOtherForm" /> entry in it....i removed it from my current page....i still got the "cannot retrieve bean info" error message, so i added the following line
<html:form action="searchLicenses" focus="serialNumber"
name="licenseInfoForm" type="org.....LicenseInfoForm" scope="session" >
after this the jsp page was shown correctly, but after i click the submit button, i got a NullPointerException. In my corresponding ActionClass, i check to see if i receive any "form" in my execute method and all im getting is NULL, i even tried to set the scope="session" in the html:form tag and also in the actionmapping in struts-config.xml.....
i print out a message when the actionform is created and destroyed and when when i was using scope=request, i could see that the form is created before the action is called, but its also destroyed....hence i had tried using session scope....
btw i dont think that the next page searchResults.jsp is causing any error as i get this exception in the execute() method itself, before i can forward to the next page....
here is the new error message:
license info form created .....................
license info form deleted .....................
entering searchlicense action
<Jun 17, 2004 11:16:26 AM PDT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=1
6352912,name=webapp,context-path=/bits)] Root cause of ServletException.
java.lang.NullPointerException
at org.lapd.bits.struts.actions.SearchLicenseAction.executeAction(Search
LicenseAction.java:45)
at org.lapd.bits.struts.actions.ActionBase.execute(ActionBase.java:32)
-ashwin