Option 3.<%! String uid = LoginHelper.login(request) %>
! is used for declarations.//explanation of why it is wrong
Is it wrong because of "String uid = LoginHelper.login(request)" being in declaration, or because of missing ";"?
About Question enthuware.jwpv6.2.922 :
Moderator: admin
-
- Posts: 13
- Joined: Thu Jul 11, 2013 11:22 pm
- Contact:
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.922 :
If you think of it as a declaration then it is wrong for 2 reasons: request parameter is not available in a declaration and missing ;.
If you think of it as a scriptlet, it is wrong because ! is not used in a scriptlet and missing ;.
HTH,
Paul.
If you think of it as a scriptlet, it is wrong because ! is not used in a scriptlet and missing ;.
HTH,
Paul.
Who is online
Users browsing this forum: No registered users and 5 guests