Strange behaviour for <spring:message>

yfmoan <[email protected]> Thu, 01 Sep 2005 01:29:38 CDT
Newsgroups gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user
Message-ID <19151017.1125557529583.JavaMail.os-j2ee@opensymphony01.contegix.com>
Hi , 
   
   l have a simple jsp page - libraryUserType.jsp , as below ,

[b]<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>

<html>
<head><title>test spring:message tag</title></head>

<body>
	<spring:message code="libraryUserType.add"/>
</body>
</html>[/b]
if l display this page using spring's ParameterizableViewController , it show

[b](Some Chinese words but cannot be display in this forum)</body[/b]

l checked the source file , it was -->
	<title>test spring:message tag</title>
</head>

<body>
	(Some Chinese words but cannot be display in this forum)
</body
" [b]> <html>[/b] "

after a long troubleshooting  ..... l discovered that if l close the sitemesh's filter , then the problem solved , why sitemesh filter is affecting the page containing <spring:message> that have NO decorators at all ?

thanks.

moon  1-9-2005

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=6331&messageID=14264#14264


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]