struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Raquepo" <>
Subject using Struts datasource from a normal servlet
Date Fri, 18 Jul 2003 03:43:33 GMT
i have a service class that i can use in my actions by passing the servlet
variable to it
    MyService service = new MyService(servlet);
    MyService service = new MyService()

this works fine on my action classes. My question is
how can i use this service in a normal servlet.

public class MyServlet extends HttpServlet{

how can i pass the servlet variable and how to get it so i can use my
service in a normal servlet. Please help me


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message