aspose file tools*
The moose likes JSP and the fly likes JSP statement which has qoute within a qoute. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

JSP statement which has qoute within a qoute.

victor chiong
Ranch Hand

Joined: Apr 04, 2012
Posts: 73
Hi Guys,

Please help me with this?

org.apache.jasper.JasperException: /TestBean.jsp(20,10) Attribute value request.getParameter("userName") is quoted with " which must be escaped when used within the value

<jsp:setProperty name="person" property="name"
value="<%= request.getParameter("userName")%>" />

I found a solution but i dont know how to do it...

How can i change this in tomcat 7?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60045

Please do not post the same question more than once.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JSP statement which has qoute within a qoute.
Similar Threads
cookie and login
passing dynamic parameter using action
Login Authentication Using Bean and Servlet in JSP
Do we consider Escape chars in Exam or not?
JSP error because of a qouted value insied a qoute.