Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Deepak Kumar
JSP forwarding
2 Answer(s)      3 years and 10 months ago
Posted in : JSP-Interview Questions


What is JSP forwarding?


Advertisement
View Answers

February 16, 2011 at 9:34 AM


Hi,

You can use the JSP forward tag for jsp forwarding. This will help you forward your request to some other page on the same server.

Here is the code for jsp forwarding:

<jsp:forward page="anotherpage.jsp"/>

Thanks



March 3, 2011 at 3:26 PM


above answer correct only.



Related Tutorials/Questions & Answers:
JSP forwarding
JSP forwarding  What is JSP forwarding?   Hi, You can use the JSP forward tag for jsp forwarding. This will help you forward your request to some other page on the same server. Here is the code for jsp forwarding
forwarding request to a jsp from a filter and displaying image in that jsp
forwarding request to a jsp from a filter and displaying image in that jsp ... And i am forwarding request...").forward(request, response); Above line is forwarding the request to login.jsp
Advertisements
forwarding request to a jsp when user clicks on back button in ie
forwarding request to a jsp when user clicks on back button in ie  Hi all, I have developed a web based application. After user log out... we forward request to a jsp page whenever user clicks on back button
problem in forwarding response
problem in forwarding response  My response is not getting displayed. i have used RequestDispatcher.forward,RequestDispatcher.include and response.sendRedirect.There is no error on console nor any javascript error
Redirecting and forwarding to views
In this section, you will learn about redirecting and forwarding views through prefixes
jsp forward action tag
application context as the forwarding JSP file. Syntax of forward action Tag: <...jsp forward action tag  Defined jsp forward action tag ?   The <jsp:forward> element forwards the request object containing
Forwarding Messages using Java Mail
Forwarding Messages using Java Mail       This Example shows you how to forward a message using javamail api. there is no method to forward a mail from one user to another
JSP - JSP-Servlet
one JSP file to another file.This will redirect to the different page without... or forwarding. This is the servlet API equivalent to SSI includes. The uri
java - JSP-Interview Questions
file, another JSP file, or a servlet. It should be noted that the target file must be in the same application context as the forwarding JSP file...() and forward() methods?  Hi JSP forward action transfers the control
jsp forward not functioning
". Is it because of that, the jsp:forward is not forwarding...jsp forward not functioning  If the form in AddStudent.jsp... the student in the database (works OK) } %>}else{%> <jsp
JSP - JSP-Servlet
Difference between jsp forward and sendRedirect  What is difference between jsp forward and send Redirect?  Difference between jsp forward and sendRedirectJSP forward action (<jsp: forward/>)jsp forward action
jsp
jsp  how to include two jsp page
JSP
what is JSP forward tag for  what is JSP forward tag for   It forwards the current request to another JSP page. Below is the syntax for the same:- <jsp:forward page="...url..." /> We can also forward parameter
Jsp
Jsp  Can I implement interface in jsp
jsp
jsp  how to create jsp page
JSP
JSP  How to run jsp program in eclipse
jsp
jsp  how jsp translated into servlets
jsp
jsp  write a code for jsp file generator to generate a jsp page automatically taking html page as input
jsp
jsp  how to create a table in oracle using jsp and the table name is entered in text feild of jsp page
Computer - JSP-Interview Questions
ForwardServlet extends HttpServlet{ private static final String forwardTo = "/jsp/ResultServlets"; private static final String includeIn = "/jsp/ResultServlets... ServletException, IOException { String mode = req.getParameter("mode"); // Forwarding
JSP
JSP  Hi, What is JSP? What is the use of JSP? Thanks   Hi, JSP Stands for Java Server Pages. It is Java technology for developing web applications. JSP is very easy to learn and it allows the developers to use Java
jsp
jsp   what is the basic necessities reguired for running jsp using JDBC bridge?? and how to write a jsp code to access the detail present in microsoft access pls send link regarding above
jsp
jsp  how to connect the database with jsp using mysql   Hi Friend, Please visit the following links: http://www.roseindia.net/jsp/connectjspwith_mysql.shtml http://www.roseindia.net/jsp/Accessingdatabase-fromJSP.shtml
jsp
jsp  how to upload image through csv format in jsp
jsp
jsp  I Want complete note on JSP servlet
jsp
jsp  how to delete data from database using jsp
JSP
JSP  FILE UPLOAD-DOWNLOAD code USING JSP
jsp
jsp  how to write hindi in jsp and store in database as unicode
jsp
jsp  code for jsp automatic genration using html
jsp
jsp  why jsp is translated into servlet?pls describe precisly
JSP
JSP  relevant difference between servlet and jsp in 1 line
 

 

 

DMCA.com