This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

implements in JSP

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why there is no IMPLEMENTS in JSP. If we are in a situation where we are to implemet runnable kind of interface in jsp what should we do?

Regards,
rahul roy
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...what should we do?

Run scared and nekid into the woods screaming and shouting. Or, you can put code in a Servlet and keep that crap out of the JSP.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

you can put code in a Servlet

ieeee! panic! scream and run twice as fast and far as before!
(ahem)(assume calm)
Actually any Thread you REALLY need to run in a servlet should be an instance of a helper class that you can test outside the servlet container.
Think at least twice before having any request start a new Thread.
(resume panic on my mark)
Bill
GO!
(apologies to all offended by frivolity)
[ August 22, 2006: Message edited by: William Brogden ]
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yea, what William said. I didn't catch the "runnable" in the first post. I just saw "implements in JSP" and reacted. ;)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!