Hi...
I'm new here! does someone know how can i get a javascript variable from jsp?
I've tried some ways but no one works! :icon_sad:

please help!

Add a hidden field and modify the value from Javascript. Then you can extract the values using request.getParameter()

yes... that's a good idea but i guess i've a problem!
the form is multipart/form-data and i can't get the value via "request.getParameter()"

yes... that's a good idea but i guess i've a problem!
the form is multipart/form-data and i can't get the value via "request.getParameter()"

when i do it... it returns null!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.