File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Creating frames in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Creating frames in JSP" Watch "Creating frames in JSP" New topic
Author

Creating frames in JSP

Sabarish Varma
Greenhorn

Joined: Jan 20, 2003
Posts: 13
The following is the requirement :
I need to create frames using jsp in the same way one creates frames with HTML code. I need to specify JSP pages for each frame, i,e each frame corresponds to a JSP page. At this moment I am aware that the "src" attribute in frame is used to specify only html pages. Any help is appreciated. Thanx in advance.
Mika Hirvasoja
Greenhorn

Joined: Dec 15, 2001
Posts: 7
As far as I am concerned you can do it exactly as you would on HTML-pages and that the SRC-attribute can be used to specify other file-types than HTML as well.
Marty Hall
Author
Ranch Hand

Joined: Jan 02, 2003
Posts: 111
I need to create frames using jsp in the same way one creates frames with HTML code. I need to specify JSP pages for each frame, i,e each frame corresponds to a JSP page. At this moment I am aware that the "src" attribute in frame is used to specify only html pages.

The key point to remember is that JSP runs on the server (thus the name JavaServer Pages). So, the browser sees only the output of the JSP page, and thus you are specifying an HTML page when you supply a .jsp URL (assuming the standard case when the JSP outputs HTML). Same goes for servlets, BTW.
So, just use FRAME in the usual way:

Cheers-
- Marty


Java training and consulting<br /><a href="http://www.coreservlets.com/" target="_blank" rel="nofollow">http://www.coreservlets.com/</a>
Sabarish Varma
Greenhorn

Joined: Jan 20, 2003
Posts: 13
Thanx a lot for the suggestion.
 
 
subject: Creating frames in JSP
 
Threads others viewed
Frames in JSP
Form Html to Frames JSP
Frames and JSP
Submitting Forms having Frames in JSP
opening 2 JSP in the same browser (from an applet )
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture