Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Frames thru Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Frames thru Servlet" Watch "Frames thru Servlet" New topic
Author

Frames thru Servlet

S Chandra Mohan
Ranch Hand

Joined: Oct 19, 2000
Posts: 75
Dear friends,
How can i create frames using a servlet.
please axplain me with sample codings
Hoping to get the answer as early as possible
S Chandra Mohan


Have a wonderful day and wish u success<p>S Chandra Mohan<br />sc_mohan_us@yahoo.com
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
Servlets are for server side Java and Frames are for client-side Java. I don't see why anyone would like to generate a Frame from a Servlet. But if you do, please share...


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Brent Worden
Ranch Hand

Joined: Nov 26, 2001
Posts: 50
I think the original poster is referring to HTML frames and framesets and not java.awt.Frame objects.
Have your servlet spit out the HTML needed to create the desired frame set layout. The technique would be to have the src attribute of each frame refer to a servlet and not a static file.
The browser would make the appropriate requests to your servlet(s).

------------------
Brent Worden
http://www.Brent.Worden.org/


Brent Worden
 
jQuery in Action, 2nd edition
 
subject: Frames thru Servlet