Send JSP Java Bean Issue?? help please!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 07:55 PM - edited 03-15-2019 03:32 AM
Hello. I'm using send jsp to gather some variables and assign them to a keyword. When I call the application via a HTTP trigger, I get the following:
Location: /receptstats.jsp
Internal Servlet Error:
javax.servlet.ServletException: bean parameters not found within scope
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
at _0002freceptstats_0002ejspreceptstats_jsp_1._jspService(_0002freceptstats_0002ejspreceptstats_jsp_1.java:126)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
My Jsp looks like the following:
<%@ page language="java" import="java.util.*" %>
<%
response.addHeader("Refresh","10; url=http://192.168.0.16:8080/receptstats.jsp");
response.setContentType("text/xml");
%>
<jsp:useBean id="parameters" type="java.util.Dictionary"
scope="request"/>
<CiscoIPPhoneText>
<Title>RBMS Reception CSQ RealTime Stats</Title>
<Text>Agents Logged In: <%= parameters.get("LoggedUser") %>
Agents Ready: <%= parameters.get("AgentReady") %>
Agents Talking: <%= parameters.get("AgentWork") %>
Calls in Queue: <%= parameters.get("CallsQueued") %>
Oldest Call in Queue (sec): <%= parameters.get("OldestInQueue") %>
Total Calls Handled: <%= parameters.get("TotalCalls") %>
</Text>
</CiscoIPPhoneText>
Any idea why the bean can't find parameters function I've defined? Am I missing something in my install or a bean class or something? This is a fresh v3.5.2 IPCC install. Any help would be appreciated.
- Labels:
-
Other Collaboration Topics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2005 12:35 PM
I think you need to create local variables in the application that you trigger.
You polulate these local variables with the stats you want.
Then reference to these variables in your jsp
HTH
