Re: Question about request object ???

2002-01-02 Thread Christopher K. St. John
Anthony Tagunov wrote: > [that the browser must send the parameters in order] > is true of course and you can get a string of properly > ordered parameters from request.getQueryString() > You might also need to parse the request body, but basically yes. > ... the order in which ServletRequest

Re: Question about request object ???

2002-01-02 Thread Anthony Tagunov
Hello Christopher! CKSJ> http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.1 CKSJ> 17.13.4 Form content types CKSJ>... CKSJ>application/x-www-form-urlencoded CKSJ>... Forms submitted with this content type must be encoded as CKSJ>follows: CKSJ> 1. ... CKSJ> 2.

Re: Question about request object ???

2001-12-31 Thread Chris Pratt
Must have read right past that, thanks for the pointer. (*Chris*) - Original Message - From: "Christopher K. St. John" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 31, 2001 10:55 AM Subject: Re: [JSP-INTEREST] Question about request obje

Re: Question about request object ???

2001-12-31 Thread Christopher K. St. John
Chris Pratt wrote: > > I've just searched the HTML and HTTP specs and can't find any reference to > the ordering of parameters. In fact it says that certain parameters must > not be sent in certain cases, which could disrupt the order. Can you point > me at the relavent part of the spec? > htt

Re: Question about request object ???

2001-12-31 Thread Chris Pratt
- Original Message - From: "Christopher K. St. John" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 31, 2001 10:30 AM Subject: Re: [JSP-INTEREST] Question about request object ??? > Chris Pratt wrote: > > > > Unfortunately, request parameter

Re: Question about request object ???

2001-12-31 Thread Christopher K. St. John
Chris Pratt wrote: > > Unfortunately, request parameters are not in any specific > order, it's up to the whim of the Browser > No, the HTML spec says that the browser is required to send them in the order they are in the document (at least for application/x-www-form-urlencoded) This has been tru

Re: Question about request object ???

2001-12-31 Thread Chris Pratt
rs in their proper order. (*Chris*) - Original Message - From: "tin huynh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 27, 2001 7:25 PM Subject: [JSP-INTEREST] Question about request object ??? > Hi All ! > Help me , please . Are the

Re: Question about request object ???

2001-12-28 Thread Christian Kurze
> -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of tin huynh > Sent: Friday, December 28, 2001 4:25 AM > To: [EMAIL PROTECTED] > Subject: Question about request object ??? > &

Question about request object ???

2001-12-27 Thread tin huynh
Hi All ! Help me , please . Are there anybody know how Web Browser package "request" object. Are there any document about this problem. I mean how i can know the sequence of parameters which be sent to server. what parameter is the first ? what parameter is the second ??? Because i see

Re: Problem with request object on second include

2001-08-14 Thread Hans Bergsten
Atilio Ranzuglia wrote: > > Hi everybody: > > I am including two files on one jsp file like this: > > > > In both, page1.jsp and page2.jsp I am using 'request' > object. > When I try to access the getParameter() method of > 'request' in the

Re: Problem with request object on second include

2001-08-13 Thread Mattias Jiderhamn
It's not a full answer to your question, but maybe this could help: > I am including two files on one jsp file like this: > > > > In both, page1.jsp and page2.jsp I am using 'request' > object. > When I try to access the getParameter() method of >

Problem with request object on second include

2001-08-13 Thread Atilio Ranzuglia
Hi everybody: I am including two files on one jsp file like this: In both, page1.jsp and page2.jsp I am using 'request' object. When I try to access the getParameter() method of 'request' in the second page I always get a null value. If I try to includes the pages rev

request object

2000-11-17 Thread Pablo Iaria
Hi all, I need to store some values in the request object from a servlet. Do I need a custom Request object, any ideas of how to do that ? Thanks in advance, Pablo.- === To unsubscribe: mailto [EMAIL

Refreshing JSP (HttpServletRequest request) object

2000-11-16 Thread Davidson, Greg
When you refresh a page how do you initialize the form objects in your JSP. I have an application that retains the parameters that were set prior to the refresh button being clicked. I would like to reinitialize them any time the refresh is executed. Basically the HttpServletRequest request

Re: testing the request object

2000-09-07 Thread Rajesh Balu
how about req.getParameterNames(). - Original Message - From: Chad Pitt <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 07, 2000 9:45 PM Subject: testing the request object > hi, > is there any way to test the request object to see > whe

Re: testing the request object

2000-09-07 Thread Jamel Tayeb
Hi Chad, try this method Enumeration enum = ServletRequest.getParameterNames(); Jamel TAYEB Software engineer, Medsoft. Chad Pitt wrote: > hi, > is there any way to test the request object to see > whether it contains form values ... > i use request.getQueryString() but only with

testing the request object

2000-09-07 Thread Chad Pitt
hi, is there any way to test the request object to see whether it contains form values ... i use request.getQueryString() but only with GET method. how about POST method? how to test whether the request == null or not.. Thanx C Do You

Re: request object & system memory (again)

2000-09-07 Thread Maurice Coyle - Sun ireland - Software Products and Platforms - Internationalization Engineer
, maurice > Content-Transfer-Encoding: 7bit > X-Priority: 3 (Normal) > X-MSMail-Priority: Normal > Importance: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 > Date: Wed, 6 Sep 2000 15:45:26 -0700 > From: Kevin Duffey <[EMAIL PROTECTED]> > Subjec

Re: request object & system memory (again)

2000-09-06 Thread Kevin Duffey
No..the request object uses memory only during its scope, a single request. Once the response goes back, the thread is freed up as well as any data (objects) created during that request. HOWEVER, there is one instance as far as I know..that can keep objects around after a request. The only thing

request object & system memory (again)

2000-09-06 Thread Jim Huffsmith
impact on memory requirements. Is this an issue with the request object as well? Or does the request object's shorter lifetime make it a non-issue? Jim Huffsmith Dove Solutions 641-469-5877 x103 === To unsubscribe

request object & system memory

2000-09-05 Thread Jim Huffsmith
I've heard that you should be careful not to overload the session object with data because it can have a big impact on memory requirements. Is this an issue with the request object as well? Or does the request object's shorter lifetime make it a non-issue? Jim Huffsmith Dove Solutio

passing request object to java object

2000-07-17 Thread david chan
Hi, Sorry if this question had been asked many times. I have a jsp page test.jsp that need to pass the browser connection, (i.e. Request object or I am not sure it is httpServletRequest) to a java object process1.java that already import to test.jsp page, and the process1.java will to some thing

Re: Model 2: Duration of Parameters / Attributes in Request Object

2000-07-06 Thread Richard Cammarano
OK - so setting a request attribute stays with the request object. But why do I lose the PARAMETER (request.getParameter()) stored in the request? I still have a reference to the same request object, don't I? -Original Message- From: khenderson Sent: Thursday, July 06, 2000 1:42

Model 2: Duration of Parameters / Attributes in Request Object

2000-07-06 Thread Richard Cammarano
I'm currently using Model 2 architecture and pass the request object from controller TO action TO jsp. If I have a parameter that was posted through the controller servlet and I try to access that parameter (via request.getParameter) in the jsp, I get null. Why is this happening? I thought

Re: accessing request object from a java bean

2000-05-18 Thread Lakosi Istvan
To: <[EMAIL PROTECTED]> Sent: Thursday, May 18, 2000 11:51 AM Subject: Re: accessing request object from a java bean > Hi, > I dint get your words correctly.can u explian your problem perfectly. > regds, > Sreenivas > - Original Message - > From: "Lakosi Istvan&quo

Re: accessing request object from a java bean

2000-05-18 Thread P Sreenivasa Rao
Hi, I dint get your words correctly.can u explian your problem perfectly. regds, Sreenivas - Original Message - From: "Lakosi Istvan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 18, 2000 1:53 PM Subject: accessing request object from a java bean

accessing request object from a java bean

2000-05-18 Thread Lakosi Istvan
Hi, How can I acces the request object from a bean? Can anyone help me? Thanks in advance, Istvan Lakosi Hungary === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant F

Re: Resetting an attribute in the request object

2000-01-12 Thread Jason Hunter
> Matt Krevs wrote: > > Calling request.setAttribute(attributeName, value) with a > > different value causes an IllegalStateException. Really? That's not the behavior I see, and in Request.java I see: public void setAttribute(String name, Object value) { attributes.put(name, value)

Re: Resetting an attribute in the request object

2000-01-09 Thread Craig R. McClanahan
Matt Krevs wrote: > Anyone know how to modify or remove the value of an attribute that has been > set by calling request.setAttribute( attributeName, value )? > > Calling request.setAttribute(attributeName, value) with a different value > causes an IllegalStateException. > > Calling request.setAt

Resetting an attribute in the request object

2000-01-09 Thread Matt Krevs
Anyone know how to modify or remove the value of an attribute that has been set by calling request.setAttribute( attributeName, value )? Calling request.setAttribute(attributeName, value) with a different value causes an IllegalStateException. Calling request.setAttribute(attributeName, null) ca

Re: how to use request object in JSP

1999-11-03 Thread Scott Douglass
Wow, that's much cleaner! Thanks for sharing. I plan on putting all my code on-line for other beginners in the next few weeks. I think I've got enough with my beans, servlets, and jsps to do a little tutorial. The kind of thing I wish I had had when I started out :) Thanks again, Scott Lance La

Re: how to use request object in JSP

1999-11-03 Thread Lance Lavandowska
Scott, you're approach was correct. I rewrote your code to improve readability a little bit ) and it worked fine. I'll include my modified code below my sig for your review. Lance Lavandowska Software Engineer http://www.AgDomain.Com <% //code to create drop down list of states... and select

how to use request object in JSP

1999-11-03 Thread Scott Douglass
file is loaded, the implicit request object is null (I believe) because no request has been made. I want to have app.jsp check for that condition, and set various form properties to defaults (e.g. I have code that generates a and I want to have one of the by default.) When the visitor submits the form

Re: request-object is empty when usingenctype="multipart/form-data"

1999-09-30 Thread Kevin A. Burton
earcher > Broadcom Eireann Research > Kestrel House > Clanwilliam Court > Dublin 2 > Ireland > > Daniel Kreutzer wrote: > > > I have the following problem when uploading files with : > > To ensure that the upload works properly, I have to include the > >

Re: request-object is empty when using enctype="multipart/form-data"

1999-09-30 Thread Paul Fitzgerald
if I do this, > the request object contains no data. > > Any ideas ?!?! > > Thanks > > Daniel > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > FA

request-object is empty when using enctype="multipart/form-data"

1999-09-30 Thread Daniel Kreutzer
I have the following problem when uploading files with : To ensure that the upload works properly, I have to include the enctype="multipart/form-data" entry in the form tag. But if I do this, the request object contains no data. Any ideas ?!?! Than

Re: Request Object

1999-09-10 Thread Marc Hedlund
At 09:49 PM 9/10/99 +, Sandy Tiu wrote: >From a JSP page, I am getting this error: > >--- >52. strSQL = Request.Form("tbAccountNum"); > <-> >*** Error: "Request" is either a misplaced package name or a no

Request Object

1999-09-10 Thread Sandy Tiu
name or a non-existent entity. ------- I thought the Request object is automatically accessible from a JSP page. Sandy __ Get Your Private, Free Em