• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic