• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Problem with global.jsa using Oracle 9ias

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
How do you configure global.jsa on Oracle 9ias.
I have placed the global.jsa under public_html along with
my jsp files.
Each jsp file is attempting to access a session attribute value,
but each time a value null is received.
Any ideas?.
Part of the jsp code is as follows:-
<%
try
{
accessLevel= new Integer((String)session.getAttribute
(Constant.ACCESSLEVEL)).intValue();
}
catch(Exception e)
{
errMess="Error message:"+e+" accessLevel="+accessLevel;
}
%>

file global.jsa contains:-
<%@ page import="java.sql.*,test.Constant" %>
<event:session_OnStart>
<%
session.setAttribute(Constant.FIRSTNAME,"none");
session.setAttribute(Constant.SURNAME,"none");
session.setAttribute(Constant.ACCESSLEVEL,"0");
%>
</event:session_OnStart>
<event:session_OnEnd>
</event:session_OnEnd>
 
reply
    Bookmark Topic Watch Topic
  • New Topic