Header, footer and navigation menu in jsp

hi friends i created home.jsp page and this is my index page when i am trying to create footer part for this i included header contribution and hst:include tag and added footer code into base-footer.jsp file, see attachment but i am not getting footer in home.jsp page any seetings need to do?? or any other procedure to follow ??

Mahesh919616

    July 27

hi friends i created home.jsp page and this is my index page when i am trying to create footer part for this i included header contribution and hst:include tag and added footer code into base-footer.jsp file, see attachment but i am not getting footer in home.jsp page any seetings need to do?? or any other procedure to follow ??

You should follow getting started tutorial. Most of your questions are already answered there.

https://www.onehippo.org/trails/getting-started/hippo-essentials-getting-started.html

thanks for your reply

i am asking for jsp template not ftl and i added separate jsp file and root node pointed to this newly created jsp file for this file i am trying to create footer for this

it doesn’t matter which templating language you are using, concepts are the same and nicely explained in getting started tutorial.

Most likely you haven’t done the component configuration. As has been stated, please look at out tutorials, they walk you through many basic steps.

hi jasper.floor thank you very much for your valuable replay

i did component configuration but i created my own node named it as home and this home node has reference component to simplecomponent.java class as shown in attachment 1 and to have base page layout the reference component should have abstractpage/base property like in attachment 2.

but here in my case if i refer base i miss simplecomponent reference how should i include both the references ?? i want base page layout also and somplecomponent reference also when i check multivalue check box getting error its shown in attachment 3. I am not getting solution for this please help me jasper thank you

you cannot reference multiple components. You can add component classname to it.

Please spend some time and learn the basics described in “Getting started” guide, as already suggested,
using trial and error tactics is frustrating for both, you and us.