• 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

implements in JSP

 
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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. ;)
 
reply
    Bookmark Topic Watch Topic
  • New Topic