• 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

JSPF file can not be included in JSP file and gives error

 
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using following code in Eclipse IDEI have included navigation.jspf as shown in red code. But I am getting following error "Multiple annotations found at this line:
- Fragment "/navigation.jspf" was not found at expected path /JSPFTest/WebContent/navigation.jspf
- Fragment "/navigation.jspf" was not found at expected path /JSPFTest/WebContent/navigation.jspf"

While navigation.jsf is located in " C:\Users\jignesh\Desktop\eclipse output\JSPFTest\WebContent\" path.

I get following error when I use absolute path

"Multiple annotations found at this line:
- Fragment "C:\Users\jignesh\Desktop\eclipse output\JSPFTest\WebContent/navigation.jspf" was not found at expected path /JSPFTest/WebContent/Users/jignesh/Desktop/eclipse output/JSPFTest/WebContent/navigation.jspf
- Fragment "C:\Users\jignesh\Desktop\eclipse output\JSPFTest\WebContent/navigation.jspf" was not found at expected path /JSPFTest/WebContent/Users/jignesh/Desktop/eclipse output/JSPFTest/WebContent/navigation.jspf"

PLease let me know, whats wrong with this code ? WHy is itr giving this error when I am using absolute path ?
reply
    Bookmark Topic Watch Topic
  • New Topic