You don't need all that, just point the src attribute of the second frame to the PDF file, assuming the web server returns the correct content-type (which it should) you're all sorted.
I wouldn't recomend using a frameset though, they're crap! A better way would be to embed an iframe (still on the frame theme but much better) in the page pointing to the PDF file (although I'm not 100% sure that would work but worth a try!)
If u can give some useful information on it n ajax it will be appreciated.
i dont know whether this is the right column for posting this.
AJAX can be achieved with the use of a client side scripting language, HMTL and DOM manipulation and some server side thingies...
but still, you could achieve the same things with VB Script on the client (would only work in IE).
AJAX-like techniques exist since the very early stages of the web. Those days we used hidden frames to get the same effect. As a concept it is very old.
It got trendy nowadays coz Google used it on google maps and created a buzz around it.
And also web developers were using Ajax techniques a fair while before google was releasing beta versions of their products, they just made it semi-famous with end users and non web developers.
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
You need to understand HTML and CSS first.
Then understand the concepts of DOM.
Then have a look at prototype (it will help you alot).
Understand some server side language. ASP, ASP.NET, PHP, JSP...
Understand HTTP and the 2 main request types.
Then think of some useful way of putting all of them together...
Of course not! It's just that some large percentage of developers don't think you need to understand anything other than the syntax of the language you are using. And it's not just here on CP, I work with some of them.