Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Problem with escaped Strings in JSP Tags
Problem with escaped Strings in JSP Tags [message #123865] Thu, 21 July 2005 03:12 Go to next message
Eclipse UserFriend
Hi all,

I have problems with a lot of JSPs with tags that contain values with
escaped strings like <xxx:sometag name="name" value="<%= (String)
request.getParameter(\"parametername\")"/>

I allway get the error message "Syntax Error on token "Invalid Character",
invalid Expression" where the backslash used to escape the quotes is tagged
as the invalid character.

This errors occures in Eclipse 3.1 with WTP 0.7RC1 and earlier versions as
well, but the JSPs work cause no problems in the application server.

Regards
Klaus
Re: Problem with escaped Strings in JSP Tags [message #124377 is a reply to message #123865] Thu, 21 July 2005 19:14 Go to previous messageGo to next message
Eclipse UserFriend
Klaus Kierer wrote:
> I have problems with a lot of JSPs with tags that contain values with
> escaped strings like <xxx:sometag name="name" value="<%= (String)
> request.getParameter(\"parametername\")"/>
>
> I allway get the error message "Syntax Error on token "Invalid Character",
> invalid Expression" where the backslash used to escape the quotes is tagged
> as the invalid character.
>
> This errors occures in Eclipse 3.1 with WTP 0.7RC1 and earlier versions as
> well, but the JSPs work cause no problems in the application server.

Please open bug reports for problems like these.

http://bugs.eclipse.org/bugs/enter_bug.cgi?product=Web%20Too ls&component=jst.jsp

--
- Nitin
Re: Problem with escaped Strings in JSP Tags [message #124416 is a reply to message #124377] Thu, 21 July 2005 19:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thisisnot.mymail.com

I think you could use EL to insert params that should at least let you
do your work.

Nitin Dahyabhai wrote:
> Klaus Kierer wrote:
>
>> I have problems with a lot of JSPs with tags that contain values with
>> escaped strings like <xxx:sometag name="name" value="<%= (String)
>> request.getParameter(\"parametername\")"/>
>>
>> I allway get the error message "Syntax Error on token "Invalid
>> Character",
>> invalid Expression" where the backslash used to escape the quotes is
>> tagged
>> as the invalid character.
>>
>> This errors occures in Eclipse 3.1 with WTP 0.7RC1 and earlier
>> versions as
>> well, but the JSPs work cause no problems in the application server.
>
>
> Please open bug reports for problems like these.
>
> http://bugs.eclipse.org/bugs/enter_bug.cgi?product=Web%20Too ls&component=jst.jsp
>
>
Re: Problem with escaped Strings in JSP Tags [message #124529 is a reply to message #124416] Fri, 22 July 2005 03:49 Go to previous message
Eclipse UserFriend
Thanks for your answers, I opened a bug report for that
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=104767).

Using EL might be a solution for new JSPs, but our project contains about
6000 JSPs where about 1000 of them are affected by this bug, but it is only
a minor inconvenience. But the requirement that the project has to be in
the workspace for a working tag completion is a blocking issue for me.

Regards
Klaus

"Srgjan Srepfler" <thisisnot@mymail.com> schrieb im Newsbeitrag
news:dbpavp$ub5$1@news.eclipse.org...
> I think you could use EL to insert params that should at least let you
> do your work.
>
> Nitin Dahyabhai wrote:
> > Klaus Kierer wrote:
> >
> >> I have problems with a lot of JSPs with tags that contain values with
> >> escaped strings like <xxx:sometag name="name" value="<%= (String)
> >> request.getParameter(\"parametername\")"/>
> >>
> >> I allway get the error message "Syntax Error on token "Invalid
> >> Character",
> >> invalid Expression" where the backslash used to escape the quotes is
> >> tagged
> >> as the invalid character.
> >>
> >> This errors occures in Eclipse 3.1 with WTP 0.7RC1 and earlier
> >> versions as
> >> well, but the JSPs work cause no problems in the application server.
> >
> >
> > Please open bug reports for problems like these.
> >
> >
http://bugs.eclipse.org/bugs/enter_bug.cgi?product=Web%20Too ls&component=jst.jsp
> >
> >
Previous Topic:Problems in accessing External Web Service using WST
Next Topic:JBoss 4.0.2
Goto Forum:
  


Current Time: Thu Apr 24 00:26:45 EDT 2025

Powered by FUDForum. Page generated in 0.02688 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top