2) That's what I thought too. What is weird is if my main page in a html file and I click refresh, it does not change the pages in each frameset (which is what I want). But if that main page was a jsp page, then it set the frameset pages to what the main page set them too, as opposed to what they had been changed to by my menu.
3) I am using struts so struts is the servlet and owns the init method, unless I have missed something. So my understanding is there is no init method for my code??? Thanks - dave > 2) My main page is a frameset. I tried having that be a do/jsp but when I > pressed refresh on the browser, it went back to the start page. So I made it > a html file and the three frames are .do urls. This works fine, I'm just > asking if this is the best way to do this. What do you mean 'went back to the start page'? Remember that refreshing a page that uses framesets refreshes the *frameset*, not the frames within it. > 3) I need to have a method called when my servlet first loads. Is a > listener the best way to do this? If it's your servlet, just implement its init() method. If you want to call other code on load of an arbitrary servlet there are various listener interfaces you can implement and register in web.xml. ServletContextListener [1] is probably the one you want in this case. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]