0

How to make a href link without prefixing current context name?

asked 2011-12-23 17:09:18 +0800

venkatsalem gravatar image venkatsalem
87
http://webmoli.com

Deployed ZK sample app in Context1 and wrote below code to open /Context2/index.jsp to open.
<toolbarbutton
image="/resource/image/admin.gif" id="adminSetup"
href="Context2/index.jsp"
target="_blank" label="Admin Setup" />


But it generates url as: /Context1/Context2/index.jsp

How to avoid adding Context1?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-12-28 14:15:49 +0800

dastultz gravatar image dastultz
797 9

Try this:

/Context2/index.jsp

or this

../Context2/index.jsp

/Daryl

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-12-23 17:09:18 +0800

Seen: 164 times

Last updated: Dec 28 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More