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=17407>.
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=17407

using mozilla browser, scriptlets are rendered as raw html

           Summary: using mozilla browser, scriptlets are rendered as raw
                    html
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
               URL: http://www.world-outdoors.com
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Occurance of scriptlet code style <%= username %> renders as HTML. Other of 
style <%  some java code %> seems to work fine in Mozilla.

I was able to move some of my scriptlet code into the header section of the 
HTML source. This eliminated part of the problem. But anywhere there occurs a 
section of scriptlet (syle1 above)in the page, the scriptlet is being rendered, 
not parsed. I'm attempting the following:
<%
String username = validUser.getUsername();
%>
...
<center>Welcome <%=username == null ? ' to World-Outdoors.com' : username %>!
</center>

The hosting is provided by [EMAIL PROTECTED] The 
implementation is apache web server on linux, but my development machine is 
Win2K and has same symptoms. I checked the newslist first; found a similar 
issue with HTML tags being rendered(subject: Tomcat and Mozilla). Several tips 
to check servlet code/apache config/JSP tags. I tried both 
<%@ page language="java"%> and <%@ page contentType="text/html"%> combined and 
seperatly with no improvement.

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

Reply via email to