java - how to know the correct path of my file in web service ( File Exception ) -
i working java web service, service includes methods should read data file, , client of service has send path of file string, when try , send path, got trouble , error was:
readfile.client.ioexception_exception: src\rm.txt (the system cannot find path specified) ( file exist in src folder - source code folder -
is there suggestion?
thanks
put file in web-inf , can access "filename".
but add method witch let client know files available , return path server, not affect client if change name or other things.
Comments
Post a Comment