How do I set the file path using hidden field: When the user clicks browse the full file path is displayed in the file box: <html:file property="mainFile"/>
So how do i set the value in te above hidden field? Previous post:Hi Swetha ...As u need to get the path of ur file .. hence ur executing it in the local sys ... u can approach in a diff way .. i mean put the path in hidden field of front end and retrive it ... (or) append that path to the file name with some tokenizer and retrive it in the action class ,and split it using the String tokenizer .. so that u can have name as well as path in two diff strings ...
View All Comments
| View Tutorial