• 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

Behavior: Include standard action and Include directive

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

Ref: page 516, HFSJ.

SkipPageException just stops the processing on\f the page that directly invoked the tag.

NOw suppose that we have JSP A that is including JSP B using an include standard action. JSP A<<includes<<JSP B. JSP B invokes a tag that throws a SkipPageException. IN this case, the processing of B will stop, but rest of A will happen.

What if we use a include directive?. The directive will kind of copy paste the whole JSP B into JSP A. So JSP A will actually be the one invoking the tag at runtime. THis should stop the processing of JSP A as well.? Is this correct.

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

Yes. When you use include directive. The included fragment is part of same execution unit. So, it also be skipped.

Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic