Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Call a Report from an Indipendent JSP page

Status
Not open for further replies.

venur

MIS
Aug 26, 2003
418
US
Hi All,

I am trying to pupulate the actuate report which is in activeportal from a JSP page which is running in tomcat.

I dont have any Idea how the actuate runs or works.

Question 1: How do I know the required parameters that are required to pupulate the report?

Question 2: Are there any required parameters that need to be passed not matter what kind of report we are requesting for?

When I try to run the report I am getting the following errors.


E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:397: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 112:
if (errorLogin != null)

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:400: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 115:
String sErrorCode = errorLogin.getErrorCode();

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:408: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 123:
response.sendRedirect(StaticFuncs.resolveURL(request, "/login.jsp") + paramBean.createQueryString() + "&errorMessage=" + StaticFuncs.encode(errorLogin.getMessage()) + "&errorcode=" + sErrorCode);

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:427: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 141:
userMap.setDaemonURL(sDaemonURL);

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:430: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 144:
sAuthID = userMap.getAuthID();

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:431: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 145:
sVolume = userMap.getVolume();

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:432: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 146:
sServerURL = userMap.getServerURL();

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:433: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 147:
sLoginID = userMap.getUserName();

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:434: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 148:
sDesignation = userMap.getDesignation();

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:435: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 149:
sUserHomeFolder = userMap.getHomeFolder();

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:436: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 150:
sPassword = userMap.getPassword();

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:437: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 151:
sDaemonURL = userMap.getDaemonURL();

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:440: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 154:
userMapObj = userMap;

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:441: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 155:
AcLocale acLocale = userMap.getLocale();

E:\wlsdomains\actuatedomain\.\actuateserver\.wlnotdelete\extract\actuateserver_activeportal_activeportal\jsp_servlet\_viewer\__viewframeset.java:443: cannot resolve symbol
probably occurred due to an error in /authenticate.jsp line 157:
AcTimeZone tzTimeZone = userMap.getTimeZone();



Thanks,
Venu
 
Actuate support gave me this sample of an HTML Doc which executes JSP and executes a report.

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME=&quot;Generator&quot; CONTENT=&quot;EditPlus&quot;>
<META NAME=&quot;Author&quot; CONTENT=&quot;&quot;>
<META NAME=&quot;Keywords&quot; CONTENT=&quot;&quot;>
<META NAME=&quot;Description&quot; CONTENT=&quot;&quot;>
</HEAD>
<SCRIPT LANGUAGE=&quot;JavaScript&quot;>

var NewWindow
var url = &quot;
function openWindow()
{
NewWindow = window.open(url,&quot;NewWindow&quot;,&quot;&quot;)
}


</SCRIPT>

<BODY>
<FORM>
<INPUT TYPE=&quot;BUTTON&quot; VALUE=&quot;Submit report to run&quot; onclick=&quot;openWindow()&quot;>
</FORM>
</BODY>
</HTML>


Hope this is what you want
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top