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: dev@tomcat.apache.org
        ReportedBy: huangf...@tongtech.com


<%@ 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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to