How would the url look if I'm trying to .load() a file in WebContent/WEB-INF/jsp/jsp2.jsp from a file in WebContent/js/jsFile.js
I've tried
"../WEB-INF/jsp/file.jsp"
"/WEB-INF/jsp/file.jsp"
"WEB-INF/jsp/file.jsp"
"/jsp/file.jsp"
"jsp/file.jsp"
Edit:
$("#Submit").live({
click: function(){
$("#listView").fadeOut(1000, function(){
});
$("#screenView").load({
url: "../WEB-INF/jsp/jspFile2.jsp",
complete: function(){
alert("completed");
}
});
}
});
This is the code I'm using to load from WEB-INF/jsp/jspFile1.jsp.. It's not rendering the jspFile2.jsp in the screenView div as I was expecting..
the div screenView and listView are siblings.
Thanks,
wenn