Guilherme,
After the response.sendRedirect() you need a "return" to tell the servlet to
stop processing.
Cheers,
Mike
__
| | The BookmarkBox
| | http://www.bookmarkbox.com
|/\| Manage and share your bookmarks online!
Have you seen our new forums? http://www.bookmarkbox.com/ubbcgi
Share your bookmarking with others and get helpful tips!
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Guilherme Birckan
Sent: Tuesday, 21 September 1999 10:22
To: [EMAIL PROTECTED]
Subject: Problems with JSSI
Hi there Folks! I really need some help, if it isn't the right
division, please forward my e-mail ok?! I'm a college student in Brazil,
and I'm developing a system using a Apache Server with the modules JServ
and JSSI.
I am executing a .jhtml page which has a reference <SERVLET ...>
to a servlet. In the doGet() method of that servlet, I test if the
HttpSession is null, and, if it is, I redirect the user by using the
response.sendRedirect() method. The problem is that the page is NOT being
redirected, instead of that, the rest of the HTML page is being show, what
i didn't want to happen. What can I do?
I appreciate any help, sorry about my English (remember I'm
brazilian :-)
Thanks,
Guilherme Birckan
P.S.: Please replies only to me ok?!
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html