开发者

Including some static html files?

Where can we place static html files in our war file? For example, a default project has this:

war/projectname.html

I'd like to just make a few static folders with static pages that are like:

war/projectname.html
war/signup/index.html
war/about/index.html

so that my users can just hit those static pages like:

www.myproject.com/signup
www.myproject.com/about

where would I put folders like that in our project tree? I tried putt开发者_如何学运维ing them under war/, just beside projectname.html (like above), but they don't seem to be available there, I just get a 404 error,

Thanks


This works fine as pointed out by Igor Klimer, I had a Filter enabled which was messing up the routing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜