RE: Hiding URL Parameters

2004-03-04 Thread Ramadoss Chinnakuzhandai
tnx all for your helpsure I would try that way. -Ramadoss -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Thu 3/4/2004 5:41 PM To: Struts Users Mailing List Cc: Subject: RE: Hiding URL Parameters

RE: Hiding URL Parameters

2004-03-04 Thread Michael McGrady
s arguments without having them appear > in the URL. > > Im using in most cases.and there is the need > of hiding URL parameters despite I'm using method="post" in > my > any clue?? I already said it. A link is a GET request. With a GET, the parameters are

RE: Hiding URL Parameters

2004-03-04 Thread Wendy Smoak
> Im using in most cases.and there is the need > of hiding URL parameters despite I'm using method="post" in > my > any clue?? A bit of onclick JavaScript to set the form fields to the values you need, and then submit the form with a POST. Not to hide the att

RE: Hiding URL Parameters

2004-03-04 Thread Slattery, Tim - BLS
> >>But if you're using an html hyperlink, or the Struts > >>tag, you cannot pass arguments without having them appear > in the URL. > > Im using in most cases.and there is the need > of hiding URL parameters despite I'm using method="post&q

RE: Hiding URL Parameters

2004-03-04 Thread Ramadoss Chinnakuzhandai
>>But if you're using an html hyperlink, or the Struts >>tag, you cannot pass arguments without having them appear in the URL. Im using in most cases.and there is the need of hiding URL parameters despite I'm using method="post" in my any clue??

RE: Hiding URL Parameters

2004-03-04 Thread Slattery, Tim - BLS
> Is there anyway I can hide sending all the URL parameters (in > the browser address) from once page to other whenever I do > submit/click on html link? If you set method="post" in your "form" element (which Strut's tag does as default) the arguments will not

RE: Hiding URL Parameters

2004-03-04 Thread Qureshi, Affan
- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 1:32 PM To: [EMAIL PROTECTED] Subject: Hiding URL Parameters Is there anyway I can hide sending all the URL parameters (in the browser address) from once page to other whenever I do submit/click on html

Hiding URL Parameters

2004-03-04 Thread Ramadoss Chinnakuzhandai
Is there anyway I can hide sending all the URL parameters (in the browser address) from once page to other whenever I do submit/click on html link? any help would be appreciated. Tnx in advance, -Ramadoss - To unsubscribe

Re: ServletContextListener & init parameters

2004-03-02 Thread Niall Pemberton
2004 4:37 PM Subject: RE: ServletContextListener & init parameters > You should be able to use either scriptlets or JSTL because they are in the ServletContext: > > <% > Enumeration enum = application.getInitParameterNames(); > %> > > > > > > rob

RE: ServletContextListener & init parameters

2004-03-02 Thread Robert Taylor
4 11:17 AM > To: Struts Users Mailing List > Cc: [EMAIL PROTECTED] > Subject: RE: ServletContextListener & init parameters > > > Thanks Robert for this quick anwser. > > This solved my problem. However. Is there a possibility to access > context-params from a JSP

RE: ServletContextListener & init parameters

2004-03-02 Thread harm
to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts Users Mailing List" <[EMAIL PROTECTED]> cc Subject RE: ServletContextListener & init parameters The problem is your servlet init parameters don't exist in the ServletContext. If you want th

RE: ServletContextListener & init parameters

2004-03-02 Thread Robert Taylor
The problem is your servlet init parameters don't exist in the ServletContext. If you want them to be available to your code, then define them as init parameters to your application: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

ServletContextListener & init parameters

2004-03-02 Thread harm
Hi all, I have my ActionServlet serving as a ServletContextListener: public class ActionServlet extends org.apache.struts.action.ActionServlet implements ServletContextListener In the following method (which gets called upon startup) I need the ActionServlet init Parameters: public

RE: Parameters to an Action in struts-config.xml

2004-03-01 Thread Andrew Hill
List' Subject: Parameters to an Action in struts-config.xml Hi Is there a why to give config parameters to an Action entry in the struts-config.xml (I mean several parameters - the parameter attribute isn't enuff

Parameters to an Action in struts-config.xml

2004-03-01 Thread Boaz Barkai
Hi Is there a why to give config parameters to an Action entry in the struts-config.xml (I mean several parameters - the parameter attribute isn't enuff) Thanks Boaz - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Encode/Encrypt url parameters?

2004-02-25 Thread Todd G. Nist
parameters? I wrote a CryptoFactory to take care of this. We use it for cross domain session validation. // example code: CryptoFactory cf = CryptoFactory.create("aPassword","PBEWithMD5AndDES"); Date goodUntil = new Date(System.currentTimeMillis()+somePeriodMs); String t

RE: Encode/Encrypt url parameters?

2004-02-25 Thread Hookom, Jacob
to email me DIRECTLY. US Export laws apply here ;-) -Jacob -Original Message- From: Jim Theodoridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 10:45 AM To: Struts Users Mailing List Subject: Re: Encode/Encrypt url parameters? Maybe U can use javascript to set the value

Re: Encode/Encrypt url parameters?

2004-02-25 Thread Jim Theodoridis
Maybe U can use javascript to set the value of parameters to hidden fields?? - Original Message - From: "David Erickson" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, February 25, 2004 3:32 AM Subject: R

Re: Encode/Encrypt url parameters?

2004-02-24 Thread David Erickson
Aye Encrypt is exactly what I'm needing to do. Thanks! -David - Original Message - From: "Dhaliwal, Pritpal (HQP)" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, February 24, 2004 6:04 PM Subject: RE: Encode/En

RE: Encode/Encrypt url parameters?

2004-02-24 Thread Dhaliwal, Pritpal (HQP)
truts Users Mailing List Subject: Re: Encode/Encrypt url parameters? David: It's been a real long day and my brain's fuzzing over.. but I'm assuming you know all about java.net.URLDecoder and java.net.URLEncoder..? geeta David Erickson wrote: > Hi I was wondering if there are any e

Re: Encode/Encrypt url parameters?

2004-02-24 Thread Geeta Ramani
encrypt or encode url parameters? Basically what I > want to do is this: > > Action (encodes the url parameters, puts them into the request object) -> > forwards to jsp containing a link that grabs those parameters from the > request -> click link takes you to an Action that

Encode/Encrypt url parameters?

2004-02-24 Thread David Erickson
Hi I was wondering if there are any easy to use Java classes or otherwise that could be used to encrypt or encode url parameters? Basically what I want to do is this: Action (encodes the url parameters, puts them into the request object) -> forwards to jsp containing a link that grabs th

Re: multiple parameters within iterate loop

2004-02-19 Thread Kris Schneider
I'm not completely clear on how you've got your data set up, but something like this should work with JSTL: Click to retrieve extract Quoting Jacqueline Gomes <[EMAIL PROTECTED]>: > Hi All, > > I have a question regarding sending multiple parameters through a

multiple parameters within iterate loop

2004-02-18 Thread Jacqueline Gomes
Hi All, I have a question regarding sending multiple parameters through a tag. I understand that you can set it up like this: <% java.util.HashMap paramValuesExtract = new java.util.HashMap(); paramValuesExtract.put("ne

Re: html:link passing multiple parameters

2004-02-16 Thread phortonpeg
ge- > From: Adam L [mailto:[EMAIL PROTECTED] > Sent: Monday, 16 February 2004 2:10 PM > To: Struts Users Mailing List > Subject: Re: html:link passing multiple parameters > > There's also the use of c:url. The catch there is that if you incude the > resulting url i

RE: html:link passing multiple parameters

2004-02-15 Thread Nick Faiz
Thanks Adam - that's good to know. -Original Message- From: Adam L [mailto:[EMAIL PROTECTED] Sent: Monday, 16 February 2004 2:10 PM To: Struts Users Mailing List Subject: Re: html:link passing multiple parameters There's also the use of c:url. The catch there is that if you

Re: html:link passing multiple parameters

2004-02-15 Thread Adam L
AIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Sunday, February 15, 2004 4:39 PM Subject: RE: html:link passing multiple parameters > I did something along those lines using Struts-EL. > > scope="request"/> > &

RE: html:link passing multiple parameters

2004-02-15 Thread Nick Faiz
ubject: html:link passing multiple parameters Hi, I have a situation where I need to pass several parameters in an html:link tag. From what I've read, I know that I must use a HashMap to send as a param which would contain the values I want to send to the URL. I first display the values in a

html:link passing multiple parameters

2004-02-15 Thread phortonpeg
Hi, I have a situation where I need to pass several parameters in an html:link tag. From what I've read, I know that I must use a HashMap to send as a param which would contain the values I want to send to the URL. I first display the values in a table using logic:iterate and an arra

Re: dynamic parameters

2004-02-10 Thread Michael McGrady
ty) on the server side. I know It's not the most "elegant" solution, but it you are short of time, then it will surely do it. HTH, Freddy. -Mensaje original- De: Nathan Maves [mailto:[EMAIL PROTECTED] Enviado el: martes, 10 de febrero de 2004 1:24 Para: Struts Users Mailing

Re: dynamic parameters

2004-02-10 Thread Matt Bathje
AIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, February 10, 2004 1:35 PM Subject: Re: dynamic parameters > Sorry for an ambiguity that was in my example. > > here are the gory details :) > > I am only using student as an exa

RE: dynamic parameters

2004-02-10 Thread Samyukta Akunuru
parameters Sorry for an ambiguity that was in my example. here are the gory details :) I am only using student as an example the real object would only complicate matters. In an action I am retrieving : - a list of all the students objects. This includes their student id. - an array of studentsGrade

Re: dynamic parameters

2004-02-10 Thread Nathan Maves
know It's not the most "elegant" solution, but it you are short of time, then it will surely do it. HTH, Freddy. -Mensaje original- De: Nathan Maves [mailto:[EMAIL PROTECTED] Enviado el: martes, 10 de febrero de 2004 1:24 Para: Struts Users Mailing List Asunto: dynamic parame

Re: dynamic parameters

2004-02-10 Thread Michael McGrady
; solution, but it you are short of time, then it will surely do it. HTH, Freddy. -Mensaje original- De: Nathan Maves [mailto:[EMAIL PROTECTED] Enviado el: martes, 10 de febrero de 2004 1:24 Para: Struts Users Mailing List Asunto: dynamic parameters I have searched but found nothing on

Re: dynamic parameters

2004-02-10 Thread Nathan Maves
[mailto:[EMAIL PROTECTED] Enviado el: martes, 10 de febrero de 2004 1:24 Para: Struts Users Mailing List Asunto: dynamic parameters I have searched but found nothing on this specific example. I have a form that will have n number of elements. Each of these elements will needs it own name. example.

RE: dynamic parameters

2004-02-10 Thread Villalba Arias, Fredy [BILBOMATICA]
e original- De: Nathan Maves [mailto:[EMAIL PROTECTED] Enviado el: martes, 10 de febrero de 2004 1:24 Para: Struts Users Mailing List Asunto: dynamic parameters I have searched but found nothing on this specific example. I have a form that will have n number of elements. Each of these elements

Re: dynamic parameters

2004-02-09 Thread Michael McGrady
st" <[EMAIL PROTECTED]> Sent: Monday, February 09, 2004 6:24 PM Subject: dynamic parameters I have searched but found nothing on this specific example. I have a form that will have n number of elements. Each of these elements will needs it own name. example. list of students is display

Re: dynamic parameters

2004-02-09 Thread Nathan Maves
MAIL PROTECTED]> Sent: Monday, February 09, 2004 6:24 PM Subject: dynamic parameters I have searched but found nothing on this specific example. I have a form that will have n number of elements. Each of these elements will needs it own name. example. list of students is displayed on the screen with

RE: dynamic parameters

2004-02-09 Thread Ram Prasadh
) {...} getStuden() {...} Hope this helps ... :) -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 4:24 PM To: Struts Users Mailing List Subject: dynamic parameters I have searched but found nothing on this specific example. I have a form that will have n

Re: dynamic parameters

2004-02-09 Thread Matt Bathje
ts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, February 09, 2004 6:24 PM Subject: dynamic parameters > I have searched but found nothing on this specific example. > > I have a form that will have n number of elements. Each of these > elements will needs it ow

dynamic parameters

2004-02-09 Thread Nathan Maves
I have searched but found nothing on this specific example. I have a form that will have n number of elements. Each of these elements will needs it own name. example. list of students is displayed on the screen with two text fields for their first and last name. This is for a mass update pag

Passing parameters between Actions

2004-02-09 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi everybody, Is there a standard / preferred way(s) to pass parameters from one Action(Form) to another? Is there some way to have some property (of any type) automatically mapped between two ActionForms? Regards, Freddy. --- Outgoing mail is certified Virus Free. Checked by AVG anti

Re: html:link multiple parameters

2004-01-22 Thread James Mitchell
tower" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 22, 2004 8:16 PM Subject: RE: html:link multiple parameters > use JSTL > > > > it allows you to pass parameter tags > > -Original Message-

RE: html:link multiple parameters

2004-01-22 Thread Richard Hightower
use JSTL it allows you to pass parameter tags -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 9:47 AM To: Struts Users Mailing List Subject: html:link multiple parameters Is there any reason why this has not been implemented in the

Re: forwards with parameters?

2004-01-22 Thread Raphaël di Cicco
In my opinion this is a bad way to use forwards. Only the client is supposed to enter parameters. You should do request.setAttribute("someparameter",somevalue); in your Action before forwarding. - Original Message - From: "Derek Faulkner" <[EMAIL PROTECTED]>

html:link multiple parameters

2004-01-22 Thread Nathan Maves
parameters. I now have to add a List of HashMaps that contain these two attributes of a person. Tell me there is a better way to do this. Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

forwards with parameters?

2004-01-22 Thread Derek Faulkner
Hello, I want to create a forward in my ActionMappings with url parameters like this: This worked with Tomcat 3.3.1, but with Tomcat 4.1 the values in the query string are not in my SessionRequest parameter table. Why is this? What can I do about it? Thanks, Derek

RE: html:link with multiple parameters

2004-01-21 Thread Richard Hightower
d.com/strutsCourse.htm Struts/J2EE consulting -- http://www.arc-mind.com/consulting.htm#StrutsMentoring -Original Message- From: Steven Nakhla [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 10:18 AM To: Struts Subject: html:link with multiple parameters I have a web app that

Re: html:link with multiple parameters

2004-01-21 Thread Brad Balmer
Look at http://struts.sourceforge.net/community/taglibs.html LinkParam Tag Steven Nakhla wrote: I have a web app that performs a search and returns the results in a Java Collection. I then use logic:iterate to display the returned results. What I would like to add, though, is the ability to e

html:link with multiple parameters

2004-01-21 Thread Steven Nakhla
I have a web app that performs a search and returns the results in a Java Collection. I then use logic:iterate to display the returned results. What I would like to add, though, is the ability to edit the returned results. I have an ActionServlet that does security checking and such, and a pa

Re: best way to use multiple parameters with html:link tags

2004-01-14 Thread Kris Schneider
Because the "std" tags are, well, standard? ;-) Seriously, all things being equal (and it's not always obvious when they are), I opt for JSTL because it's now a standard and its expression language has been incorporated into the JSP 2.0 spec. A tag like can't be replaced by JSTL because it can mak

Re: best way to use multiple parameters with html:link tags

2004-01-14 Thread Nathan Maves
Looks like this will work! Is there any reason to use the std tags vs the struts tags? (i.e. forEach vs iterate) ~N On Jan 14, 2004, at 10:03 AM, Kris Schneider wrote: It's not too big a deal, just reuse a single map with JSTL: ... Quoting Nathan Maves <[EMAIL PROTECTED]>: I have

RE: Getting parameters from html:link

2004-01-14 Thread Robert Nocera
I think what you want is: String type = request.getParameter("type"); -Original Message- From: Lucas Gonzalez [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 12:01 PM To: Struts Users Mailing List Subject: Getting parameters from html:link Hi! I´ve been try

Re: best way to use multiple parameters with html:link tags

2004-01-14 Thread Kris Schneider
It's not too big a deal, just reuse a single map with JSTL: ... Quoting Nathan Maves <[EMAIL PROTECTED]>: > I have a collection of objects that I am interating over in my jsp. I > would like to create links to another action with a few of the > properties of the beans in the col

Getting parameters from html:link

2004-01-14 Thread Lucas Gonzalez
Hi! I´ve been trying to get aditional parameters that came in a html:link that with no success. the link is this one and "notBilled" was aded to the request like this: public Map getNotBilled() { Map map = new HashMap(); map.put("type", "NotB

best way to use multiple parameters with html:link tags

2004-01-14 Thread Nathan Maves
I have a collection of objects that I am interating over in my jsp. I would like to create links to another action with a few of the properties of the beans in the collection. From the docs I see that you have to use a java.util.Map if you want to have multiple params on a html:link tag. Is

RE: dynamic parameters to DynaActionForm

2004-01-08 Thread Robert Taylor
ter idea of how to use indexed properties. hth, robert > -Original Message- > From: Nathan Maves [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 08, 2004 3:13 PM > To: Struts Users Mailing List > Subject: Re: dynamic parameters to DynaActionForm > > > Robert, >

RE: dynamic parameters to DynaActionForm

2004-01-08 Thread Yee, Richard K,,DMDCWEST
Nathan, Try a map backed form http://www.mail-archive.com/[EMAIL PROTECTED]/msg88704.html -Richard -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 12:13 PM To: Struts Users Mailing List Subject: Re: dynamic parameters to DynaActionForm

Re: dynamic parameters to DynaActionForm

2004-01-08 Thread Nathan Maves
Robert, I have been researching all morning and still can not find a good answer. I need to send the action a set of parameters like.. param1 param2 param3 . . . param# The amount of parameters in the form are dynamic. How or what type of object would you use in a form bean. Nathan On Jan

RE: dynamic parameters to DynaActionForm

2004-01-08 Thread Robert Taylor
Look at IndexedProperties: http://jakarta.apache.org/struts/faqs/indexedprops.html robert > -Original Message- > From: Nathan Maves [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 08, 2004 1:02 PM > To: Struts Users Mailing List > Subject: dynamic parameters to

RE: html link to a action with parameters

2004-01-08 Thread Robert Taylor
Invoke my action which uses a dyna action form Please do some research before posting. robert > -Original Message- > From: Nathan Maves [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 08, 2004 1:03 PM > To: Struts Users Mailing List > Subject: html link to a action

html link to a action with parameters

2004-01-08 Thread Nathan Maves
how do you create html links to an action that uses a dyna action form? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

dynamic parameters to DynaActionForm

2004-01-08 Thread Nathan Maves
is it possible to have dynamic parameters sent to to a dyna form? I do not know how many or the name of the parameters that are being sent? Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: parameters in a link

2003-12-24 Thread Otávio Augusto
Thanks Brice. Works fine now, and it makes all sense. Otávio Augusto On Wed, 24 Dec 2003 10:27:46 -0600 Brice Ruth <[EMAIL PROTECTED]> wrote: > the paramId value of html:link will be the name of the parameter that > gets passed in the query string, the paramName attribute will be the > name of

Re: parameters in a link

2003-12-24 Thread Brice Ruth
Oh, and check here: http://jakarta.apache.org/struts/userGuide/struts-html.html#link All the info you should ever need :) Otávio Augusto wrote: U mean i just need to add the paramId ? thanks Otávio Augusto On Wed, 24 Dec 2003 16:11:52 + Mark Lowe <[EMAIL PROTECTED]> wrote: just need p

Re: parameters in a link

2003-12-24 Thread Brice Ruth
the paramId value of html:link will be the name of the parameter that gets passed in the query string, the paramName attribute will be the name of a bean that is used (toString) to generate the value of that parameter. So, something like this: my link Should generate a link like so: my link

Re: parameters in a link

2003-12-24 Thread Otávio Augusto
U mean i just need to add the paramId ? thanks Otávio Augusto On Wed, 24 Dec 2003 16:11:52 + Mark Lowe <[EMAIL PROTECTED]> wrote: > just need paramId to set the parameter name. > > > On 24 Dec 2003, at 15:59, Otávio Augusto wrote: > > > Hi all > > > > I'm trying to add a parameter (yeah,

Re: parameters in a link

2003-12-24 Thread Mark Lowe
just need paramId to set the parameter name. On 24 Dec 2003, at 15:59, Otávio Augusto wrote: Hi all I'm trying to add a parameter (yeah,i mean only one) to a link. actually, it is an logic:iterator tag which generates a table, and one of the columns is the link to an action which is going to g

parameters in a link

2003-12-24 Thread Otávio Augusto
Hi all I'm trying to add a parameter (yeah,i mean only one) to a link. actually, it is an logic:iterator tag which generates a table, and one of the columns is the link to an action which is going to get the parameter send throw the request, process it and go to a jsp. so, the code follows:

RE: Best practice for handling Action Init Parameters

2003-12-19 Thread Gerald_Beattie
Thanks I look at that method Wendy Smoak <[EMAIL PROTECTED]> 12/19/2003 12:47 PM Please respond to "Struts Users Mailing List" To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject:RE: Best practice for handling Action In

RE: Best practice for handling Action Init Parameters

2003-12-19 Thread Wendy Smoak
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > What is the best practice in Struts for handling application > parameters. Do I put my parameter in the Action init parms > and then pull the parameter in at every Action class I use? > Basically I have a JSP page with Java

Best practice for handling Action Init Parameters

2003-12-19 Thread Gerald_Beattie
What is the best practice in Struts for handling application parameters. Do I put my parameter in the Action init parms and then pull the parameter in at every Action class I use? Basically I have a JSP page with Java mail tags that requires a host name and I do not want to hard code the smtp

RE: URLs & Parameters

2003-12-15 Thread Tim Lucia
. . . I will assume you know you do not wish to use forms. Tim Lucia > -Original Message- > From: Steven Nakhla [mailto:[EMAIL PROTECTED] > Sent: Monday, December 15, 2003 10:22 AM > To: Struts > Subject: URLs & Parameters > > > I'm writing a

Re: URLs & Parameters

2003-12-15 Thread Jim Theodoridis
MAIL PROTECTED]> Sent: Monday, December 15, 2003 5:21 PM Subject: URLs & Parameters > I'm writing a simple web app, and am rather new to Struts. What I would like to do is have several HTML links in my page to perform different types of searches. For example, > > Name search >

URLs & Parameters

2003-12-15 Thread Steven Nakhla
I'm writing a simple web app, and am rather new to Struts. What I would like to do is have several HTML links in my page to perform different types of searches. For example, Name search Age search Gender search In my search.jsp page, I'd like to be able to display form fields based on the t

Re: Passing Parameters from Action to JSP's

2003-12-09 Thread Gurpreet Dhanoa
hi Sam IS your form associated with both of the Actions. - Original Message - From: "Samanth Athrey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 10, 2003 10:41 AM Subject: Passing Parameters from Action to JSP's > Hello All, >

Re: Passing Parameters from Action to JSP's

2003-12-09 Thread hgosper
You should use an ActionForm to store parameters. Your hidden fields can get the value from the request like this: <%-- hidden field (mode is one of "create", "edit", or "view") --%> Of course there are other ways to do it but once you have

Passing Parameters from Action to JSP's

2003-12-09 Thread Samanth Athrey
Hello All, I have a issue here. Any help would be of great help. I have an action class - Action_A which forwards the request to A.jsp. A.jsp has 2 query parameters that are displayed correctly. The two parameters are stored in hidden variables within the form tag. Now, when this page is

passing request parameters in actions

2003-11-21 Thread Appel, Jeremy D
I am a relative newbie and I have a question regarding passing of parameters in actions. Currently, I am using LookupDispatchAction for all my actions which requires passing at least one parameter to my actions as well as any additional that I might have. Thus, I have code in my JSP like this

Re: Own parameters in an action forward

2003-10-31 Thread Susan Bradeen
Otto, this is straight out of "Struts in Action" ... it creates a new actionforward by appending parameters (in this case "dispatch") to the path of an existing actionforward (in this case "article"): ActionForward forward = mapping.findForward("article"

Own parameters in an action forward

2003-10-31 Thread Zorn, Otto
Hi, I'm very new in struts and I have a little problem: How can I add own 'key - value - pairs' (parameters) inside an action-class to an action-forward? Hope someone can help me. Otto - To unsubscribe,

losing parameters when jsessionid appended

2003-10-27 Thread Loren Hall
page http://localhost:8080/insite/display.do (loses action and ID data) What can i do to ensure i will not lose the parameters 'action' and 'ID' thanks, Loren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple parameters

2003-10-26 Thread Richard Yee
Rajat, Perhaps I'm missing something here, but by definition, one of your radio buttons should be checked. If you display your form without having any of your radio buttons checked, then it amounts to a checkbox. If you initialize your form bean correctly, one will be checked and then, you shou

RE: Multiple parameters

2003-10-26 Thread Rajat Pandit
Users Mailing List Subject: Re: Multiple parameters Are you sure you can use float arrays in an ActionForm. I think ActionForm beans accept only String values. It's up to you to do conversion from/to Float. Rajat Pandit wrote: > Hello mark, > This is my situtation > > This is an extra

Re: Multiple parameters

2003-10-26 Thread Mark Lowe
data and also in case of an error, it should re populate the html:text with the data from the array. Somebody help!! :(((99 -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2003 4:47 AM To: Struts Users Mailing List Subject: Re: Multiple parameters Ne

Re: Multiple parameters

2003-10-26 Thread Mark Lowe
I am really sorry if I conveyed the wrong message. Hope you will forgive me, I didn't mean to hurt or upset anyone. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2003 8:19 AM To: Struts Users Mailing List Subject: Re: Multiple parameters Look

RE: Multiple parameters

2003-10-26 Thread Rajat Pandit
we [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2003 8:19 AM To: Struts Users Mailing List Subject: Re: Multiple parameters Look man I know what its like being up against the wire, but you're demanding that someone else bails you out the chaos. don't try and build apps around valid

Re: Multiple parameters

2003-10-26 Thread Todor Sergueev Petkov
a from the array. Somebody help!! :(((99 -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2003 4:47 AM To: Struts Users Mailing List Subject: Re: Multiple parameters Need to know what your validator.xml looks like and form-bean stuff in your str

Re: Multiple parameters

2003-10-26 Thread Mark Lowe
not. -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2003 7:02 AM To: Struts Users Mailing List Subject: Re: Multiple parameters Are you sure you can use float arrays in an ActionForm. I think ActionForm beans accept only String values. I

RE: Multiple parameters

2003-10-26 Thread Rajat Pandit
Users Mailing List Subject: Re: Multiple parameters Need to know what your validator.xml looks like and form-bean stuff in your struts-config. Just sticking Hello, > I am still stuck with the multiple parameter problem. I shall try to > explain the problem again. Maybe someone could help. I

Re: Multiple parameters

2003-10-26 Thread Mark Lowe
Need to know what your validator.xml looks like and form-bean stuff in your struts-config. Just sticking So give more detail have read the documents. Forget about databases for now and just think about getting your form properties into your action. is the form property an indexed property? Ho

Multiple parameters

2003-10-25 Thread Rajat Pandit
Hello, I am still stuck with the multiple parameter problem. I shall try to explain the problem again. Maybe someone could help. I have a form, which has a number of records to be displayed. A checkbox, a textbox, two radio buttons with the same name. I have the following objective. A. perform v

RE: Initializing Configuration Parameters..

2003-10-16 Thread Robert Taylor
Take a look at using the ServletContextListener. It's a bootstrap interface for Servlet2.3 containers. This way you can define init parameters in web.xml and not have to mess with the Struts code. robert > -Original Message- > From: Ritvik [mailto:[EMAIL PROTECTED] > S

Initializing Configuration Parameters..

2003-10-15 Thread Ritvik
Hi There, In Struts, How to load application specific environment parameters from an external file i.e properties file at the time of Servlet load up? How to make suub class of ActionServlet read the evironment\Service information from a properties file? regards, Ritvik

Multiple HTML Parameters stuff

2003-10-15 Thread Joanne L Corless
I'm not sure if it's due to the time of night or maybe I'm just so not getting this but I'm having trouble getting the values out of the request in the action class for the multiple parameters I'm passing in from the jsp. When I passed a single value through struts-co

Re: Passing multiple parameters from a jsp page to action class - using JSTL - How?

2003-10-15 Thread Kris Schneider
Quoting Joanne L Corless <[EMAIL PROTECTED]>: > Hi, > > Spurred on with my recent success regarding passing parameters on html:link > I now want to pass 2 parameters into the action class from the jsp. I > realise I have to create a java.util.map to do this but how

Passing multiple parameters from a jsp page to action class - using JSTL - How?

2003-10-15 Thread Joanne L Corless
Hi, Spurred on with my recent success regarding passing parameters on html:link I now want to pass 2 parameters into the action class from the jsp. I realise I have to create a java.util.map to do this but how can I combine this with using the JSTL? i.e. Currently I am passing in one parameter

Re: Passing parameters between forms

2003-10-14 Thread Susan Bradeen
Hi Shyam, If you change to OR if you just add does it work? Susan Bradeen On 10/13/2003 08:27:41 PM Shyam A wrote: > Hi, > > I have a scenario where I need to pass parameters > between forms.i.e, I have two forms, Form A and Form B > with the same attribute "foo

RE: Passing parameters between forms

2003-10-14 Thread Joe at Team345
Message- > From: Edgar P Dollin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 14, 2003 10:19 AM > To: 'Shyam A'; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: Passing parameters between forms > > > My preference is to emulate the session functio

RE: Passing parameters between forms

2003-10-14 Thread Edgar P Dollin
bject: RE: Passing parameters between forms > > > Carey, > > Thanks for your mail. I knew about the option you > suggested and mentioned it in my mail. > > quote: > > I know I can save the "foo" attribute into session in > Action A class and access it in Actio

  1   2   3   4   5   6   7   8   >