Multi language support in struts layout datagrid - didn't g et any reply

2007-10-30 Thread nagesh.kumar
 


Hi All,

I have implemented already Struts DATAGRID now fasing a prob , I need to
support multi language fileds in this datagrid layout .

How can I show a filed in english and another field in japan in the same
datagrid .

Any solution please mail me

Thanks & Regards
Nagesh Kumar Reddy


+
CONFIDENTIALITY NOTICE & DISCLAIMER

The contents of this e-mail are confidential to the ordinary user of the e-mail 
address to which it was addressed and may also be privileged.  If you are not 
the addressee of this e-mail you may not copy, forward, disclose or otherwise 
use it or any part of it in any form whatsoever.  If you have received this 
e-mail in error please e-mail the sender by replying to this message. The 
recipient should check this email and any attachments for the presence of 
viruses. InterGlobe accepts no liability for any damage caused by any virus 
transmitted by this email.
+



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



Multi language support in struts layout datagrid

2007-10-30 Thread nagesh.kumar

Hi All,


I have implemented already Struts DATAGRID  iam fasing a prob , I need to
support multi language fileds in this datagrid layout .

How can I show a filed in english another field in japan in the same
datagrid .

Any body has any idea please mail me

Thanks & Regards
Nagesh Kumar Reddy


+
CONFIDENTIALITY NOTICE & DISCLAIMER

The contents of this e-mail are confidential to the ordinary user of the e-mail 
address to which it was addressed and may also be privileged.  If you are not 
the addressee of this e-mail you may not copy, forward, disclose or otherwise 
use it or any part of it in any form whatsoever.  If you have received this 
e-mail in error please e-mail the sender by replying to this message. The 
recipient should check this email and any attachments for the presence of 
viruses. InterGlobe accepts no liability for any damage caused by any virus 
transmitted by this email.
+



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



RE: Multiple Textboxes with same name.

2007-10-30 Thread nagesh.kumar
Use Struts-Layout tag library for this fucntionality and use DATAGRIG
component in this 

Thanks & Regards
NAGESH Reddy 

-Original Message-
From: Rajagopal_Yendluri [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 30, 2007 2:43 PM
To: Struts Users Mailing List
Subject: RE: Multiple Textboxes with same name.

Hi,

  Thanks for all of your support.

Here is my requirement,
  
I have to add the students information ( studentname & collegename) in jsp
pages. Say I want to add 5 students information (5 studentnames and
5 collegenames).

I have a StudentVO, how can I get all this info to my action as a collection
of StudentVO.

Please post some code.
 



-Original Message-
From: Rajagopal_Yendluri [mailto:[EMAIL PROTECTED]
Sent: Friday, October 26, 2007 12:29 PM
To: Struts Users Mailing List
Subject: RE: Multiple Textboxes with same name.

Thanks Dave.

-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 8:29 PM
To: Struts Users Mailing List
Subject: Re: Multiple Textboxes with same name.

S2 will handle indexed form names properly, so you could have an action
property defined as, say, "List usernames" and name the form elements
"username[0]"
etc.

http://struts.apache.org/2.x/docs/type-conversion.html
may help, towards the bottom.

d.

--- Rajagopal_Yendluri <[EMAIL PROTECTED]>
wrote:

> Hi,
> 
> I Have the following requirement in my project and I am new to 
> struts2.
> 
> 
> I have to enter the data for Users: say I want to add 10 usernames 
> from UI and I want to store all this usernames in database.
> 
>   For EX: my UI Looks like this
> 
>   USERNAME: 
>   textbox--
>   textbox--
>   textbox--
> 
> And I have to store all this data in Databsae.
> 
> I know if it is one textbox we have a property in action with 
> getter/setter methods and we can get the value.
> 
> Let me know how to deal with this kind of form.
> 
> Regards,
> Rajagopal
> 
> 
> 
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of 
> the intended recipient/s and may contain material that is CONFIDENTIAL 
> AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or 
> copying or distribution or forwarding of any or all of the contents in 
> this message is STRICTLY PROHIBITED. If you are not the intended 
> recipient, please contact the sender by email and delete all copies; 
> your cooperation in this regard is appreciated.
> 
>
-
> 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]




DISCLAIMER:
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

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




DISCLAIMER:
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

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


+
CONFIDENTIALITY NOTICE & DISCLAIMER

The contents of this e-mail are confidential to the ordinary user of the e-mail 
address to which it was addressed and may also be privileged.  If you are not 
the addressee of this e-mail you may not copy, forward, disclose or otherwise 
use it or any part of it in any form whatsoever.  If you have received this 
e-mail in error please e-mail the sender by replying to this message. The 
recipient should check this email and any attachments for the presence of 
viruses. InterGlobe accepts no liability for any damage caused by any virus 
transmitted by this email.
+



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

Input names in Multi Language in a single form like name in English & Japan

2007-09-05 Thread nagesh.kumar

Hi All,

I need to take input from same form ->like user name in English &
Japan ,
How can I support this by using Struts 1.2x.


Thanks & Regards
Nagesh Kumar Reddy.  


+
CONFIDENTIALITY NOTICE & DISCLAIMER

The contents of this e-mail are confidential to the ordinary user of the e-mail 
address to which it was addressed and may also be privileged.  If you are not 
the addressee of this e-mail you may not copy, forward, disclose or otherwise 
use it or any part of it in any form whatsoever.  If you have received this 
e-mail in error please e-mail the sender by replying to this message. The 
recipient should check this email and any attachments for the presence of 
viruses. InterGlobe accepts no liability for any damage caused by any virus 
transmitted by this email.
+



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



RE: How to make tabs in JSP

2007-06-26 Thread nagesh.kumar
In struts layout u have lots options mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 26, 2007 5:34 PM
To: user@struts.apache.org
Subject: How to make tabs in JSP

Hi,
I want to code a JSP page with tabs . Does struts support an easy way of
doing the same.
Any link to the related resource would be helpful ...I have searched on
Struts-Layout ...any other option ?

Thanks
Kavita




*DISCLAIMER*


This message and/or attachment(s) contained here are confidential,
proprietary to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is
solely intended for the entity it is addressed to. If you are not the
intended recipient of this message, it is strictly prohibited to read,
forward, print, retain, copy or disseminate this message or any part of it.
If you have received this e-mail in error, please notify the sender
immediately and delete the message.






+
CONFIDENTIALITY NOTICE & DISCLAIMER

The contents of this e-mail are confidential to the ordinary user of the e-mail 
address to which it was addressed and may also be privileged.  If you are not 
the addressee of this e-mail you may not copy, forward, disclose or otherwise 
use it or any part of it in any form whatsoever.  If you have received this 
e-mail in error please e-mail the sender by replying to this message. The 
recipient should check this email and any attachments for the presence of 
viruses. InterGlobe accepts no liability for any damage caused by any virus 
transmitted by this email.
+



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



RE: Jsp out to Persist

2007-05-01 Thread nagesh.kumar
Thanks a lot buddy,

I need to send a mail by using the same html generated by jsp  
 just like your idea [save the file to the server]

How can I implement this do u have any example where I can refer.

Thanks & Regards
Nagesh Reddy.

-Original Message-
From: Lance [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 4:52 PM
To: Struts Users Mailing List
Subject: Re: Jsp out to Persist

Are you saving the file to the client or to the server?

If you want the client to save the file, you can set the content disposition
header... this will cause a file download dialog to appear
response.setHeader("content-disposition", "attachment;
filename=someFileName.html");

If you want to save the file to the server, you could use a
javax.servlet.Filter which is mapped to the uri(s) that you want to keep a
record of.
You could wrap the resppnse in a custom ResponseWrapper The response wrapper
overrides getOutputStream() and getWriter() so that they return objects that
write to the file system and the wrapped response.

Cheers,
Lance,

nagesh.kumar wrote:
> Hi All,
>
> I have a scenario like I need to persist or get stream of generated 
> output JSP OUT PUT [HTML]
>
> I have  flow like ACTION  >  JSP >  gives HTML out oput to browser
>
> Now I need to persist this generated html from jsp to some file.
>
> How can I close this
>
> Please give me a solution
>
> Or
>
> How can I call this action > jsp with out HTTP also.
>
> Thanks & Regards
> Nagesh Reddy
>
>
>
> DISCLAIMER:
> The information in this e-mail is the property of InterGlobe and is 
> confidential and privileged. It is intended solely for the addressee. 
> Access to this email by anyone else is unauthorized. If you are not 
> the intended recipient, any disclosure, copying, distribution or any 
> action taken in reliance on it is prohibited and will be unlawful. If 
> you receive this message in error, please notify the sender 
> immediately and delete all copies of this message
>
>
>
> -
> 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]


DISCLAIMER:
The information in this e-mail is the property of InterGlobe and is 
confidential and privileged. It is intended solely for the addressee. Access to 
this email by anyone else is unauthorized. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken in 
reliance on it is prohibited and will be unlawful. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message



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



Jsp out to Persist

2007-05-01 Thread nagesh.kumar
Hi All,

I have a scenario like I need to persist or get stream of generated output
JSP OUT PUT [HTML]

I have  flow like ACTION  >  JSP >  gives HTML out oput to browser

Now I need to persist this generated html from jsp to some file.

How can I close this 

Please give me a solution

Or 

How can I call this action > jsp with out HTTP also.

Thanks & Regards
Nagesh Reddy



DISCLAIMER:
The information in this e-mail is the property of InterGlobe and is 
confidential and privileged. It is intended solely for the addressee. Access to 
this email by anyone else is unauthorized. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken in 
reliance on it is prohibited and will be unlawful. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message



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



RE: HELP!!

2007-04-30 Thread nagesh.kumar
/WEB-INF/tlds/struts-html.tld 

Please remove " " blank space after .tld  in the above line it should be
like 

/WEB-INF/tlds/struts-html.tld

Thanks & Regards
Nagesh Reddy

-Original Message-
From: vikas rao [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 10:10 AM
To: Struts Users Mailing List
Subject: HELP!!

Hi,
I am getting this exception:
org.apache.jasper.JasperException: /index.jsp(9,0) No tag "" defined in tag
library imported with prefix "html"

My index.jsp file code starts like this:

<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %>

so what is the problem?
I have added this in the web.xml file:


/WEB-INF/tlds/struts-html.tld 
/WEB-INF/tlds/struts-html.tld



I am sooo frustrated, cant make a single struts program work :(.
help!!
vikas.


DISCLAIMER:
The information in this e-mail is the property of InterGlobe and is 
confidential and privileged. It is intended solely for the addressee. Access to 
this email by anyone else is unauthorized. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken in 
reliance on it is prohibited and will be unlawful. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message



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



RE: Load an .xml file when server start up

2007-04-19 Thread nagesh.kumar
Write a servlet LoadMyServlet and write  code to read xml and initiale a
Object put in chache r session wht ever u want  

Add  servlet definition in web.xml 

<...

...>
 2 


This will work ...:) when server starts 


Use this will work for u 

Thanks & Regards
Nagesh Reddy


-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 19, 2007 4:46 AM
To: Struts Users Mailing List
Subject: Re: Load an .xml file when server start up

I've never actually used it but I think the DigestingPlugIn might do this
for you

http://tinyurl.com/2kzh8b

Having said that probably the best plan would be to create your own
ServletContextListener to do this  which would be independant of Struts

http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletContex
tListener.html

Niall

On 4/18/07, Zhang, Larry (L.) <[EMAIL PROTECTED]> wrote:
> I need to load an .xml file when Websphere server starts up. I am 
> using Struts ActionServlet as the only servlet in the app and I do 
> have a CustomProcessor extending TilesRequestProcessor. I am trying to 
> load the .xml file when the server starts up. I configured to load 
> ActionServlet when server starts up in web.xml. Where should I put my 
> code to load the .xml file during the server starts up.
>
> Thanks.

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


DISCLAIMER:
The information in this e-mail is the property of InterGlobe and is 
confidential and privileged. It is intended solely for the addressee. Access to 
this email by anyone else is unauthorized. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken in 
reliance on it is prohibited and will be unlawful. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message



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



RE: DataGrid, Struts layout and Struts 2

2007-03-22 Thread nagesh.kumar
I think some more components like  table ,tabbedPanel ,tree ,treenode  which
are look like datarid we can use this 


http://struts.apache.org/2.0.6/docs/tag-reference.html


Thanks 
Nagesh Reddy 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 23, 2007 7:22 AM
To: user@struts.apache.org
Subject: DataGrid, Struts layout and Struts 2

Hello every one:
I am looking for a way to pass a resultSet or cachedRowSet to a jsp page,
and display the results in a dataGrid.
The behavior I am looking for is similar to the one offered by Struts Layout
http://struts.application-servers.com/intro/layout.html. 
Unforetunatly Struts-Layout doesn't work with Struts 2. So I need an
alternative. Can any one help ?

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


DISCLAIMER:
The information in this e-mail is the property of InterGlobe and is 
confidential and privileged. It is intended solely for the addressee. Access to 
this email by anyone else is unauthorized. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken in 
reliance on it is prohibited and will be unlawful. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message



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



RE: Upgrading to struts 1.3.5, nested tags are broken

2007-03-07 Thread nagesh.kumar
Instead of using  investor.name use record.name 

Try  this will work

-Original Message-
From: Lance Semmens [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 07, 2007 2:54 PM
To: 'user@struts.apache.org'
Subject: Upgrading to struts 1.3.5, nested tags are broken

We are in the process of upgrading to struts 1.3.5, I have followed the
upgrade guide at http://wiki.apache.org/struts/StrutsUpgradeNotes12to13.
Most of the nested tags now seem to be broken.

For example:

  

  


The following exception is thrown:
javax.servlet.jsp.JspException: No getter method for property:
"investor.name" of bean: "someForm"
at org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:903)
at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:230)
at
org.apache.struts.taglib.nested.bean.NestedWriteTag.doStartTag(NestedWriteTa
g.java:60)


It seems as if  is going to the  to get
"investor.name" instead of "record" in  as I would expect.
If I change my  tags to  it fixes
them. I have looked at the code and writeNesting uses
NestedPropertyHelper.getAdjustedProperty() whereas write uses
NestedPropertyHelper.setNestedProperties().

 is broken too, looking at the similarities in all of the
nested tags I get the they're all broken in this way. 

Cheers,
Lance.


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


DISCLAIMER:
The information in this e-mail is the property of InterGlobe and is 
confidential and privileged. It is intended solely for the addressee. Access to 
this email by anyone else is unauthorized. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken in 
reliance on it is prohibited and will be unlawful. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message



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



Multiple formfile uploads - howto?

2007-02-20 Thread nagesh.kumar
Can any bosy has sample jsp , bean , action 

To handle this Multiple formfile uploads - howto? =


Thanks in advance 




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



RE: Logic :if check key is true or false in messgeresouce bundle

2006-12-29 Thread nagesh.kumar
Thanks a lot  

-Original Message-
From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 29, 2006 10:52 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Logic :if check key is true or false in messgeresouce bundle

Hi,

just define a bean from the key you have in the message resource , and then
compare this newly define bean with your value..eg:-









Add your content here...



Thanks,

Nuwan.



- Original Message -
From: "nagesh.kumar" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" 
Sent: Friday, December 29, 2006 6:49 AM
Subject: Logic :if check key is true or false in messgeresouce bundle


> Hi all,
>
> I want to check a key value whether it is true or false in messageresource
> bundle in JSP.
>
> There is no tag to check  the key value directly as
>
> 
> 
>
>
>
>
>
> checkKey=true
>
> Any help thanks
> Nagesh
>
>
>
>
> -
> 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]




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



Logic :if check key is true or false in messgeresouce bundle

2006-12-28 Thread nagesh.kumar
Hi all,

I want to check a key value whether it is true or false in messageresource
bundle in JSP.

There is no tag to check  the key value directly as








checkKey=true

Any help thanks
Nagesh




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



RE: Struts Layout Extension Library & Alternatives solutions

2006-12-22 Thread nagesh.kumar
There is no  any hard coded we have implemented Struts:layout 

Ui changes u can done by changing the  DataGrid.css file 
TABLE.DATAGRID {
background-color:#cbe2fa;   /this is for header background
border-width=2px;
border-color: #FF;

}


Try this  

-Original Message-
From: Andrew Martin [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 22, 2006 5:21 PM
To: Struts Users Mailing List
Subject: Struts Layout Extension Library & Alternatives solutions

We are thinking about integrating the Struts Layout Extension Library into
our current struts project. 

At the moment I have the basic functionality working, but I have noticed
that there are some UI restrictions (hardcoded style attributes in the basic
collection table interface) which are annoying.

I am curious if many people have used this extension library, if so how did
you find it. 

Ideally we only want to use certain functionality within the extension
library (navigation, sorting etc) so if there are better alternatives
extensions which can provide the same functionality please let me know.

thanks,

Andrew

-
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: Validator Framework 1.29

2006-12-20 Thread nagesh.kumar
 




  


  

  





Use this
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 21, 2006 9:16 AM
To: Struts Users Mailing List
Subject: Re: Validator Framework 1.29

On 12/20/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am having some issues with getting the messages from the validator 
> framework from showing. Actually, I have some old code like this:
>   
>  
>
>  
>   
> that used to work, before upgrading to 1.29. I am getting this error:
> "ccording to TLD or attribute directive in tag file, attribute value 
> does not accept any expressions" (I posted this earlier with no 
> response).

So its objecting to a run time expression in your  tag - thats JSTL
not Struts or validator - but I don't think you need it anyway, can't you
just use

or


> Then I am reading through Struts in Action book and they show this 
> type of error handling in the jsp page.
>
>   
>  
>  
>  
> with a import of this tld.
> uri="/tags/struts-validator" prefix="validator" %>
>
> Anyway, now I am confused and not sure which is the best approach to 
> follow. Also, I cannot find the tld for struts-validator? I checked 
> the struts jar for a tld, but did not find one, and I checked the 
> commons-validator.jar and did not find it there. I don't mind using 
> second one from book, but where is tld?

There are no "validator" jsp tags in Struts or Commons Validator - so no TLD
to go with it.

Niall

> Thanks,

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

2006-12-13 Thread nagesh.kumar
This will work  u






  


  

  






Thanks
Nagesh 

-Original Message-
From: Kranti [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 14, 2006 11:03 AM
To: Struts Users Mailing List
Subject: ActionMessages

hi,

can anyone tell how *

ActionMessages can be used in struts along with html:message tag
*




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



RE: Hot deploying struts application

2006-12-12 Thread nagesh.kumar
Set the tomcat home flder in the system environment variables 

Then  tomcat  starts working fine from out side 

U can try this

Thanks
Nagesh 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 13, 2006 11:43 AM
To: user@struts.apache.org
Subject: RE: Hot deploying struts application


Hi

I just strugled with this problem with MyEclipse, Tomcat 5.5
environment:

1. Install Tomcat as desired.

2. Configure your project to MyEclipse as "Exploded" project.

3. Start tomcat inside MyEclipse.  (Started outside don't work)

4. Changes to implementation should reflect immedeatly to running
tomcat-app.
Tomcat log doesn't show this hot deployment but it seems to work when you
test.

/S 

-Original Message-
From: Harish Kumar [mailto:[EMAIL PROTECTED]
Sent: 13. joulukuuta 2006 8:07
To: Struts Users Mailing List
Subject: Hot deploying struts application

hi,

I have a struts project, i want to know whether hot deployment of the
application is possible? I tried doing it but without much luck, i need to
restart my server everytime i do make changes in the class files.
My working environment is MyEclipse, weblogic 8.1, in the application am
using Tiles. Iam facing the exception mainly from TilesRequestProcessor.
Can anyone help me solving this issue.


thanks in advance,
Harish

--
The grain of rice on your table does not tell the grim tale of the toil that
grew it.

-
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: Question about Filter Mapping

2006-12-12 Thread nagesh.kumar
Remove this ".do?function=list"   from the url mapping and try once  
I think its possible

Thanks
Nagesh 

-Original Message-
From: Chetan Pandey [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 13, 2006 8:50 AM
To: 'Struts Users Mailing List'
Subject: Question about Filter Mapping

Hi All:

 

I have written a Filter AuthFilter for my Struts App.

 

I am doing the following mapping.

  

authFilter

 
com.blue.marketing.emailer.util.AuthenticationFilter

  

 



  authFilter

/manageEvent.do?function=list

  

  

 

But the Filter is never entered as Debug statements are not printed.

 

The following is how my Action is mapped in struts-config.xml

 



  

  

  

  

  

  

  



 

I want to know what should be the correct URL-Mapping so that when the page
is clicked for manageEvent.do?function=list access rights are checked via
the Auth Filter.

 

Any help is appreciated.

 

Thanks.

 

Chetan

 

 





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



RE: Cannot create JDBC driver of class '' for connect URL 'null'

2006-12-05 Thread nagesh.kumar
org.apache.commons.dbcp.BasicDataSourceFactory   we are using JNDI data
source and  it is configured  in server.xml  file

in web.xml; we have configured  as



 Oracle Datasource 
 jdbc/ORA_IPRICE
 javax.sql.DataSource
 Container

Apache-Axis
..

thanka
Nagesh


-Original Message-
From: Krishna, Hari (FTT-CInternet) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 05, 2006 4:16 PM
To: Struts Users Mailing List
Subject: RE: Cannot create JDBC driver of class '' for connect URL
'null'


Hi Chandra How are uu and how is ur life?
   May i know what Open Source Technologies u are using now?

With Best Regards,
I.Hari krishna.
--
Franklin Templeton Investments(FTT-CInternet)
+91- 44 - 24407000 Extn:17123
--



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, December 04, 2006 1:34 PM
To: user@struts.apache.org
Subject: RE: Cannot create JDBC driver of class '' for connect URL
'null'


Did you check
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.h
tml - examples

Chandra



-Original Message-
From: nagesh.kumar [mailto:[EMAIL PROTECTED]
Sent: Monday, December 04, 2006 9:43 AM
To: Struts Users Mailing List
Subject: Cannot create JDBC driver of class '' for connect URL 'null'

Hi iam working on jakarta-tomcat-5.5.9

iam trying to read DATASOuRCE configured from the server.xml  as defined
in the http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html

But iam getting this same error message on console iam strucked please
help me Thanks in ADVANCE.

DEBUG  org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
JDBC driver of class '' for connect URL 'null'






debug="5" reloadable="true" crossContext="true">




  
factory
org.apache.commons.dbcp.BasicDataSourceFactory
  
...



Thanks
Nagesh




-
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]
Notice:  All email and instant messages (including attachments) sent to
or from Franklin Templeton Investments (FTI) personnel may be retained,
monitored and/or reviewed by FTI and its agents, or authorized
law enforcement personnel, without further notice or consent.

-
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: Cannot create JDBC driver of class '' for connect URL 'null'

2006-12-04 Thread nagesh.kumar
i tryed this one also  perfectly 

but still same error iam facing 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, December 04, 2006 1:34 PM
To: user@struts.apache.org
Subject: RE: Cannot create JDBC driver of class '' for connect URL
'null'


Did you check
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.h
tml - examples

Chandra

 

-Original Message-
From: nagesh.kumar [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 04, 2006 9:43 AM
To: Struts Users Mailing List
Subject: Cannot create JDBC driver of class '' for connect URL 'null'

Hi iam working on jakarta-tomcat-5.5.9

iam trying to read DATASOuRCE configured from the server.xml  as defined
in the http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html

But iam getting this same error message on console iam strucked please
help me Thanks in ADVANCE.

DEBUG  org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
JDBC driver of class '' for connect URL 'null'






debug="5" reloadable="true" crossContext="true">




  
factory
org.apache.commons.dbcp.BasicDataSourceFactory
  
...



Thanks
Nagesh




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




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



Cannot create JDBC driver of class '' for connect URL 'null'

2006-12-03 Thread nagesh.kumar
Hi iam working on jakarta-tomcat-5.5.9

iam trying to read DATASOuRCE configured from the server.xml  as defined in
the http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html

But iam getting this same error message on console iam strucked please help
me Thanks in ADVANCE.

DEBUG  org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC
driver of class '' for connect URL 'null'






debug="5" reloadable="true" crossContext="true">




  
factory
org.apache.commons.dbcp.BasicDataSourceFactory
  
...



Thanks
Nagesh




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



Getting errors in Struts 1.2 Layout DataGrid

2006-11-21 Thread nagesh.kumar
Hi All,

Iam using Struts 1.2 Layout DataGrid in jsp
Iam able to get populate the values in DataGrid in jsp  perfectly working
fine ,.> when i click the SUBMIt button iam getting below  errors.

1  if  i change the scope = "request"   to   scope = "session"  this error
is not reproducing

//**In the action class iam putting the Actual ArrayList Object
which contrains factorCol1,factorCol2 and factorValue corretly//

Please help me out
Thanks in advance
Nagesh




javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:495)

org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.
java:805)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203
)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

java.lang.IllegalArgumentException: No bean specified

org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(Proper
tyUtilsBean.java:751)

org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:9
37)

org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811)
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298)
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:493)

org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.
java:805)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203
)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Below are the complete code for reference


-jsp





































form bean

public class DataGridForm extends ValidatorForm{


private Datagrid dataGrid=null;

public Datagrid getDataGrid() {
return dataGrid;
}

public void setDataGrid(Datagrid dataGrid) {
this.dataGrid = dataGrid;
}

}
//**In the action class iam putting the Actual ArrayList Object
which contrains factorCol1,factorCol2 and factorValue
corretly**//

struts-config.xml






-




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