file path how to show in unix?

hi,

i am succesfully uploading images in windows operating system.

while trying same code with unix i am getting error.

any one knows how to solve this problem

-

in windows

String path="C:\\jboss-4.0.4.GA\\server\\default\\deploy\\jbossweb-tomcat55.sar\\ROOT.war\\upload_files";

// this path working well with windows

in unix

String path="//usr//local//jakarta-tomcat-5.5.9-public//webapps//testApp//upload_files";

thanks

sai

[498 byte] By [saireddydevi@yahoo.coma] at [2007-10-2 23:59:53]
# 1

First of all, you only use double slashes in windows paths (because the backslash it is actually an escape character), use single slashes in unix type paths.

Does the user that the tomcat server is running under have access to the given directory?

Does the given directory actually exist?

what exception are you getting?

gimbal2a at 2007-7-14 16:47:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...