The File.seperatorCharacter should be used to handle any differences in
the character used to separate a path.

Alan Sparago
[EMAIL PROTECTED]
602 494 9596


-----Original Message-----
From: Steven J. Owens [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 16, 2002 7:50 AM
To: Tomcat Users List
Subject: Re: Servlets: Differences between Linux and Windows?

> >>> [EMAIL PROTECTED] 10/16/02 08:29 AM >>>
> Hi! I'm having some problems running servlets in Tomcat 4.1.12 under
> Linux RedHat 7.3
> I've done a simple servlet and I was running it in Tomcat 4.0.4 under
> Win98 without problems.  If I copy the folder "mySimpleServlet" from
> windows tomcat webapps folder to linux tomcat webapps folder and start
> linux tomcat, then the application works, but the servlet does not.
> It says: "the requested resource (.....) not available"
> 
> Are there any differences in configuration under linux? (in the
web.xml
> or the server.xml).

On Wed, Oct 16, 2002 at 08:43:25AM -0600, Larry Meadors wrote:
> Do you have different cases in file/dir names - myfolder, MyFolder,
and
> myFolder are all the same in Win32, but all are different in
linux/unix.

     Also the file path separator (it's / under linux, but \ under
windows).  On a project I was on last year, we were building an app to
run on Solaris servers, but I was the only guy working & testing under
Solaris.  The rest were under windows.  These were sharp programmers,
but it was quite typical for me to do a CVS update, get their new
code, and have it break in mysterious ways because of either
foreslash/backslash issues or filename case issues.  It's very easy to
slip into.

Steven J. Owens
[EMAIL PROTECTED]

"I'm going to make broad, sweeping generalizations and strong,
 declarative statements, because otherwise I'll be here all night and
 this document will be four times longer and much less fun to read.
 Take it all with a grain of salt." - Me

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to