• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 527
  • Last Modified:

difference between jsp:forward and window.location in javascript

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
inzaghi
Asked:
inzaghi
1 Solution
 
mukundha_expertCommented:
>>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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now