https://issues.apache.org/bugzilla/show_bug.cgi?id=47091
Summary: jsp problem
Product: Tomcat 6
Version: 6.0.18
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: [email protected]
ReportedBy: [email protected]
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<html>
<head>
</head>
<body>
test page
<br>
<jsp:useBean id="pa" scope="request" class="com.tongtech.Test01">
</jsp:useBean>
<%
String str = "AAAAAAAAAAAAAAAAAAA";
String str1 = "ZZZZZZZZZZZZZZZZZZZZZ";
pa = new com.tongtech.Test01();
pa.setName(str1);
%>
<jsp:setProperty name="pa" property="name" value="<%=str%>" />
<jsp:getProperty name="pa" property="name" />
<br>
<%
out.println(pa.getName());
%><br>
</body>
</html>
access this jsp page,the response returned by tomcat is:
AAAAAAAAAAAAAAAAAAA
ZZZZZZZZZZZZZZZZZZZ
but the response returned by weblogic application server is:
AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA
why? which one is right?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]