Now i want to pass this "filename" as hidden to servlet from jsp with contents. I have declared a hidden variable in jsp and try to assign the "filename" to that variable it is passing only filename but not contents available inside the file.
Please suggest me how to pass the filename+contents to servlet from jsp.
However, there are restrictions. You will only get a hold of the filename, not the filepath. This is somewhat in terms of confidentiality. I wouldn't want everybody to know about my directory structure.
JDBCSupport - An easy to use, light-weight JDBC framework -