Is this possible? (regarding beans and JSP)
Is it possible to have a setProp(arg) function in class definition but no member called "prop". I intend to use this function to do something else when a JSP tries to set "prop" to particular value, say "true".
Actually compiling the JSP is giving "symbol not found" errors for the bean class which makes me suspect that probably there's something wrong with the bean's class definition. The bean class is logically correct and I've cross checked this using an ordinary main class and calling appropriate setter functions. The compiled .class is in WEB-INF/classes.
Re: Is this possible? (regarding beans and JSP)
Yes, it's possible.
The error was occurring because I didn't put the bean in a separate package.