• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

error message

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when i try the follwoing code in the error page it runs fine.





but when i add the following section in the <body> </body> tag

<!---
<br>
now trying thwough EL</br>

<c ut value=requestScope["javax.servlet.error.message"]>
</c ut>
-->


The page is not taken as error page. and displays the error message .The total section is HTML commnet the why m i gettin such an error?

Can any body help me out regarding this.
 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HTML comments <!-- --> are evaluated by Servlet Container and send to Client where its not displayed

To avoid evaluation of JSP code fragment in comment use JSP comment <%-- --%>
 
reply
    Bookmark Topic Watch Topic
  • New Topic