0

ZK with Servlet 2.3

asked 2007-05-18 16:20:18 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: agodinhost

Guys,

I don't know if it is possible: there is any chance to use ZK with servlet spec 2.3?

I'm working on a big project which is going to be delivered but our customer doesn't have Servet Spec at their server (they have just 2.3).

If not, please, what specific resources from spec 2.4 ZK is using?

Thanks a lot

Woody



delete flag offensive retag edit

7 Replies

Sort by ยป oldest newest

answered 2007-05-18 17:26:27 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: tomyeh

There is a mini how-to about servlet 2.3:
http://en.wikibooks.org/wiki/ZK/How-Tos

Tom

link publish delete flag offensive edit

answered 2007-05-18 17:43:12 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: agodinhost

Tom, reaaaaaaallllllly thanks mate!!!

You saved our lives!!!

Just one more question: is safe to use ZK with servlet 2.3? I saw a few comments talking about ZK was done for spec 2.4 ...

We are going to re-test all application but, just to double check, we need to know how dangerous it could be (since this approuch will be "temporary").

There is anyone using ZK with Servlet spec 2.3? Or we are going to be the lab rats?
8)

Woody

link publish delete flag offensive edit

answered 2007-05-18 17:47:16 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: agodinhost


I did forget one important info:

We are using zk version 2.2.1

Woody

link publish delete flag offensive edit

answered 2007-05-22 14:24:24 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: agodinhost

Hello again fellows,

Please, there is anyone using ZK with servlet spec 2.3 here?

Thanks a lot

Woody

link publish delete flag offensive edit

answered 2007-05-23 08:55:00 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: zanyking



I think there's no version problem in running servlet 2.3.

Bad things mostly happend because deprecated mathod & the change of behavior definition.
there's only one class is deprecated in 2.4 and seems no change in other old things.

take a look at ZK's source code, ZK cut off the coupling with servlet Spec before deep into webApp, which means ZK's core is "clean". And those Servlet stuffs ZK used are same to servlet Spec 2.2.

I have not really test it, but I hardly believe this wont be the problem to worry about.


PS: the vesion of ZK I readed is 2.3.1




link publish delete flag offensive edit

answered 2007-05-23 13:26:55 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: agodinhost


zany,
I tested ZK with Oracle OC4J and Oracle OPMN Release 2 (both uses Servlet spec
2.3) and ZK really don't work with these versions - the container is throwing exceptions trying to execute any servlet when it try to read the lang.xml file (zk 2.2.1). Don't seems to be a spec problem since the deployment was done okay after a few changes at the web.xml file.

I updated the wiki pages regarding about OC4J and OPMN.

thanks m8

Woody

link publish delete flag offensive edit

answered 2007-06-05 04:10:37 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: zanyking

Hi,

I found something in ZK/How-Tos could help you.

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

search "servlet 2.3" in page.

it was used on JBoss 3.2.2 + tomcat 4.1, but I think it's helpful.

1. follow the instruction to install ZK Ajax on tomcat 4.1.

2. Download the files:

bsh-bsf-2.0b4.jar
bsh-core-2.0b4.jar
bsh-2.0b2.jar
and copy them to the lib directory under default.

3. Change the web.xml so that it will fit servlet 2.3 specifications.


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: 2007-05-18 16:20:18 +0800

Seen: 274 times

Last updated: Jun 05 '07

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