  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | Re: Attribute <attribute > invalid according to the specified TLD
?? | Re: Attribute <attribute > invalid according to the specified TLD
?? 2003-10-10 - By Tim Funk
Back I think the error is pretty clear that you have a typo. pramValues should be paramValues
-Tim
Mufaddal Khumri wrote:
> Hi, > > Does anybody know why I would get the following exception: > > org.apache.jasper.JasperException : /MyJsp.jsp(103,2) Attribute > pramValues invalid according to the specified TLD > at > org.apache.jasper.compiler.DefaultErrorHandler (DefaultErrorHand > ler.java:94) > at > org.apache.jasper.compiler.ErrorDispatcher (ErrorDispatcher.java > :428) > at > org.apache.jasper.compiler.ErrorDispatcher (ErrorDispatcher.java > :186) > > MyJsp.jsp has the following tag library: > > <% > Vector vPName = new Vector(); > Vector vPValue = new Vector(); > > vPName.addElement("selection"); > vPValue.addElement(selection); > %> > > <cw:nextPrevLink listSize='<%=maxLength%>' > offset='<%=offset%>' > > displaySize='<%=Constants.USER_LIST_DISPLAY_SIZE%>' > link='/myOther.jsp' > paramNames='<%=vPName%>' > pramValues='<%=vPValue%>'/> > > The tag entry in my .tld file is as below: > > <tag> > <name>nextPrevLink</name> > <tag-class>com.cw.NextPrevLink</tag-class> > <body-content>empty</body-content> > <description>Displays the next and previous link for any > list</description> > <attribute> > <name>listSize</name> > <required>true</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>offset</name> > <required>true</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>displaySize</name> > <required>true</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>link</name> > <required>true</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>paramNames</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>paramValues</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > </tag> > > Thanks. >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |