Results 1 to 2 of 2
  1. #1
    linuxdoanpham is offline Member
    Join Date
    May 2012
    Rep Power

    Default Help me error <%@taglib uri="" prefix="form"%

    Config WEB.XML

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4"
    xmlns="" xmlns:xsi=""



    <servlet-class>org.springframework.web.servlet.DispatcherSe rvlet</servlet-class>

    Code JSP
    <form:form action=""
    method="post" commandname="newContact">
    <table style="border-collapse: collapse;">
    <td width="" align="right">Name</td>
    <td><form:input path="id"></form:input></td>
    <td align="left"><form:errors path="id" cssstyle="color:red"></form:errors></td>
    <td colspan="" align="center"><input name="" value="Save"
    type="submit"> <input name="" value="Reset"
    type="reset"> <input value="Back"
    onclick="javascript:go('');" type="button">



    org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/newContact.jsp at line 23

    20: <tbody>
    21: <tr>
    22: <td width="" align="right">Name</td>
    23: <td><form:input path="id"></form:input></td>
    24: <td align="left"><form:errors path="id" cssstyle="color:red"></form:errors></td>
    25: </tr>
    26: <tr>

    org.apache.jasper.servlet.JspServletWrapper.handle JspException(
    org.apache.jasper.servlet.JspServletWrapper.servic e(
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(
    javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
    org.springframework.web.servlet.view.InternalResou rceView.renderMergedOutputModel(InternalResourceVi
    org.springframework.web.servlet.view.AbstractView. render(
    org.springframework.web.servlet.DispatcherServlet. render(
    org.springframework.web.servlet.DispatcherServlet. doDispatch(
    org.springframework.web.servlet.DispatcherServlet. doService(
    org.springframework.web.servlet.FrameworkServlet.p rocessRequest(
    org.springframework.web.servlet.FrameworkServlet.d oGet(
    javax.servlet.http.HttpServlet.service(HttpServlet .java:621)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:722)

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power

    Default Re: Help me error <%@taglib uri="" prefix="fo

    Use [code] tags [/code] when posting code.
    Is there any more information in the logs about the problem Jasper is having?
    Id 'id' a field on the command object? Though I wouldn't expect Jasper to throw an error for that, I would expect a compilation error...
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. problem with enctype="multipart/form-data" in the JSP page
    By varunphilip in forum Advanced Java
    Replies: 0
    Last Post: 11-19-2011, 07:11 AM
  2. Replies: 5
    Last Post: 07-13-2011, 02:25 PM
  3. Replies: 0
    Last Post: 06-24-2011, 08:14 PM
  4. Replies: 1
    Last Post: 01-21-2010, 09:20 AM
  5. Replies: 1
    Last Post: 10-20-2008, 07:35 AM

Posting Permissions

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