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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to print a string variable in jsp?

843838Feb 22 2006 — edited Feb 23 2006
i have to printan error msg in a jsp:

<% String meser = (String)request.getAttribute("msg_error");
if (meser!=null) out.print(meser);%>

but it doesn't print anything...how it can be done correctly?
i know 4 sure that meser isn't null...

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 23 2006
Added on Feb 22 2006
10 comments
502 views