Meaningless Drivel is fun!*
The moose likes Cattle Drive and the fly likes Reverse2Servlet - extend ActionServlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Reverse2Servlet - extend ActionServlet?" Watch "Reverse2Servlet - extend ActionServlet?" New topic
Author

Reverse2Servlet - extend ActionServlet?

Katrina Owen
Sheriff

Joined: Nov 03, 2006
Posts: 1357
    
  17
Hi,

Should we extend ActionServlet or HttpServlet in this assignment?

I'm afraid that if I skip using HttpServlet I might not understand what is really going on.

Katrina
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
You should extend ActionServlet for the Reverse2 servlet assignment. You've already used HttpServlet for the first 2 servlets assignments. Nothing new to see there. ActionServlet extends HttpServlet. You can look at the source code to see how, and you can ask questions here.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reverse2Servlet - extend ActionServlet?
 
Similar Threads
Can we use Struts for FTP protocol ???.
own controller class(ActionServlet)
how to override action servlet in struts
Problem running a sample Servlet Example: HTTP 503 Status code
Struts drawbacks