0

Scope (comunication servlets and jsp)

asked 2006-05-01 18:55:03 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: nobody

Hello everyone. Am new to ZK and i was wondering whether ZK can access objects within different scope in a J2EE application. for example the Application scope objects (ServletContext) can be accessed by any jsp or servlet within that application. can a ZK page have access to objects in the application as well, if so how is this done. Also what about session and generally passing object between ZK and a jsp/servlet.
Please shed some light.

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2006-05-02 06:12:20 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: henrichen

WebApp.getNativeContext()

/henri

link publish delete flag offensive edit

answered 2006-05-02 11:40:21 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: nobody

Thanks a lot. So far I have only read the developers guide document but your thread has brought to my attention the zk java api which has some phenominally good documentation on some very useful objects especially WebApp and Session (getNativeXXX methods) for communication with other parts of your J2EE application.

Thanks again for the help.

link publish delete flag offensive edit

answered 2006-05-03 01:00:24 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: henrichen

For Java API regarding ZK, please see

http://zk1.sourceforge.net/javadoc/index.html

For some How-Tos regarding ZK (We welcome more contributions), please see

http://en.wikibooks.org/wiki/ZK/How-Tos

And a lot of issues has been answered in ZK forum, we would appreciate it if you can please search it first. :)

/henri

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-05-01 18:55:03 +0800

Seen: 470 times

Last updated: May 03 '06

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