A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Can we use Threads in a Scriplet
Sandeep Kumar S Jakkaraju
Joined: Oct 18, 2006
Oct 19, 2006 07:05:00
Can we use Threads in a Scriplet ?
I write like Jean Paul Sarte but in Java....
Author and all-around good cowpoke
Joined: Mar 22, 2000
Oct 19, 2006 08:05:00
It would be a BAD idea to write scriptlet code that starts a new Thread. Scriplet code should be as simple as possible.
If your application really needs to start an independent Thread, do it in a helper class. If this is anything but a casual question, describe the problem you are trying to solve.
I agree. Here's the link:
subject: Can we use Threads in a Scriplet
Setting Value Parameter of HTML tags
JSP in JSF
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014