• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

JSPException  RSS feed

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!