https://issues.apache.org/bugzilla/show_bug.cgi?id=44721

           Summary: jsp expression   not returning proper value  for null
                    pointer
           Product: Tomcat 6
           Version: 6.0.13
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have a jsp  that has following code:
....
<% 
String CTOrigUrl = request.getPrameter("CT_ORIG_URL");
if(CTOrigUrl == null) 
   CTOrigUrl = request.getParameter("ct_orig_url");

...
%>
...
<input type="hidden" name="orig_url" value="<%=CTOrigURL%>">

This results in the value   orig_url=null    being sent  instead of 
   value=    empty string.

Should JSTL   return an empty srring ???
<eg   <c:out ${param.ctOrigURL} />    ???


Tomcat 5.x   jdk  compiler  didnot exhibit this behavior


-- 
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]

Reply via email to