Re: Extending Request Processor to append request parameter

2004-03-06 Thread Michael McGrady
ot;) response.setDateHeader("Expires", "1") Comments welcome. Niall - Original Message - From: "Geeta Ramani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, March 07, 2004 1:12 AM Subject: Re: Extend

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Niall Pemberton
quot;) response.setDateHeader("Expires", "1") Comments welcome. Niall - Original Message - From: "Geeta Ramani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, March 07, 2004 1:12 AM Subject: Re:

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
> From: "Geeta Ramani" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Saturday, March 06, 2004 10:15 PM > Subject: Re: Extending Request Processor to append request parameter > > > Brad: > > > > I looked

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Niall Pemberton
ssage - From: "Geeta Ramani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, March 06, 2004 10:15 PM Subject: Re: Extending Request Processor to append request parameter > Brad: > > I looked at the API and notice

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Craig R. McClanahan
Quoting Geeta Ramani <[EMAIL PROTECTED]>: > Brad: > > I looked at the API and noticed the RequestProcessor is a 1.1 feature.. Your > solution seems nice and clear! I only have one question for you though: How > do you "connect" the subclass of RequestProcessor that you wrote with the > struts Ac

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
Brad: I looked at the API and noticed the RequestProcessor is a 1.1 feature.. Your solution seems nice and clear! I only have one question for you though: How do you "connect" the subclass of RequestProcessor that you wrote with the struts ActionServlet..? Do you have to subclass the ACtionServl

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Michael McGrady
I am failing to see what the problem is. Just create a new parameter and give it a new number. Why is that a problem? At 09:23 AM 3/6/2004, you wrote: Hi Brad, Someone on this list (sorry; can't remember who) subclassed ActionForward to do exactly this. Search the archives for ParameterAction

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Craig R. McClanahan
Quoting Brad Balmer <[EMAIL PROTECTED]>: > Well, I searched through the archives with no luck on > 'ParameterActionForward' or similar. I ended up trying to ovveride the > ActionForward class but couldn't get it to work well. Then I noticed in > the RequestProcessor there is a doForward() tha

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Brad Balmer
Well, I searched through the archives with no luck on 'ParameterActionForward' or similar. I ended up trying to ovveride the ActionForward class but couldn't get it to work well. Then I noticed in the RequestProcessor there is a doForward() that can be ovveridden. I wrote the following and i

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Curtis Taylor
Hi Brad, Someone on this list (sorry; can't remember who) subclassed ActionForward to do exactly this. Search the archives for ParameterActionForward. If you can't find it, email me off-list & I'll send you the Java file (I have it stashed away somewhere. Curtis -- c dot tee at verizon dot net

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
Oops, typo.. > In your Action classes, where you usually have something like: > return mapping.findForward("success") > > you instead could have: > > return (Util.makeUnique("success")); I meant: return (Util.makeUnique(mapping.findForward("success"))); Geeta --

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
Brad: Here's one very simple way of achieving your objective, but I am quite certain other people will have better ones, but since this is kind of a cute problem, I want to offer this as well..:) First write a simple "util" method (I always have a Util class in my apps where I gather stuff which

Extending Request Processor to append request parameter

2004-03-06 Thread Brad Balmer
I've been looking into this for a while and can't figure out how to do this easily. I would like to append a unique number to each request in an attempt to defeat caching (setting all the normal META tags as well as the 'nocache' in the controller doesn't seem to ALWAYS work). Therefore I want

RE: passing request parameter to mapping.findForward(alias)

2004-01-08 Thread Richard Hightower
Hightower [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 12:20 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: passing request parameter to mapping.findForward(alias) there are at least two ways static parameter? dynamic? (in execute method) ActionForward

RE: passing request parameter to mapping.findForward(alias)

2004-01-08 Thread Richard Hightower
7;ve done it before... it is the basic idea] -Original Message- From: N.N.S.S Ravi Krishna [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 11:13 PM To: 'struts users' Subject: passing request parameter to mapping.findForward(alias) Hi All, how to send a parameter a

passing request parameter to mapping.findForward(alias)

2004-01-07 Thread N.N.S.S Ravi Krishna
Hi All, how to send a parameter along with the forward alias name in mapping .findForward(xyz).any help is appreciated thanks in advance, ravi

Re: File Upload and Request Parameter

2003-08-29 Thread Jason Lea
David Stemm wrote: All, I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using the tag. The tag doesn't seem to find the request param. I know the parameter exists - I can see it in the debugger. The

File Upload and Request Parameter

2003-08-28 Thread David Stemm
All, I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using the tag. The tag doesn't seem to find the request param. I know the parameter exists - I can see it in the debugger. The tag looks like th

File Upload and Request Parameter

2003-08-28 Thread David Stemm
All, I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using the tag. The tag doesn't seem to find the request param. I know the parameter exists - I can see it in the debugger. The tag looks like th

Re: [OT]Still problem with my img / request parameter

2003-07-01 Thread Alen Ribic
ling List'" <[EMAIL PROTECTED]> Sent: Tuesday, July 01, 2003 10:56 PM Subject: RE: [OT]Still problem with my img / request parameter > have you tried ${param.productImage} ? > > > -Original Message- > > From: Alen Ribic [mailto:[EMAIL PROTECTED] > > Sent:

RE: [OT]Still problem with my img / request parameter

2003-07-01 Thread Jarnot Voytek Contr AU HQ/SC
have you tried ${param.productImage} ? > -Original Message- > From: Alen Ribic [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 3:50 PM > To: Struts Users Mailing List > Subject: Still problem with my img / request parameter > > > Hi all again >

Still problem with my img / request parameter

2003-07-01 Thread Alen Ribic
Hi all again I know that this is not specific to Struts, but I'm just hopping someone can give me some answer to my problem regarding using JSTL in my Struts project. I wanna write this: with no Java code like this: But ${productImage} doesn't get my request parameter! :-( How

RE: Repost: Global request parameter filtering

2003-05-29 Thread Patrick Refondini
Just "a pointer" to the following >Any pointers? >How do you filter your sql sensitive characters? If you use java.sql.PreparedStatement you should not require any manual characters filtering or escaping. My two cents, Patrick Quoting Mike Whittaker <[EMAIL PROTECTED]>: > > Okay, no one seems

RE: Repost: Global request parameter filtering

2003-05-29 Thread Mike Whittaker
Okay, no one seems to have any suggestions so having thought about this for about a week now here is what I propose to do. I'm just trying to implement very simple forms the struts way, prepopulation & validation are not major concerns at the moment but I'd like to keep the option open. My main r

Repost: Global request parameter filtering

2003-05-29 Thread Mike Whittaker
Sorry to be a pain ~~ Say for instance you want to filter for all the ' " \ characters in request parameters either removing them, or escaping them. Either way if you do it before the action form gets them, then on prepopulation of form fields the user will see these alterations (n

Global request parameter filtering

2003-05-28 Thread Mike Whittaker
Say for instance you want to filter for all the ' " \ characters in request parameters either removing them, or escaping them. Either way if you do it before the action form gets them, then on prepopulation of form fields the user will see these alterations (not desirable). If you do it after you

Re: HELP! get request parameter from a custom tag

2003-02-14 Thread Craig R. McClanahan
On Fri, 14 Feb 2003, Kevin Williams wrote: > Date: Fri, 14 Feb 2003 15:22:47 -0800 (PST) > From: Kevin Williams <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: HELP! get request parameter from a custom t

RE: HELP! get request parameter from a custom tag

2003-02-14 Thread Kevin Williams
k bericht- > Van: Kevin Williams [mailto:[EMAIL PROTECTED]] > Verzonden: zaterdag 15 februari 2003 0:23 > Aan: [EMAIL PROTECTED] > Onderwerp: HELP! get request parameter from a custom tag > > > Hi, > > I apologize if this already was posted...I posted this earlier toda

RE: HELP! get request parameter from a custom tag

2003-02-14 Thread Damm, Gary
ECTED] Subject: HELP! get request parameter from a custom tag Hi, I apologize if this already was posted...I posted this earlier today, but did not get see it posted... If anyone can help me with this, it's stopping me from finishing key portions of my applicaiton! I'm new to struts, and

RE: HELP! get request parameter from a custom tag

2003-02-14 Thread Johan Kumps
This code snippet should do the job. String value = pageContext.getRequest().getParameter("paramname"); Kind regards -Oorspronkelijk bericht- Van: Kevin Williams [mailto:[EMAIL PROTECTED]] Verzonden: zaterdag 15 februari 2003 0:23 Aan: [EMAIL PROTECTED] Onderwerp: HELP! g

HELP! get request parameter from a custom tag

2003-02-14 Thread Kevin Williams
Hi, I apologize if this already was posted...I posted this earlier today, but did not get see it posted... If anyone can help me with this, it's stopping me from finishing key portions of my applicaiton! I'm new to struts, and I am trying to retrieve a parameter that is in the request scope f

RE: setting a request parameter in JavaScript

2003-02-11 Thread João Luz
With javascript? Regards, Joao -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Sent: terça-feira, 11 de Fevereiro de 2003 12:53 To: 'Struts Users Mailing List' Subject: AW: setting a request parameter in JavaScript Thanks for the hint, this s

Re: AW: setting a request parameter in JavaScript

2003-02-11 Thread Nicolas De Loof
javascript. Nico. If I set the window.location in that way you suggested, it won't be submitted during a submit(). As far as I've understand, you can get the actual location, but you can't set a request parameter that way. Please correct me if I'm wrong. Did you t

Re: AW: AW: setting a request parameter in JavaScript

2003-02-11 Thread Gemes Tibor
2003. február 11. 15:41 dátummal Hirschmann, Bernhard ezt írtad: > > But just because I'm curious: is there a way to set a real request > > parameter for a submitting request? > > Like: .../myAction.do?parameter1=theValue¶meter2&anotherValue Oh, I think got it: cha

Re: AW: AW: setting a request parameter in JavaScript

2003-02-11 Thread Gemes Tibor
nderstand, you can get the actual location, but you can't > set a request parameter that way. Please correct me if I'm wrong. case a) you have a form, in which you want to set up a property statically which cannot be changed by the client -> use hidden field case b) you have a form and

AW: AW: setting a request parameter in JavaScript

2003-02-11 Thread Hirschmann, Bernhard
Thanks Tib, but either I didn't understand, or this is not working... If I set the window.location in that way you suggested, it won't be submitted during a submit(). As far as I've understand, you can get the actual location, but you can't set a request parameter that way.

Re: AW: setting a request parameter in JavaScript

2003-02-11 Thread Gemes Tibor
2003. február 11. 13:53 dátummal Hirschmann, Bernhard ezt írtad: > Thanks for the hint, this seems to be a good work around. > > But just because I'm curious: is there a way to set a real request > parameter for a submitting request? > Like: .../myAction.do?parameter1=theValue

AW: setting a request parameter in JavaScript

2003-02-11 Thread Hirschmann, Bernhard
Thanks for the hint, this seems to be a good work around. But just because I'm curious: is there a way to set a real request parameter for a submitting request? Like: .../myAction.do?parameter1=theValue¶meter2&anotherValue Regards, Bernhard -Ursprüngliche Nachricht- Von:

RE: setting a request parameter in JavaScript

2003-02-11 Thread João Luz
]] Sent: terça-feira, 11 de Fevereiro de 2003 12:36 To: Struts User Mailing List (E-Mail) Subject: setting a request parameter in JavaScript Does somebody know how it is possible, to define a request parameter, while submitting a form via the JavaScript command "submit()" ??? I'm

setting a request parameter in JavaScript

2003-02-11 Thread Hirschmann, Bernhard
Does somebody know how it is possible, to define a request parameter, while submitting a form via the JavaScript command "submit()" ??? I'm doing a "submit()" in a event handler of a html:select box and have to set also a request para

RE: reset a request parameter to null

2003-01-21 Thread Sri Sankaran
al Message- From: Denis Wang [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:30 PM To: Struts Users Mailing List Subject: RE: reset a request parameter to null thanks for your reply. just as this email's subject, I am trying to set a request *parameter* to null. Denis

Re: reset a request parameter to null

2003-01-21 Thread Andreas Winkler
Monday, January 20, 2003 9:52 PM Subject: RE: reset a request parameter to null > I tried but failed, unfortunately. I guess the *operation* will be kept as > a request parameter if mapping.findForward() is used, EVEN if you remove > *operation* from your ActionForm. > Thanks for your

RE: reset a request parameter to null

2003-01-20 Thread Larry Zappeterrini
, 2003 3:52 PM To: Struts Users Mailing List Subject: RE: reset a request parameter to null I tried but failed, unfortunately. I guess the *operation* will be kept as a request parameter if mapping.findForward() is used, EVEN if you remove *operation* from your ActionForm. Thanks for your attention

RE: reset a request parameter to null

2003-01-20 Thread Denis Wang
I tried but failed, unfortunately. I guess the *operation* will be kept as a request parameter if mapping.findForward() is used, EVEN if you remove *operation* from your ActionForm. Thanks for your attention. Denis -Original Message- From: Larry Zappeterrini [mailto:[EMAIL PROTECTED

RE: reset a request parameter to null

2003-01-20 Thread Denis Wang
OTECTED]] Sent: Monday, January 20, 2003 3:30 PM To: Struts Users Mailing List Subject: RE: reset a request parameter to null thanks for your reply. just as this email's subject, I am trying to set a request *parameter* to null. Denis -Original Message- From: Sri Sankaran [mailto:[EMA

RE: reset a request parameter to null

2003-01-20 Thread Larry Zappeterrini
Parameter("operation") should return null after that. Larry -Original Message- From: Denis Wang [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:30 PM To: Struts Users Mailing List Subject: RE: reset a request parameter to null thanks for your reply. just as this e

RE: reset a request parameter to null

2003-01-20 Thread Sri Sankaran
Ah! I had to read your message again to see that what you had showed were various attempts at setting the request parameter 'operation' to null. I would suggest overriding OneForm's reset() method and set the property 'operation' to null in it. Let me say in passing

RE: reset a request parameter to null

2003-01-20 Thread Denis Wang
thanks for your reply. just as this email's subject, I am trying to set a request *parameter* to null. Denis -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:28 PM To: Struts Users Mailing List Subject: RE: reset a request paramet

RE: reset a request parameter to null

2003-01-20 Thread Sri Sankaran
l Message- From: Denis Wang [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:19 PM To: Struts Users Mailing List Subject: reset a request parameter to null Hello, all, What is the easiest way to set the request paramter to null? I have OneForm and TwoForm, both of which have a

reset a request parameter to null

2003-01-20 Thread Denis Wang
Hello, all, What is the easiest way to set the request paramter to null? I have OneForm and TwoForm, both of which have a field of "operation". After OneAction is finished, the request will be forwarded to TwoAction. The wierd thing is that I cannot reset the "operation" parameter. I tried in the O

RE: html:hidden and request parameter

2002-11-19 Thread Míguel Ángel Mulero Martínez
49 > Para: [EMAIL PROTECTED] > Asunto: html:hidden and request parameter > > > Hello all, > > in a jsp, i use : > > out.print("\""+request.getParameter("command")+"\""); %>> > > I would like to use the tag from struts html ta

Re: html:hidden and request parameter

2002-11-19 Thread Gemes Tibor
2002. november 19. 12:49 dátummal Jean-Baptiste Onofré ezt írtad: > Hello all, > > in a jsp, i use : > > out.print("\""+request.getParameter("command")+"\""); %>> > > I would like to use the tag from struts html taglib. > > Somebody has a sample ? And don't forget to add the command property t

html:hidden and request parameter

2002-11-19 Thread Jean-Baptiste Onofré
Hello all, in a jsp, i use : > I would like to use the tag from struts html taglib. Somebody has a sample ? Best regards -- Jean-Baptiste Onofré (Nanthrax) Membre fondateur de phpFR.org http://www.phpfr.org [EMAIL PROTECTED] Membre fondateur du LUG Béziers http://www.lug-beziers.org [EMAIL P

RE: request parameter

2002-11-18 Thread Andrew Hill
was right under my nose the whole time!). Thanks Kris :-) -Original Message- From: Vipul Sanghi [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 21:16 To: Struts Users Mailing List Subject: RE: request parameter this will work. I use it. -Original Message- From

RE: request parameter

2002-11-18 Thread Vipul Sanghi
this will work. I use it. -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 9:08 PM To: Struts Users Mailing List Subject: Re: request parameter 2002. november 18. 13:36 dátummal Andrew Hill ezt írtad: > As Gemes says, your best bet is

Re: request parameter

2002-11-18 Thread Gemes Tibor
2002. november 18. 13:36 dátummal Andrew Hill ezt írtad: > As Gemes says, your best bet is to use an attribute for this. > > I myself however also have a few places where Id really like to 'decorate' > an incoming request's parameters. > > I have not tried this myself so Ive no idea if it will actu

RE: request parameter

2002-11-18 Thread Kris Schneider
oblems. > > > -Original Message- > From: Amit Badheka [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 18, 2002 20:05 > To: Struts Users Mailing List > Subject: request parameter > > > I would like to add some request parameter in my action class , before &

RE: request parameter

2002-11-18 Thread Andrew Hill
from other ppl as to how viable a solution it is and any potential problems. -Original Message- From: Amit Badheka [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 20:05 To: Struts Users Mailing List Subject: request parameter I would like to add some request parameter in

Re: request parameter

2002-11-18 Thread Gemes Tibor
2002. november 18. 13:05 dátummal Amit Badheka ezt írtad: > I would like to add some request parameter in my action class , before > forwarding it to jsp page. > > Is there any way to do it? You'd better store the data you'd like to pass to your jsp in request as an attr

request parameter

2002-11-18 Thread Amit Badheka
I would like to add some request parameter in my action class , before forwarding it to jsp page. Is there any way to do it?

Re: Putting request parameter into page context

2002-11-15 Thread Kris Schneider
Quoting Michael Lee <[EMAIL PROTECTED]>: > This seems like it would be so simple yet I can't get it to work > I've tried all kinds of combinations of bean:define... > > I want to take the request parameter startRow and put it in a page object > startRow > s

Re: Putting request parameter into page context

2002-11-15 Thread hotmail
EMAIL PROTECTED]> Sent: Friday, November 15, 2002 10:49 AM Subject: Putting request parameter into page context This seems like it would be so simple yet I can't get it to work I've tried all kinds of combinations of bean:define... I want to take the request parameter startRow and

Putting request parameter into page context

2002-11-15 Thread Michael Lee
This seems like it would be so simple yet I can't get it to work I've tried all kinds of combinations of bean:define... I want to take the request parameter startRow and put it in a page object startRow startRow is in the request (URL.com/someaction.jsp?startRow=10). thanks, Mike

Request "parameter" with actionMapping

2002-11-06 Thread Aladar The Dinosaur
Hello, I'm trying to send request parameter (i.e. /uri.do?parameter=value) to the redirected page actionMapping returns, but couldn't find an easy way to do this. Can someone help? I suppose I can forward the control back to the intended page by creating a new instance of ActionForward

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
-Original Message- From: Luca Zago [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 6:55 AM To: Struts Users Mailing List Subject: Re: Passing a request parameter within Struts framework Hi, your problem is clear, and it has very few solutions :) The problem is that you use

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Thomas Eichberger
TopNav" ) too, but it still returned a >null value. > >Thanks, >Tuan > >-Original Message- >From: Thomas Eichberger [mailto:[EMAIL PROTECTED]] >Sent: Monday, October 07, 2002 6:28 AM >To: Struts Users Mailing List >Cc: Struts Users Mailing List (E-mail) >

Re: Passing a request parameter within Struts framework

2002-10-07 Thread Luca Zago
Hi, your problem is clear, and it has very few solutions :) The problem is that you use frames. Every Frame in a different request, then the request from your form..end at the page containing the frameset, and your request with your parameters set in your form ends here. All the pages inside the

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
st (E-mail) Subject: Re: Passing a request parameter within Struts framework request.getAttribute( "selTopNav" ) not request.getParameter( "selTopNav" ) !!! At 05:00 07.10.2002 -0700, Tuan H. Le wrote: >Hi, > >How do I pass a request attribute to another form? In my cas

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
Hi, I added Andrew's code tip as below, but it still returns a null value for the request parameter. public final class LoginAction extends Action { public ActionForward perform( ) { // . . . ActionForward curForward = mapping.findForward( target ); String

Re: Passing a request parameter within Struts framework

2002-10-07 Thread Thomas Eichberger
request.getAttribute( "selTopNav" ) not request.getParameter( "selTopNav" ) !!! At 05:00 07.10.2002 -0700, Tuan H. Le wrote: >Hi, > >How do I pass a request attribute to another form? In my case, after a >successful login, it would forward the user to >the main form (MainMeu.jsp which has a f

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Divakar Satyanarayan
st > Subject: RE: Passing a request parameter within Struts framework > > Had another look at your question and realised it is attributes rather > than > parameters (Im always getting these mixed up!) that you stated in your > original question! (hehe guess my response was too qui

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
Andrew, Thanks again for your help! I'm going to try your suggestion soon. Tuan -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 5:41 AM To: Struts Users Mailing List Subject: RE: Passing a request parameter within Struts framework

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Andrew Hill
redirecting forward. Dont use jsp much so cant remember the 'best' way to expose it to the page, but you could probably use a runtime expression thinghy (<%= request.getAttribute("selTopNav"); %> If however you need it as a request parameter the way I always do it is as

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
Andrew, Thanks for a quick response! Do you have a sample code that I can use? It seems to me that are several lines of code to complete your suggestion. Is this the only way to pass a request parameter within the LoginAction to another JSP page? Eventually, I need to pass the request

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Andrew Hill
; From: Tuan H. Le [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 20:01 > To: Struts Users Mailing List (E-mail) > Subject: Passing a request parameter within Struts framework > > Hi, > > How do I pass a request attribute to another form? In my cas

Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
Hi, How do I pass a request attribute to another form? In my case, after a successful login, it would forward the user to the main form (MainMeu.jsp which has a frameset). In the main form, it has several tabs. By default, it displays the first tab. Currently, in the perform() method of Login

submit button - request parameter

2002-09-23 Thread Karen Lee
I don't get what the user guide says about the submit button: > property: Name of the request parameter that will be included with this submission, set to the specified value. [RT Expr] What specified value? I read this as, if I have the tag Delete selected the request p

Re: REPOST: Something ate my submit request parameter

2002-08-17 Thread Kenneth Stout
Add property="submit" to your tags. Kenneth. - Original Message - From: "Jim Crossley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, August 17, 2002 7:08 AM Subject: REPOST: Something ate my

RESOLVED: Something ate my submit request parameter

2002-08-17 Thread Jim Crossley
attribute. Is that behavior so bad? Jim - Original Message - From: "Jim Crossley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, August 17, 2002 10:08 AM Subject: REPOST: Something ate my submit request param

REPOST: Something ate my submit request parameter

2002-08-17 Thread Jim Crossley
Help? Please? - Original Message - From: "Jim Crossley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 16, 2002 10:39 AM Subject: Something ate my submit request parameter > I just tried to upgrade from 1.1b1 to 1.1b2. > > In my jsp

Something ate my submit request parameter

2002-08-16 Thread Jim Crossley
I just tried to upgrade from 1.1b1 to 1.1b2. In my jsp page, I have a nested form that includes multiple submit buttons: With b1, I used to get a request parameter named "submit". With b2, I don't. My app kinda depends on that behavior. Is there any way I

Re: Remove request parameter

2002-07-31 Thread Eddie Bush
Marius Gabor wrote: >> What I typically do is have a button for each "action" I want to >> perform on a given form's data. Then, by naming the buttons all the >> same name, and providing different "Value" attributes, you can tell >> what the user intended to do, just by which button they pus

Re: remove request parameter

2002-07-31 Thread Scott Carlson
PROTECTED]> >Subject: remove request parameter >Content-Type: text/plain; charset=us-ascii; format=flowed >> I would think that, based off how the user submits the form (ie. which >> button did they push?) you should know which values to use/ignore - but >> this may not

Re: Remove request parameter

2002-07-31 Thread Marius Gabor
> Ok - you should know what the valid range of values is for a given > field. Typically there values which you can use to denote that a field > has explicitly been set/reset to "default" - like setting a variable > used as a loop-index to -1 - there is no language that lets you have -1 > as a

Re: Remove request parameter

2002-07-31 Thread Eddie Bush
Marius Gabor wrote: >> What I think I'm unclear about is: At what point are you wanting to >> manipulate them? ... on the page? ... at the action itself? > > I'm trying to manipulate them in the action, for a specific action > that user chooses, i.e. when user pushes some stupid button, se

Re: Remove request parameter

2002-07-31 Thread Jan Fetyko
Marius Gabor wrote: > Hi, Eddie! > > Looks like u r the only one interrested in this s... Not entirely true. >> What I think I'm unclear about is: At what point are you wanting to >> manipulate them? ... on the page? ... at the action itself? > > > I'm trying to manipulate them in the a

Re: Remove request parameter

2002-07-30 Thread Marius Gabor
Hi, Eddie! Looks like u r the only one interrested in this s... > What I think I'm unclear about is: At what point are you wanting to > manipulate them? ... on the page? ... at the action itself? I'm trying to manipulate them in the action, for a specific action that user chooses, i.e. whe

Re: Remove request parameter

2002-07-30 Thread Eddie Bush
Marius Gabor wrote: >> Does this rambling help any?! Restate your problem, again, and be as >> deliberate (thorough/detail-oriented) with you description as you can >> about your problem and attempted implementation. > > Again?! Well, I can't waste time writing mails all day, u know... > I'l

Re: Remove request parameter

2002-07-29 Thread Marius Gabor
Hi, Eddie! > > Any current implementation details we should be aware of? What do u mean? > My guess (man I hate to guess) is that you've got some piece of > javascript attached to the onsubmit= attribute of your form. This > script is trying to modify your hidden variables' values. Am I war

Re: Remove request parameter

2002-07-29 Thread Eddie Bush
Marius Gabor wrote: > Hi, Eddie! > > I'm sorry!!! I thought that the massage wasn't posted, that's the > reason I did it many times!!! In my mailing list, the thread doesn't > seem to be open. So, please excuse me for being so silly! That's for > all, not only for you. :) Subscribe to the ma

Re: Removing request parameter

2002-07-29 Thread Marius Gabor
nal Message- > From: Marius Gabor [mailto:[EMAIL PROTECTED]] > Sent: lundi 29 juillet 2002 16:46 > To: Struts Users Mailing List > Subject: Removing request parameter > > > Hi! > > I need help: I have a form that contains a couple of hidden fields. I've tried 2 >

Re: Remove request parameter

2002-07-29 Thread Marius Gabor
Hi, Eddie! I'm sorry!!! I thought that the massage wasn't posted, that's the reason I did it many times!!! In my mailing list, the thread doesn't seem to be open. So, please excuse me for being so silly! That's for all, not only for you. :) So, my problem is: I have some JSPs and in taglibs.

Re: Remove request parameter

2002-07-29 Thread Jan Fetyko
Listen to Eddie, he knows what he is talking about, I know from my own experience. J Eddie Bush wrote: > *maybe* you could try replying to the threads you have already? And > maybe you could wait longer than 15 minutes in between postings of the > *exact same material*? I know it can be fru

Re: Remove request parameter

2002-07-29 Thread Eddie Bush
*maybe* you could try replying to the threads you have already? And maybe you could wait longer than 15 minutes in between postings of the *exact same material*? I know it can be frustrating to be stuck, but many of us have things to do other than just reply to your query :-) I'm not exactly

Remove request parameter

2002-07-29 Thread Marius Gabor
Hi! I need help: I have a form that contains a couple of hidden fields. I've tried 2 modify fields values working with JavaScript. It didn't do it. Somehow, these fields are not visible and I can't read or set them. I know that I can getParameter() or getParameterNames() and then I can see the

remove request parameter

2002-07-29 Thread Marius Gabor
Hi! I need help: I have a form that contains a couple of hidden fields. I've tried 2 modify fields values working with JavaScript. It didn't do it. Somehow, these fields are not visible and I can't read or set them. I know that I can getParameter() or getParameterNames() and then I can see the

RE: Removing request parameter

2002-07-29 Thread Leblon Jean-marc
hail, try request.removeAttribute("ParameterName"); JML [EMAIL PROTECTED] -Original Message- From: Marius Gabor [mailto:[EMAIL PROTECTED]] Sent: lundi 29 juillet 2002 16:46 To: Struts Users Mailing List Subject: Removing request parameter Hi! I need help: I have a

Removing request parameter

2002-07-29 Thread Marius Gabor
Hi! I need help: I have a form that contains a couple of hidden fields. I've tried 2 modify fields values working with JavaScript. It didn't do it. Somehow, these fields are not visible and I can't read or set them. I know that I can getParameter() or getParameterNames() and then I can see the

Re: How to bind a request parameter to a tile definition ?

2002-07-23 Thread Cedric Dumoulin
You can't do it directly. The preferred way to pass parameters to a Tiles is to pass it some attributes. You can specify attributes values in the Tiles definition. Cedric Slava_L wrote: >I often use tile's definition name as a forward in my action mappings. >Since this is not an u

How to bind a request parameter to a tile definition ?

2002-07-22 Thread Slava_L
I often use tile's definition name as a forward in my action mappings. Since this is not an url to direct jsp file how am i suppose to pass any request parametrs i.e

  1   2   >