bob,
Thank you very much, i will be try it. :)
Cheers,
Neil
On Oct 31, 2:03 am, bob wrote:
> when moved the file from /resources/foo.xml to /foo.xml (in the same
> path as index.html), it now finds it. i guess getResourcePaths() and
> getResourceAsStream() don't necessarily look in the s
when moved the file from /resources/foo.xml to /foo.xml (in the same
path as index.html), it now finds it. i guess getResourcePaths() and
getResourceAsStream() don't necessarily look in the same place.
On Oct 30, 1:58 pm, bob wrote:
> i had call to do something similar, and here's the code. i'm
i had call to do something similar, and here's the code. i'm sure
someone smarter could replace the for comprehension with filter().map
()
def getPaths(prefix : String) : Set[String] = {
// Resource Paths as an Array[Object]
var jpaths =
S.servletSession.open_!.getServletContext.getReso
Thank you very much !
I will be try it.
Cheers,
Neil
On Oct 29, 11:50 am, David Pollak
wrote:
> The best you can hope for is to try to access the
> ServletContext:http://tomcat.apache.org/tomcat-5.5-doc/servletapi/index.html
>
> Specifically, the getResourcePaths
> call:http://tomcat.a
The best you can hope for is to try to access the ServletContext:
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/index.html
Specifically, the getResourcePaths call:
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/ServletContext.html#getResourcePaths%28java.lang.String%29
On