This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't get the selected value of select in JSP

 
Sapumal Bandara
Ranch Hand
Posts: 31
Android Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys, I was assign to create a small web app to upload a file, along with a combo box to select some category. File uploads perfectly. But I cannot catch the combo box value.. where should I put "request.getParameter("categories")" in my servlet.. any help much appriciated..

Servlet





Index




Regards,
Sapumal.


 
E Armitage
Rancher
Posts: 989
9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You already have if (!item.isFormField()) which gets the file, the else part would be

 
Sapumal Bandara
Ranch Hand
Posts: 31
Android Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Armitage, Thanks a lot man! it worked..


Regards,
Sapumal.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic