From: "Ryan julius" <[EMAIL PROTECTED]> > I have written a struts based application. It is deployed on a local server on port 8955 > From this struts application, I would like to send a notification (XmlStringNotification) > to a remote security server on port 8638 > How should I write my action mapping and class in order to send the notification > to the remote server.
This doesn't seem to be a Struts question... IOW, you'd do it the same way you'd do it if you weren't using Struts. Does the remote Server expect an HTTP Request? If so, Jakarta Commons HttpClient might be of use. Google has no results for "XmlStringNotification" so I assume it's some internal/proprietary thing. I would advise writing a 'helper' class to actually send the message, and then just call a method in that class from your Action, passing only the 'message' to it and so hiding all details from your Action. -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]