Nope. A servlet may run in any thread. The servlet itself may adjust its priority (if allowed by the security manager). But you would need to remember to also lower it since the next request (to maybe a "normal servlet") to run in that thread would also run at that priority.
Personally - unless who are running a high load site and the servlet is cpu intensive and "long running" - I don't think you'll notice a difference. Takumi Fujiwara wrote: > Hi, > > Could someone please tell me if it is possible to > adjust the priority of servlet serving thread based on > which servlet it is serving? > > For example, I have 2 servlets in my Web Application. > All threads serving Servlet 1 will have higher prority > than Servlet 2. > > Can I config that in TomCat? > > Thanks for any help. > Sam > > __________________________________________________ > Do you Yahoo!? > Yahoo! News - Today's headlines > http://news.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
