struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niket Anand" <ni...@noida.manystreams.com>
Subject Re: Asynchronous Request handle
Date Mon, 05 May 2003 05:12:46 GMT
Actually I have a jsp page with media player embedded in it. So when I start
the application the movie player start in that jsp. On this player I have a
button on click I want to update the xml file (presentation file for media)
and send the request to modify xml file(presentation of media) and send it
to other media handling system. Now it takes lengthy process to get an
updated presentation file(xml) from media handling system and I donot want
to retart the application without the updated media presentation. As you
mentioned that send message to that screen, but here the media will restart
with certain message with same presentation without updated one.
I hope you can understand my problem.
Thanks for cooperation and I need your help.

Thanks,
Niket
----- Original Message -----
From: "Dan Tran" <danttran@hotmail.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Sunday, May 04, 2003 3:22 PM
Subject: Re: Asynchronous Request handle


> After sending what you need to another system, all you need is to return
> response back to the requested browser with the same screen and some
status
> message.
>
> If the sending processing requires some lengthy time, do it in another
> thread.
>
> hope this helps.
>
> -Dan
>
> ----- Original Message -----
> From: "Niket Anand" <niket@noida.manystreams.com>
> To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> Sent: Sunday, May 04, 2003 9:41 PM
> Subject: Re: Asynchronous Request handle
>
>
> > Thanks Dan,
> > The scenario can be like this
> > I have a screen having one button. On click of this buttton I want to
> modify
> > a xml file and send it to other system. In this case I donot want to
have
> > response from back end.
> > If you can help me How to handle this using Struts as I am newbie.
> >
> > Thanks,
> > Niket
> > ----- Original Message -----
> > From: "Dan Tran" <danttran@hotmail.com>
> > To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > Sent: Sunday, May 04, 2003 2:52 PM
> > Subject: Re: Asynchronous Request handle
> >
> >
> > > struts sits on top of http which is synchronous in nature.
> > >
> > > so the answer is NO.
> > >
> > > Just curious, why do need this Async feature?
> > >
> > > -Dan
> > >
> > > ----- Original Message -----
> > > From: "Niket Anand" <niket@noida.manystreams.com>
> > > To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > > Sent: Sunday, May 04, 2003 9:21 PM
> > > Subject: Asynchronous Request handle
> > >
> > >
> > > > Hello ,
> > > > Can anybody tell me whether Struts can handle Asynchronous Request
> also
> > > and
> > > > How?
> > > >
> > > > I am waiting for your help.
> > > >
> > > > Thanks,
> > > > Niket
> > > > ----- Original Message -----
> > > > From: "brian jf" <brian_jf_275@hotmail.com>
> > > > To: <struts-user@jakarta.apache.org>
> > > > Sent: Sunday, May 04, 2003 2:24 PM
> > > > Subject: html:form quick question
> > > >
> > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi all,
> > > > >
> > > > > I've a quick html:form question.
> > > > >
> > > > > I have a jsp which, as the result of action A,
> > > > > outputs the values of the formBean A.
> > > > >
> > > > > However on the same page, I want to have a html:form which
> > > > > calls a different action (Action B) passing it lots of user
> > > > > input for formBean B, but including a value from formBean A.
> > > > >
> > > > > I've tried to do this with the html:hidden attribute but
> > > > > I'm not sure how to set the property of form B to be the
> > > > > inputted hidden value.
> > > > >
> > > > > Anyone able to help me out?
> > > > >
> > > > > At the moment, the relevant bits from the jsp look as follows:
> > > > >
> > > > >
> > > > > <html:form action="/actionB.do" method="post">
> > > > >
> > > > > <table>
> > > > > <tr>
> > > > > <td><bean:message key="action_b_input"/></td>
> > > > > <td><html:text name="bForm" property="someInput" /></td>
> > > > > </tr>
> > > > >
> > > > > <tr>
> > > > > <td colspan="2" align="center">
> > > > > <html:image border="0" page="/submit.gif"/>
> > > > > </td>
> > > > > </tr>
> > > > > </table>
> > > > > <html:hidden name="aForm" property="somePropertyOfA" />
> > > > > </html:form>
> > > > >
> > > > >
> > > > > thanks very much,
> > > > > Brian
> > > > >
> > > > > _________________________________________________________________
> > > > > Add photos to your messages with MSN 8. Get 2 months FREE*.
> > > > > http://join.msn.com/?page=features/featuredemail
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail:
struts-user-help@jakarta.apache.org
> > > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message