You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by cijijoseph <ci...@megasoft.com> on 2005/12/15 14:53:39 UTC
Getting Hold of JetSpeed URL
Hi All,
I have a struts-portlet application that has been deployed inside
JetSpeed-2 . I have a requirement in which i need to store the Portal
Server URL , from my struts-portlet application. I tried to access that
using all the HTTP Servlet Request methods..But that returned me only
the context URL's and i am interested in getting hold of the Portlet URL.
Thanks in Advance for your help
Regards
Ciji
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Getting Hold of JetSpeed URL
Posted by Ate Douma <at...@douma.nu>.
cijijoseph wrote:
> Hi All,
> I have a struts-portlet application that has been deployed inside
> JetSpeed-2 . I have a requirement in which i need to store the Portal
> Server URL , from my struts-portlet application. I tried to access that
> using all the HTTP Servlet Request methods..But that returned me only
> the context URL's and i am interested in getting hold of the Portlet URL.
First of all: what you are asking for isn't going to be portable, but Jetspeed
specific, so keep that in mind.
Then, I'm not sure if you're after the PortalURL or the PortletURL.
To get hold of either one of these, unwrap the HtppServletRequests (which you can
typecast to HttpServetRequestWrapper) I think about 2 times, and you'll get access
to the original HttpServletRequest.
Ate
>
> Thanks in Advance for your help
>
> Regards
> Ciji
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Getting Hold of JetSpeed URL
Posted by cijijoseph <ci...@megasoft.com>.
To make things clear . this is what i am looking for ...
This is one sample portlet URL that i am trying to capture in my
application
http://10.10.10.169:9430/js/portal/_ns:YXN1bW1hcnktMnxlX3NwYWdlPTE9L2NvbXBvbmVudHJlc3VsdGRibncuZG8-Y29tcG9uZW50TmFtZT09dmxhbiZwYWdlSUQ9PWRvbWFpbiZkb21haW5OYW1lPT1sb2NhbA__/0_summary.psml
While trying to capture using the ServletRequest methods i am able to
create URL's only like this
http://10.10.10.169:9430/cdm/logon.do
This one corresponds to my struts application, while i am interesred in
getting hold of the URL with the JetSpeed Name Spaces and all
Thanks in Advance for your help
Regards
Ciji
cijijoseph wrote:
> Hi All,
> I have a struts-portlet application that has been deployed inside
> JetSpeed-2 . I have a requirement in which i need to store the Portal
> Server URL , from my struts-portlet application. I tried to access
> that using all the HTTP Servlet Request methods..But that returned me
> only the context URL's and i am interested in getting hold of the
> Portlet URL.
>
> Thanks in Advance for your help
>
> Regards
> Ciji
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org