I have a situation where I have an html help file that is located external to my application. The location and name of this file is held in a database. I want to use the s:include tag to include the html file in a
jsp where the associated action reads the table, pulls the help file and location and assigns it to a property, then use the property in the s:include tag.
Works Correctly: The action sets helpFileLink = "c:/AIPP/ApplicationProperties/SccfOperationsHelp.html"
Works Correctly: The JSP sets linkValue = helpFileLink
When I run the code above it throws an exception because s:include adds a relative path to the link:
com.ibm.ws.webcontainer.exception.IncludeFileNotFoundException: SRVE0190E: File not found:
/pages/c:/AIPP/ApplicationProperties/SccfOperationsHelp.html
How do I reference a file outside the application? Or, how do I remove the relative part of the path that is automatically added by the include tag?
Any help is greatly appreciated.