DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22802>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22802

mappedfile option not working

           Summary: mappedfile option not working
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Jasper 2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Acording to the docs, when you set mappedfile on true, every line will be show
with one print statement.

If you use this code(Real World code):  

<table width="100%" border="0" cellspacing="5" cellpadding="6"><tr> <td> <table
width="100%" border="0" cellpadding="2" cellspacing="1"><tr> <td> <font
color="#980000" face="Verdana, Arial, Helvetica, sans-serif">Epicrisis: <a
href="javascript:cambiarEstadoSalidaPrevisible('pag1.jsp')">Definici&oacute;n
</a> | <a href="javascript:cambiarEstadoSalidaPrevisible('pag2.jsp')">Consulta
</a> | <a href="javascript:cambiarEstadoSalidaPrevisible('pag3.jsp')">Nota
Aclaratoria </a></td></tr></table></td></tr></table>

In only one line, you get this output (based on the work directory results):
out.write("<table width=\"100%\" border=\"0\" cellpadding=\"2\"
cellspacing=\"1\">");
          out.write("<tr> ");
          out.write("<td> ");
          out.write("<font color=\"#980000\" face=\"Verdana, Arial, Helvetica,
sans-serif\">Epicrisis: ");
          out.write("<a
href=\"javascript:cambiarEstadoSalidaPrevisible('pag1.jsp')\">Definici&oacute;n ");
          out.write("</a> | ");
          out.write("<a
href=\"javascript:cambiarEstadoSalidaPrevisible('pag1.jsp')\">Consulta ");
          out.write("</a> | ");
          out.write("<a
href=\"javascript:cambiarEstadoSalidaPrevisible('pag1.jsp')\">Nota Aclaratoria ");
          out.write("</a>");
          out.write("</td>");
          out.write("</tr>");
          out.write("</table>");


The main web.xml (../tomcat4/conf/web.xml) has the following lines:
<servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>logVerbosityLevel</param-name>
            <param-value>WARNING</param-value>
       </init-param>
       <init-param>
           <param-name>largefile</param-name>
           <param-value>true</param-value>
       </init-param>
       <init-param>
           <param-name>mappedfile</param-name>
           <param-value>true</param-value>
       </init-param>
        <load-on-startup>3</load-on-startup>
    </servlet>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to