- This topic has 8 replies, 4 voices, and was last updated 20 years, 10 months ago by
Riyad Kalla.
-
AuthorPosts
-
Brice RuthMemberThe following JSP code:
<c:if test="${ user.map.username == 'user1' || user.map.username == 'user2' || user.map.username == 'user3' || user.map.username == 'user4'}">
Is indicated as an error in the JSP Editor. The exact error given is:
String literal is not properly closed by a double-quote
Since Jasper (Tomcat’s JSP compiler) doesn’t complain, I’m thinking that it’s valid, correct me if I’m wrong.
Stats:
What operating system and version are you running?Windows XP Pro, SP1
What Eclipse version and build id are you using? (Help > About Eclipse Platform)
3.0.0; 200405290105
– Was Eclipse freshly installed for MyEclipse?
Yes
– If not, was it upgraded to its current version using the update manager?
– Are any other external plugins installed?No
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
6
What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
3.7.101
What JDK version are you using to run Eclipse? (java -version)
1.4.2_03-b02
What JDK version are you using to launch your application server?
1.4.2_03-b02
What application server are you using?
Tomcat 5.0.25
July 15, 2004 at 4:55 pm #210176
Riyad KallaMemberMyEclipse doesn’t support JSP 2.0 yet, so the use of expression language dying here is not surprising. You used the correct workaround (to turn off validation) until ME gets support for JSP 2.0.
July 15, 2004 at 4:59 pm #210177
Brice RuthMemberThis isn’t JSP 2.0 syntax .. it actually gets deployed (in the end) to a Tomcat 4.1 server, so I know for a fact that its legit JSP 1.2 EL syntax.
Does that matter?
July 15, 2004 at 5:24 pm #210179
support-michaelKeymasterThis isn’t JSP 2.0 syntax .. it actually gets deployed (in the end) to a Tomcat 4.1 server, so I know for a fact that its legit JSP 1.2 EL syntax.
Does that matter?
bdruth is correct. This is not a JSP2 issue but rather a problem with a multi-line attribute value. Thanks for reporting this. I have submitted a problem report to have our dev team address it ASAP.
July 15, 2004 at 6:23 pm #210181
Riyad KallaMemberSorry about that bdruth, I guess I was going on autopilot there.
Michael thank you for the correct and filing the bug.
July 16, 2004 at 9:31 am #210225
Brice RuthMemberOK, I’ll look for a fix in a future release. Thank you!
July 17, 2004 at 4:06 am #210297
No OperationMembera workaround for the current version is:
<c:if test='${ user.map.username == "user1" || user.map.username == "user2" || user.map.username == "user3" || user.map.username == "user4"}'>
NOP
July 17, 2004 at 1:28 pm #210322
Brice RuthMemberSincde the code works fine in Tomcat, and the little red X doesn’t bug me too much, I’ll wait for the bug to be fixed in the next release!
Thanks, tho!
August 17, 2004 at 11:49 am #212323
Riyad KallaMemberFixed in 3.8 GA
-
AuthorPosts