Re: How to specify windows user in runtime in tomcat?

2007-12-14 Thread nitin403
AIL PROTECTED] >>> >>> >>> >> >> Thanks for your help Juha Laiho. >> >> The reason for my asking this question was that every time I deploy this >> servlet on any system then I have to always make the tomcat to with the >> user. &g

Re: How to specify windows user in runtime in tomcat?

2007-12-14 Thread br1
t every time I deploy this > servlet on any system then I have to always make the tomcat to with the > user. > > Is there no other way in java to read a file. > > Thanks for your help in advance. > > -- View this message in context: http://www.nabble.com/How-to-specify

Re: How to specify windows user in runtime in tomcat?

2007-12-10 Thread nitin403
user. Is there no other way in java to read a file. Thanks for your help in advance. -- View this message in context: http://www.nabble.com/How-to-specify-windows-user-in-runtime-in-tomcat--tp14247742p14268008.html Sent from the Tomcat - User mailing list archive at Nabble.com. -

Re: How to specify windows user in runtime in tomcat?

2007-12-10 Thread Juha Laiho
nitin403 wrote: > I have create a servlet which needs to read a file on a share folder. > When I run tomcat service as anonymous it is not able to access read this > file. > But when I run tomcat service as a user who as access to this file, then it > runs fine. > > My Question is, is it possible

How to specify windows user in runtime in tomcat?

2007-12-09 Thread nitin403
similar to this in servlet code at run time for running the servlet in tomcat. Thanks for your help in advance. -- View this message in context: http://www.nabble.com/How-to-specify-windows-user-in-runtime-in-tomcat--tp14247742p14247742.html Sent from the Tomcat - User mailing list archive at