wood burning stoves 2.0*
The moose likes JSP and the fly likes oepn a jsp page within a jsp page without change url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "oepn a jsp page within a jsp page without change url" Watch "oepn a jsp page within a jsp page without change url" New topic
Author

oepn a jsp page within a jsp page without change url

chain singh
Ranch Hand

Joined: Feb 28, 2012
Posts: 117
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

Joined: Sep 16, 2011
Posts: 54
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

Joined: Oct 08, 2010
Posts: 131

Hi,

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

-Rohit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: oepn a jsp page within a jsp page without change url
 
Similar Threads
Automate login..... HELP
enabling & disabling menuitems
changing parmeter value in URL
can we lock desktop.........Urgent
enabling & disabling menuitems