Hi paul, thank u very much for the reply. i am working using the idea u suggested. now i need one more clarification from u. once my jsp receives the request from the hidden form element, is it possible to do the following: in my xml tags, i had mentioned two file paths:"C:\abc.txt" and "C:\fig.svg" now how can i write an JSP code that takes the data from the "abc.txt" file and applies that values on the "fig.svg" file. say for eg, "fig.svg" is a map of a country, whereas "abc.txt" is a text file that contains the names of the various states in that country with their population values. now i want to map the population values onto the svg map. how can it be done. some sort of sample code will be quite helpful. thanks in advance
I've never used Scalable Vector Graphics, so I can't help you with that part of it. However, if you are submitting two file names through a form, I assume you also want those files to be uploaded to your server? Or are they already there? If they are not, you would have to stream the contents up to your server and handle them there. You stream things up with an input form element of type "file", and you would handle the file with the usual java.io classes.