• Post Reply Bookmark Topic Watch Topic
  • New Topic

Scriptless JSP

 
Raef Kandeel
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dears,

How are you? I am trying to make a scriptless jsp, which makes the following functionality:-



the return returns from the _jspService method and skips the rest of the page. I do NOT want to define my own tag. Can I do it with a custom tag? In other words, is there a custom tag that fulfills the same functionality? Thank you.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do it in a servlet.
 
Surya Kant
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no readymade tag available for this.
You just need to define your own tag & in your doStartTag() method you need to return SKIP_PAGE ..
Its simple..
 
Paul Clapham
Sheriff
Posts: 21886
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!