• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

oepn a jsp page within a jsp page without change url

 
chain singh
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

i am making a page where i have many menuitems.

these menuitems have many links to different jsp page.

i want to open these pages in my already open page which is Main_page.jsp

and i am also do not want to change my url also.

how i can do this

thank you in advance.

 
amir taghvayi
Ranch Hand
Posts: 54
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
you must use ajax and java script.

you inserted a div inner your page then a click in menu item go to a js function . in inner js function requested with ajax and response inserted in your div .



 
rohit chavan
Ranch Hand
Posts: 132
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You can use html tag "iframe" to do this.

-Rohit
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic