0

how to get contextpath?

asked 2006-02-28 06:28:11 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3600984

By: rob_chou

I know zk page exists past request, but I need to access request.getContextPath for include. Is the context path cached anywhere?

thanks,
rob

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2006-02-28 07:43:42 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3601037

By: tomyeh

No, it doesn't. A possible workaround is

Executions.getCurrent().getVariableResolver().resolveVariable("pageContext").get
Request()


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: 2006-02-28 06:28:11 +0800

Seen: 1,368 times

Last updated: Feb 28 '06

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