Hi,

I use 2 difernet way to solve this pb.

1/ You put an invisible form with hidden field in one of your portlet.
Then you read those field from your jsp in the iframe by using
javascript.

2/ In one of your portlet, you refreash your jsp with all the parameters
you need.
Exemple:
In a jspPortlet:
<form name="form" action="..../myjsp.jsp&parameter1=<%=parameter1%>"
target="myiframe" >

Then Parameter1 could be session properties.

I use somethink like this, it works.

Antoine.

> -----Message d'origine-----
> De : Th?o [mailto:[EMAIL PROTECTED]
> Envoye : lundi 24 fevrier 2003 12:43
> A : Jetspeed Developers List; Jetspeed Users List
> Objet : Re: Using Frame in JetSpeed with a jsp
> 
> 
> But if i put the jsp out off the web-inf
> , i could not access to  Application
> Session into my jsp.
> I got a nullPointEexception when try to
> access !
> 
> 
> RunData data=
> (RunData)request.getAttribute("rundata")
> ;
> String
> fileId=(String)data.getSession().getAttr
> ibute("FileId");
> String
> fileSze=(String)data.getSession().getAtt
> ribute("FileSze");
> 
> have anybody a idea !
> 
> Thanks by advance.
> 
> Thierry Unimon
> Groupe Cgbi
> 69 Bvd gallieni
> poste :0155955422
> [EMAIL PROTECTED]
> 
> 
> 
> 
> ----- Original Message -----
> From: "Aurelien Pernoud"
> <[EMAIL PROTECTED]>
> To: "'Jetspeed Users List'"
> <[EMAIL PROTECTED]>
> Sent: Monday, February 24, 2003 11:55 AM
> Subject: RE: Using Frame in JetSpeed
> with a jsp
> 
> 
> |
> | It's not Jetspeed. When using a
> IFramePortlet, it's your browser that
> makes
> | the request.
> | And you can't request a resource that
> is in WEB-INF directory directly.
> |
> | Tho a ecrit :
> |
> | > In fact Jetspeed don't look at the
> rigth
> | > place.
> | > I want hilm to found it in the Jsp
> | > directory:
> | > web-inf/templates/jsp/portlets/html
> | >
> | > but even when i put the the right
> Url i
> | > got a "HTTP 404 not found",
> | > If the jsp is in the jestspeedhome/
> it
> | > look working !
> | >
> | >
> | > Thierry Unimon
> | > Groupe Cgbi
> | > 69 Bvd gallieni
> | > poste :0155955422
> | > [EMAIL PROTECTED]
> |
> |
> | --------------------------------------
> -------------------------------
> | To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> .org
> | For additional commands, e-mail:
> [EMAIL PROTECTED]
> |
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to