• Post Reply Bookmark Topic Watch Topic
  • New Topic

clarification with SkipPageException  RSS feed

 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Guys,

I am doing SimpleTag example and i am stuck up with the SkipPageException. Please help me out with the this.



I am getting the following errors on line no.15 and line no. 16.



Thanks,
Deepak.
 
Nikos Pougounias
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The problem is that your class has the same name as the exception you want to test.

Actually which class should be at line 15: javax.servlet.jsp.SkipPageException or org.taghandler.SkipPageException?
 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks it was a silly mistake but a grave one
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!