Randie, This doesn't answer your question, but you should know that using backslashes in this way is not a good idea. It will only work when your Servlet is running on a Windows OS. It will fail on all kinds of Unix systems and on MacOS X (which is a Unix system--FreeBSD, specifically).
If you want a better choice, use forward slashes, because they work on most extant systems, including Windows. (To my knowledge, only MacOS Classic uses something different, but in that case the JVM handles forward slashes as an equivalent to the native separators--that's largely irrelevant because that JVM is pre-Java2 and will stay there). If you want maximum portability (and you should want maximum portability), you should expunge all such literal file name and path separator characters from your source code and replace them with references to one of these: - java.io.File.pathSeparator <http://java.sun.com/j2se/1.3/docs/api/java/io/File.html#pathSeparator> - java.io.File.pathSeparatorChar <http://java.sun.com/j2se/1.3/docs/api/java/io/File.html#pathSeparatorChar> - java.io.File.separator <http://java.sun.com/j2se/1.3/docs/api/java/io/File.html#separator> - java.io.File.separatorChar <http://java.sun.com/j2se/1.3/docs/api/java/io/File.html#separatorChar> - java.io.File <http://java.sun.com/j2se/1.3/docs/api/java/io/File.html> The best way to deal with the tedium of this practice is to write some utility routines that suit the kinds of file name and path manipulation you use most commonly. Randall Schulz Mountain View, CA USA ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
