GeeCON Prague 2014*
The moose likes IDEs, Version Control and other tools and the fly likes JSPF file can not be included in JSP file and gives error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "JSPF file can not be included in JSP file and gives error" Watch "JSPF file can not be included in JSP file and gives error" New topic
Author

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

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 374
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 ?
 
GeeCON Prague 2014
 
subject: JSPF file can not be included in JSP file and gives error