Hi Gary and others,

In the last few years I upgraded tomcat from 4.X to 5.X and then to 6.X 
  (and at the same time upgraded dspace from 1.3 to 1.5) and have never 
noticed similar exception.

I am interested to know is there anyone else experienced similar problem?

To escape quote char in Messages.properties, add a back-slash:
use \" to replace "

For safety, do some experiments before doing large-scale replacement.

Regards,
Allen Lam.
HKU Hub Administrator, http://hub.hku.hk


Gary Browne wrote:
> Hi techies
> 
> Following an upgrade from tomcat 5.5.26 to 5.5.27, we experienced
> exceptions with the subject-search servlet such as:
> 
> 
> Exception:
> org.apache.jasper.JasperException:
> /controlledvocabulary/search.jsp(59,41) Attribute value
> LocaleSupport.getLocalizedMessage(pageContext,
> "jsp.controlledvocabulary.search.title")  is quoted with " which must be
> escaped when used within the value
> 
> 
> I since discovered that this is due to the fact that 5.5.27 strictly
> enforces the quoting requirements of the JSP spec.
> 
> So my question is, does this error stem from some value in
> Messages.properties which contains quotes, or are there other places in
> the code which may need changing (for JSP spec compliance purposes)? If
> the former, how should the quotes be escaped in Messages.properties.
> 
> Thanks
> Gary



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to