Hi Jenny,

Request attributes are server-side only data visible in one servlet 
container in one request-response cycle. Parameters are HTTP parameters 
(e.g. the "xx" in "http://myHost.com/myApp?xx=12";) which are carried from 
the client (i.e. the browser) to the server.

When you're doing a redirect, your first webapp effectively acts (via the 
browser) as the client and the second webapp acts as the server.

In your setup, I'm afraid using parameters is the only solution.
You can pass data via attributes only if you change the topology of your 
system such that those two webapps run on the same container, .

Hope this help.
--
John


At 09:13 am 04-09-2002, you wrote:

>I tried parameter and it was successful. However, I need to send large
>amount of data and I am not sure if parameter is a good solution.
>Basically, what are the differences between attribiute and parameter, and
>thieir cons and pros?
>
>Jenny

-- 
John Yu                       Scioworks Technologies
e: [EMAIL PROTECTED]         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - "Don't develop Struts Apps without it!"


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to