Salve,
vorrei implementare i custom tag con jsp.
La classe è la seguente:
package mio;
import java.io.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public class CiaoTag extends TagSupport{
public int doStartTag() throws JspException {
try {
pageContext.getOut().print("primo tag");
}
catch(IOException ioe){
throw new JspException ("Errore: ");
}
return SKIP_BODY;
}
public int doEndTag() throws JspException {
return SKIP_PAGE;
}
}
Ma è comparso il seguente errore.
package javax.servlet.jsp does not exist
import javax.servlet.jsp.*;
Cosa devo scaricare esattamente?
E, soprattutto, dove lo metto il file .jar per far compilare la classe?
P.s.
Uso j2sdk1.4.2_02
Grazie