File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes servlet question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "servlet question " Watch "servlet question " New topic

servlet question

Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
public MyServlet extends HttpServlet implement SingleThreadMode, Runnable
public void run()
//do something.
is the code above correct?

yi zhu
Ranch Hand

Joined: Sep 10, 2002
Posts: 41
I see nothing wrong in this code...
But the servlet container will ignore your run() method.
I agree. Here's the link:
subject: servlet question
It's not a secret anymore!