fig...
-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 be called from inside stuts
application.
Well, you can't call a servlet from an Action with a
be called from inside stuts
application.
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.
Then in the MyAction.ex
o...i 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 fr
Users 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();
// Creat
: 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
> -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, bu
, 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
&
> -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.
>
>
>
>
> Serv
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.
Then in the MyAction.execute() ...
// business logic
//...
// now forwar
1:43 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:37 AM
> To: Struts Users Mailing List
>
> -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 ca
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 based
12 matches
Mail list logo