Hi, I'm pretty new to Java and Servlets, and I encountered some problems when developping my code. I know that they are maybe out of topic but I hope someone is able to answer them anyway: 1. I use javascript to display multiple frames. When sending the answer to a request, the new page gets displayed only in the frame out of which the request came, and the other frames stay untouched. Is there a possibility to display the new frames properly?
2. Is it possible to call a second servlet out of a servlet? If yes, how could this be done? Thank you very much for your help! Luisa
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
posted
0
As for your second question, yes you can forward to or include another servlet by using the RequestDispatcher class. You may want to check the APi for RequestDispatcher.
Bosun
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.