0

After adding ZK to pom, / now gives 404 index.zul not found

asked 2016-11-25 11:55:18 +0800

Nikorag gravatar image Nikorag
1

First time posting here so I hope you can help

I have an existing Spring MVC project I wanted to add ZK too. I've got that working fine and my Controllers which route to zul files render perfectly. Unfortunately after adding ZK to my pom file my requestmapping annotation for "/" no longer works. My homepage which worked previously now says:

HTTP Status 404 - /index.zul

I haven't made any changes to my web.xml or anything, just added ZK to my pom.

Any advice how to stop this behaviour

Thanks in advance

Jamie

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-11-26 08:46:43 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Nikorag,

Yes you have to do some updates to your web.xml

Please refer to the following documentation:

https://www.zkoss.org/wiki/ZK%20Configuration%20Reference/web.xml/Sample%20of%20web.xml

Best Regards,

Darksu

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

Follow
2 followers

RSS

Stats

Asked: 2016-11-25 11:55:18 +0800

Seen: 29 times

Last updated: Nov 26 '16

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