Java program to open jsp page on client side instead of server side
I need a java method which invoke from a jsp page a it takes an url as a argument and it will open the url in the browser on the Client side not on the server.
thanks in advance.
Re: How could i open a Jsp page on Client Side
So you want to do a redirect/forward from your jsp to another URL?
Using JSTL you could do this like so.
Code :
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<c:redirect url="http://another.url.com" />
// Json