Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 6th, 2007, 03:49 AM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default jstl problem

in my code i have written
<%
 int k=1/0;
%>
<c:catch var="ex">
The Exception is :
<c:out value="${ex}"/>
</c:catch>
in jsp page but it is showing error message on jsp while other jstl tags in same page are working fine.

__________________
regards ,Vivek
 
Old May 1st, 2007, 04:30 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

The <c:out .../> tag doesn't allow expression in the value attribute.

Regards,
Rakesh




Similar Threads
Thread Thread Starter Forum Replies Last Post
JSTL problem winsonkkp JSP Basics 3 August 9th, 2007 03:20 AM
jstl problem saeed JSP Basics 1 May 22nd, 2007 12:18 PM
JSTL aadz5 JSP Basics 1 August 8th, 2005 08:26 AM
JSTL files problem wechang JSP Basics 4 June 20th, 2005 03:29 AM
JSTL mrkhairy JSP Basics 5 August 8th, 2003 04:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.