This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
doesn't actually 'call' the jsp, the innerHTML property just takes this as a string literal, so that is why you are seeing the string /BatchJobControl.jsp
the resulting html would simply look something like this
I'm not too sure if what you are attempting is possible in such a simple way, I would suggest using an iFrame and set the window.location = "....../BatchJobControl.jsp" for it, or, pull the html of the server in the form of a string using ajax and then use the innerHTML property to place that string inside the selected element (this is what I do but I don't use a jsp, I build the string directly)
when in doubt put it in parenthesis and stick a dollar sign in front of it, only good can come from this.
When i just include the page .. the included page's onLoad event is not getting fired? even if i use Ajax the onload in not getting fired.
How do i fire the onload event of the included page...
Joined: Nov 08, 2001
The main jsp in which i am including child jsp is under a particular tab. and when i navigate between tabs the iframe(present in main jsp) is loading the child jsp again. I dont want to load the page even if navigate between tabs thats the reason i dont want to use iframe.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com