Forums Register Login

can i control iframe using servlet

+Pie Number of slices to send: Send
hello

can i control iframe using servlet?
1
+Pie Number of slices to send: Send
Please use complete sentences and explain what you mean by "controlling" an iframe.
+Pie Number of slices to send: Send
sorry,,,,

actually i have an jsp page which have iframe tag.

i want to call another jsp page in that iframe when user click on jsp page, which having iframe tag.

when user click that button on jsp page i call servlet on that so i want to get page from servlet but in iframe.

please understand my question

and tell me this can be happened?
+Pie Number of slices to send: Send
Yes you can do this by passing the path of your JSP in src of iframe or you can also use a Servlet which redirect to a jsp as per your requirments.
+Pie Number of slices to send: Send
thanks for reply,

this will work thanks

but that servlet which redirect me ,can redirect me to on that same iframe also?


thanks
1
+Pie Number of slices to send: Send
Yes,if you are calling a servlet from i-frame src which redirect to jsp, it will open in your iframe.
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2348 times.
Similar Threads
Is it possible?
iframe with backward and forward navigation arrows, open new window from iframe
how to pass field value in an IFrame to its parent
Display the picture in [object HTMLImageElement] using PHP
iFrame and struts
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:37:35.