File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Frames thru Servlet" Watch "Frames thru Servlet" New topic

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 />
Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
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

Brent Worden
I agree. Here's the link:
subject: Frames thru Servlet
It's not a secret anymore!