facebook

Why is showing error in web.xml

💡
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 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #253409 Reply

    monikaswarna
    Member

    Hi,

    I am trying to place code in web.xml as follows,

    ———————————————————————————-
    <servlet>
    <servlet-name>webwork</servlet-name>
    <servlet-class>
    com.opensymphony.webwork.dispatcher.ServletDispatcher</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>webwork</servlet-name>
    <url-pattern>*.action</url-pattern>
    </servlet-mapping>

    * * <taglib>
    <taglib-uri>webwork</taglib-uri>
    <taglib-location>/WEB-INF/lib/webwork-2.2.jar</taglib-location>
    </taglib>

    </web-app>

    ———————————————————————————-

    But at <taglib> tag an error mark is being shown, Could anyone suggest me how can I resovle tihs.
    Thanks in advance
    Moni

    #253496

    Riyad Kalla
    Member

    Moni,
    If you know you have taglib in the right location, then chances are that you are using a web 2.4 spec file (check your header, do you see web 2.4 schema referenced?) in which case you need to wrap you taglib entries with <jsp-config></jsp-config> tags.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Why is showing error in web.xml

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