From do-not-reply at jboss.com Mon Feb 15 20:28:34 2010 Content-Type: multipart/mixed; boundary="===============1412224153516110754==" MIME-Version: 1.0 From: Matthew Robinson To: jboss-dev-forums at lists.jboss.org Subject: [jboss-dev-forums] [JBoss Web Development] New message: "JSP Validator gives errors if scriptlets are used" Date: Mon, 15 Feb 2010 20:28:34 -0500 Message-ID: <1603187388.186931266283714561.JavaMail.jboss@clearspace02.app.mwc.hst.phx2.redhat.com> --===============1412224153516110754== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable JBoss development, A new message was posted in the thread "JSP Validator gives errors if scrip= tlets are used": http://community.jboss.org/message/526480#526480 Author : Matthew Robinson Profile : http://community.jboss.org/people/mrobin21 Message: -------------------------------------------------------------- Hello All, I have just installed Eclipse Gallileo and the JBOSS Eclipse toolkit, and i= mported my Struts 1.2 project, which is fully functional and works fine wit= hout the JBOSS Eclipse toolkit. =C2=A0 No Errors are reported in the 'Problems' view, but I get errors when I atte= mpt to run my website.=C2=A0 When I view the JSP code in question, I see er= rors such as: =C2=A0 Syntax error on token(s), misplaced construct(s) on the word 'function' in = a =C2=A0 As you can see, the function name includes a scriptlet tag whereby the name= includes the content of the location variable, which is created using a be= an:define tag: =C2=A0 =C2=A0 Once I remove the <%=3D location %> tag from the function name, the error g= oes away. =C2=A0 How may I configure the validator to correctly parse this file? =C2=A0 Kind regards, Matt. -------------------------------------------------------------- To reply to this message visit the message page: http://community.jboss.org= /message/526480#526480 --===============1412224153516110754==--