• 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:

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 ?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic