I should have picked up an HTML manual, because I've found out that
target="_top" is the thing that tells a link to open as a full page.

Sorry,

Romain ARNAUD

 --- Romain ARNAUD <[EMAIL PROTECTED]> a �crit : 
> Hi,
> 
>  I have a problem that is quite similar to the one I had yesterday.
>   The webapp display main.jsp, which is calling menu.jsp (which has
> links to other jsp as href). Now, in menu.jsp, if I encode the URL by
> doing response.encodeURL(request.getContextPath()+"/option.jsp") the
> option page is displayed full screen. It seems that the context path
> is
> good, but that the encodeURL doesn't do it's job.
> 
> Here's how the code looks like
> 
> Main.jsp:
> <IFRAME scrolling="auto" height="40%" width="80%"
> src="<%=request.getContextPath()+"/menu.jsp"%>"></IFRAME>
> <IFRAME scrolling="auto" height="40%" width="80%"
> src="<%=request.getContextPath()+"/content.jsp"%>"></IFRAME>
> 
> Menu.jsp:
> <a target="_top" href="<%=
> response.encodeURL(request.getContextPath()+"/option.jsp")
> %>">[Option]</a>
> 
> Option URL is just: /WebApp_myjahiasite/option.jsp
> 
> Thanks for any help you can give,
> 
> Romain ARNAUD
> 
> 
>       
> 
>       
>               
> Vous manquez d�espace pour stocker vos mails ? 
> Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
> Cr�ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> 
> Le nouveau Yahoo! Messenger est arriv� ! D�couvrez toutes les
> nouveaut�s pour dialoguer instantan�ment avec vos amis. A t�l�charger
> gratuitement sur http://fr.messenger.yahoo.com
>  


        

        
                
Vous manquez d�espace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Cr�ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arriv� ! D�couvrez toutes les nouveaut�s pour 
dialoguer instantan�ment avec vos amis. A t�l�charger gratuitement sur 
http://fr.messenger.yahoo.com

Reply via email to