Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,963
    Thanks
    120
    Thanked 76 Times in 76 Posts

    jsp referencing <%@page import ...

    Code:
    <%@page import="org.apache.commons.lang.ObjectUtils"%>
    so I would expect it would work like(and even IDE recognizes thing and suggest everything )

    Code:
    .. value="<%=ObjectUtils.defaultIfNull(sessionUser.cc2_long,"")%>"
    but instead it works only like that:
    Code:
    ... value="<%=org.apache.commons.lang.ObjectUtils.defaultIfNull(sessionUser.cc2_long,"")%>"
    what m'I missing here ?

  • #2
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,963
    Thanks
    120
    Thanked 76 Times in 76 Posts
    hmm - other errors made me disbelive that this works.
    Code:
    <%@page import="org.apache.commons.lang.*"%>
    Last edited by BubikolRamios; 03-05-2009 at 06:49 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •