hi,
I would like t create a directory on the server in a servlet.Is it poosible to create directory on the server at a specific location.
I am new to java Could any tell me how to create directories and files using java
Thanks,
Thanks ,it works.Is itpossible to load a image file from client side to server.
I ahve a file type in html and when i say getparameter i get the path of the image.
Will putting this path in file objcet create the image file on server.
please let me know if it is possible to create a file on server i man image.(upload a image file)
thanks
Hi,
It is a html form which points to a servlet on tomcat server.
In the html form i have a <input type="file" name="ftype">
when the form is submitted and when i say
String st=req.getParameter("ftype");
This give the path of the iamge on the client lcoal system.
how can iload this image to the tomcat server in a specify directory.would it be the file class or somethg else
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.