parameter value is not coming correct with html:link

2006-09-20 Thread Venkata Phani Kumar
hi, I am trying to display some hyper links which links to same action called 'edituser.do'. adding to that i have pass the user email id as parameters. To achieve that i am using following code. every thing is fine but the link is looking like this /edituser.do?email=mail%40mail.com Infact

Re: about pagination

2006-09-20 Thread Venkata Phani Kumar
Hi Brainne, do you have any idea about these ready made library for pagination. beacuase i also require the same. thnx, Venkata phanikumar.g - Original Message - From: "Kim Brianne Go" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, September 21, 2006 6:35 AM Subject

iterating Vector of HashMap using Logic:iterate

2006-09-21 Thread Venkata Phani Kumar
Hi, I have a Vector. Each HashMap holds two elements as key 'field1' and 'filed2'. Now in jsp page i have to iterate over above vector and have to construt one combo box as below field2 could any body help how to display as above using Regards Venkata Phanikumar. G

Re: Applicationresource.properties

2006-09-21 Thread Venkata Phani Kumar
Hi savino, you can get message resources instance using MessageResources messageResources = getResources(request) ; if you have multiple message resources you can get specific message resource as MessageResources messageResources = getResources(request, "bundleName") ; Now to get correspon

Re: extending from DynaValidator problem?

2006-09-25 Thread Venkata Phani Kumar
check commons-beanutils.jar is present or not - Original Message - From: "Mallik" <[EMAIL PROTECTED]> To: Sent: Monday, September 25, 2006 4:08 PM Subject: extending from DynaValidator problem? > > HI friends > i want to do some validations, that why i want to extends from > DynaValida

Re: Forward to action without jsp

2006-09-28 Thread Venkata Phani Kumar
- Original Message - From: "Andy.de" <[EMAIL PROTECTED]> To: Sent: Thursday, September 28, 2006 6:25 PM Subject: Forward to action without jsp > > Hi all, > how can i forward to an action without input (jsp) ? > The path attribute of action tag in struts-config must point to jsp's. To

Re: How do i know if exits errors in any scope?

2006-09-28 Thread Venkata Phani Kumar
Hi Ramos, You can check errors present using validator tld as You can get property specific errors using - Original Message - From: "Yariel Ramos Moreno" <[EMAIL PROTECTED]> To: Sent: Friday, September 29, 2006 12:59 AM Subject: How do i know if exits errors in any scope? How do i

using dojo with struts

2006-10-03 Thread Venkata Phani Kumar
Hi, I need some help regarding dojo with struts. I have one form which contains some check boxes and 'delete' button. i have corresponding Action and ActionForm classes to implement delete. I am trying to implement Dojo here to avoid total page refresh. the code in jsp is : function onclick_

Re: Plugin

2006-10-17 Thread Venkata Phani Kumar
Hi, First of all you need to create a class which implements org.apache.struts.action.PlugIn. Then you need to override method init(ActionServlet servlet, ModuleConfig modConfig) and do your own initializations. Finally you have to configure this class under struts-config.xml using tag as -

Re: ActionMessages in Struts?

2006-10-26 Thread Venkata Phani Kumar
hi mallik, you can save some messages in action so that they can be accessed from jsp ActionMessages errorMsgs = new ActionMessages(); errorMsgs.add("messageId", new ActionMessage("message.Inserted_successfully")); saveErrors(request, errorMsgs); in jsp, - Original Message - From: "Mal

How to use Jboss datasource in struts-config.xml

2006-11-09 Thread Venkata Phani Kumar
Hi, I have created a datasource which will bind to a jndi name. Now i want to use the same datasource in my struts application. For this i need to mention the same jndi name in my struts-config.xml. can any body help me out how to mention the jndi name in struts-config.xml Thanks & Regards

Re: A Filter Action !

2006-11-16 Thread Venkata Phani Kumar
Hi youssef, You can override RequestProcessor instead. The required steps are 1) in struts-config.xml 2) Create a Class wich extends RequestProcessor If you are using Tile Framework you have extend from TilesRequestProcessor 3) Then override method processPreprocess()

Re: datasource creation problem?

2006-12-04 Thread Venkata Phani Kumar
Hi mallik, just try by adding commons-dbcp.jar to build path. - Original Message - From: "Mallik" <[EMAIL PROTECTED]> To: Sent: Monday, December 04, 2006 3:22 PM Subject: datasource creation problem? > > Hi friends > i started my application in Struts using IDE Eclipse. > when i create

Re: Updating a config(.ini) file in Action class

2006-12-05 Thread Venkata Phani Kumar
Hi, You can get any resource path wich is under context path using ServeletContext.getRealPath(). The usage of this method is here, String iniFilePath = request.getSession().getServletContext().getRealPath("test.ini"); you can use the 'iniFilePath' to instatiate FileOutStream, and