File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "servlet question " Watch "servlet question " New topic
Author

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?


SCJP<br />SCWCD<br />SCEA
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: http://aspose.com/file-tools
 
subject: servlet question
 
Similar Threads
Excluding methods from a test case
simple doubts, please explain.
JSP Element mixture
No ClassDefFoundError
WA #1.....word association