Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to connect one jsp page to another jsp page????

Answers were Sorted based on User's Feedback



how to connect one jsp page to another jsp page????..

Answer / murali

we can forward a request from one jsp to anothe JSP in the
following ways:
1.include directive i.e <%@ include file="xxx.jsp" %>

2.jsp:include action tag i.e <jsp:include page="/xxx.jsp"%>

3.jsp:forward action tag i.e <jsp:forward page="/xxx.jsp"%>

Is This Answer Correct ?    85 Yes 24 No

how to connect one jsp page to another jsp page????..

Answer / manoj

by using forward directive

Is This Answer Correct ?    71 Yes 26 No

how to connect one jsp page to another jsp page????..

Answer / srividya eeswar

<a
href="<%=request.getContextPath()%>/anotherjspname.jsp">Link</a>

Is This Answer Correct ?    54 Yes 19 No

how to connect one jsp page to another jsp page????..

Answer / deepak divvela

<%
RequestDispatcher rd=sc.getRequestDispatcher("a.jsp");
rd.forward(req,res);
%>

Is This Answer Correct ?    35 Yes 26 No

how to connect one jsp page to another jsp page????..

Answer / krunal patel

response.sendRedirect("xyz.jsp");

Is This Answer Correct ?    19 Yes 19 No

how to connect one jsp page to another jsp page????..

Answer / koushik

<%
RequestDispatcher rd=sc.getRequestDispatcher("a.jsp");
rd.forward(req,res);
%>

Is This Answer Correct ?    23 Yes 24 No

Post New Answer

More Core Java Interview Questions

how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

0 Answers  


What is meant by 'bit masking' in java?

0 Answers   DELL,


What are the different http methods?

0 Answers  


What is java autoboxing?

0 Answers  


What restrictions are placed on method overriding in java programming?

0 Answers  


What are the ways to instantiate the class class?

0 Answers  


What is output buffer?

0 Answers  


What do you mean by append?

0 Answers  


What does snprintf return?

0 Answers  


Explain Public static void main?

2 Answers   IBM, Vetech,


give an example for encapsulation?

0 Answers   Aspire,


What are the differences between wait() and sleep()?

0 Answers  


Categories