can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
i have a shopping cart struts application, when update button of a jsp is clicked, some action is performed and after the successful excution of that action, a servlet which takes certain parameters should be called from the action class. The servlets which i am talking about are non-struts

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Jim Barrows
-Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:37 AM To: Struts Users Mailing List Subject: can a non struts application be called from inside stuts application. i have a shopping cart struts application, when update

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
To: Struts Users Mailing List Subject: RE: can a non struts application be called from inside stuts application. -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:37 AM To: Struts Users Mailing List Subject: can a non struts

Re: can a non struts application be called from inside stuts application.

2004-08-26 Thread Bill Siggelkow
Well, you can't call a servlet from an Action with a Java method call but you can easily forward the request to the servlet from the action. I suggest creating a local or global forward element for the servlet. action path=/MyAction type=com.foo.MyAction forward name=LegacyServlet

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Jim Barrows
-Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:53 AM To: Struts Users Mailing List Subject: RE: can a non struts application be called from inside stuts application. Servlets are accessed by URLs, action classes

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
, 2004 2:01 PM To: Struts Users Mailing List Subject: RE: can a non struts application be called from inside stuts application. -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:53 AM To: Struts Users Mailing List Subject: RE: can

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Jim Barrows
-Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 11:03 AM To: Struts Users Mailing List Subject: RE: can a non struts application be called from inside stuts application. O.k thats great, but i have make a 3 different servlet

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
: Thursday, August 26, 2004 2:13 PM To: Struts Users Mailing List Subject: RE: can a non struts application be called from inside stuts application. -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 11:03 AM To: Struts Users Mailing List

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
Mailing List' Subject: RE: can a non struts application be called from inside stuts application. How about using HTTP Client package like this: public static String getUrlResponse(String url) { String result = null; HttpClient client = new HttpClient(); // Create a method

Re: can a non struts application be called from inside stuts application.

2004-08-26 Thread Bill Siggelkow
have never used httpClient Package, so can you point me to the correct resource.. -Original Message- From: Pingili, Madhupal [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 2:17 PM To: 'Struts Users Mailing List' Subject: RE: can a non struts application be called from inside stuts

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
The old servlets takes lots of parameters, how and where can i pass those parameters in struts config... -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow Sent: Thursday, August 26, 2004 1:59 PM To: [EMAIL PROTECTED] Subject: Re: can a non struts application

Re: can a non struts application be called from inside stuts application.

2004-08-26 Thread Erik Weber
Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow Sent: Thursday, August 26, 2004 1:59 PM To: [EMAIL PROTECTED] Subject: Re: can a non struts application be called from inside stuts application. Well, you can't call a servlet from an Action with a Java method call but you can