users@woodstock.java.net

RE: Re: webuijsf:meta and getMaxInactiveInterval

From: Vijaya Bhaskar Tsaliki <vijayabhaskar.t_at_sonata-software.com>
Date: Thu, 28 Aug 2008 15:09:52 +0530

Modify your jsp and replace '<' character with '&lt;' and '>' with '&gt;'

Your meta tag will look like below.

<webuijsf:meta id="meta1" httpEquiv="refresh" content="&lt;%=
 session.getMaxInactiveInterval() %&gt;; url=LoginPage.jsp"/>

Regards,
Vijay


-----Original Message-----
From: Mariano López [mailto:mlopez_at_sescam.org]
Sent: Thursday, August 28, 2008 11:56 AM
To: users_at_woodstock.dev.java.net
Subject: Re: webuijsf:meta and getMaxInactiveInterval

Diego try this,

Create a property page called contentValue and generate getter and setter.

In prerender method set it to:

  setContentValue(" ......... What you want .......");

In jsp page set:

|<jsp:directive.page ..... contentType="#{PageName.contentValue}" ...../>|


I hope this help you.

Mariano López


Diego Gil escribió:
> Hi,
>
> How can I add something like :
>
> |<meta http-equiv="refresh" content="<%= session.getMaxInactiveInterval() %>;url=dummy_login.jsp">|
> in a jsp using webuijsf:meta tag, using NetBeans 6.1 ?.
>
> I got the following error :
>
> The value of attribute "content" associated with an element type
> "webuijsf:meta" must not contain the '<' character.
>
> after including :
>
> <webuijsf:meta id="meta1" httpEquiv="refresh" content="<%=
> session.getMaxInactiveInterval() %>; url=LoginPage.jsp"/>
>
> in my jsp page, as a child of webuijsf:head tag.
>
> Ragards,
> Diego.
>
>
>
>
>
>
>
> ---------------------------------------------------------------------------------------------------
> *Texto a�adido por Panda IS 2008:*
>
> Este mensaje NO ha sido clasificado como SPAM. Si se trata de un
> mensaje de correo no solicitado (SPAM), haz clic en el siguiente
> v�nculo para reclasificarlo: �Es SPAM!
> <http://localhost:6083/Panda?ID=pav_3117&SPAM=true&path=C:%5CDocuments+and+Settings%5Cmariano%5CConfiguraci%EF%BF%BDn+local%5CDatos+de+programa%5CPanda+Software%5CAntiSpam>
> ---------------------------------------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
For additional commands, e-mail: users-help_at_woodstock.dev.java.net