The moose likes Portals and Portlets and the fly likes Changing the URL in a portal in WebSphere Application Server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Changing the URL in a portal in WebSphere Application Server" Watch "Changing the URL in a portal in WebSphere Application Server" New topic
Author

Changing the URL in a portal in WebSphere Application Server

Ankit Gandhi
Greenhorn

Joined: Nov 03, 2006
Posts: 27
Hi,

How do we change the URL that is hard coded to look something like a system generated URL ?

For eg. change https://test.example.com:8060/Test/test.xls to
http://example.test.com/wps/portal/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLd4z3DNAvyHZUBABgKN_S.

How can this be done ?
Any pointers ?

Thanks,
Ankit
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 625

Those URLS generated when portal creates portlet. You will be not able to generate them your self.

By the way why do you need to generate URL in format what portal server can understand?
Ankit Gandhi
Greenhorn

Joined: Nov 03, 2006
Posts: 27
actually, once we click the link, the exact path of the file on the server is shown in the URL and we dont wont to show that........so we need to change the URL displayed
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4962

What about using resource references in the web.xml file?

You can configure resource names, and use them,instead of the actual file name.

Would that work?

-Cameron McKenzie


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
 
 
subject: Changing the URL in a portal in WebSphere Application Server
 
Threads others viewed
Websphere Portal 5 - Change PortNumber
websphere portal application home page
how do redirect to my page ???
Calling request. getRequestURL() .toString() on secure site returns http://....
Calling request. getRequestURL(). toString() on secure site returns http://....
developer file tools