facebook

jsp "xxx cannot be resolved" when used displaytag

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #254831 Reply

    vivo
    Member

    I use displaytag in my jsp file:

    <display:table name="sessionScope.departmentList" sort="list" width="100%" pagesize="10" id="departmentModel" requestURI="go.do?sc=dept.manage">

    and here is :

    <%=((Department)departmentModel).getDepartmentId()%>

    then “departmentModel cannot be resolved” errors is reported.

    thanks

    #254832

    vivo
    Member

    And there is a warning “Unknown tag (display:table).”

    #254901

    Riyad Kalla
    Member

    There are two issues here. First, to see why departmentModel is marked as an error, please see my post here:
    https://www.genuitec.com/forums/topic/reports-a-jsp-error-but-works/#post-254853&highlight=#61337

    Second, to get a better idea of why your taglib is not resolving follow these steps:
    1) First be sure your project is a web project
    2) Second, read this FAQ tip to explain how resolution is performed, it may shed light on why it’s not working: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10906.html

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: jsp "xxx cannot be resolved" when used displaytag

You must be logged in to post in the forum log in