This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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: 386
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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSPF file can not be included in JSP file and gives error
 
It's not a secret anymore!