Am Monday 24 February 2003 12:43 schrieb Th?o:
> 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 !

That's because the jsp you display in the iframe portlet is not part of your 
Jetspeed app. There is no rundata or other jetspeed/turbine stuff in it. 
There is a session object, which is available like in any other jsp. This 
should be the same session as for jetspeed, if the request goes to the same 
app server, but I'm not sure about this. If you want to have something as 
part of your application, you should never use the iframe portlet, but an 
ordinary jsps portlet. The iframe portlet really makes a separate 
application. Better use the jsp portlet and the turbine action model for 
handling events like submit etc.
Stefan


>
>
> 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 galli�i
> 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 �rit :
> | > 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 galli�i
> | > 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]

-- 
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428   Fax: +49 (0) 221-470-5092


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

Reply via email to