Share on Google+Share on Google+

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

What is JSP forwarding?

Ads

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
Tutorials   
Java Spring Hibernate Struts Training why do not required application restart after jsp changes? How to use contentType Attribute in JSP? How to connect to MySQL in JSP? JSP Comment Types with example How to use ajax in jsp? How to access the database from JSP? how to show image as a link which path coming from database jsp netbeans javascript Logos on mail inbox. I want to update the multiple values of database depending on checkbox..? Please help me out.. jsp 18/04/2013 JSTL how to access element added via javascript dynamically using jsp code Electronic spreadsheets are useful in situation An E-mail protocol for storage JSP JSP JSP jsp servlets Exception: com.mysql.jdbc.Driver display data from database on selecting option of dropdownlist display data from database on selecting option of dropdownlist display data from database on selecting option of dropdownlist display data from database on selecting option of dropdownlist Jsp Query run command prompt from jsp program question for c++ please help me how to set up Netbeans for JSP 3 dropdown list from the database using JSP autocompletion in textfield fetching from database in jsp openning the pdf or doc file in same jsp EXT JS tt need coding JSp session time out how to display values from database into table using jsp how to set the class path variable in tomcat ? need help please online examination system mini project problem in writing coding. Please help me. How to read the body content of custom tag? need help...................please please help me jsp coding please. help me image upload Assertions I want to store the value of local variable into Global variable how to create customise shortcut keys in jsp?

Ads

 
Advertisement null

Ads