i have 1 big doubt , can jsp include action be used in a conditional statement .. because there where i got all errors .
Sagar Rohankar wrote:
Look carefully, is it JSP tag is allowed inside scriptlet enclosed Java code ?
Sebastian Janisch wrote:Yes it is ... that's totally fine.
Sebastian Janisch wrote:Yes it is ... that's totally fine. You can mix HTML, Tags (as long as these are not SimpleTags), and scriptlets freely.
Sebastian Janisch wrote:The problem wasn't the null check but rather the problem that you did not close and reopen your scriptlet tags and hence your JSP standard action is embedded in a scriptlet which is illegal .
Bear Bibeault wrote:Please show the new code, with code tags. Making us guess what your code looks like is not going to get you far.
Sebastian Janisch wrote:Well, that means that 'click' is null.
Please put code between the code tags.