Total members 11890 |It is currently Sat Apr 20, 2024 12:26 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





hello sir i want to know where we exactly using forward and sendRedirect in realtime




Author:
Newbie
User avatar Posts: 7
Have thanks: 0 time

Redirect code :
Code:
<html>
<%
String urlreDirect"http://www.codemiles.com/";
response.sendRedirect(urlreDirect);
%>
</
html>
 


forward code
Code:
<jsp:forward page="/myservlet/login"
<
jsp:param name="password" value="123456" /> 
</
jsp:forward>
 

servlets-jsp/difference-between-forward-and-sendredirect-t2702.html

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : SERVLET/JSP DOUBT
 Doubt in html:options tag     -  
 JSP and Servlet     -  
 how to run servlet and rmi     -  
 jsp and servlet     -  
 Servlet & JSP     -  
 servlet coding     -  
 Java Servlet and JSP     -  
 Servlet Help for my project!!     -  
 Download a PDF file using JSP or servlet     -  
 Getting Servlet and JSP configured in eclipse     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com