Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSPException

 
P.V.S Praveen Kumar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
the methods
int doStartTag() & int doEndTag() in the javax.servlet.jsp.tagext.Tag interface require JSPException to be included in the "throws" clause of the method declaration. However, if i include
import javax.servlet.jsp.JSPException
in my java file, the compiler objects saying that it is unable to resolve the symbol JSPException in the javax.servlet.jsp package..
So where do i find the JSPException class..? I have set my CLASSPATH to <doc_root>/myDir/servlet.jar and other import statements
import javax.servlet.jsp.PageContext etc are working fine..
Regds,
PVS
a
 
P.V.S Praveen Kumar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please excuse folks,
got my answer.. It should be JspException & not JSPException...
A lil' bit of lethargy creeping in!!!
Thanks
Regds,
PVS
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic