Oracle Weblogic Server (MOSC)

MOSC Banner

JSP compilation fails in weblogic

edited Jun 25, 2012 2:33AM in Oracle Weblogic Server (MOSC) 1 commentAnswered ✓
I have a Struts 1.3.8 web application running in Weblogic 10.3.5.
One of its JSP's contains the following code

<logic:notEqual name="q1Field" property="strings" value="<%="\n"%>">

But its compilation fails

xxxx.jsp:312:103: This attribute is not recognized. <logic:notEqual name="q1Field" property="strings" value="<%="\n"%>">
 
(there's a "^" sign just underneath the "\n")

Trying with single quotes

<logic:notEqual name="q1Field" property="strings" value="<%='\n'%>">

gives
xxxx.jsp:312:98: The method setValue(String) in the type CompareTagBase is not applicable for the arguments (char)
                                        <logic:notEqual name="q1Field" property="strings" value="<%='\n'%>">

(there's a ^-^ sign just underneath the "<%=)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center