...::: Recent Updates :::...

Monday, June 18, 2012

Jstl "" error Handling :)

You can Download Code from below link
http://www.4shared.com/zip/-krrH0XX/jstlTest.html
<!----- copy the two jar file (jstl.jar,standard.jar)in your webapplication lib directory .you will find this two jar file in /home/maulin/apache-tomcat-7.0.25/webapps/examples/WEB-INF/lib or in wondow$ you will find in webapps\examples\WEB-INF\lib directory -->
<!--- My Directory Structure Show Below you can easily understand it-->




<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
        <title>
                Test
        </title>

</head>
        <body>
                <c:catch var="Maulin">
                        <% int a=0/0; %>
                </c:catch>
                Exception Message:- ${Maulin.message}
        </body>
</html>

No comments:

Post a Comment