java.lang.String, not String
Edoardo Panfili wrote: > hi, > I have a custom tag that seems not work as I need. > I need th use the tag with a parameter that I know only at run time. For > this reason I put > <rtexprvalue>true</rtexprvalue> in the tag description. > When I use the tag Tomcat (5.5.17) raises that exception: > > 11-ago-2006 10.55.47 org.apache.catalina.core.StandardWrapperValve invoke > GRAVE: Servlet.service() for servlet jsp threw exception > org.apache.jasper.JasperException: /folder.jsp(5,0) Unknown attribute > type (String) for attribute folder. > > What I did wrong? > > thank you > Edoardo > > ===============taglib.tld fragment============================= > <taglib xmlns="http://java.sun.com/xml/ns/j2ee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > web-jsptaglibrary_2_0.xsd" > version="2.0"> > > <tlib-version>1.1</tlib-version> > <short-name>mbox</short-name> > > <tag> > > <description>Retrieve the folder list</description> > <icon> > </icon> > <name>folderList</name> > <tag-class>it.aspix.mailbox.tags.FolderList</tag-class> > <body-content>empty</body-content> > > <attribute> > <description>Retrieve the folder list</description> > <name>folder</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > <type>String</type> > </attribute> > </tag> > </taglib> > =============================================================== > > ============================folder.jsp fragment================ > <%@ page language="java" contentType="text/html; charset=UTF-8" > pageEncoding="UTF-8"%> > <%@ taglib uri="http://vnr.unipg.it/mailbox/mbox" prefix="mbox" %> > <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> > <mbox:html> > <mbox:folderList folder="${param.folder}"/> > =============================================================== > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]