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" <[EMAIL PROTECTED]>
18/05/2006 04:33 PM
Please respond to "Struts Users Mailing List"

 
To: "Struts Users Mailing List" 
cc: 
Subject:[OT]


Hi,

Hope somebody can help me with this I'm using a Tomcat container. I would
like to display the amount of users logged onto my system. Is it possible 
to
get all active session on the Tomcat server out of the request?

Regards
Neil Meyer

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com




AllianceBernstein: Winner of Money Management "FUND MANAGER OF THE YEAR 2005" 
Member of the Global AXA Group

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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. P (Paz)

Consultant for AXA,
HCL Australia Services Pty. Ltd.
Off   : +61-9618-4085
Mob : +61-0411-354-838




"Hanmay Udgiri" <[EMAIL PROTECTED]>
25/05/2006 03:07 PM
Please respond to "Struts Users Mailing List"

 
To: user@struts.apache.org
cc: 
Subject:Object size in App Server


Hi
I am getting a ResultSet from database.
I want to get the size of the object in the App Server.
Also I want to get the size of session object after the user is validated
and the user details are added to session.

Thanks and Regards
Hanmayya Udgiri

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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: "Struts Mailing list" 
cc: 
Subject:hey again


hi all!
I had asked a question a few days ago but i didn't get any response.
Isn't there anybody who can help me with that.
Please suggest something!

Abhimanyu Koul
FinEng Solutions (P)  Ltd.
Dani Compound,
158, Vidyanagari Marg,
Kalina, Santacruz (East),
Mumbai - 400 098
Mobile : +91 9860582533

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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: "Struts Users Mailing List" 
cc: 
Subject:Re: Help:validation is not working with struts1.2


u need to add  tag into ur form.
did u add this 


On 5/30/06, M.Liang Liu <[EMAIL PROTECTED]> wrote:
>
> I tried to use validator in my struts application and I find a problem
> occurred:
>  The form did not validate itself and the execute method is
> always called.
>
> I active the plug-in in struts-config.xml as following:
>
> > 
> >  > property="pathnames"
> > value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
> > 
> >
> and I write the validation.xml as following:
>
> > 
> >  >   "-//Apache Software Foundation//DTD Commons Validator Rules
> > Configuration 1.0//EN"
> >   "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";>
> > 
> > 
> > 
> > phone
> > ^\(?(\d{3})\)?[-| ]?(\d{3})[-|
> > ]?(\d{4})$
> > 
> > 
> > zip
> > ^\d{5}\d*$
> > 
> > 
> >
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> >
> I write the struts-config.xml as following for mapping
>
> >   >   attribute="sForm"
> >   input="/form/s.jsp"
> >   name="sForm"
> >   path="/s"
> >   scope="request"
> >   type="com.eam.struts.action.SAction"
> >   validate="true">
> >   
> > 
>
>
>
> The form extends the ValidatorForm,
>
> But it does NOT work.
>
> Who can  help me?
>
>
> Thanks a lot.
>
> --
> Why Signature?
>
>


-- 
---
Suresh babu S
Software Engineer
IBM,080-417 72568(Direct)
+91-9886237127
[EMAIL PROTECTED]


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 logic. 

Kindly state us the problem for which we can suggest solution. If you give 
very high level one word requirements, no one would be able to give 
suggestions / advice.

Thanks and regards,
Pazhanikanthan. P (Paz)

Consultant for AXA,
HCL Australia Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838




Ceena Bose <[EMAIL PROTECTED]>
15/06/2006 09:52 AM
Please respond to "Struts Users Mailing List"

 
To: user@struts.apache.org
cc: 
Subject:pls help


hi,
 
  pls help me solve the following.
 
  1)paging using struts
  2) need to open a popup window within another pop up window.
 
  regards
  ceena

 Send instant messages to your online friends http://in.messenger.yahoo.com 

 Stay connected with your friends even when away from PC.  Link: 
http://in.mobile.yahoo.com/new/messenger/ 

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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"

 
To: user@struts.apache.org
cc: 
Subject:Action Forms in Session


Hi
We are using struts.And in our application we are putting all forms in
session.
After completing the transaction we are clearing the form values.
Is that after the transaction the forms are in session or will be 
deleted??
If I want to get which objects are in session how we can get that???
Is there any API to find out in struts/servlets

cheers..
deepali


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838




"Gomathi" <[EMAIL PROTECTED]>
19/06/2006 05:38 PM
Please respond to "Struts Users Mailing List"

 
To: 
cc: 
Subject:Latest Version of struts


HI 
  Anyone can tell the latest version of struts please.
 Also, can we use DispatchAction and LookupDispatchAction in struts 1.1?

with regards
gomathi

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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:Struts1.3


Is the LatestVersion of struts 1.3?.

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 to "Struts Users Mailing List"

 
To: "Struts Users Mailing List" 
cc: 
Subject:Re: Struts1.3


Could u tell me the difference between 1.2 and 1.3
thanks in advance
- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Monday, June 19, 2006 1:53 PM
Subject: Re: Struts1.3


> 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:Struts1.3
>
>
> Is the LatestVersion of struts 1.3?.
>
> _
> This e-mail has been scanned for viruses by MCI's Internet Managed
> Scanning Services - powered by MessageLabs. For further information
> visit http://www.mci.com
>
>
> 
*
> Important Note
> This email (including any attachments) contains information which is
> confidential and may be subject to legal privilege.  If you are not
> the intended recipient you must not use, distribute or copy this
> email.  If you have received this email in error please notify the
> sender immediately and delete this email. Any views expressed in this
> email are not necessarily the views of AXA.   Thank you.
> 
**
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com




*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 like:



Change this as 

<%
java.util.Date dt = new java.util.Date ();



This will result in appending the current time in millisecond in the 
requested resource. this is mandate the Server / Internet Explorer to 
refersh the Image everytime it is requested for.

Thanks and regards,
Pazhanikanthan. P (Paz)

Consultant for AXA,
HCL Australia Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838




"Mukta" <[EMAIL PROTECTED]>
20/06/2006 04:02 PM
Please respond to "Struts Users Mailing List"

 
To: "'Struts Users Mailing List'" 
cc: 
Subject:Image Caching in Tomcat


Hi All,

I am developing a struts application using JDK version 1.5.0 and Apache
Tomcat 5.5

I am using Struts FormFile to upload some images to replace the older ones
but when I try to view them in my jsp, it still shows me the older images
which have been replaced by the older ones. I have tried using every
possible combination of response.setHeader() and HTTP META tags but 
nothing
seems to work for me. Now the only reason that I can think of is caching 
of
images done by the tomcat server.

Does anybody know how to configure tomcat server to disable image caching?
Its really urgent :(

Thanks in advance,
Mukta.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com




*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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-9618-4085
Mob : +61-0411-354-838




Monkeyden <[EMAIL PROTECTED]>
23/06/2006 07:42 AM
Please respond to "Struts Users Mailing List"

 
To: "Struts Users Mailing List" , 
[EMAIL PROTECTED]
cc: 
Subject:Re: Communicate between two struts apps


>AFAIK, if the applications are in two separate contexts there is
>no way to share data between them using a common session

Not to mention, some of the Struts tags (form, link) derive context at
runtime, so you don't have the ability to specify an external context.

>You'll be forced to do something kludgy and authenticate to both systems
>and maintain two sessions.

I don't know if I'd refer to SSO as "something klugy"





On 6/22/06, Eric Dahnke <[EMAIL PROTECTED]> wrote:
>
>
> AFAIK, if the applications are in two separate contexts there is
> no way to share data between them using a common session. You'll
> be forced to do something kludgy and authenticate to both systems
> and maintain two sessions.
>
> I would love to see a thread started about this because it is a
> big shortcoming I come up against frequently in Java. That is,
> different wars and contexts are a great way to separate and manage
> different large scale projects, but when it comes time to piece it
> back together as part of a large possibly modular application, yr
> fcked.
>
> Siteminder (a proprietary product) is a way to get around this and
> is Java friendly, but don't know how it works.
>
>
>
> On Thu Jun 22 13:10:18 EDT 2006, Wen-Jung Chen
> <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> >
> > We have two struts applications which are planning to be created
> > as two war
> > files and deployed as one ear file on application server. We
> > develop one
> > struts app and other team develops another one. The requirement
> > for us is
> > their struts application will call our action method to invoke a
> > window on
> > our side. Does anyone know how their struts app can invoke our
> > action
> > method? I was told that they can use url redirect by using url we
> > provided
> > so we can popup a window for them. Is this right way to do it? Is
> > there any
> > other better way to handle this since we are located in two
> > different jvm?
> > And also if we want to  pass data back so they can display
> > message on their
> > screen, are we still use same way such as url direct to pass data
> > as request
> > parameter to them?
> >
> > Please help.
> >
> > Thanks,
> > Wen-Jung
> >
>
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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]>
29/06/2006 08:24 AM
Please respond to "Struts Users Mailing List"

 
To: "Struts Users Mailing List" 
cc: 
Subject:Struts Validator, multiple checks on single property


Hi,
How can I use the validator plugin to validate a property with a compound
rule such as the property must be both
1) 9 digits long
2) contains an uppercase letter
3) contains a symbol
I know how to do each individually, but how to make it validate where all 
3
have to be true for success? Thanks.


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 Mailing List"

 
To: user@struts.apache.org
cc: 
Subject:Struts and AJAX


Hi,

Can I use struts with AJAX. Does struts has classes
and tags for AJAX or do I have write my own code.

Thanking You,
Chamal.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com




*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 : +61-0411-354-838




"Anil Kumar T" <[EMAIL PROTECTED]>
14/07/2006 05:11 PM
Please respond to "Struts Users Mailing List"

 
To: "Struts Users Mailing List" 
cc: 
Subject:Dynamic Sort depending on the field requested by user.



Hi Group,




I have a requirement like I need to display a list containing Name,
Date, Department, Last update etc., after displaying the list the user
can select any field to sort the list display, but it should not query
again, only with the first time result we should be able to provide the
sort order as per user request. He can request the sort order on any
field. Can any one know how to achieve this with struts? Any help, links
would be appreciated highly.




Thanks in advance,

Anil.



Information transmitted by this e-mail is proprietary to Infinite Computer 
Solutions and / or its Customers and is intended for use only by the 
individual or the entity to which it is addressed, and may contain 
information that is privileged, confidential or exempt from disclosure 
under applicable law. If you are not the intended recipient or it appears 
that this mail has been forwarded to you without proper authority, you are 
notified that any use or dissemination of this information in any manner 
is strictly prohibited. In such cases, please notify us immediately at 
[EMAIL PROTECTED] and delete this email from your records.

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 respond to "Struts Users Mailing List"

 
To: 
cc: 
Subject:Compare two strings in Validator frame work



How to Compare two strings in validator framework?
What i need to do in validation.xml.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com




*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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
Please respond to "Struts Users Mailing List"

 
To: "'Struts Users Mailing List'" 
cc: 
Subject:Is  there any direct link between model and view in 
struts..


Hi ,

Is there any direct link between model and view in struts 
Architecture?

Thanks and regards 
Sunil 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com




*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 (Paz)

Consultant for AXA,
HCL Australia Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838




"senthil.s" <[EMAIL PROTECTED]>
24/07/2006 03:56 PM
Please respond to "Struts Users Mailing List"

 
To: 
cc: 
Subject:Give me a solution


Hi all
 
 I have a table of records in SQL Server with UniqueID (unique ID enabled 
with increment of 1 starting from 1 for each record, now I have 100 
records in that having Unique ID 1 - 100  now I want to delete records 
(only 10 records in the middle) having Unique id  50 - 59 and I want the 
remaining records (say 60... 100) has to rearrange themself  (say 50... 90 
as Unique ID)
 
 
 
Thank You  
 
Senthil.S

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.comThis email and any files transmitted with it are 
confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. 
Please note that any views or opinions presented in this email are solely 
those of the author and do not necessarily represent those of IC Infotech. 
Finally, the recipient should check this email and any attachments for the 
presence of viruses. IC Infotech accepts no liability for any damage 
caused by any virus transmitted by this mail.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838




sheetal <[EMAIL PROTECTED]>
21/08/2006 01:31 PM
Please respond to "Struts Users Mailing List"
 
To: Struts Users Mailing List 
cc: 
Subject:How to select a  value when a form is prepopulated


Hi,
My action class on success, is prepopulating a combo box (.. 
...>, on the jsp..
for which I have used a form bean.
Now, the problem is that I also want a field to be selected from combo, 
after prepopulating it..
and before displaying the jsp page...
If anyone has any idea,..
Thanks..
Rgds,
Sheetal

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com



*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 helps.


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




Kavita Mehta <[EMAIL PROTECTED]>
21/08/2006 07:04 PM
Please respond to "Struts Users Mailing List"
 
To: Struts Users Mailing List 
cc: 
Subject:rotating text


Is it possible with HTML or CSS to rotate text as its displayed in the
browser?  Or is this something better done with a graphic?
Id like to rotate a specifc line of text 90 degrees counter clockwise so
that the first letter of the first word is at the 'bottom' of a table 
cell.

Thanks
Kavita


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com



*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 Australia Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838




Ashish Vijaywargiya <[EMAIL PROTECTED]>
07/09/2006 02:11 PM
Please respond to "Struts Users Mailing List"
 
To: Struts-Users Mailing List 
cc: 
Subject:How to access Static Data in jsp file


Hello,

I created an Interface as the code shown below :

public interface StaticData {
String[] minutes = { "01", "02", "03", "04", "05", "06", "07", "08", 
"09",
"10", "11", "12", "13", "14", "15", "16", "17", "18", "19", 
"20",
"21", "22", "23", "24", "25", "26", "27", "28", "29", "30", 
"31",
"32", "33", "34", "35", "36", "37", "38", "39", "40", "41", 
"42",
"43", "44", "45", "46", "47", "48", "49", "50", "51", "52", 
"53",
"54", "55", "56", "57", "58", "59" };

String[] hours = { "00", "01", "02", "03", "04", "05", "06", "07", 
"08",
"09", "10", "11", "12", "13", "14", "15", "16", "17", "18", 
"19",
"20", "21", "22", "23" };
}


I would like use this values in jsp file with the help of  & 
.And then I would like to populate resulted value in combo 
box.

Can anybody of you tell me how to access this values in jsp file ???
I don't want to create the getter() setter() methods for it.

Thanks in advance.
Regards
Ashish Vijaywargiya



 
-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call 
rates.

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 Australia Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838




"Tom Jerry" <[EMAIL PROTECTED]>
07/09/2006 02:21 PM
Please respond to "Struts Users Mailing List"
 
To: "Struts Users Mailing List" 
cc: 
Subject:Re: exception


Error 500--Internal Server Error

javax.servlet.jsp.JspException: Exception creating bean of class
code.LoginForm: {1}
 at 
org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:487)
 at 
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:457)
 at jsp_servlet.__index._jspService(__index.java:216)
 at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
 at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
 at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
 at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
 at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
 at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
 at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
 at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
 at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
 at 
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
 at 
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)



On 9/6/06, David Friedman <[EMAIL PROTECTED]> wrote:
>
> What is the full stack trace in your application server logs?
>
> -Original Message-
> From: Tom Jerry [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 06, 2006 12:48 PM
> To: user@struts.apache.org
> Subject: exception
>
>
> Why do I get an "exception in creating bean" 
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838



---
SEVERE: Error creating form bean of class code.LoginForm
java.lang.NullPointerException
at org.apache.struts.config.FormBeanConfig.createActionForm(
FormBeanConfig.java:212)
at org.apache.struts.util.RequestUtils.createActionForm(
RequestUtils.java:292)
at org.apache.struts.util.RequestUtils.createActionForm(
RequestUtils.java:191)
at 
org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:477)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:457)
at jsp_servlet.__index._jspService(__index.java:216)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
ServletStubImpl.java:463)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
ServletStubImpl.java:315)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(
WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(
AuthenticatedSubject.java:321)
at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java
:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(
WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(
ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
   
<[ServletContext(id=23669321,name=registeruser,context-path=/registeruser)]
Root cause of ServletException.
javax.servlet.jsp.JspException: Exception creating bean of class
code.LoginForm: {1}
at 
org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:487)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:457)
at jsp_servlet.__index._jspService(__index.java:216)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
ServletStubImpl.java:463)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
ServletStubImpl.java:315)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(
WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(
AuthenticatedSubject.java:321)
at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java
:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(
WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(
ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)





"Tom Jerry" <[EMAIL PROTECTED]>
07/09/2006 03:22 PM
 
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
cc: "Struts Users Mailing List" 
Subject:Re: exception


I am using Weblogic 8.1 SP3

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> 
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>









 



 






 

I am NOT using bean:define. In fact.. bean:message works... still that 
exception of creating bean comes :(

On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

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 Australia Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838 



"Tom Jerry" <[EMAIL PROTECTED]> 
07/09/2006 02:21 PM 
Please respond to "Struts Users Mailing List" 

To:"Struts Users Mailing List"  
cc: 
Subject:Re: exception



Error 500--Internal Server Error

javax.servlet.jsp.JspException: Exception creating bean of class
code.LoginForm: {1}
at 
org.apache.struts.taglib.

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




"Tom Jerry" <[EMAIL PROTECTED]>
07/09/2006 04:02 PM
Please respond to "Struts Users Mailing List"
 
To: "Struts Users Mailing List" 
cc: 
Subject:Re: exception


There are no database operations. It is the simplest one. I am learning by
example.



http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";>




 








 







  
  
  
  



  

  

  



Please let me know if I have to zip and send the entire folder.

On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 
wrote:
>
> Did you mention LoginForm in struts-config properly - I mean
> 
> 
> 
> 
> And 
>
> Pls share your struts-config.xml.
>
>
>
>
> -Original Message-
> From: Tom Jerry [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 07, 2006 9:51 AM
> To: Struts Users Mailing List
> Subject: Re: exception
>
> Error 500--Internal Server Error
>
> javax.servlet.jsp.JspException: Exception creating bean of class
> code.LoginForm: {1}
> at
> org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:487)
> at
> org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:457)
> at jsp_servlet.__index._jspService(__index.java:216)
> at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
> at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
> rvletStubImpl.java:996)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> java:419)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> java:463)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> java:315)
> at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
> un(WebAppServletContext.java:6452)
> at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
> bject.java:321)
> at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
> )
> at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
> etContext.java:3661)
> at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
> java:2630)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
>
>
> On 9/6/06, David Friedman <[EMAIL PROTECTED]> wrote:
> >
> > What is the full stack trace in your application server logs?
> >
> > -Original Message-
> > From: Tom Jerry [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 06, 2006 12:48 PM
> > To: user@struts.apache.org
> > Subject: exception
> >
> >
> > Why do I get an "exception in creating bean" 
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 respond to "Struts Users Mailing List"
 
To: "Struts Users Mailing List" 
cc: 
Subject:Re: exception


Yes. Both LoginAction.java and LoginForm.java are in code package. Please
let me know if I have to send you the entire folder ? What you mean by 
this
"loaded within the Web Appilication." ???

On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> 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
>
>
>
>
> "Tom Jerry" <[EMAIL PROTECTED]>
> 07/09/2006 04:02 PM
> Please respond to "Struts Users Mailing List"
>
> To: "Struts Users Mailing List" 
> cc:
> Subject:Re: exception
>
>
> There are no database operations. It is the simplest one. I am learning 
by
> example.
>
> 
>
>"-//Apache Software Foundation//DTD Struts Configuration
> 1.2//EN"
>   "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";>
>
> 
> 
> 
>  
>
> 
> 
> 
>
> 
>  type="code.LoginAction"
> name="loginForm"
> scope="session"
> input="/index.jsp">
> 
>  
>
>  processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
>
> 
>
> 
>
>   
>   value="/WEB-INF/tiles-defs.xml" />
>   
>   
> 
>
>
>   
>
>   
>  property="pathnames"
> value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
>   
>
> 
>
> Please let me know if I have to zip and send the entire folder.
>
> On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
> >
> > Did you mention LoginForm in struts-config properly - I mean
> > 
> > 
> > 
> > 
> > And  >
> >
> > Pls share your struts-config.xml.
> >
> >
> >
> >
> > -Original Message-
> > From: Tom Jerry [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 07, 2006 9:51 AM
> > To: Struts Users Mailing List
> > Subject: Re: exception
> >
> > Error 500--Internal Server Error
> >
> > javax.servlet.jsp.JspException: Exception creating bean of class
> > code.LoginForm: {1}
> > at
> > org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:487)
> > at
> > org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:457)
> > at jsp_servlet.__index._jspService(__index.java:216)
> > at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
> > at
> > 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
> > rvletStubImpl.java:996)
> > at
> > 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> > java:419)
> > at
> > 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> > java:463)
> > at
> > 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> > java:315)
> > at
> > 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
> > un(WebAppServletContext.java:6452)
> > at
> > 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
> > bject.java:321)
> > at
> > 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
> > )
> > at
> > 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
> > etContext.java:3661)
> > at
> > 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
> > java:2630)
> > at 
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
> >
> >
> >
> > On 9/6/06, David Friedman <[EMAIL PROTECTED]> wrote:
> > >
> > > What is the full stack trace in your application server logs?
> > >
> > > -Original Message-
> > > From: Tom Jerry [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, September 06, 2006 12:48 PM
> > > To: user@struts.apache.org
> > > Subject: exception
> > >
> > >
> > > Why do I get an "exception in creating bean" 
> > >
> > >
> > > 
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> 

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 04:36 PM
 
To: [EMAIL PROTECTED], Struts Users Mailing List 

cc: 
Subject:Re: How to access Static Data in jsp file


Thx for the reply puz.
I changed as you said.
and kept the values in pageContext and i also converted the member 
variable to "public static".

<% 
request.setAttribute("hours", StaticData.hours);
request.setAttribute("minutes", StaticData.minutes);
 %>

But in the combo box it is not populating the values.The combo box code is 
:

   


   


I also created the getter setter methods for the startTimeMinute & 
startTimeHour
When printed the values from StaticData.minutes[1],StaticData.minutes[2] 
then it is displaying the value in the console.But it is not populating 
the values in combo box.My case is resemble as those example given in the 
struts-example.war file that comes with struts distribution.But my value 
is not populating in combo box.

Please help.
Thanks in advance.



[EMAIL PROTECTED] wrote:

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 Australia Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838 



Ashish Vijaywargiya <[EMAIL PROTECTED]> 
07/09/2006 02:11 PM 
Please respond to "Struts Users Mailing List" 

To:Struts-Users Mailing List  
cc: 
Subject:How to access Static Data in jsp file



Hello,

I created an Interface as the code shown below :

public interface StaticData {
   String[] minutes = { "01", "02", "03", "04", "05", "06", "07", "08", 
"09",
   "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", 
"20",
   "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", 
"31",
   "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", 
"42",
   "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", 
"53",
   "54", "55", "56", "57", "58", "59" };

   String[] hours = { "00", "01", "02", "03", "04", "05", "06", "07", 
"08",
   "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", 
"19",
   "20", "21", "22", "23" };
}


I would like use this values in jsp file with the help of  & 
.And then I would like to populate resulted value in combo 
box.

Can anybody of you tell me how to access this values in jsp file ???
I don't want to create the getter() setter() methods for it.

Thanks in advance.
Regards
Ashish Vijaywargiya



 
-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call 
rates.

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com 




*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**

 Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less. 
_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 respond to "Struts Users Mailing List"
 
To: "Struts Users Mailing List" 
cc: 
Subject:deletion of browser cache


Hai,
 whenever i am insert   new image i am displaying the image in view 
.But we doent have any problem until we change the image.when we change 
the existing image into new image ,the new image is not displayed in 
view.When we make refresh we can able to newly updated image
 thanks and advance
gomes

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 project criticality 
and funding available.

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




"SrinivasaReddy" <[EMAIL PROTECTED]>
19/09/2006 02:07 PM
Please respond to "Struts Users Mailing List"
 
To: "Struts Users Mailing List" 
cc: 
Subject:Web Application Security -- Help needed


HI All..,

I am developing the Application in Struts+Hibernate, it is an Web 
Application.I need to apply the security for this applicaiton like
--> If Session Timeout over that should redirect to Login page
--> After login if we copy the url and open it in new browser, that should 
redirect to login page

Which type of security i need to apply for this...

Here all pages are secure pages only.
we are using the Sturts tiles to develop the application...

Thanks  for any help..


Regards
Srinivasa Reddy

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 information.

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




"starki78" <[EMAIL PROTECTED]>
20/09/2006 05:52 PM
Please respond to "Struts Users Mailing List"
 
To: "user" 
cc: 
Subject:Re: Getting the server-port from a ContextListener


HI!

No I want to write the server name and port 
where the applikation is running
in the
Database within the ContextInitialized Event!

Is this possible somehow?

Nice greetings


-- Initial Header ---

>From  : "Li" [EMAIL PROTECTED]
To  : "Struts Users Mailing List" user@struts.apache.org
Cc  : 
Date  : Wed, 20 Sep 2006 15:45:40 +0800
Subject : Re: Getting the server-port from a ContextListener







> r u trying to do some test case?
> 
> On 9/20/06, starki78 <[EMAIL PROTECTED]> wrote:
> >
> > HI!
> >
> > I've a Servlet implementing ServletContextListener
> > and in the contextInitialized I needed the server-name
> > and the port of the server.
> > So I needed to simulate a request.
> > Is this possible somehow?
> >
> > Thanks for any help!
> > Starki
> >
> >
> > --
> > Tutti i libri che vuoi, li trovi su BOL. Ordini on line e paghi alla
> > consegna.
> > http://click.libero.it/bol
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> When we invent time, we invent death.
> 


--
Tutti i libri che vuoi, li trovi su BOL. Ordini on line e paghi alla 
consegna.
http://click.libero.it/bol



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com



*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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-838




"starki78" <[EMAIL PROTECTED]>
20/09/2006 06:11 PM
Please respond to "Struts Users Mailing List"
 
To: "user" 
cc: 
Subject:Re: Getting the server-port from a ContextListener


Thank you for your answer

I'm trying to write the
Servername and the Port of the application
in the database at the earliest moment
possible, so what would you recommend?
Is the ContextListener the wrong choice?

Nice greetings Starki


-- Initial Header ---

>From  : [EMAIL PROTECTED]
To  : "Struts Users Mailing List" 
user@struts.apache.org,"starki78" [EMAIL PROTECTED]
Cc  : 
Date  : Wed, 20 Sep 2006 18:00:13 +1000
Subject : Re: Getting the server-port from a ContextListener







> 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 information.
> 
> 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
> 
> 
> 
> 
> "starki78" <[EMAIL PROTECTED]>
> 20/09/2006 05:52 PM
> Please respond to "Struts Users Mailing List"
> 
> To: "user" 
> cc: 
> Subject:Re: Getting the server-port from a 
ContextListener
> 
> 
> HI!
> 
> No I want to write the server name and port 
> where the applikation is running
> in the
> Database within the ContextInitialized Event!
> 
> Is this possible somehow?
> 
> Nice greetings
> 
> 
> -- Initial Header ---
> 
> From  : "Li" [EMAIL PROTECTED]
> To  : "Struts Users Mailing List" user@struts.apache.org
> Cc  : 
> Date  : Wed, 20 Sep 2006 15:45:40 +0800
> Subject : Re: Getting the server-port from a ContextListener
> 
> 
> 
> 
> 
> 
> 
> > r u trying to do some test case?
> > 
> > On 9/20/06, starki78 <[EMAIL PROTECTED]> wrote:
> > >
> > > HI!
> > >
> > > I've a Servlet implementing ServletContextListener
> > > and in the contextInitialized I needed the server-name
> > > and the port of the server.
> > > So I needed to simulate a request.
> > > Is this possible somehow?
> > >
> > > Thanks for any help!
> > > Starki
> > >
> > >
> > > --
> > > Tutti i libri che vuoi, li trovi su BOL. Ordini on line e paghi alla
> > > consegna.
> > > http://click.libero.it/bol
> > >
> > >
> > >
> > > 
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > 
> > 
> > -- 
> > When we invent time, we invent death.
> > 
> 
> 
> --
> Tutti i libri che vuoi, li trovi su BOL. Ordini on line e paghi alla 
> consegna.
> http://click.libero.it/bol
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> _ 
> This e-mail has been scanned for viruses by MCI's Internet Managed 
> Scanning Services - powered by MessageLabs. For further information 
> visit http://www.mci.com
> 
> 
> 
> 
*
> Important Note
> This email (including any attachments) contains information which is 
> confidential and may be subject to legal privilege.  If you are not 
> the intended recipient you must not use, distribute or copy this 
> email.  If you have received this email in error please notify the 
> sender immediately and delete this email. Any views expressed in this 
> email are not necessarily the views of AXA.   Thank you.
> 
**
> 


--
Tutti i libri che vuoi, li trovi su BOL. Ordini on line e paghi alla 
consegna.
http://click.libero.it/bol



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com




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 match, dont remove. If they dont match, remove. This should be a 
simple logic.

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




"Daniel Chacón Sánchez" <[EMAIL PROTECTED]>
26/09/2006 08:41 AM
Please respond to "Struts Users Mailing List"
 
To: "Struts Users Mailing List" , 
[EMAIL PROTECTED]
cc: 
Subject:Re: Erase Only some Session Objests and variables


What do you suggest me to use for keep that "preserve" names? A file, an
arrayList, or what? An example code of the use of that with the code that
Heidy gived??


2006/9/25, Jason King <[EMAIL PROTECTED]>:
>
> Daniel Chacón Sánchez wrote:
> > son = some :P
> >
> > 2006/9/25, Daniel Chacón Sánchez <[EMAIL PROTECTED]>:
> >>
> >> Hi all,
> >>
> >> How I can kill son objects and variables in session, without kill
> >> everything in session like with session.invalidate().
> >>
> >> I want that some objects always be in session and when I press a menu
> >> option all other variables or object that are in session be erase.
> >>
> >> i can´t use removeAttribute(..); because I don´t know the name of all
> >> objects and variables that be in session in a moment. I need to erase
> >> everything from sesion except son object that always need in session,
> >> how
> >> can i do that?
> >>
> >> I'm using struts framework
> >>
> >
> Since the session object is a map you could get a list of keys and for
> each key compare it to your list of "preserve" names.  If its not in the
> name, remove it.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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-0411-354-838




"sowjanya chimmani" <[EMAIL PROTECTED]>
29/09/2006 02:41 PM
Please respond to "Struts Users Mailing List"
 
To: user@struts.apache.org
cc: 
Subject:How to restrict the user to modify the address bar 
url


Hi all,

 I  want a solution for  restricting the user from enternng 
the
text into the address bar and this has to be done programatically


-- 
sowjanya


_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838




Niniva Ray <[EMAIL PROTECTED]>
12/10/2006 08:26 AM
Please respond to "Struts Users Mailing List"
 
To: user@struts.apache.org
cc: 
Subject:How to pass data from one Action class to another 
Action class?





Hello,
 
  If my Action class's success path is another Action class, not a jsp, 
how do I pass data from one Action class to the other Action class?
  Both of my action classes are associated with the same form bean. I was 
setting the method A of the common form bean in one Action class and doing 
getA in the 2nd Action class, but instead of getting the value I set, I am 
getting back 0.
 
  Thanks in advance.
  Regards,
  NRay

 
-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great 
rates starting at 1¢/min.

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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/10/2006 08:45 AM
Please respond to "Struts Users Mailing List"
 
To: Struts Users Mailing List 
cc: 
Subject:Re: How to pass data from one Action class to 
another Action class?


No, my form bean has request scope.
  yes, both the form beans name are same.
  NRay

[EMAIL PROTECTED] wrote:
  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 Services Pty. Ltd.
Off : +61-3-9618-4085
Mob : +61-0411-354-838




Niniva Ray 
12/10/2006 08:26 AM
Please respond to "Struts Users Mailing List"

To: user@struts.apache.org
cc: 
Subject: How to pass data from one Action class to another 
Action class?





Hello,

If my Action class's success path is another Action class, not a jsp, 
how do I pass data from one Action class to the other Action class?
Both of my action classes are associated with the same form bean. I was 
setting the method A of the common form bean in one Action class and doing 

getA in the 2nd Action class, but instead of getting the value I set, I am 

getting back 0.

Thanks in advance.
Regards,
NRay


-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great 
rates starting at 1¢/min.

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege. If you are not 
the intended recipient you must not use, distribute or copy this 
email. If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA. Thank you.
**


 
-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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);
  }
 
  private void testField() {
  String aField = "test1";
  System.out.println(aField);
  System.out.println(this.aField);
  }
  }


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:13 AM
Please respond to "Struts Users Mailing List"
 
To: user@struts.apache.org
cc: 
Subject:Simple java question


I declared  a private global field called aField.
  The same  variable I decalred in a method .
  For example
  public class Test2 {
  private String aField = " aField ";
 
  public static void main(String[] args) {
  Test2 test2 = new Test2();
  test2.testField();
  System.out.println(test2.aField);
  }
 
  private void testField() {
  String aField = "test1";
  System.out.println(aField);
  }
  }
  In the  method testField if I want to access the global variable  aField 
is it possible ?
  Thanks  & Regards
  Miro
 
 
-
Access over 1 million songs - Yahoo! Music Unlimited.

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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
Please respond to "Struts Users Mailing List"
 
To: Struts Users Mailing List 
cc: 
Subject:Re: Simple java question


If I donot use this.aField implies that complier will never point to 
global field ? and only way I can access the global variable is using this 
?
  Thanks & Regards
  Miro

[EMAIL PROTECTED] wrote:  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);
  }
 
  private void testField() {
  String aField = "test1";
  System.out.println(aField);
  System.out.println(this.aField);
  }
  }


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 
15/11/2006 07:13 AM
Please respond to "Struts Users Mailing List"
 
To: user@struts.apache.org
cc: 
Subject:Simple java question


I declared  a private global field called aField.
  The same  variable I decalred in a method .
  For example
  public class Test2 {
  private String aField = " aField ";
 
  public static void main(String[] args) {
  Test2 test2 = new Test2();
  test2.testField();
  System.out.println(test2.aField);
  }
 
  private void testField() {
  String aField = "test1";
  System.out.println(aField);
  }
  }
  In the  method testField if I want to access the global variable  aField 

is it possible ?
  Thanks  & Regards
  Miro
 
 
-
Access over 1 million songs - Yahoo! Music Unlimited.

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


 
-
Want to start your own business? Learn how on Yahoo! Small Business.

_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**


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 individual  tags.

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




"Thomas Thomas" <[EMAIL PROTECTED]>
30/11/2006 08:52 AM
Please respond to "Struts Users Mailing List"
 
To: "Struts Users Mailing List" 
cc: 
Subject:validate question ...


Hi,

My web-application allows a user to authenticate to the website.

I check for login and password with the Validator Framework (correct 
length,
correct carachters, ...)
Then display with  and  in my jsp.
This work ok.

If he the fields are valid, I need to check in my DB if the user is really
subscribed.

1) Where should I do the DB validation ?
2) How do I return the errors to JSP, how do I display the errors in my 
jsp
?
can I have something similar like :  or
something like that ?
what's best ?


I have for this a "DynaValidatorForm" and an Action "LoginAction" if 
fields
are correct for the validator :



 
 

[...]





And my JSP :

login :




 <--- DISPLAY error if
login is empty




mot de passe :



 <--- DISPLAY error 
if
password is empty



_ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

*
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**