473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how can i update 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
Expand|Select|Wrap|Line Numbers
  1. #    
  2. # <table width="200" border="0" align="center" cellpadding="5">  
  3. # <tr>  
  4. # <td height="100" bgcolor="#476bc0">  
  5. # <div align="center" class="boldhead"><font size="+1">  
  6. # School list</font></div>  
  7. # </td>  
  8. # <tr>  
  9. # <td height="30" bgcolor="#5577C6">  
  10. # <a href="" class="smalltext">INDUS School</a></td>  
  11. # </tr>  
  12. # <tr>  
  13. # <td height="30" bgcolor="#728DCF">  
  14. # <a href="" class="smalltext">Vaise School</a>  
  15. # </td>  
  16. # </tr>  
  17. # <tr>  
  18. # <td height="30" bgcolor="#728DCF">  
  19. # <a href="" class="smalltext">D.G.V School</a></td>  
  20. # </tr>  
  21. # <tr>  
  22. # <td height="30" bgcolor="#728DCF">  
  23. # <a href="" class="smalltext">D.P.S School </a></td>  
  24. # </tr>  
  25.  
bestschool.jsp
Expand|Select|Wrap|Line Numbers
  1.    1. <html>  
  2.    2. <head>  
  3.    3. <title>Best school</title>  
  4.    4. <link href="mystyle.css" rel"stylesheet" type="text/css">  
  5.    5. </head>  
  6.    6. <body>  
  7.    7. <div align="center"><font size="+2">  
  8.    8. Best Schools in Rohtak</font>  
  9.    9. </div>  
  10.   10. <table width="700" height="500" border="0" align="left"   
  11.   11. cellspacing="0">  
  12.   12. <td width="200" rowspan="2" valign="top">  
  13.   13. <%@ include file="schoolnames.jsp" %>  
  14.   14. </td>  
  15.   15. <td height="328" bgcolor="#476BC0" valign="top">  
  16.   16. <p> </p><p> </p><p> </p>  
  17.   17. </html>      
  18.  
please suggest.
Mar 10 '10 #1
0 1356

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Craig Keightley | last post by:
I need to create a form using multiple quantities that can be updated by one single update. eg: (HTML PAGE) <form method="post" enctype = "multipart/formdata"> <? do { ?> <?php echo...
2
by: Tommy | last post by:
Is it possible for a webpage to update itself based on what is present on another page. By this I mean that if the contents of page #2 is changed, then page #1 will load with the new information...
2
by: Richard Cornford | last post by:
Anyone who has taken a look at the online FAQ today may have noticed that I have updated it. The majority of the changes are the updating of broken links and the implementation of that extensive...
25
by: Neo Geshel | last post by:
This works: <form> <asp:TextBox id="name" /> <%= name.ClientID %> </form> But this DOES NOT work: <form>
13
by: Lyners | last post by:
I have a web page writen in ASP.NET that contains some javascript so that when a user presses a button, or edits a certain field in a datagrid, another cell in the datagrid is filled with a value....
3
by: laryten | last post by:
Hi, Is there a way to update the same web page instead of getting a new page each time we click the submit button? The simplest thing to do is to delete the current page (or go back to the...
60
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I prompt a "Save As" dialog for an accepted mime type?...
11
by: SAL | last post by:
Hello, I have a Gridview control (.net 2.0) that I'm having trouble getting the Update button to fire any kind of event or preforming the update. The datatable is based on a join so I don't know...
4
by: ahling | last post by:
Hi all. As mentioned in my first post, I'm currently doing an asp.net blog where user can update their profile, and update their blog entry. But I encountered problem with the update of entry...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.