Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing control from applet to servlet

 
christine clarin
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day,

I really hope you get to help me with my problem as i can't seem to return control to my servlet when using an applet in my jsp =( i recently downloaded a free applet from http://jumploader.com/ (it's an applet for bulk upload of images) and i can't seem to get the control back in my post in the servlet. this is what i did:


and this is what i tried in my jsp side:

1)


2)


3)



In 1 and 2, I can't even reach my BulkUploadServlet. In number 3 , i put an ok button and catch the click of this button in the servlet (i added the if(multi.getParameter("btnSubmit").equals("OK")) condition in my doPost code), I get the printouts of the log as given in the code (doPost) but the filenames are empty. I guess maybe this is because i'm just clicking ok but not the arrow sign in the applet which says upload. Wah! i'm really at lost here, i hope you help me =(

by the way, this is the directory structure of my files

src
-->servlets
------> BulkUploadServlet
WebContent
-->jsp
------> BulkUpload.jsp

[ November 30, 2008: Message edited by: christine clarin ]
[ November 30, 2008: Message edited by: christine clarin ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65220
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to use UBB code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.

You can go back and change your post to add code tags by clicking the .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic