• 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
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

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.
 
Getting married means "We're in love, so let's tell the police!" - and invite this tiny ad to the wedding:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic