• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

body-content tag in a TLD

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

referring to the body-content tag in a custom tag what are the rules...

for custom tags i know that it is a must to put that tag and have to specify one of the 4 options...

but for tag files the default is scriptless and can specify either empty or tagdependent.....

am i thinking down the correct line?
 
Ranch Hand
Posts: 39
MyEclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

finally It runs well.

we need not specify the error-page tag in web.xml.

we just need to configure the IE options Advanced tab. in that uncheck friendly error messages .

index.jsp
<%@ page errorPage="errorhandler.jsp" %>
<html>
<body>
<%
int s=0;
if (s==0){
throw new RuntimeException("Name Not Specified");
}
%>
</body>
</html>



errorhandler.jsp

<%@ page isErrorPage="true" %>
<html>
<body>
Unable to process your request <br>
Please try again.
</body>
</html>

x()
reply
    Bookmark Topic Watch Topic
  • New Topic