Hi,
 If you can tell in detail what exactly is the servlet code doing, it'll
be easier to explain how can you incorporate it within struts framework.

In a struts framework the request processing is done by the Action
classes. So eventually, whatever task is being done by your current servlet
can be implemented as an action class.

You existing web.xml will have now no entry for this servlet as it's going
to be invoked by the ActionServlet/RequestProcessor. In order that this 
ActionServlet invokes this action you need to update the struts-config file
with relevant information.

Hope this helps you.

Regards,
Ashutosh



-----Original Message-----
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 9:01 AM
To: user@struts.apache.org
Subject: How to combine normal servlets and struts


I have 2 sets of programms running on Tomcat 
 
1)one set is using normal servlet program architecture.
2)another is using struts technology.
 
This together makes whole application. Eventually the whole application will be 
in struts, but currently i have half in servlet and half in struts. 
 
Currently developed separately, but now i want to combine this under one roof. 
i mainly worried about web.xml - how i can do it?
 
regards
Manisha
 
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to