Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

difference between jsp:forward and window.location in javascript

Posted on 2006-07-13
1
Medium Priority
?
524 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
mukundha_expert earned 80 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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…
This video teaches viewers about errors in exception handling.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

618 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