regarding-update the Jsp page itself
Joined: Aug 17, 2009
Messages: 12
[Post New]posted Today 10:39:52 PM
Quote Edit [Up]
I have two Jsp pages named bestschool.jsp and schoolnames.jsp.
I am calling schoolnames.jsp from bestschool.jsp.
I want when I click the link on INDUS School. It can show all concerning link of INDUS School links like profile, result, facility etc. in the same place instead of other naming school links.
my requiremet main is i want to update the information on same Jsp page.
How can I implement this with in Servlets/Jsp.
Please review below JSP?s files
schoolnames.jsp
<table width="200" border="0" align="center" cellpadding="5">
<tr>
<td height="100" bgcolor="#476bc0">
<div align="center" class="boldhead"><font size="+1">
School list</font></div>
</td>
<tr>
<td height="30" bgcolor="#5577C6">
<a href="" class="smalltext">INDUS School</a></td>
</tr>
<tr>
<td height="30" bgcolor="#728DCF">
<a href="" class="smalltext">Vaise School</a>
</td>
</tr>
<tr>
<td height="30" bgcolor="#728DCF">
<a href="" class="smalltext">D.G.V School</a></td>
</tr>
<tr>
<td height="30" bgcolor="#728DCF">
<a href="" class="smalltext">D.P.S School </a></td>
</tr>
bestschool.jsp
<html>
<head>
<title>Best school</title>
<link href="mystyle.css" rel"stylesheet" type="text/css">
</head>
<body>
<div align="center"><font size="+2">
Best Schools in Rohtak</font>
</div>
<table width="700" height="500" border="0" align="left"
cellspacing="0">
<td width="200" rowspan="2" valign="top">
<%@ include file="schoolnames.jsp" %>
</td>
<td height="328" bgcolor="#476BC0" valign="top">
<p> </p><p> </p><p> </p>
</html>
please suggest.
View Answers
Related Tutorials/Questions & Answers:
regarding-update the Jsp page itself - JSP-Servletregarding-
update the
Jsp page itself
Joined: Aug 17, 2009
Messages: 12
[Post New]posted Today 10:39:52 PM
Quote Edit [Up]
I have two
Jsp... is i want to
update the information on same
Jsp page.
How can I implement
Advertisements
jsp page - JSP-Servletjsp page what are elemets and template data in
jsp page?? Hi Friend,
Template Data is a parameterized content that allows the
JSP document to generate a response stream of characters.
JSP Elements provides
jsp pagejsp page <%@
page contentType="text/html" pageEncoding="UTF-8"%>...;%@
page import="java.sql.Statement"%>
<%@
page import="java.sql.DriverManager"%>
<%@
page import="java.sql.Connection"%>
<%@
page import
jsp pagejsp page <%@
page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Easily create JSP pageEasily create
JSP page Hi,
How I can easily create
JSP page? Where to run the
JSP page easily?
Thanks
Hi,
JSP stands for Java Server Pages and its easy to create a simple
JSP page.
Check the tutorial: How
The Page Directive in JSP Page
The
Page Directive in
JSP Page
... of the
JSP page which works for the entire
JSP page. These directives
apply different... and explanation one-by-one. This is the directive
of the
JSP page which defines
jsp page submittingjsp page submitting whenever i am submitting the
jsp page it downloads some unknown file on tomcat server
export jsp page - JSP-Servletexport
jsp page i want to export
jsp page in word and pdf format... code that export my
jsp page in word and pfd format.... Hi Friend,
Try the following code:
1)pdf.jsp:
Name
Address
Contact
JSP error page - JSP-ServletJSP error page Hi i have 1000 of
JSP. but we coded it without adding the .
but now i have to forward the
page to the specific
page when the exception occured in
JSP. is there any short cut i can do? do not want to add this line
refresh jsp page - Ajaxrefresh
jsp page Code for refresh a web
page in
jsp. Hi friend,
function refreshpage()
{
window.location.reload
JSP Hindi Page - JSP-ServletJSP Hindi Page I need to provide users with option to print a Certificate in English or Hindi. This is an html
page generated by
JSP Code. Depending upon the button clicked english or hindi version of the Certificate should
Unable to execute JSP page folder.
But I could not execute the
JSP page. Please help me...Unable to execute
JSP page I have written one
jsp file. It contains html tags and
jsp directives. I have saved the file with the extension .
jsp Search Page in jspSearch
Page in jsp search
page in
jsp
Please go through the following links:
http://www.roseindia.net/
jsp/user-search.shtml
http://www.roseindia.net/servlets/search.shtml
jsp login pagejsp login page hi tell me how to create a login
page using
jsp and servlet and not using bean... please tell how to create a database in sql server... please tell with code
Search page form in jspSearch
page form in jsp search form in
jsp
Please go through the following links:
http://www.roseindia.net/
jsp/user-search.shtml
http://www.roseindia.net/servlets/search.shtml
Page object - JSP-ServletPage object Hello friends,
How can we make use of
PAGE object of implicit
JSP object. If this is possible explain me about....... Hi friend,
Implicit Objects in
JSP are objects
jsp page tags - JSP-Servletjsp page tags Hi,
Can anyone please explain me how to use Pager tags (http://jsptags.com/tags/navigation/pager/index.jsp).
After getting the data from the database, how should we use that in these tags.
Can you please
JSP page directive tagJSP page directive tag What is
page directive tag in
JSP?.
Hi,
The answer given below:ADS_TO_REPLACE_1
The
page directive applies to an entire
JSP file and any of its static include files, which together are called
Sorting a jsp page. - JSP-ServletSorting a
jsp page. Hi there,
It's me again. I tried to use Ajax... is process the code in the servlet. Here's the code in the
jsp below:
JSP Page
Universal Books Home
Page list to be displayed in jsp page.list to be displayed in
jsp page. Can any one help me? Am developing the code in struts.I have a list in action class that has to be printed in the dropdownlist in another
jsp page.Please help me in the code..
Thank u
jsp login pagejsp login page Hi All,
can any one tell me how to create Login
page using
JSP and Beans. A simple log in
page.
Please reply ASAP.ADS...:ADS_TO_REPLACE_2
JSP Login Using Bean
Thanks
Hi,ADS_TO_REPLACE_3
JSP Page DirectiveJSP Page Directive Defined
JSP Page Directive ?
The <%@
page %> directive applies to an entire
JSP file and any of its static... is a file whose content becomes part of the calling
JSP file.The <%@
page %>
page refresh - JSP-Servletpage refresh Hi All,
I've done a login application using Ajax. I wrote
jsp page having sign in option. when i click the sign in,pop up window... up window has to close and
jsp page has to refresh.
how can i solve
Forward a Jsp PageForward a
Jsp Page
In this example program we will show you how to use the <
jsp:forward tag in
your
jsp program.
The <
jsp:forward tag is used... is the use of <
jsp:forward tag:
<
jsp:forward
page="
JSP LOGIN PageJSP LOGIN Page sir....i have two user types usercategory and user and both user have userid and password in two different table and now i am making login
page for which i have to retrieve usertype,userid and password from two
download or save jsp pagedownload or save
jsp page hii..,
this is my
jsp page .. This
page is theater ticket. i want to download this
page. so i need to save this
page...="text/html" pageEncoding="UTF-8"%>
JSP Page download or save jsp pagedownload or save
jsp page hii..,
this is my
jsp page .. This
page is theater ticket. i want to download this
page. so i need to save this
page...="text/html" pageEncoding="UTF-8"%>
JSP Page JSP Error Page
JSP Error
Page
JSP Error
Page is used to specify the custom... the use of errorPage attribute of the
page
directive in
jsp. This attribute
jsp page authentication panel using jsp/servlet?jsp page authentication panel using
jsp/servlet? I have 10
jsp jsp forms and 7 users and i want to grant variour permission like edit,delete
and save for users dynamically on forms.So please refer me code
Switch case in Jsp page using switch case in
jsp page...Switch case in
Jsp page <table>
<tr><td>Enter Distance :</td>
<td><input type="text" name="dis"/></td>
Jsp include page problemJsp include
page problem I have included footer.jsp in all my pages. It is working in all pages except search.jsp. In search.jsp (Old footer.jsp content is displayed ) How can I rectify this?
Hi,
You have to delete
How To Include Two Jsp page in another jsp page?How To Include Two
Jsp page in another
jsp page? I use following code to Include Two
Jsp Page Header and footer
<%@include file="header.jsp... in
page
How can i Display at correct position?
Please visit
.xhtml or .jsp page in a jsf project.xhtml or .
jsp page in a jsf project in a jsf project which pages should i use, .
jsp or .xhtml? and why ? what are adventages or dis adventages
jsp and xhtml pages. thanks
jsp page to Showuser detailsjsp page to Showuser details SHOWUSERS.JSP:
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts..." prefix="logic" %>
<%@
page contentType="text/html" pageEncoding="UTF-8"%>
embed ganttChart on JSP page embed ganttChart on
JSP page How I can embed ganttChart on
JSP page ??? Im already created ganttChart by using this example:
To create a simple Gantt chart, try the following code:
import java.awt.Color;
import
JSP Page ErrorJSP Page Error Hello Sir.
I m using Oracle 10g as a database n... i run
jsp page on the browser it only shows the code nothing else..
I have...;/html>
2) insert.jsp
<%@
page import="package oracle.jdbc.driver;" %>
JSP Page ErrorJSP Page Error Hello Sir.
I m using Oracle 10g as a database n... i run
jsp page on the browser it only shows the code nothing else..
I have...;/html>
2) insert.jsp
<%@
page import="package oracle.jdbc.driver;" %>
JSP Page ErrorJSP Page Error Hello Sir.
I m using Oracle 10g as a database n... i run
jsp page on the browser it only shows the code nothing else..
I have...;/html>
2) insert.jsp
<%@
page import="package oracle.jdbc.driver;" %>
How to make first JSP page?How to make first
JSP page? Hello,
How I can make first
JSP page.... You can do it manually by creating a web application and then write
jsp page... tutorial:
How to make my first
JSP page?
Thanks