Hi All,
When the below ActionClass is compiled, the error that occurs is
cannot resolve symbol
public final class LookupAction extends Action {
protected Double getQuote(
String symbol) {......... }
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throws IOException,ServletException{
LookupForm lookupForm = (LookupForm) form; //Error occurs here as Cannot Resolve Symbol lookupForm.getxxx();
}
LookupForm is the JavaBean class which has getter and setter methods.When i tried to access that class in LookupAction,it couldnt identify the LookupForm.
I also tried to import the class(LookupForm) along with the package name in LookupAction class.Then too it produces the same error.
Pls.help me out to compile this
java file.
Thanks a lot in advance,
Vidhya S