0

Embedding zk in html page

asked 2010-06-08 07:34:43 +0800

techvts gravatar image techvts
120 2 5

Hi Techs,

Just wondering if someone has experience in embedding ZK script in HTML pages? I want my ZK project to have URL like login.html or index.html something like this. Do anyone has experience in this?

Any help is much appreciated. Thank you in advance.

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-06-08 07:40:03 +0800

mjablonski gravatar image mjablonski
1284 3 5
http://www.jease.org/

Hi,

you can simply configure it in your WEB-INF/web.xml:

http://docs.zkoss.org/wiki/Developer_reference_Appendix_A._WEB-INF/web.xml_Sample_of_web.xml

Have a look for the servlet-mapping for "*.zhtml" and change it to "*.html", that's it.

Cheers, Maik

link publish delete flag offensive edit

answered 2010-06-08 07:54:34 +0800

techvts gravatar image techvts
120 2 5

Thanks Maik,

I did changes in web.xml as you asked. But not sure how it will change. Can i use <html> </html> in my .html page? and zk code inside?

link publish delete flag offensive edit
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: 2010-06-08 07:34:43 +0800

Seen: 280 times

Last updated: Jun 08 '10

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