aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 357
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
 
Similar Threads
Directory Structure JSP & JS
my jquery script is not executing
calling .js in jsp
JSON JQuery Grid Not getting value in JSP
what to do, if I get error `breaking on JScript rumtime error - object expected