struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jung, Eric (Contractor)" <ej...@russellmellon.com>
Subject RE: Axis Integration
Date Wed, 07 Aug 2002 23:36:51 GMT
Yes, I've done this.

Since Axis implements its own controller, I decided to define two servlets
in my application: org.apache.axis.providers.java.RPCProvider and
org.apache.struts.action.ActionServlet. I just set up the mappings correctly
and it worked from there with no problems.

Another option (which I don't like as much) is to create your own controller
which contains instances of an Axis controller and a Struts controller. When
your controller gets a request, it analyes the request and routes it to the
appropriate controller. For example, it could route M-POSTs to the Axis
controller and all other requests to the Struts controller. This could be
done cleaner with a filter if you have a Servlet 2.3 container.

I'd like to hear how anyone else has done this...

Eric Jung



-----Original Message-----
From: Struts Newsgroup [mailto:struts@basebeans.com]
Sent: Wednesday, August 07, 2002 7:25 PM
To: struts-user@jakarta.apache.org
Subject: Axis Integration


Subject: Axis Integration
From: Owen <owen.thomas@simpl.co.nz>
 ===
Anybody had any experience integrating Axis and Struts??

Owen


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message