View Full Version : jsp referencing <%@page import ...

03-05-2009, 02:46 PM
<%@page import="org.apache.commons.lang.ObjectUtils"%>

so I would expect it would work like(and even IDE recognizes thing and suggest everything )

.. value="<%=ObjectUtils.defaultIfNull(sessionUser.cc2_long,"")%>"

but instead it works only like that:

... value="<%=org.apache.commons.lang.ObjectUtils.defaultIfNull(sessionUser.cc2_long,"")%>"

what m'I missing here ?

03-05-2009, 02:59 PM
hmm - other errors made me disbelive that this works.

<%@page import="org.apache.commons.lang.*"%>

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum