RE: {ICICICARE#005-216-320}Can i access session or request object from a bean which is Actionform variable

2004-01-29 Thread McCormack, Chris
i access session or request object from a bean which is Actionform variable Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or

{ICICICARE#005-216-320}Can i access session or request object from a bean which is Actionform variable

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly vis

RE: Can i access session or request object from a bean which is A ctionform variable

2004-01-29 Thread Paul McCulloch
Original Message- > From: Yajamanyam Venugopal > [mailto:[EMAIL PROTECTED] > Sent: 28 January 2004 17:50 > To: [EMAIL PROTECTED] > Subject: Can i access session or request object from a bean which is > Actionform variable > > > > Hi > > I have a nested

Can i access session or request object from a bean which is Actionform variable

2004-01-28 Thread Yajamanyam Venugopal
Hi I have a nested bean in my ActionForm. Is there any way to access the session object or HttpRequest from that nestedbean. class MyActionForm extends ActionForm{ private Tree myTree; } class Tree{ I would like to access session or http request from this bean } Thnaks in

RE: Mandatory use of form rather than request object

2004-01-13 Thread Shishir K. Singh
Aaah...but these are not related to form actions and are more like query strings. I guess in this case, request.getParameter would still be the best bet, rather than trying to go for an overkill with the hidden id field etc etc ...just my thought. If you still don't want to request o

RE: Mandatory use of form rather than request object

2004-01-13 Thread Patrick Cheng
the hidden value to the id, and call the form submit. Rgds, Patrick. -Original Message- From: Richard Hightower [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 3:08 PM To: Struts Users Mailing List Subject: RE: Mandatory use of form rather than request object forgive mebut

RE: Mandatory use of form rather than request object

2004-01-13 Thread Richard Hightower
Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 7:41 PM To: Struts Subject: RE: Mandatory use of form rather than request object Yeh, your right though. Taking it out is a bit drastic and the request object tends to be needed for various other things as well so

RE: Mandatory use of form rather than request object

2004-01-13 Thread Richard Hightower
H this is a good point. In the past I have created a map wrapper that wraps the request object and session object and passed those as well. the advantage is that the execute method is a little easier to test since it does not rely on the servlet API. The execute method would look

RE: Mandatory use of form rather than request object

2004-01-13 Thread Richard Hightower
sMentoring -Original Message- From: Patrick Cheng [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 7:34 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Mandatory use of form rather than request object Hi, I understand that the request.getParameter should not be

RE: Mandatory use of form rather than request object

2004-01-12 Thread Andrew Hill
Yeh, your right though. Taking it out is a bit drastic and the request object tends to be needed for various other things as well so denying access to it is probably going to cause other problems. Best thing really is to reeducate the developers. (Electric shocks work wonderfully here - though

RE: Mandatory use of form rather than request object

2004-01-12 Thread Patrick Cheng
ll [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 10:09 AM To: Struts Users Mailing List Subject: RE: Mandatory use of form rather than request object No. He would provide setters in the form for anything that needs to be passed along in request scope. This has the dual advantages of t

RE: Mandatory use of form rather than request object

2004-01-12 Thread Andrew Hill
January 2004 02:25 To: Struts Users Mailing List Subject: Re: Mandatory use of form rather than request object This precludes you from storing data in the request scope, though - so you're left with only storing things in the session scope, which I wouldn't consider ideal. Right

Re: Mandatory use of form rather than request object

2004-01-12 Thread Brice Ruth
ethod that does not pass the request object. The subclasses overide the execute method without the request object being passed. Also look into the ProcessAction, which is part of the scaffold. You can get the scaffold code by downloading the struts source. Rick Hightower Developer Struts/J2EE traini

RE: Mandatory use of form rather than request object

2004-01-12 Thread Richard Hightower
Create a superclass that overides the execute method and calls an abstract execute method that does not pass the request object. The subclasses overide the execute method without the request object being passed. Also look into the ProcessAction, which is part of the scaffold. You can get the

RE: Request object when failure

2004-01-12 Thread Richard Hightower
/consulting.htm#StrutsMentoring -Original Message- From: Sathish Kumar T.K. [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 7:20 AM To: Struts Users Mailing List Subject: Request object when failure Will the request object be re-initialised when findForward returns failure? I mean

RE: Mandatory use of form rather than request object

2004-01-12 Thread Shishir K. Singh
model. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:53 AM To: [EMAIL PROTECTED] Subject: RE: Mandatory use of form rather than request object Hi, Its a good idea to use just form.getAttribute than use request.getparameter..I

RE: Mandatory use of form rather than request object

2004-01-12 Thread shirishchandra.sakhare
rs Mailing List' Subject: Mandatory use of form rather than request object Hello All, I did some code reviews recently for my project being done on struts. I found that most people still do a request.getAttribute("NAME") kind of code even when the name is a property of the form o

Mandatory use of form rather than request object

2004-01-12 Thread Abhishek Srivastava
of form be mandatory. If yes, how it can be enforced. Is there quick way I can remove all the params/attributes from the request object once the corresponding values have been set in the form object? Thanks in advance for your advise. Regards

Request object when failure

2004-01-12 Thread Sathish Kumar T.K.
Will the request object be re-initialised when findForward returns failure? I mean, during mapping.findForward("failure"); I have an object in session and when an error is generated, i don't find the correct values in the object that was placed in session. Pls he

Pre-populating html:select from request object

2003-10-29 Thread Leon King
I'm trying to pass data between different struts forms. Below I've tried to pre-populate a select statement from data stored in the request but I get a compilation error (" Attribute outageEndDateFromMonth has no value " ). " > Any suggestions on how this can be achieved? Thanks Leo

[OT] Is there a way to set the pageContext request object in a JSP??

2003-07-29 Thread Bailey, Shane C.
tag consults the pageContext.getRequest() to do the role testing, is there a way to reset the pageContext request object in a JSP?? Here is the bottom line of what I would like to do in my JSP but I know this is not correct: <%= pageContext.setRequest((HttpServletRequest)request.getA

RE: Request object Null Pointer

2003-07-16 Thread Andrew Hill
to share and keep track of stuff across multiple requests (and threads) then you may use the session or servlet context objects for this. -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Thursday, 17 July 2003 12:24 To: 'Struts Users Mailing List' Subject

RE: Request object Null Pointer

2003-07-16 Thread Au-Yeung, Stella H
I thought once I store an attribute into the 'request' object, it will be available no matter how many times I iterate through the same Action class? If it doesn't do that, then how do I store data into the request object so I can use it again later in the same Action class or even

RE: Request object Null Pointer

2003-07-16 Thread Andrew Hill
ECTED]' Subject: Request object Null Pointer Hi: I am getting a NULL pointer with the request object: Please see code below. I got a NULL pointer trying to access "vehList' in the request object inside the method "prepareListForUpdate". But I didn't get a NULL

Request object Null Pointer

2003-07-16 Thread Au-Yeung, Stella H
Hi: I am getting a NULL pointer with the request object: Please see code below. I got a NULL pointer trying to access "vehList' in the request object inside the method "prepareListForUpdate". But I didn't get a NULL pointer accessing "vehList" inside the me

RE: (Newbie) html:link passing an object via the request object

2003-07-08 Thread Davidson, Glenn
Further research shows that the link is converted to html which does not accept objects, only strings. So it looks like I need to pass in a string that will be used to identify the data I need. I should have an Action to take the string id from the request object and generate an object with the

(Newbie) html:link passing an object via the request object

2003-07-08 Thread Davidson, Glenn
I need to assign an object to the request object via an html:link I am iterating over a collection of objects as such: I would like to assign the object represented by "doc" into the request object as part of the html:link (shown below as it currently exists. Edit Can a

RE: Can I pass an object through request object from Action class

2003-06-25 Thread thirumalai . veeraswamy
ystal Reports forum. Will come back once that doubt is cleared? Regards Thiru -Original Message- From: Anurag Garg [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:49 AM To: Struts Users Mailing List Subject: RE: Can I pass an object through request object from Action clas

RE: Can I pass an object through request object from Action class

2003-06-24 Thread Anurag Garg
an object through request object from Action class Importance: High Hi, Already I raised this question to this list. But no reply. Let me rephrase the question again. I need to execute and show the reports using struts. I have input jsp, action class and action form associated to

RE: Can I pass an object through request object from Action class

2003-06-24 Thread Andrew Hill
also want to hide the ugly sql details behind some kind of model layer / facade for the same reason. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, 25 June 2003 14:02 To: [EMAIL PROTECTED] Subject: Can I pass an object through request object from

Can I pass an object through request object from Action class

2003-06-24 Thread thirumalai . veeraswamy
from jsp page/action form, create a result set. Now I need to pass the resultset to the report generation code. Can I put the resultset object in the request object and pass the resultset to the success page defined for the action? If this approach is not good/possible, please let me know

Re: request object and frames

2003-02-18 Thread Austin Lowry
Solution 1 will most likely work for me, but one more question. Can I send paramers to that action somehow? I imagine something like: Will this work? Nicolas De Loof wrote: Here is what I undersand : 1. your action puts some beans into request scope 2. it forwards to a JSP, let's say A.jsp 3.

Re: request object and frames

2003-02-18 Thread Nicolas De Loof
Here is what I undersand : 1. your action puts some beans into request scope 2. it forwards to a JSP, let's say A.jsp 3. A.jsp defines a framest, containing B.jsp 4. B.jsp looks in request for the bean. As frameset is the response your browser gets from the 1. request, it has to make a second re

Re: request object and frames

2003-02-18 Thread Austin Lowry
frameset to the page with the form? I need to get my pre-populated ActionForm to that frame. Thanks. ~Austin Lowry David Graham wrote: Each frame has its own request object so if you're storing things in the request for frame 1 then frame 2 won't see it. David From: Austin Low

Re: request object and frames

2003-02-18 Thread David Graham
Each frame has its own request object so if you're storing things in the request for frame 1 then frame 2 won't see it. David From: Austin Lowry <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: request

request object and frames

2003-02-18 Thread Austin Lowry
I've had problems with getting objects out of my reqest object for a particular page and I suspect that it's because the page that I am calling the object from is in a frame. Would the page being inside a frame keep me from accessing an object that my previous action had set in the request? Tha

Re: logic-el and the request object

2003-02-02 Thread Jeff Born
ECTED]] Sent: Sunday, February 02, 2003 3:35 PM To: [EMAIL PROTECTED] Subject: Re: logic-el and the request object >>>>> "Jeff" == Jeff Born <[EMAIL PROTECTED]> writes: Jeff> I have been unsuccessfully trying to figure out how to do something like Jeff>

Re: logic-el and the request object

2003-02-02 Thread David M. Karr
> "Jeff" == Jeff Born <[EMAIL PROTECTED]> writes: Jeff> I have been unsuccessfully trying to figure out how to do something like Jeff> the following: Jeff> do something Jeff> Jeff> if this possible? Am I going about it all wrong? I really want to check Jeff> for

logic-el and the request object

2003-02-02 Thread Jeff Born
I have been unsuccessfully trying to figure out how to do something like the following: do something if this possible? Am I going about it all wrong? I really want to check for the existence of getParameter("body") and if the body tag exists do something. After playing with it I couldn't ev

RE: Re: Lifecycle of a request object

2002-12-16 Thread Andrew Hill
ember 17, 2002 00:21 To: [EMAIL PROTECTED] Subject: RE: Re: Lifecycle of a request object >>Cannot find bean null in request scope Where do u get this message?Do u mean when the validation fails u get this message after forwarding to the jsp? >> In using System.out.printlns() to debu

RE: Lifecycle of a request object

2002-12-16 Thread Sri Sankaran
:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 11:57 AM To: Struts Users Mailing List Subject: Re: Lifecycle of a request object I miscommunicated what I was trying to say. The request object isn't null, but an attribute in the request object doesn't look like it's ever set.

RE: Re: Lifecycle of a request object

2002-12-16 Thread shirishchandra . sakhare
no..The request object is no0t modified in any way apart from the fact that the errors object is kept in the request object so that it can be resued laeter by errors tag -Original Message- From: jrgermany [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:57 PM To

Re: Lifecycle of a request object

2002-12-16 Thread Randy Germany
I miscommunicated what I was trying to say. The request object isn't null, but an attribute in the request object doesn't look like it's ever set. This is a bean attribute inside the request object. I guess the real question I need answered is, when a form fails validation, i

RE: Re: Lifecycle of a request object

2002-12-16 Thread shirishchandra . sakhare
Request objects as arguments. If >>I do a printout of the one of the request attributes in this method, the >>request is already null coming to the method. I think there is some minunderstaing..The request object can never be null.Do U mean to say the attribute is not there?And BT

Re: Lifecycle of a request object

2002-12-16 Thread Randy Germany
ut of the one of the request attributes in this method, the request is already null coming to the method. Thus, I get a "Cannot find bean null in request scope" in my logs. So I was wondering at what point is the request object losing scope after going from the .jsp page to the form&#x

RE: Lifecycle of a request object

2002-12-16 Thread shirishchandra . sakhare
u want to know? -Original Message- From: jrgermany [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:28 PM To: struts-user Cc: jrgermany Subject: Lifecycle of a request object Can someone tell me where to find documentation on the lifecycle of a request object within the struts

Lifecycle of a request object

2002-12-16 Thread randy
Can someone tell me where to find documentation on the lifecycle of a request object within the struts framework? I've been looking through the documentation but haven't come across this reading as of yet. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional

RE: Unable to use Request object in frames

2002-10-12 Thread James Mitchell
y, October 12, 2002 7:14 AM > To: Struts Users Mailing List > Subject: Unable to use Request object in frames > > > Hi all, > I'm successfully able to populate a combo-box in the JSP page > using Struts > .. But when I use this JSP as a part of a frame, I get the er

Unable to use Request object in frames

2002-10-12 Thread Vinod Kotnala, Noida
Hi all, I'm successfully able to populate a combo-box in the JSP page using Struts .. But when I use this JSP as a part of a frame, I get the error : Cannot find bean 'userList' in any scope. Why is it not able to find anything in the request object when using frames? How to r

Re: Getting a value from the request object for variable for a custom tag?

2002-03-28 Thread David M. Karr
>>>>> "Struts" == Struts Newsgroup <(@Basebeans.com) <[EMAIL PROTECTED]>> writes: Struts> Subject: Getting a value from the request object for variable for a custom tag? Struts> From: "Preston Crawford" <[EMAIL PROTECTED]>

Getting a value from the request object for variable for a custom tag?

2002-03-26 Thread @Basebeans.com
Subject: Getting a value from the request object for variable for a custom tag? From: "Preston Crawford" <[EMAIL PROTECTED]> === I'm writing a custom pager for a resultset my company needs to page through. I don't return every record, just the amount and set indic

Getting a value from the request object for a custom tag?

2002-03-26 Thread @Basebeans.com
Subject: Getting a value from the request object for a custom tag? From: "Preston Crawford" <[EMAIL PROTECTED]> === I'm writing a custom pager for a resultset my company needs to page through. I don't return every record, just the amount and set indicated by page s

Re: Adding/Modifying parameters in the Request object

2002-01-26 Thread Max Cooper
<[EMAIL PROTECTED]> Sent: Thursday, January 24, 2002 11:34 PM Subject: Adding/Modifying parameters in the Request object > Hi, > > Does anyone know how you can add a parameter to the Request object in an > Action? > > I can find no interface for it in HTTPServletReques

RE: Adding/Modifying parameters in the Request object

2002-01-25 Thread Elena Yee
Oops... I actually meant to say ServletContext.getContext() as not to confuse anyone. -Original Message- From: Elena Yee [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 3:43 PM To: 'Struts Users Mailing List' Subject: RE: Adding/Modifying parameters in the Requ

RE: Adding/Modifying parameters in the Request object

2002-01-25 Thread Elena Yee
help! Elena -Original Message- From: Mark Woon [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 1:02 PM To: Struts Users Mailing List Subject: Re: Adding/Modifying parameters in the Request object Elena Yee wrote: > I'm also running into a similiar problem, bu

Re: Adding/Modifying parameters in the Request object

2002-01-25 Thread Mark Woon
Elena Yee wrote: > I'm also running into a similiar problem, but need to add parameters with > large chunks of data in a redirect call. Is there another way to do this > besides adding it in the url (which doesn't work because of the data size) ? If you need to pass more data that can fit in th

RE: Adding/Modifying parameters in the Request object

2002-01-25 Thread Mark Galbreath
No. You retrieve the object with request.getParameter( "BigMoFoData"). Mark -Original Message- From: Kevin Wang [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 1:13 PM To: Struts Users Mailing List Subject: RE: Adding/Modifying parameters in the Request object

RE: Adding/Modifying parameters in the Request object

2002-01-25 Thread Kevin Wang
But, Is there any method of HttpRequest call getParameterMap? or need write by myself? -Original Message- From: Pedone, Tim [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 12:58 PM To: 'Struts Users Mailing List' Subject: RE: Adding/Modifying parameters in the Requ

RE: Adding/Modifying parameters in the Request object

2002-01-25 Thread Pedone, Tim
--Original Message- From: Elena Yee [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 9:38 AM To: 'Struts Users Mailing List' Subject: RE: Adding/Modifying parameters in the Request object I'm also running into a similiar problem, but need to add parameters with large chu

RE: Adding/Modifying parameters in the Request object

2002-01-25 Thread Elena Yee
lto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 9:32 AM To: 'Struts Users Mailing List' Subject: RE: Adding/Modifying parameters in the Request object You can call request.getParameterMap() which returns a Map object that you can manipulate. Tim -Original Message- From:

RE: Adding/Modifying parameters in the Request object

2002-01-25 Thread Pedone, Tim
object Hi, Does anyone know how you can add a parameter to the Request object in an Action? I can find no interface for it in HTTPServletRequest or ServletRequest. What I want to do is forward a request in one Action to another Action (by returning an ActionForward that's configured in s

Re: Adding/Modifying parameters in the Request object

2002-01-24 Thread Rob Parker
t. Hope that helps, Rob On Thu, 2002-01-24 at 23:34, Freek Segers wrote: > Hi, > > Does anyone know how you can add a parameter to the Request object in an > Action? > > I can find no interface for it in HTTPServletRequest or ServletRequest. > > What I want to do is forwa

RE: Adding/Modifying parameters in the Request object

2002-01-24 Thread matthewr
Request object Hi, I did something like that by returning a dynamically generated ActionForward and I believe the folks in the developer list plan something to make this acrobatics easier in later releases. return new ActionForward( mapping.findForward("success").getPath() + &qu

AW: Adding/Modifying parameters in the Request object

2002-01-24 Thread Ronaldo . Mercado
ot; ); HTH Ronaldo > -Ursprüngliche Nachricht- > Von: Freek Segers [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 25. Januar 2002 08:34 > An: Struts Users Mailing List > Betreff: Adding/Modifying parameters in the Request object > > > Hi, > > Does anyo

Adding/Modifying parameters in the Request object

2002-01-24 Thread Freek Segers
Hi, Does anyone know how you can add a parameter to the Request object in an Action? I can find no interface for it in HTTPServletRequest or ServletRequest. What I want to do is forward a request in one Action to another Action (by returning an ActionForward that's configured in struts-c

Re: hidden tag and request object

2001-11-29 Thread Ted Husted
to:[EMAIL PROTECTED]] > Sent: 29 November 2001 12:46 > To: [EMAIL PROTECTED] > Subject: hidden tag and request object > > Hi, > > i am trying this below and it is not working as i would like. > > the problem lies with the hidden tag. i want the value to be populated wit

RE: hidden tag and request object

2001-11-29 Thread Jon.Ridgway
46 To: [EMAIL PROTECTED] Subject: hidden tag and request object Hi, i am trying this below and it is not working as i would like. the problem lies with the hidden tag. i want the value to be populated with the 'request' objects', 'userloggedin' variable. is this possible?

hidden tag and request object

2001-11-29 Thread Derek M Wayland
Hi, i am trying this below and it is not working as i would like. the problem lies with the hidden tag. i want the value to be populated with the 'request' objects', 'userloggedin' variable. is this possible? can someone advise the correct syntax? thanks dmw -- To unsubscribe, e-ma

request object

2001-09-07 Thread chiji nwankwo
Hi, When forwarding from one action to another, is the same request object used?  For example, is this legal? Action subclass 1 (perform method) : Test test = new Test(); // initialize test request.setAttribute( "test", test ) return (mapping.findForward( "Action subclass 2"

Re: Browser Info in request object

2001-04-12 Thread Craig R. McClanahan
String browser = request.getHeader("User-Agent"); Craig McClanahan On Fri, 6 Apr 2001, Narasimhan, Shyamala wrote: > How do we access browser info in request object in struts I need to > format my jsp respone pages with layers or div depending on whether the > browser is netscape or ie >

Browser Info in request object

2001-04-06 Thread Narasimhan, Shyamala
How do we access browser info in request object in struts I need to format my jsp respone pages with layers or div depending on whether the browser is netscape or ie

parameters in the request object disappear !!?

2001-01-04 Thread Danson Hock Kieong Loh
-- Forwarded by Danson Hock Kieong Loh/Singapore/Netlife on 01/05/2001 11:54 AM --- hi all, When using query string with parameters (e.g. action.do?para1=111¶2=222&...), the request object will be renewed right after the action class calls