Solved

difference between jsp:forward and window.location in javascript

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hibernate insert example 13 39
servlet and mdb, jms error 1 57
Eclipse Help Java EE 5,6,7 Documentation, why not Java EE 8 8 44
Eclipse for Java EE development 2 44
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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

733 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