Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Including a jsp on the same page by clicking a button

 
R Laksh
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a jsp page where there are many controls and some buttons. If I click a buton called "Edit" I need to include a jsp page below the existing controls.

Can someone please tell me how to do that?

<tr>
<td>
<a><img name="View" src="view.gif" border="0"/></a>
<a><img name="Edit" src="edit.gif" border="0"/></a>
</td>
</tr>

this is thecode which I have for buttons in my page

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no JSP mechanism that can help you with this. However, there are HTML and Javascript solutions. So.... moved to the HTML/Javascript forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use an iframe to load the new page, or use Ajax to grab the page and include it at the appropriate point in the DOM.
[ December 28, 2005: Message edited by: Bear Bibeault ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic