• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Javascript Parameters --> Servlet

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey all

I could need a little help with my stuff thats going on here. I cant figure out, why i cant send 2 parameters from my javascript to one servlet and on the other hand its working for another servlet everything from ONE and the SAME jsp..here is the jsp:



This jsp is reading all the files out of a bean and shows em in one table. Its part of a Fileupload / Download + MySQL..some sort of Documentmanagementsystem. The setCMD2 function is working...there you can see, that i got 3 parameters. But the setCMD isnt working..its only working for the filename..if it try to send the fileextension as a paramter to the _Download Servlet..everything crashes...

Any help would be really cool


TIA

Pascal


P.S.: Had to rename o n Click() to on_Click()..board said so
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
there is no hidden field in the form for "fex"
put it in below the other hidden-fields and it should work.

Mike
 
Baka Neko
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hooray

Its working now for me..many thx!!!

Greetz

Pascal
 
reply
    Bookmark Topic Watch Topic
  • New Topic