Solved

difference between jsp:forward and window.location in javascript

Posted on 2006-07-13
1
513 Views
Last Modified: 2011-10-03
sorry for the point allocation I need to buy some more will do soon but would be very grateful if you could help in the meanwhile. I normally allocate 500 so apologies once again.

I have a pop-up window which when opened needs to forward to another page.
some people I have seen window.location and others jsp:forward. Surley these do the same thing?

what is the diference between the two and why would I choose one over the other

many thanks
0
Comment
Question by:inzaghi
1 Comment
 
LVL 10

Accepted Solution

by:
mukundha_expert earned 20 total points
ID: 17101915
>>window.location
its in java script,

>> jsp:forward
its a tag in JSP.


jsp:forward forwards the request to other jsp or servlet.

but in java script you can change the page but you cannot forward a request
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question