Re: [OT]

2006-05-17 Thread paz . periasamy
Within an application, you can do this. I am not sure if you cando this at Server level... For application level Session Information, you can search for SessionListener API or even implement thru some application static variable. Thanks and regards, Pazhanikanthan. P (Paz) "Neil Meyer" <[E

Re: Object size in App Server

2006-05-24 Thread paz . periasamy
Hello Hanmayya, You can use ObjectOutputStream to serialize and write the object to a Stream and find the size of it... Based on my experience, I dont believe this will be exactly same as the size in reality if you are loading some binary content into it... Thanks and regards, Pazhanikanthan.

Re: hey again

2006-05-28 Thread paz . periasamy
Can you send the questions? Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "Abhimanyu Koul" <[EMAIL PROTECTED]> 29/05/2006 02:55 PM Please respond to "Struts Users Mailing List" To:

Re: Help:validation is not working with struts1.2

2006-05-29 Thread paz . periasamy
Suresh, I think what Liang is using server side validation., Please post all the XML config files, JSP for us to debug. Thanks and regards, Pazhanikanthan. P (Paz) "Suresh Babu S" <[EMAIL PROTECTED]> 30/05/2006 04:30 PM Please respond to "Struts Users Mailing List" To: "Stru

Re: pls help

2006-06-14 Thread paz . periasamy
Hello Ceena, These requirements are not Struts specific. 1. paging using struts Ans: I believe that you are trying to develop pagination in your screens. This totally depends on your business requirement. 2) need to open a popup window within another pop up window. Ans: This is Javascript logi

Re: Action Forms in Session

2006-06-15 Thread paz . periasamy
session. getAttributes () will give you a list Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "deepali sharma" <[EMAIL PROTECTED]> 16/06/2006 03:28 PM Please respond to "Struts Users Mailing List"

Re: Latest Version of struts

2006-06-19 Thread paz . periasamy
Struts - The best available version is Struts 1.2.9 See the website: http://struts.apache.org/ Also, can we use DispatchAction and LookupDispatchAction in struts 1.1? Yes You can definietly use them in Struts 1.1 Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Ser

Re: Struts1.3

2006-06-19 Thread paz . periasamy
Yes Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "Gomathi" <[EMAIL PROTECTED]> 19/06/2006 06:21 PM Please respond to "Struts Users Mailing List" To: cc: Subject:

Re: Struts1.3

2006-06-19 Thread paz . periasamy
I would advice you go to the official Struts website to understand the differences. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "Gomathi" <[EMAIL PROTECTED]> 19/06/2006 06:43 PM Please respond

Re: Image Caching in Tomcat

2006-06-19 Thread paz . periasamy
Hello Mukta, I would nto advice to disable the Image caching in Tomcat. Since this will affect the performance of the over all server. Moreover the Internet Browser also cahces the Images. Inorder to solve this problem completely, I used to follow a simple solution. Consider the Image tag is

Re: Communicate between two struts apps

2006-06-22 Thread paz . periasamy
Hello All, I believe Single Sign On will be able to share Session attributes between applications. Single Sign On is supported by many application servers like Oracle, BEA, IBM, etc Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9

Re: Struts Validator, multiple checks on single property

2006-06-28 Thread paz . periasamy
Add the three validator formset like: Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "Mississippi John Hurt" <[EMAIL PROTECTED]> 2

Re: Struts and AJAX

2006-07-02 Thread paz . periasamy
You can use... There are no tag libraries in Struts for AJAX. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 chamal desilva <[EMAIL PROTECTED]> 03/07/2006 01:57 PM Please respond to "Struts Users

Re: Dynamic Sort depending on the field requested by user.

2006-07-14 Thread paz . periasamy
Sorting is purely Java logic. I dont think Struts has anything with sorting logic. You can use Java comparators to do the job easily rather than you programming it. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +6

Re: Compare two strings in Validator frame work

2006-07-14 Thread paz . periasamy
You can implement your own Plugin (method and context name) to compare the strings... Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "Raghuveer" <[EMAIL PROTECTED]> 14/07/2006 05:18 PM Please res

Re: Is there any direct link between model and view in struts..

2006-07-20 Thread paz . periasamy
Why do you want this ? Struts is based on MVC 2 Pattern. What you talking is MVC 1 Pattern Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "sunil.prabhu" <[EMAIL PROTECTED]> 20/07/2006 07:11 PM Pl

Re: Give me a solution

2006-07-23 Thread paz . periasamy
Wrong forum post. Eventhough please find a simple solution 1. Create a Staging table. 2. Copy the records from 60-100 in master table into the staging table. 3. Delete the records from 50. 4. Copy back the records from Staging table into the master table. Thanks and regards, Pazhanikanthan. P (

Re: How to select a value when a form is prepopulated

2006-08-20 Thread paz . periasamy
You need to have another attribute in the form bean to be contain the selected value. The options which are being pre-populated need to be available as Collection objects. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd.

Re: rotating text

2006-08-21 Thread paz . periasamy
Hello Kavitha, Use this sample HTML Code: Test Page .vert{ left:1px; top:5px; width:1px; writing-mode: tb-rl; } this will be displayed vertically now Look at the style : .vert{ left:1px; top:5px; width:1px; writing-mode: tb-rl; } This is applied to the text in the tag. Hope this help

Re: How to access Static Data in jsp file

2006-09-06 Thread paz . periasamy
Create the Interface attributes / member variables as "public static " attributes. Then in the JSP use the attribute and set the value into pageContext. then u can easily use it wityh Struts tag libs. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL

Re: exception

2006-09-06 Thread paz . periasamy
Tom, Can you post the JSP code? Are you using WebLogic Portal 4.0 or WebLogic Server 6.1 SP5 version??? If so, Struts bean:define doesnt work in that version of software based on my experience. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Austr

Re: exception

2006-09-06 Thread paz . periasamy
The Error happens while instantiating the FormBean. Are you having something different while the formbean creation? like abstract class or something??? Do you do any database operations??? Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Se

Re: exception

2006-09-06 Thread paz . periasamy
Are you sure that the Form Bean class is loaded within the Web App;lication. Id teh package correct: code.LoginForm??? Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "T

Re: exception

2006-09-06 Thread paz . periasamy
Is the class files under the folder "WEBAPP\WEB-INF\classes"??? Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "Tom Jerry" <[EMAIL PROTECTED]> 07/09/2006 04:13 PM Please

Re: How to access Static Data in jsp file

2006-09-06 Thread paz . periasamy
The object should be Collection object... not just simple String array Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 Ashish Vijaywargiya <[EMAIL PROTECTED]> 07/09/2006 0

Re: deletion of browser cache

2006-09-08 Thread paz . periasamy
Gomathi, Is this a statement or are you asking any help from us? Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "Gomathi" <[EMAIL PROTECTED]> 08/09/2006 05:04 PM Please

Re: Web Application Security -- Help needed

2006-09-18 Thread paz . periasamy
Go for standard Web Security [Form based Authentication] provided by Web Containers. This solution is free. Else, you can use Access Management Solutions by various vendors: SiteMinder, Java Enterprise System Access Manager, IBM Tivoli Access Manager (TAM). Choose a product appropriate to your

Re: Getting the server-port from a ContextListener

2006-09-20 Thread paz . periasamy
You might pick one of the options: 1. Have some Init Params in web.xml to store the server name and port. Inside your contextInitialized() method, use ServletContextEvent.getServletContext().getInitParameter() to access them. 2. User Servlet Container Vendor APIs to extract the infor

Re: Getting the server-port from a ContextListener

2006-09-20 Thread paz . periasamy
I guess so... If you are using specific vendor products like BEA WebLogic, you can use the Startup Classes to do the job for you. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354

Re: Erase Only some Session Objests and variables

2006-09-25 Thread paz . periasamy
Hello Daniel, The preserve list could be upto your implementation. It could be a Delimited String which you read from a property file and you can store it in a ArrayList. Loop the arrayList, get the entires, and compare it with the Session Attributes session.getAttributeName (). If they matc

Re: How to restrict the user to modify the address bar url

2006-09-28 Thread paz . periasamy
These can be done with Javascripts... This is client level settings... Some people disable Javascripts. So the solution might not be solid. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61

Re: How to pass data from one Action class to another Action class?

2006-10-11 Thread paz . periasamy
Is your Form Bean Sessioin Scoped? Are you using the same form bean name for both the actions? If you have done these 2, you shouldnt have any problems passing form bean between 2 actions :D Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia

Re: How to pass data from one Action class to another Action class?

2006-10-11 Thread paz . periasamy
make the form bean session scoped and see what happens... I doubt if this doesnt work. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 Niniva Ray <[EMAIL PROTECTED]> 12/1

Re: Simple java question

2006-11-14 Thread paz . periasamy
Hello temp temp, Use this.aField inside the method. public class Test2 { private String aField = " aField "; public static void main(String[] args) { Test2 test2 = new Test2(); test2.testField(); System.out.println(test2.aField); } priv

Re: Simple java question

2006-11-14 Thread paz . periasamy
Yes. You need to use the "this" qualifier to access the global variable. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 temp temp <[EMAIL PROTECTED]> 15/11/2006 07:22 AM

Re: validate question ...

2006-11-29 Thread paz . periasamy
Do the DB validation in: controllers.submits.LoginAction (execute) method. The error handling should be: If DB validation fails, create Action Error or Message and then pass it back to the JSP as a failure. The Error tags should be able to display it. If you use you dont have to manage indivi