Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Templates for error page and page imports

raj agastya
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was using the feature called JSP templates in my application to encapsulate Webpage layout for modular design. I followed this article from javaworld:
Everything is fine except for error page usage and using page import tags. If anybody has used this feature in JSP templates and has successfully implemented error page, please let me know.
What I want is: if a layout is formed with say 5 jsps(header, footer, side bar, content, right bar), all the other JSPS in the layout is displayed but the jsp which throws error only will use error page. What I want is the whole layout should not displayed even if one of the jsps in the layout throws an error.
Please help me.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic