Random tidbit ... Be careful of using this to call back into yourself (i.e. App A connecting back to App A).  You want to make sure you have concurrent request handling turned on or you will deadlock yourself.

ms

On Oct 8, 2006, at 7:18 PM, Dave Elsner wrote:

Hi,

I do this same thing with this code, there is probably a better way but it works for my needs.


java.net.URLConnection urlConn;
  java.net.URL url = "">new java.net.URL("http://URL TO DIRECT ACTION");
urlConn = url.openConnection();
urlConn.setDoInput (true);
urlConn.setDoOutput (true);
try
{
urlConn.getContent();
}
catch(java.net.ConnectException ce)
{

etc.


Regards
David Elsner



On 09/10/2006, at 3:33 AM, Dev WO wrote:

Hi,
Still trying to figure a couple things:)

Actually I need to call a direct action of application B from application A, but I don't want the user of application A to "see" this request. In fact the action he triggers return something for him, but I need a "second" action to take place.

More precisely I need to call a direct action on my front office application when an administrative user save something in the back office application to invalidate the front office shared editing context.

I think I already saw something like this on the mailing list but I just can't find it:(

Thanks

Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]

_______________________________________________
WebObjects-dev mailing list

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to