Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jsp:useBean with try/catch, or possible in java?

843840Aug 19 2009 — edited Sep 21 2009
I am using jsp:useBean in order to create a bean for a jsp page. My problem is that the constructor for the bean class throws exceptions. Is it possible to surround the 'jsp:useBean' with a try/catch? If not, is it possible to do whatever 'jsp:useBean' in java in order to do a try/catch block around it? Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2009
Added on Aug 19 2009
30 comments
1,093 views