Hi,
I want to open jsp page in particular frame from servlet. plz try to help me.
i attached my code.

RequestDispather rd = request.getRequestDispathcher("Adimn.jsp");
rd.forward(request, response);

i want to forward Admin.jsp to frame whose name is "frame1"

Hi,
I want to open jsp page in particular frame from servlet. plz try to help me.
i attached my code.

RequestDispather rd = request.getRequestDispathcher("Adimn.jsp");
rd.forward(request, response);

i want to forward Admin.jsp to frame whose name is "frame1"

Try to call this servlet from within the "frame1" frame.

What element in your webpage is calling the jsp? If it is the form then you can add this

<form name ="f" method="post" action="second.jsp" target="parent.frame1">
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.