i'm migrating application weblogic tomcat (8.0.35). in weblogic used "printnull = false" option means when var null, <%=var%> print empty string (instead of "null", specification require), there no equivalent option jasper jsp.
what can done achieve behavior?
p.s. changing jsp files not option, there many of them.
i ended patching jasper.jar, method: public void visit(node.expression n)
@ generator.java
, resulted .java file of jsp prints empty string in case of nulls.
this not great solution, , wanted avoid, looks there no such option.
Comments
Post a Comment