This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i am facing a problem in accessing Remote files. My application has developed in java as well as in .net. from .net side the users selects some images and stores in the particular location say Images folder. now i want to access that image folder from our java. in jave i am using jsp and servlets. i am using Tomcat as our web server and .net application is working on IIS server. Both are in different locations. i want to show the images selected by users in my web application dynamically when the user access my web application. i am not able to find the format of the image. the image is either jpg or gif or png or bmp. i am getting just image name from the MSSQL excluding the image format. Please help me in this. How to solve this problem?
Thanks for answering my problems. For the .net side people the folder is local to them. They retrieving the image name from the DB and checking with the files which are in the folder. They are taking that files in an array and iterating with the image name by giving the file extensions. if anything is matching they are simply placing the image. where as for us it is different machine. i think my webserver should talk to IIS server.