Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 78092 invoked from network); 11 Jun 2006 19:00:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jun 2006 19:00:42 -0000 Received: (qmail 68685 invoked by uid 500); 11 Jun 2006 19:00:33 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 68654 invoked by uid 500); 11 Jun 2006 19:00:32 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 68643 invoked by uid 99); 11 Jun 2006 19:00:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jun 2006 12:00:32 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dakota.jack@gmail.com designates 64.233.184.227 as permitted sender) Received: from [64.233.184.227] (HELO wr-out-0506.google.com) (64.233.184.227) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jun 2006 12:00:31 -0700 Received: by wr-out-0506.google.com with SMTP id i21so999510wra for ; Sun, 11 Jun 2006 12:00:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U2Ki8/QZHh/8S48PC6diOkx1lO9ZzL7HTGkJxa/nU4uGw8ZqEdpOkRhmF7FuHJHf5sZURU0n95Zv3lPk6MQsTIt7drEVCyxSSvfVEBje0BGXbVeoJYipOcsliW3Q+vcCzgkBuy9whEcekgxHfQTEcn56GlqdEavO0Tmg9r9HMPo= Received: by 10.65.236.9 with SMTP id n9mr4153589qbr; Sun, 11 Jun 2006 12:00:08 -0700 (PDT) Received: by 10.65.214.5 with HTTP; Sun, 11 Jun 2006 12:00:08 -0700 (PDT) Message-ID: Date: Sun, 11 Jun 2006 12:00:08 -0700 From: "Dakota Jack" To: "Struts Users Mailing List" Subject: Re: How to pass request parameters through a waiting page? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can set values in a form when you come to a page in Struts. On 5/26/06, starki78 wrote: > Thanks a lot Adam > for your help! > My solution that I currently have is to > add a paramter withwait to a action, that > should be coupled with a waiting-page. > > It works but do be honest I've to ask another person > in the team on monday why it works and the request-parameters will now be forwarded! > > Are you interested in this solution? > How to you know the real target action > in the waiting.jsp? > > Thanks for your help I think after a short time I'll understand! > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %> > <%@ taglib uri="struts-bean.tld" prefix="bean" %> > <%@ taglib uri="struts-html.tld" prefix="html" %> > <%@ taglib uri="struts-logic.tld" prefix="logic" %> > > > > > > "> > <bean:message key="pleasewait.text" bundle="PSS"/> > <%@ include file="css.jspf"%> > > > > >
> > > > >
>
> "> >
>
> > > >
> > > > > > > > Starki, > > > > I assume you have a form or a link on a page that the user submits. Here > > is a sample of a simple link with parameters: > > > > > > > > > > Do > > Something > > > > I'm making use of the set tag from the JSTL core tag library to set the > > parameters into a HashMap, then linking the the action. > > > > The Action subclass I'm using is just a ForwardAction, which forwards to > > "wait.jsp" > > From struts-config.xml: > > > > > > Then, in the wait.jsp page, I pull the request parameters from the > > request instance (I'm using the runtime expression value version of the > > set tag here) and store them in a page scope variable called > > "parameters". Then I just set the url in the content attribute of the > > meta http-equiv tag to the value rendered by the html rewrite tag, > > passing the parameters map. > > > > > > > > > scope="page"/> > > "> > > Untitled Document > > > > > > > > > > > > Hope that helps! > > > > > > starki78 wrote: > > > Hi Adam, an example > > > would be great! > > > > > > This is really a great problem to us! > > > Especially then the post method is called! > > > > > > Thanks a lot in advance > > > Starky > > > > > > > > > ---------- Initial Header ----------- > > > > > > >From : "Adam Samere" asamere@rochester.rr.com > > > To : "user" user@struts.apache.org > > > Cc : > > > Date : Tue, 23 May 2006 22:16:44 -0400 > > > Subject : Re: How to pass request parameters through a waiting page? > > > > > > > > > > > > > > > > > > > > > > > > > > >> Hi Starki! > > >> > > >> You should easily be able to grab the request parameters on your waiting page, then use them in the generated target URL. I'm assuming your waiting page > > >> then redirects the user to the target page using meta tags or javascript, right? I'll be happy to provide an example if you'd like. > > >> > > >> Adam > > >> > > >> Hi! > > >> > > >> I set request-paramteres within an jsp > > >> but introduced a waiting page to the next action. > > >> Now the request parameter cannot be found anymore! > > >> How can I achieve that the waiting jsp, recopies the > > >> request-attributes? Is this possible in any way? > > >> I don't want to write it to the session! > > >> > > >> Thanks a lot! > > >> Starki > > >> > > >> > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > > >> For additional commands, e-mail: user-help@struts.apache.org > > >> > > >> > > >> > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > > > For additional commands, e-mail: user-help@struts.apache.org > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > > For additional commands, e-mail: user-help@struts.apache.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > -- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org