Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 46646 invoked from network); 27 Nov 2003 12:22:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Nov 2003 12:22:43 -0000 Received: (qmail 89843 invoked by uid 500); 27 Nov 2003 12:22:22 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 89818 invoked by uid 500); 27 Nov 2003 12:22:22 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 89803 invoked from network); 27 Nov 2003 12:22:22 -0000 Received: from unknown (HELO correo.tid.es) (193.145.240.2) by daedalus.apache.org with SMTP; 27 Nov 2003 12:22:22 -0000 Received: from conversion-daemon.tid.hi.inet by tid.hi.inet (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) id <0HP000001FJQ1H@tid.hi.inet> for tomcat-user@jakarta.apache.org; Thu, 27 Nov 2003 13:22:22 +0100 (MET) Received: from sierra (sierra.hi.inet [10.95.47.212]) by tid.hi.inet (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with SMTP id <0HP000DJ3FP9OZ@tid.hi.inet> for tomcat-user@jakarta.apache.org; Thu, 27 Nov 2003 13:22:21 +0100 (MET) Date: Thu, 27 Nov 2003 13:22:21 +0100 From: =?us-ascii?Q?David_Sierra_Fernandez?= Subject: RE: How to stop the URL comming up? In-reply-to: <3FC5E58E.8090403@pp.inet.fi> To: Tomcat Users List Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N you're right...frame way is fool-proof ;-). One posibility is using a servlet as default index page. This servlet should redirect to whichever JSP you would like. The way to do the redirection in order to the URL didn't appear in the browser is the following: getServletContext().getRequestDispatcher("/any.jsp").forward(request,respons e); You can do this manually or using STRUTS. It's quite usefull. Bear in mind that is possible for a user to get a JSP if he knows the URL but he or she is supposed to know noone. If you don't trust very much, you can combine this with a session id control to redirect to the main page if the user tries to get a JSP directly. David Sierra Fernandez > -----Mensaje original----- > De: BAO RuiXian [mailto:ruixian.bao@pp.inet.fi] > Enviado el: jueves, 27 de noviembre de 2003 12:53 > Para: Tomcat Users List > Asunto: Re: How to stop the URL comming up? > > > > > Andoni wrote: > > >Hello, > > > >I am looking for a way to stop my users bookmarking pages in the > site. There is a login screen and they shouldn't even really be > let bookmark this. I was given someone's card today an then I > went to his site: http://www.xeotrope.net and when I find that > as I look around the site the url in the URL bar of my browser > stays at http://www.xeotrope.net and never includes the page > name. This means that all bookmarks only bring up the main page. > > > >Is there any way to do this with apache / Tocmat? > > > > > As long as I know, not Apache nor Tomcat can achieve this. But, you can > implement this by using frame to design your web pages. Again, this is > only fool-proof, for experienced users, they can still show your > sub-frame login page in a separate browser by right-clicking the mouse > and then book mark it. > > Best > > Bao > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org