users@glassfish.java.net

sun-web.xml question

From: <glassfish_at_javadesktop.org>
Date: Mon, 12 May 2008 15:44:35 PDT

I am in the process of porting an application from WebLogic to SUN, we have many jsps with this construct:

         <td align=left valign=top><input type=text name=activity size=6 maxlength=5 value="<%=request.getParameter("activity")%>"></td>

On Weblogic if "activity" in getParameter() is null the jsp displays blank in the input box, on SUN the the word "null" is displayed.

On Weblogic this behavior is controlled in by the weblogic.xml file with this:

  <jsp-descriptor>
    <jsp-param>
        <param-name>printNulls</param-name>
        <param-value>false</param-value>

I can not find a similiar setting in the sun-web.xml file.

Anyhelp will be appreciated.

thanks,

Bryan
[Message sent by forum member 'bryanut' (bryanut)]

http://forums.java.net/jive/thread.jspa?messageID=273931