Results 1 to 4 of 4
Thread: JSP include dynamically
- 04-21-2012, 07:57 PM #1
Member
- Join Date
- Apr 2012
- Posts
- 2
- Rep Power
- 0
JSP include dynamically
I am new to JSP/Servlet. I am developing a website using jsp/servlet. I have developed it using jsp:include. I want to change the middle portion of my page , so that the header, menu bar and footer would not reload. I have designed the head, menu bar and footer in different jsp pages and included them. What should I do? Please help me as my project dead-line it knocking at the door.
- 04-23-2012, 05:54 AM #2
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 696
- Rep Power
- 6
Re: JSP include dynamically
I think you can do that, because jsp:include is done on the server side. All you get at the browser side is the full page that contains header, menu and the main page. If you want to update only the main content you need to do some ajax programming in there. So that you can update only a portion of your page without reloading the whole page.
Website: Learn Java by Examples
- 04-23-2012, 09:07 AM #3
Re: JSP include dynamically
Moved from New to Java
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 04-23-2012, 06:24 PM #4
Member
- Join Date
- Apr 2012
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
May in an <iframe> include any server side page? If yes in a cfm page may include a J
By lse123 in forum New To JavaReplies: 0Last Post: 03-02-2010, 08:28 AM -
include-prelude/include-coda
By devin in forum Java ServletReplies: 0Last Post: 02-11-2009, 07:33 PM -
jsp:include in a sql:transaction
By sam2020 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 07-31-2008, 08:11 PM -
<jsp:include> Vs <%@include> Vs <jsp:forward> Vs RequestDispatcher .forward/includeVs
By freddieMaize in forum Java ServletReplies: 5Last Post: 07-29-2008, 02:13 PM -
jsp:include and include file
By Heather in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 07-14-2007, 04:19 PM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks