This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have written a JSP for File Upload which has a form element <"FORM ENCTYPE="multipart/form-data"> <input type="submit" name="option" value="upload"> <input type="submit" name="option" value="check-in"> </form> the problem is now. i want to check which button is clicked. by request.getPArameter("option"); however. it does not return any value since the enctp is mulipart/form. Can anyone please let me know how can i check which button is clickd? Reggards,
Originally posted by srilatha reddy: within jsp scriplet write request.setAttribute("todo","upload");
in onclick event
That would be pointless. The onclick event is fired on the client as a Javscript event. Any scriptlet "embedded" in it would have been executed on the server before the page was even sent to the browser. [ March 01, 2006: Message edited by: Bear Bibeault ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com