Re: How can I redirect servlet output to different frame?

2003-09-26 Thread Jean-Christophe CHARVY
Hi, You have just to set the target attribute of the form markup like that : ... Cheers, JC > Message du 26/09/03 à 17h11 > De : Charles Jordan <[EMAIL PROTECTED]> > A : [EMAIL PROTECTED] > Copie à : > Objet : How can I redirect servlet output to different frame? >

Re: How can I redirect servlet output to different frame?

2003-09-26 Thread Hyne, David
Title: RE: How can I redirect servlet output to different frame? Instead of having concrete output frame, you could let your servlet writes out in which you include the second page body. Hope this helps! David -Original Message- From: Charles Jordan [mailto:[EMAIL PROTECTED

Re: How can I redirect servlet output to different frame?

2003-09-26 Thread Palani kumar
EMAIL PROTECTED] Subject: How can I redirect servlet output to different frame? Hello All, I have a two frame jsp which has a menu frame from which I call a servlet that I want to populate the second frame. How can I do this from within the servlet? Thank you. Charles (Allen) Jordan <[EMAIL PR

How can I redirect servlet output to different frame?

2003-09-26 Thread Charles Jordan
Hello All, I have a two frame jsp which has a menu frame from which I call a servlet that I want to populate the second frame. How can I do this from within the servlet? Thank you. Charles (Allen) Jordan <[EMAIL PROTECTED]> System Administrator(407)771-8919 Convergys 285 International

Re: Redirect to home page on logon

2003-07-20 Thread Tarek M. Nabil
Qm, Thank you very much for your response. I had already done the filter thing upon the advice of fellow developers on the Tomcat list. I still have another problem, though. It's as follows. After the session expires and the user makes a request, he's sent to the login page by Tomcat (same hap

Re: Redirect to home page on logon

2003-07-17 Thread QM
: I was wondering if there's a way to configure security so that after the user logs in he's redirected to a certain page instead of being able to continue his last request. If you're using recent enough tools (servlet 2.3 spec) then you could write a servlet filter to do just this. The idea is

Redirect to home page on logon

2003-07-16 Thread Tarek M. Nabil
Hi everyone, I have an application where I store some stuff in the user's session. If the user leaves his session for some time and it times out, he's asked to login when he tries to get on with what's he was doing. After the user is finished with the re-login, he's faced with the error page si

Re: redirect a page

2003-03-10 Thread Mr. Cristian Romanescu
know that's a problem with ie, not the jsp itself. Even if you change the AutoFlush option ie will mess it up.   - Original Message - From: Mr. Cristian Romanescu To: [EMAIL PROTECTED] Sent: Friday, March 07, 2003 1:30 PM Subject: Re: redirect a page This is how it's done: - Open

Re: redirect a page

2003-03-08 Thread minos
From: Mr. Cristian Romanescu To: [EMAIL PROTECTED] Sent: Friday, March 07, 2003 1:30 PM Subject: Re: redirect a page This is how it's done:- Open the page below (sample.jsp..) from a popup _javascript_...The idea is to open the popup and below you'll se: out.flush..

Re: redirect a page

2003-03-07 Thread Mr. Cristian Romanescu
your work... after your 10 inutes work :) is complete, you see that I do an redirect again from JSso the new generated page will be displayed I cut the OT issues from my JSP, but you'' figure it out. = SAMPLE.JSP <%@ page import="..."%>  

Re: redirect a page

2003-03-06 Thread Partha Ranjan Das
ubject: Re: redirect a page I once had to do exactly the same thing.The problem is that if you first send a response that prins "Please Wait" then you can't just take it back and send the actual response.You must first send the please wait page and the very first thing to do in this p

Re: redirect a page

2003-03-06 Thread minos
for the actual response (=a redirect to the actual response page) Two problems: - You can't have an animated gif running on the please wait page.When redirection begins the gif stops moving! - If the user minimize and restore browser window, all page content will seem blank. The above way wo

redirect a page

2003-03-06 Thread Alvin Chang
Hi, I have a servlet which would take a while to generate the output and I was wondering if someone would let me know how to show a "please wait" on browser until the final output is complete. code snippet would be great. -Alvin Chang

Re: redirect and getSession(true).isNew()

2003-03-03 Thread Zerbe John W
sion, you can assume that it is "new". -Original Message-From: Peter Maas [mailto:[EMAIL PROTECTED]Sent: Friday, February 28, 2003 4:32 AMTo: [EMAIL PROTECTED]Subject: redirect and getSession(true).isNew() Hi,   it seems that a redirect automatically creates a ne

Re: redirect and getSession(true).isNew()

2003-03-01 Thread Michael Weller
Maybe it's a missing '<%@ page session="false" %>' in your login.jsp that forces a new session? -mw - Original Message - From: Peter Maas To: [EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:32 AM Subject: redirect and getSession(true).isNew()

Re: redirect and getSession(true).isNew()

2003-02-28 Thread Becky Phaneuf
RequestDispatcher should keep session state. Try that instead. -B >>> [EMAIL PROTECTED] 02/28/03 01:32AM >>> Hi, it seems that a redirect automatically creates a new session, how can this be avoided? say I have the following setup: login.jsp --> only thing it does is

redirect and getSession(true).isNew()

2003-02-28 Thread Peter Maas
Hi,   it seems that a redirect automatically creates a new session, how can this be avoided? say I have the following setup:   login.jsp --> only thing it does is redirect to a servlet   what do I have to do to let the servlet know this is, or can be a new session?   gr,   P

Re: Redirect question

2003-02-04 Thread Gareth Jones
It might be irrelevent - but dont forget the redirect happens at the client. So in effect it becomes a new request and you therefore lose any data you might have put in the request scope during your original post. >From: Zerbe John W <[EMAIL PROTECTED]> >Reply-To: "A mailing li

Re: Redirect question

2003-02-04 Thread Zerbe John W
A requestDispatcher.forward() doesn't do a "redirect" via the browser. It only forwards the request to your target jsp within the scope of the servlet request. from the browser's perspective, it looks like the servlet generated the output that really came from your jsp.

Redirect question

2003-02-04 Thread Mike Silvers
Hopefully this is something simple :)   I have a jsp that uses a controller servlet to do the processing.  From the servlet, the response is redirected according to the processing option.  After the redirect, the URL displayed on the browser remains as the servlet URL.  I need to have this

Re: redirect and sessions

2002-09-02 Thread Pramod Nair
--- Original Message - From: "Monte Gardner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 02, 2002 8:12 PM Subject: Re: redirect and sessions > I looked up RequestDispatcher in my JSP book, but the examples it gives are > confusing. Can someone s

Re: redirect and sessions

2002-09-02 Thread Monte Gardner
remember to use encodeURL always. > > -Original Message- > From: Gardner Monte [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 10, 2002 5:47 PM > To: [EMAIL PROTECTED] > Subject: redirect and sessions > > > I just found something weird. > > I'm creating a J

Re: redirect and sessions

2002-08-12 Thread Yuri Singidas
t objects(using RequestDispatcher) and session objects(using Redirect) to pass the vector around but it doesn't seem to help. Any help will be highly appreciated. Thanks. Yuri My code: >>>message.jsp: HttpSession session1 = request.getSession(); Vector toVtr = new Vector();

Re: redirect and sessions

2002-08-12 Thread Bhangale, Bhushan
, August 10, 2002 5:47 PM To: [EMAIL PROTECTED] Subject: redirect and sessions I just found something weird. I'm creating a JSP app, using IE 5.5 to view it. In one page, I was writing an object to the session variable like so request.getSession(true).setAttribute("

Re: redirect and sessions

2002-08-10 Thread Jayson Falkner
> So my question is, is there some kind of effect that > sending a redirect has on session management? No, not inherently. IE is notorious for messing this up. Try the same exact code on some other web browsers such as Mozilla or Opera. It should work fine. See a few posts down w

redirect and sessions

2002-08-10 Thread Gardner Monte
e next page, I was trying to read that same object like so Arist user = (Artist)session.getAttribute("user"); but the user variable kept on beeing null, as if it had never been written to the session. However, when I changed the first part of the code by taking out the redi

Re: How do I redirect to a different servlet after successful au thentication?

2002-06-26 Thread Galbreath, Mark
In the doProcess() (doGet(), doPost()) method of your login servlet: RequestDispatcher rd; if( login) { rd = request.getRequestDispatcher( String success); rd.forward( request, response); } else { rd = request.getRequestDispatcher( String error); rd.forward( request, response); } Where

How do I redirect to a different servlet after successful authentication?

2002-06-26 Thread Chetan Wagle
Hi, This is a newbie question. I need to write this servlet (which I'd like to call login.java). This servlet will be called when the user visits my site and will initally display a login/password form asking the user to authenticate himself. When the user hits the Submit button, the form get

AW: AW: Redirect question

2002-04-04 Thread Matthias Hanel
he servlet should redirect to the loginservlet. Bt the Loginservlet should get displayed in the whole browser and the other frames should be removed. (if you know that the servlet would redirect to the loginservlet you could write the target attribute to the htmlpage.) How can I tell the redir

Re: AW: Redirect question

2002-04-04 Thread Michael Weller
EMAIL PROTECTED]] >Gesendet: Donnerstag, 4. April 2002 10:36 >An: [EMAIL PROTECTED] >Betreff: Redirect question > > >I've got a website with multiple frames where each of this frames is a >Servlet. >Everything works pretty good. > >Except when I press a button which sh

AW: Redirect question

2002-04-04 Thread Matthias Hanel
Oh probably i vorgot to write, that I'm not allowed to use javascript -Ursprüngliche Nachricht- Von: Matthias Hanel [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 4. April 2002 10:36 An: [EMAIL PROTECTED] Betreff: Redirect question I've got a website with multiple frames

Redirect question

2002-04-04 Thread Matthias Hanel
I've got a website with multiple frames where each of this frames is a Servlet. Everything works pretty good. Except when I press a button which should reload a frame. In the get-method of the other servlet I check if the user is already logged in. If he isn't logged in I want to redir

how to tell servlet to wait 10 seconds then redirect

2002-01-15 Thread Kwan, William
Hi everyone, After a servlet has finished processing the information, I would like it to wait for about 10 seconds while the user reads the page and then redirect to another web page. How do I go about creating the waiting part?? thanks, Will

Re: Redirect from one servlet to another?

2001-07-22 Thread Pierre-Yves Saumont
EMAIL PROTECTED]]De la part de Elaine Chong Envoyé : dimanche 22 juillet 2001 21:54 À : [EMAIL PROTECTED] Objet : FW: Redirect from one servlet to another? One thing that you need to do is make an URL object from the string of the URL, so you need to add a line: URL someURL = new URL("ht

FW: Redirect from one servlet to another?

2001-07-22 Thread Elaine Chong
A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Shoemaker Sent: Sunday, July 22, 2001 1:16 PM To: [EMAIL PROTECTED] Subject: Redirect from one servlet to another? Hello gang. Anyone have any idea how to do this?

Redirect from one servlet to another?

2001-07-22 Thread Mike Shoemaker
Hello gang. Anyone have any idea how to do this? I will paste a code snippet below that Im working on and it doesn't seem to work. I have a feeling that you can redirect to a different domain, is this true? Any input would be appreciated. // Do Redirect to page try { String url =

Re: Servlet to Servlet communucation -ReqDispatcher /Redirect

2001-07-03 Thread Peter Huber
Send Redirect makes the CLIENT perform a redirect to the server so you have the way server->client->server, whereas forwarding remains on the server. Dos: Javas Servlet Spec "Rajehswar V. Rao" wrote: > Hi All, > I have small doubt... > what

Re: multipart-request with redirect method

2001-05-08 Thread Jason Hunter
bigger than accepted size of > user account or not, then let them upload or not. > It upload and redirect ok when size are small enough to the space, but when > it larger then the spaceleft , the browser seem to be freezze long anh > redirect method do not work right ( out.prin

multipart-request with redirect method

2001-05-02 Thread rod
Hi , I got a problem in multipart-request, I use o'reilly package to upload file. My object is first determine size upload is bigger than accepted size of user account or not, then let them upload or not. It upload and redirect ok when size are small enough to the space, but when it larger

Re: Redirect Question

2001-04-27 Thread Marcus Nordlund (QRA)
Dont use redirect if you target WAP devices, since some of the devices out there don't support this feature. / M > -Original Message- > From: Isaac Shabtay [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 27, 2001 10:07 > To: [EMAIL PROTECTED] > Subject: Re: Redirec

Re: Redirect Question

2001-04-27 Thread Isaac Shabtay
> I have to check user's name and password, create a session, read some > preferrences from a database, store data in the session object and - if > everything is ok - redirect the client to another URL (which is not always > the same, depends on username/category). > What w

Re: Redirect Question

2001-04-27 Thread Jozef Chocholacek
Milan Tucakovic wrote: > I am new to Servlets and Java in general. I have the following problem: > I have to check user's name and password, create a session, read some > preferrences from a database, store data in the session object and - if > everything is ok - redirect the

Redirect Question

2001-04-26 Thread Milan Tucakovic
I am new to Servlets and Java in general. I have the following problem: I have to check user's name and password, create a session, read some preferrences from a database, store data in the session object and - if everything is ok - redirect the client to another URL (which is not alway

Re: how do i redirect

2001-02-05 Thread Uday Prajapati
you can also use RequestDispatcher for this purpose -Original Message- From: poornima visvesvaran [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 8:29 PM To: [EMAIL PROTECTED] Subject: Re: how do i redirect Hi Jitin, Get the privilage column value from the database. if

Re: how do i redirect

2001-02-05 Thread poornima visvesvaran
} I hope this will serve your purpose. Poornima Visvesvaran. --- Jitin Narula <[EMAIL PROTECTED]> wrote: > hi all, > how do i redirect from a servlet to another servlet > depending on the results > from the database. > actually i am making an user authentication form in > ser

Redirect servlet output to a specific frame

2001-02-05 Thread Fabrizio Gianneschi
Hi, I have a page with two frames, and the right one could invoke a servlet. I'd like to redirect the servlet HTML output to one of the two frames, deciding which one at runtime in the servlet code. How can I do it? At the moment I'm able to return data only to the frame specified in

Re: how do i redirect

2001-02-04 Thread yogaraj
Use response.sendRedirect("UR specified servlet file path"); Have a nice time with regards Yogaraj *** REPLY SEPARATOR *** On 2/5/01 at 11:45 AM Jitin Narula wrote: >hi all, >how do i redirect from a servlet to another servlet depending on the results &g

how do i redirect

2001-02-04 Thread M Thanasekaran
Hi Jitin, I hope you are using HTTPServlet if thing so you can use the sendRedirect(String URL) method of HTTP Response object to redirect your pages. Syntax:- res.sendRedirect(String URL); Here URL should have absolute path (full path like " http://yahoo.com/persanal/info.html ")

Re: how do i redirect

2001-02-04 Thread Srinivas K. R.
user response.sendRedirect method - Original Message - From: Jitin Narula <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 05, 2001 5:15 PM Subject: how do i redirect > hi all, > how do i redirect from a servlet to another servlet depending on the

Re: how do i redirect

2001-02-04 Thread Gokul Singh
- Original Message - From: "Jitin Narula" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> > how do i redirect from a servlet to another servlet depending on the results > from the database. If you are thinking of an HTTP redirect which will result in the browser

Re: how do i redirect

2001-02-04 Thread Manish Bhatnagar
Hi Jitin: Say... response.sendRedirect(""); Hth, Manish Bhatnagar Jitin Narula wrote: > hi all, > how do i redirect from a servlet to another servlet depending on the results > from the database. > actually i am making an user authentication form in servlest using or

how do i redirect

2001-02-04 Thread Jitin Narula
hi all, how do i redirect from a servlet to another servlet depending on the results from the database. actually i am making an user authentication form in servlest using oracle db. which would contain a privilage coloumn in it ,depending on the privilage coloumn result i have to redirect the

Re: Redirect to JSP with parameters missing

2001-02-04 Thread Alan Tang
t;gina" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 04, 2001 1:56 AM Subject: Redirect to JSP with parameters missing > Hi all, > > I'm trying to send a redirect from Servlet to a JSP. > In the Servlet, I have: > ... >

Re: Redirect to JSP with parameters missing

2001-02-03 Thread Gokul Singh
- Original Message - From: "gina" <[EMAIL PROTECTED]> > response.sendRedirect("aJspPage.jsp?paramA=aa a¶mB=bbb"); > ... > > However, aJspPage.jsp only receives the parameter > paramA=aa > and everything after the space is dropped. URL's are not permitted to have space in the

Redirect to JSP with parameters missing

2001-02-03 Thread gina
Hi all, I'm trying to send a redirect from Servlet to a JSP. In the Servlet, I have: ... response.sendRedirect("aJspPage.jsp?paramA=aa a¶mB=bbb"); ... However, aJspPage.jsp only receives the parameter paramA=aa and everything after the space is dropped. The c

Re: protocol change on redirect

2001-01-15 Thread Craig R. McClanahan
Gareth Jones wrote: > When using HttpServletResponse.encodeRedirectURL(String), is there any > J2EE method to tell it to switch protocols(http - https)? Can this be > done at redirect time? Is a custom method the answer? > The argument to encodeRedirectURL() can be an absolute URL

protocol change on redirect

2001-01-15 Thread Gareth Jones
When using HttpServletResponse.encodeRedirectURL(String), is there any J2EE method to tell it to switch protocols(http - https)? Can this be done at redirect time? Is a custom method the answer? _ Get Your Private, Free E

How do you redirect after a POST?

2001-01-10 Thread Christopher Hull
I'd like to always redirect to a GET after a POST. When I try this, most browsers seem to put up a page saying... "This page has moved to _here_". I'd like it to just forward to the next page, as it does when redirecting after a GET. How c

Re: Page redirect

2001-01-05 Thread Mark Galbreath
Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Shane Duan Sent: Thursday, January 04, 2001 5:54 PM To: [EMAIL PROTECTED] Subject: Re: Page redirect You can generate a HTML file, which can redirect itself to another page after certain time you specified

Re: Page redirect

2001-01-04 Thread Gokul Singh
- Original Message - From: "Ashok Palaniswamy" <[EMAIL PROTECTED]> > I have a situation where I need to make the user wait for a particular > period of time (say 15 seconds) after submitting his details (like a user > logon) on one html page... & later

Re: Page redirect

2001-01-04 Thread Ramesh, Kesav
d, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Ashok Palaniswamy [mailto:[EMAIL PROTECTED]] Sent: Friday, January 05, 2001 4:02 AM To: [EMAIL PROTECTED] Subject: Page redirect I have a situation where I need to ma

Re: Page redirect

2001-01-04 Thread Shane Duan
You can generate a HTML file, which can redirect itself to another page after certain time you specified in the header. I am not sure of the detail but you should be able to find it in most of the HTML book. -Original Message- From: A mailing list for discussion about Sun Microsystem&#

Page redirect

2001-01-04 Thread Ashok Palaniswamy
I have a situation where I need to make the user wait for a particular period of time (say 15 seconds) after submitting his details (like a user logon) on one html page... & lateron I wanna redirect him to a different page using the sendRedirect(). If any one knows please help me in this. A

Re: redirect a form to another servlet

2000-11-29 Thread Pablo Iaria
) method. > > Duane Morse, Eldorado Computing Inc., Phoenix AZ > > > -Original Message- > From: Kevin Cooper [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 29, 2000 10:01 AM > To: [EMAIL PROTECTED] > Subject: redirect a form to another servlet > > >

Re: redirect a form to another servlet

2000-11-29 Thread Duane Morse
Use the RequestDispatcher and its forward() method. Duane Morse, Eldorado Computing Inc., Phoenix AZ -Original Message- From: Kevin Cooper [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 29, 2000 10:01 AM To: [EMAIL PROTECTED] Subject: redirect a form to another servlet Which is

Re: redirect a form to another servlet

2000-11-29 Thread G.Nagarajan
Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Cooper Sent: Wednesday, November 29, 2000 6:01 PM To: [EMAIL PROTECTED] Subject: redirect a form to another servlet Which is the best way to "redirect" a form submitted (my servlet adds some fields)by a user to an

redirect a form to another servlet

2000-11-29 Thread Kevin Cooper
Which is the best way to "redirect" a form submitted (my servlet adds some fields)by a user to another a servlet? Thanks in advance. Kevin Cooper. _ Get more from the Web. FREE MSN Explorer downl

Redirect

2000-10-30 Thread Ade Permana
Hi, How to redirecting servlet to JSP with a new request (POST method) which is different from originally request that servlet was receive. I have one servlet that process a request from one page (JSP), If any exception raise while processing the request, this servlet (without displaying anythin

Re: redirect

2000-10-13 Thread sumit deogharia
Sumit On Fri, 13 Oct 2000 16:45:06 +0530, A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. wrote: > hi can anyone tell me what is the advantage we will get if u encode > redirect like instead of sending re

redirect

2000-10-13 Thread Paras Sharma
hi can anyone tell me what is the advantage we will get if u encode redirect like instead of sending resp.redirect ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "si

JSP reDirect important

2000-09-16 Thread Suriya Narayan Vartharajan
hi guys.. i want to know how to use request.reDirect( ) method. that is.. i want to call one servlet from jsp page... i am waiting for ur kind response... regards suriya Try for everything ___ To unsubscribe, send email

Cookies not sent to browser on redirect from server?

2000-08-30 Thread David M. Karr
I'm working through some examples in "Core Servlets and JavaServer Pages". I was looking at a couple of examples which use Cookies. I found the "SetCookies" and "ShowCookies" examples worked fine. However, the next example, using "CustomizedSearchEngines" and "SearchEnginesFrontEnd", didn't qui

Respond Redirect

2000-07-10 Thread Jackson Ching
Hi, I have notice in my testing that when i use the res.sendredirect method in a servlet, in ie it works fine by displaying the result of the called servlet. But i notice in Netscape, i got the result "Found The document has moved here." where "here" is a link to the servlet in the sen

Redirect Applet

2000-07-07 Thread Giovanni Santini SZ3PGQ
Hello, I want do a little servlet load an Applet and after load an other servlet? How Can I do? Thank you. ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST"

Re: Problems of passing cookies with HTTP redirect

2000-06-22 Thread Dave Ford
<> What are you talking about with "set the cookie". Isn't that what Leo is doing with "addCookie"? Cookie cookie1 = new Cookie("user_id", user_id); cookie1.setDomain(".mydomain.com"); response.addCookie(cookie1); response.sendRedirect(redirectURL); Dave Ford ___

Re: Problems of passing cookies with HTTP redirect

2000-06-21 Thread Nic Ferrier
>>> Leo Fu <[EMAIL PROTECTED]> 21-Jun-00 11:10:31 AM >>> >I added a cookie to the response and call >sendRedirect() as follow: >redirectURL is a URL pointing to a servlet in a virtual >host of the same domain (such as host1.mydomain.com) You have to set the cookie to ensure that the browser tra

Problems of passing cookies with HTTP redirect

2000-06-21 Thread Leo Fu
Hi, I added a cookie to the response and call sendRedirect() as follow: Cookie cookie1 = new Cookie("user_id", user_id); cookie1.setDomain(".mydomain.com"); response.addCookie(cookie1); response.sendRedirect(redirectURL); redirectURL is a URL pointing to a servlet in a virtual host of the same

Re: set Cookie and Redirect in one request.

2000-05-24 Thread Nic Ferrier
>>> Mike Lai <[EMAIL PROTECTED]> 24-May-00 5:32:30 AM >>> >Can I use HttpServletResponse to set cookie and then redirect >the request to another url at the same time? No. Yes... depends. >I've tried, the page is redirected but the cookie seem to b

set Cookie and Redirect in one request.

2000-05-23 Thread Mike Lai
Hi, Can I use HttpServletResponse to set cookie and then redirect the request to another url at the same time? I've tried, the page is redirected but the cookie seem to be losed. I use response.addCookie and response.sendRedirect to do that. Thanks.

redirect or protect html

2000-05-02 Thread Efrain Gutierrez
OK.. Session Variable or Cokiee.. anyway but how i can detect the absent of this ... Log On Cokiee..or Session Variable/.. and redirect automatically from html ... can i do this with JavaScript .. becuse this need to be run in the client side TIA ___ Ing. Efrain

Using Redirect Question

2000-03-28 Thread Zhen Ni
Hi, I'm using a html page to post results to a login servlet but then redirects it to another html page which posts results to another servlet which then redirects it to another servlet. the first two steps are fine, but a second redirect from the 2nd servlet to the 3rd servlet

Re: Redirect to CGI w/ POST

2000-03-23 Thread Ajai Peddapanga
Title: RE: Redirect to CGI w/ POST Chris ! Can u tell me how to do a POST using URLConnection object .I thought its doing only GET. Its very interesting Thanx in advance -Original Message-From: A mailing list for discussion about Sun Microsystem's Java Servle

Re: Redirect to CGI w/ POST

2000-03-23 Thread Ajai Peddapanga
Title: RE: Redirect to CGI w/ POST Chris !!! Can you tell me how to do a post using URLConnection object ...I thought it was doing only GET. Its very interesting . Thanx in Advance Ajai -Original Message-From: A mailing list for discussion about Sun Microsystem's

Re: Redirect to CGI w/ POST

2000-03-21 Thread Chris Murphy
Title: RE: Redirect to CGI w/ POST Are you not wanting to use URLConnection for a reason, or is it that you want to know how to do a POST from the connection? If you're using 1.2 you can use the HttpURLConnection class to do a POST pretty easily.  I you're using 1.1, it's n

Re: Redirect to CGI w/ POST

2000-03-20 Thread Eric Noriega
hurdles on the way. > > Regards > Yesudas > > "Meister, David R." wrote: > > > Is there a way to redirect to a CGI script, from a servlet, using a POST > > request method? > > > > I am looking for an alternative to using URLConnection and a query stri

Re: Redirect to CGI w/ POST

2000-03-18 Thread P.Yesudason
Not with experience .. What about dealing with Java Native Interface .. Use JNI to execute the CGI Script which is a exe . But take care , hurdles on the way. Regards Yesudas "Meister, David R." wrote: > Is there a way to redirect to a CGI script, from a servlet, using a P

Re: Redirect to CGI w/ POST

2000-03-13 Thread Craig R. McClanahan
"Meister, David R." wrote: > Is there a way to redirect to a CGI script, from a servlet, using a POST > request method? > > I am looking for an alternative to using URLConnection and a query string > when I need to redirect. > Try casting your URLConnection to an Htt

Redirect to CGI w/ POST

2000-03-13 Thread Meister, David R.
Is there a way to redirect to a CGI script, from a servlet, using a POST request method? I am looking for an alternative to using URLConnection and a query string when I need to redirect. Thanks for you help, David ___ To

Re: redirect does not show the target uri

1999-12-08 Thread jk
hi thomas this works out res.setStatus(res.SC_MOVED_TEMPORARILY); res.setHeader("location","HelloWorldServlet"); instead of res.sendRedirect("HelloWorldServlet"); bye jk Thomas Velthoven wrote: > Hi all > > When I perform a redirect in the res

Re: redirect does not show the target uri

1999-12-08 Thread jk
hi thomas this works out res.setStatus(res.SC_MOVED_TEMPORARILY); res.setHeader("location","HelloWorldServlet"); instead of res.sendRedirect("HelloWorldServlet"); bye jk Thomas Velthoven wrote: > Hi all > > When I perform a redirect in the res

redirect does not show the target uri

1999-12-08 Thread Thomas Velthoven
Hi all When I perform a redirect in the response, The browser does not show me the redirected url but rather the request uri witch performed the redirect. It does show the right page however. I get the strange behavior that the browser does not show the uri of the page that it shows Does

Re: reg: Send Redirect

1999-10-12 Thread Shawn McKisson
You will need to check you web server properties and determine the web root. When someone asks for http://xxx.xxx.com, documents will be served out the directory defined by the web root property. If you are using apache with WAS, then it is in your apache httpd.conf file. --shawn [EMAIL PROTECTE

reg: Send Redirect

1999-10-12 Thread vishwaroopa_chary
Hi All, I am using the sendRedirect method in my program. Anybody could suggest where I have to place the HTML's (i.e Default dir for HTML's) . I'm using IBM HTTP WEB SPHERE application server on WindowsNT.thanks in advance,Pavan

Re: Servlet Redirect question

1999-10-04 Thread Rahul Dwivedi
o: [EMAIL PROTECTED] cc:(bcc: Rahul Dwivedi/LTITLVSH) Subject: Servlet Redirect question Question everyone!! Quick background and then the question. I am doing a redirect to an html page(index.html) after a username and login has been validated. The redirect works fine ex

Servlet Redirect question

1999-10-04 Thread patrick lurlay
Question everyone!! Quick background and then the question. I am doing a redirect to an html page(index.html) after a username and login has been validated. The redirect works fine except that the new page is being displayed in the middle frame of the index.html. Is there a

redirect problem

1999-08-27 Thread Dino Valente
I have the following servlet and the sendRedirect works under IE 4.0 but not under Netscape 4.61. For netscape when the "Test redirect" button is pressed it displays: "Document moved This document has moved here." I am using the servlet runner and JDSK2.0. Am I using se

Re: http redirect and security

1999-08-23 Thread Cezar Totth
> > > Hi, > > > > > > > > The two hosts, A and B can also establish a convention by adding > > > > a query parameter called "RedirectedFrom" : > > > > > > > > HostA adds an "?RedirectedFrom=HostA" to t

Re: http redirect and security

1999-08-20 Thread Byte Code
Here is the solution that were doing... Host A redirect to Host B with a unique encrypted key, like a MD in the URL Host B does its work and redirects the user back with the same key and another private key If the key is changed then the request is assumed to be insecure. If the private key does

Re: http redirect and security

1999-08-20 Thread Byte Code
HostA adds an "?RedirectedFrom=HostA" to the URL, HostB does the similar > > > thing with care on building the redirected URL to preserve existing > > > query parameters and to add/change only "RedirectedFrom=..." > > > parameter. > > > > > &g

Re: http redirect and security

1999-08-20 Thread Cezar Totth
ameter called "RedirectedFrom" : > > > > HostA adds an "?RedirectedFrom=HostA" to the URL, HostB does the similar > > thing with care on building the redirected URL to preserve existing > > query parameters and to add/change only "RedirectedFrom=

  1   2   >