Ido Barash
Ido Barash

Reputation: 5122

Spring mvc import simple html

I am using spring mvc. Now, I am trying to put inside my JSPs simple import to HTML file which contains the toolbar.

This tag does not seem to be working:

<jsp:include page="toolbar.html" />

I tried to put it in the root of the webapp folder (changed the path of the import of course), but still.. it did not work.

How do I do this?

Upvotes: 0

Views: 804

Answers (1)

Ido Barash
Ido Barash

Reputation: 5122

I solved it.

I had to add a method in the controller, since I used the jsp tag. It seems that the path was right but the jsp resource was never connected.

Thanks

Upvotes: 1

Related Questions