• Post Reply Bookmark Topic Watch Topic
  • New Topic

sendRedirect() method with IllegalStateException

 
flora kalisa
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am doing this in my doGet method:



why I am not getting IllegalStateException ? how can I get one ?
I am preparing for SCWCD exams

it is compiling and I am redirected to myUrl

 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Posts: 2791
181
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Flora,

Have you checked the following discussion: sendRedirect-not-throwing-IllegalStateException

Regards,
Frits
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!