Solved

difference between jsp:forward and window.location in javascript

Posted on 2006-07-13
1
507 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now