Skip to Content
Apr 24, 2008 at 11:34 PM

Javascript code to redirect window



I am developing a PAR file (containing a JSP) which I want to redirect to some other page with some parameters at the time of loading of iview. These parameters I am able to get correctly from a Java Bean. Now I am in need of code to redirect the iview (from this par). My current code is like this:

<%@ page import="java.util.ResourceBundle"%>

<%@ taglib uri="htmlb" prefix="hbj" %>

<jsp:useBean id="data" scope="request" class="" />

<jsp:useBean id="cKey" scope="request" class="" />

<hbj:content id="myContext" >


<%= cKey.getJavaScriptForURLCaller() %>

<% ResourceBundle rb = componentRequest.getResourceBundle(); %>


<%= cKey.getHiddenFormField() %>

<%= cKey.getJavaScriptForEventReceiver(componentRequest, myContext.getCurrentFormId()) %>

<hbj:textView text="<%=data.getEV_ID()%>" design="HEADER3"/>




Now i want to pass this EV_ID at runtime to some other URL like

I tried using window.location but no use. Any inputs are welcome.