Results 1 to 2 of 2
Thread: JSP + jquery ...
Hybrid View
-
4th May 2010 08:37 #1
JSP + jquery ...
,
JSP Jquery, , ...
, , Spring framework - .. 15 .
OpenLayers, jquery .. , , - 302 moved temporarily, - 200 .
200- , . ...
ajax ..
, , 200Code:function checkSession() { var xhr = $.get("getTrackingPositions.action", function(data) { if (xhr.getResponseHeader('Location') != null) { alert("Sorry, your session has expired."); window.location.reload(); } else { return initiateTracking('historic'); } }); }
200, , ...
firebug-a , , jsp, .. login.jsp...
Code:GET http://localhost:8080/map/getTrackingPositions.action 302 Moved Temporarily 11ms GET http://localhost:8080/jsp/login.jsp 200 OK 13ms ---- POST http://localhost:8080/map/getTrackingPositions.action 302 Moved Temporarily 10ms GET http://localhost:8080/jsp/login.jsp 200 OK 12ms
login.jsp, 302 -... , .
, ??? ... , -...
!!!
' ... ! - ... !
-
4th May 2010 08:54 #2




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in