Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

[Urgent]How to make an external URL in Portal server with JSF

Posted on 2006-05-08
6
Medium Priority
?
391 Views
Last Modified: 2012-08-14
I am using websphere portal server 5.0.

<h:outputLink value="www.yahoo.com">
<f:verbatim>abc</f:verbatim>
</h:outputLink>

i try to use the above code in the portlet, the rendered pages keeps giving me
http://localhost:9081/myProject/www.yahoo.com


If I change it to
<h:outputLink value="http://www.yahoo.com">
<f:verbatim>abc</f:verbatim>
</h:outputLink>
the rendered pages shows me
http://localhost:9081/myProject/http://www.yahoo.com

The result I want is just
www.yahoo.com or http://www.yahoo.com

Is it because the portlet cause the problem, if yes how to solve it? so that I can refer to an external link like www.yahoo.com?
0
Comment
Question by:william007
5 Comments
 
LVL 11

Expert Comment

by:fargo
ID: 16638062
use

<h:outputLink value='http://www.yahoo.com'>
    <h:outputText value='Yahoo!'/>
  </h:outputLink>
0
 
LVL 19

Expert Comment

by:actonwang
ID: 16640462
or try this:

<h:outputLink value="http://www.yahoo.com">
abc
</h:outputLink>
0
 
LVL 9

Author Comment

by:william007
ID: 16664807
Hi,

Seem like in websphere portal, it always treat the value in outputLink as relative link.

I use the following to solve the problem
<h:outputText escape="false" value="<a href='http://www.yahoo.com'>abc</a>"/> to solve the problem.

Thanks for all the effort.
0
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16688669
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, the users face difficulty in accessing Outlook 2016 PST files on Windows 10 computer. One of the reasons behind it is the improper functioning of MS Outlook when the user tries to open it. MS Outlook suddenly stops working, or it will not op…
A quick solution showing how to control and open a POS Cash Register Drawer using VBA with MS Access.
Loops Section Overview
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question