• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

include navibar from external XHTML file

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let's assume following situation:

_template.xhtml====================


home.xhtml========================

def_navi.xhtml==========================




As you can see I would like to load menu from def_navi.xhtml. When I would like to load main page (home.xhtml is my main page) in internet browser I have info:


When I check logs I found:



I thing that also file structure could be helpful

web
-templates
--_template.xhtml
-views
--def_navi.xhtml
-WEB-INF
--home.xhtml
--index.jsp

I don't undertand Tomcat logs, because def_navi.xhtml and _templete.xhtml are in diffrent directories.

I will be very greatful for your help. I read some articles and tutorials and I don't know why this simple example doesn't work.
 
We don't have time for this. We've gotta save the moon! Or check this out:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic