• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about a project

 
payal sharma
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem is
I am making an online reporting site .I am asking user to fill 3 page
report one by one .I am keeping all value in session.Here Also checking at
every servlet and jsp whether user is valid or not as guest can see the
report but can not fill the report.
A valid user can upload database and only administrator can download
database files.
There are also other simple report to be filled on the site.
These all report are to filled fortnightly and if user miss then he should be
emailed from the server .
I had made this in servlets,jsp,javabeans(with set and get methods only)
Problem I always facing that my session value get lost very easly and
user is sent back to login page . An example
I am using tomcat 3.1
In my login page my session value get lost frequently.I am using
session.setAttribute("logon.isDone", name); in servlets and In every jsp's
I am checking as <% if(session.getAttribute("logon.isDone")==null){<br /> response.sendRedirect("/report/relogin.jsp");}%>
I have taken all initiative to build this site.I am the only programmer
working here so all decision is up to me.
Now my question is whether by using EJB,JMS I can make it more
effective.At present I am learning ejb and site has got facility to use
EJB,JMS,XML.My session problem could be solved.
thanks in advance
payal sharma
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic