• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

How to login to a machine ?  RSS feed

 
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I have a set of images on a machine (windows machine) on my Intranet. Let me refer this machine as 'A'.
I have an application Hosted on Tomcat on another Machine (windows machine). Let me refer this machine as 'B'.
Now i have the Java code to retrieve the images from A to B. But as a pre-requisite i need to 'Login' to A before i run the java code. If i dont login, i get the below mentioned error:
java.io.FileNotFoundException: \\192.168.2.171\images\4d_H.gif (Logon failure: unknown user name or bad password).
Can I login using My java application rather than manually login ( I know the login credential to this machine). Is there any means to specify my Login credentials via my java application?
Please help me out.
Thanks,
Sajee Joseph
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!