This is a bit off topic, but I thought enough people would be interested in this
problem to post to the list.

http://www.irt.org did an excellent treatment of this problem in the
JavaScript->Frames section of their site.  It turns out to be a rather complicated
problem and there are three articles that cover it well.

Donald Vandenbeld

Kevin Duffey wrote:

> Couldn't agree more with Craig. Unfortanately, the only thing that is
> difficult is posting a big message that explains the site is a web
> application. I don't think most of our users even know what a web site is!
> ;) This is especially difficult for b2b sites because they want to maintain
> a level of professionalism that doesn't make the user feel like an idiot.
>
> I use frames as well. This way, the URL only shows the main url to the site.
> However, the one problem I haven't overcome yet..is if they right click on a
> static link and open it up in to a new window. That unfortanately bypasses
> the index.jsp page that sets up the frame, and thus they are able to
> navigate without that.
>
> Craig..any ideas?
>
> > > Hello
> > >
> > > I want to hide the dispatcher servlet name in the browser's
> > location bar. It
> > > would be great to only show the jsp name, without the query string, for
> > > example
> > >
> > > I'm afraid that it is directly handled by the browser (but
> > there might be
> > > another way), so I tried to do that with javascript, without
> > any success.
> > > The HttpServletResponse doesn't hava any method that could help.
> > >
> >
> > It is handled directly by the browser.  What shows is the URL to which the
> > *request* was sent -- it does not come from the response.  The
> > browser has no idea
> > that your dispatcher servlet forwarded the request somewhere else.
> >
> > >
> > > How do you guys who use response redirection do ? Do you show
> > the dispatcher
> > > url (which btw should be the best idea for bookmarking, but not
> > really for
> > > presentation) ?
> > >
> >
> > What I normally do is to run inside a custom window that has no
> > location bar, or I
> > use frames, even if I don't otherwise need them (in that case,
> > the app runs in one
> > very large frame, and there's a small hidden frame that isn't
> > used).  That way, the
> > URL of the app itself (i.e. the page containing the frameset) is
> > the only thing
> > that shows in the location bar.
> >
> > Beyond that, it's appropriate to educate users that web
> > *applications* are not the
> > same as web *sites* -- so concepts like bookmarking and returning
> > to a particular
> > page within the app are not really useful.
> >
> > >
> > > Any idea would be greatly appreciated
> > >
> > > Sylvain
> > >
> >
> > Craig McClanahan
> >
> > ==================================================================
> > =========
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to