Originally posted by geetu lalchandani: the book specified that the second option wud work.. tested that .. it doesnt.
Can you explain what you mean by "it doesn't"? Was an exception thrown? If so, can you post the stack trace? What behviour were you expecting? What actually happened.
I don't see anyting wrong with either example.
Originally posted by geetu lalchandani:
Bear, why do you want me to look at the servlet code? The query was for the useBean.. anything specific you wanted to point to
I think Bear's statement was more general. Anytime you want to find out how the JSP compiler is dealing with a particular piece of code, the first place you should look is in the generated servlet code.