This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Thrown error but still redirected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Thrown error but still redirected" Watch "Thrown error but still redirected" New topic
Author

Thrown error but still redirected

EJ Dinglasan
Ranch Hand

Joined: Jun 08, 2003
Posts: 47
Hi!
I intentionally caused an IllegalStateException with this code

The error was thrown and caught but the page was still redirected.
So is my assumption correct that even if sendRedirect() will throw an IllegalStateException it will still be redirected.
Thanks
Weerawit Maneepongsawat
Ranch Hand

Joined: Apr 11, 2002
Posts: 203
http://www.coderanch.com/t/165903/java-Web-Component-SCWCD/certification/sendRedirect-help-me
try this.


Weerawit<br />SCJP 1.4, SCWCD 1.2, SCWCD 1.4, SCBCD 1.3, SCBCD 5.0, SCMAD 1.0, SCJA 1.0, SCDJWS, SCJD, SCEA, SCDJWS 1.5
EJ Dinglasan
Ranch Hand

Joined: Jun 08, 2003
Posts: 47
thanks
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Thrown error but still redirected
 
It's not a secret anymore!