i use oreilly's com.oreilly.servlet.MultipartRequest for upload file ,and the code was write in a struts action:
in a jsp,the code is:
i need use request.getParameter in this jsp,so i can remeber what i have selected last time.. how can i use request.getParameter when there is enctype in form. because if there is enctype in form ,request.getParameter always return null.
If you'r eusing a 3rd-party library for the parsing, it usually has methods to get the parameters. If you're doing it yourself, it's tricky but doable. I did it with my upload web-app FileNabber - http://fn.filenabber.com
You should be able to look at the source of any of the 3rd-party libraries and see how they did it.