How can I get the servletconfig object in zk framework?

asked 2013-11-07 17:15:03 +0800

whatup gravatar image whatup
38 4

How can I get the servletconfig object in zk framework?

As we can get httpservletRequest and httpservletresponse using nativerequest and response but what about servletconfig?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-11-07 17:17:28 +0800

sitansu gravatar image sitansu
2254 13

You are looking for WebApp instance and you can get it by calling Desktop.getWebApp(). WebApp is a wrapper that wraps both ServletContext & ServletConfig and has similar API as both.

link publish delete flag offensive edit
Your answer
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

1 follower



Asked: 2013-11-07 17:15:03 +0800

Seen: 11 times

Last updated: Nov 07 '13

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