[SS] Stuck with Security related issues

2007-01-19 Thread prerna.sawhney
Hi All, I am stuck with 2 problems Problem 1 In my web-application (developed on struts and hibernate)I have 2 modules User Module http://localhost:8080/SaS/Login.do Admin Module http://localhost:8080/SaS/Login.do Depending on the login credentials the respect

Displaying images from database.

2006-07-25 Thread prerna.sawhney
Hi All, My application saves the images in database as BLOB. I now want to display these images stored in my database. How can I do this in struts 2.0 ? Thanks & Regards Prerna The information contained in this electronic message and any attachments to this message are intended for the

Displaying images from database.

2006-07-25 Thread prerna.sawhney
Hi All, My application saves the images in database as BLOB. I now want to display these images stored in my database. How can I do this in struts 2.0/1.2.8 ? Thanks & Regards Prerna -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 6:04

RE: Displaying images from database.

2006-07-25 Thread prerna.sawhney
Hi David Thanks for a prompt response. But I also want to display other things on the jsp page besides the image. For e.g. My jsp page would have Company name, Address, Business Area and its logo with an EDIT button and when the user clicks on the EDIT button he can update Address information

Session Tracking

2006-07-27 Thread prerna.sawhney
H All, I am using struts framework and tomcat as the webserver. I want to implement session tracking and explicitly expire the session after a fixed period of inactivity. So the session needs to expire in the following scenarios 1) User clicks on Logout on JSP page ( Can this be ach

RE: Session Tracking

2006-07-28 Thread prerna.sawhney
Hi All, What code do I explicit need to write to be able to call session.invalidate() when the session timeout happens ? For eg 1) I have opened a window 2) Timeout is set to 5 mins. 3) There is no activity on the browser for 5 mins How will my application get to know that I need to call sessio

Session tracking correct approach

2006-07-31 Thread prerna.sawhney
Hi All, I would like to know which is the best approach for session tracking in struts among the following 1) Writing your own ActionServlet class which will have the following code public class MyActionServlet extends ActionServlet{ /* (non-Javadoc) * @se

Last Logged in

2006-08-01 Thread prerna.sawhney
Hi All, In my application when the user logs into the system I want to display the "Last logged in" information. Can anyone tell how to design this? Do I need to have a field in database or I should do this using cookies? How should I design my application? Also I am using certain values