Is it possible to set session variables from javascript?
It’s not possible to set any session variables directly from javascript as it is purely a client side technology. You can use AJAX though to asyncronously… Cannot parse XML generated by JSP I am generating an XML using JSP, when i run the JSP in IE it shows the XML as per DOM, but when i try to parse it using Javascript , the command xmldoc.documentElement… This is working code I am using, it might help you. if (!isIE) xmldoc = req.responseXML; else { //IE does not take the responseXML as…
It’s not possible to set any session variables directly from javascript as it is purely a client side technology. You can use AJAX though to asynchronously send a request to a servlet running on the server and then add the data to the session from within the servlet. So you wouldn’t be using javascript to do the actual setting of session variables but it would look like it is.
It’s not possible to set any session variables directly from javascript as it is purely a client side technology. You can use AJAX though to asyncronously…
Cannot parse XML generated by JSP I am generating an XML using JSP, when i run the JSP in IE it shows the XML as per DOM, but when i try to parse it using Javascript , the command xmldoc.documentElement…
This is working code I am using, it might help you. if (!isIE) xmldoc = req.responseXML; else { //IE does not take the responseXML as…
Post Answer Answers to “Is it possible to set session variables from javascript?” :: Answer :: It’s not possible to set any session variables directly from javascript as it is purely a client side technology. You can use AJAX though to asyncronously… Cannot parse XML generated by JSP I am generating an XML using JSP, when i run the JSP in IE it shows the XML as per DOM, but when i try to parse it using Javascript , the command xmldoc.documentElement… This is working code I am using, it might help you. if (!isIE) xmldoc = req.responseXML; else { //IE does not take the responseXML as…