I am moving the files from one directory to other directory. After moving the files I want to give the message to the user that how many files are moved.To display this message how to send a parameter from Action Class to Jsp file? Just like response.sendRedirect("../admin/HRMAdmnShowTrgAgencyDetails.jsp?reg="+mode+"");
Then it seems that u r not that perfect with the concepts of request and all .u need not sent it as query string .u can set that count in request scope and u can access it in ur jsp to display the information.Hope u r getting me .
Joined: Aug 27, 2003
Thanks Srinath, You are correct..I didn't work on Request objects earlier. You mean to say that that count will add to the Request Object and take that value in View (JSP) and will display there. May be I have to check the request object for not null and will display the count and have to remove that variable as the same jsp has to be displayed before and after moving files. If you are having that code sample can you post here? Thanks in Advance