how to populate drop down from property file

2009-10-20 Thread rajendar are
Hi , I want to populate drop down list from property file.I already done this coding by using MessageResources Class of org.apache.struts.util.* package in my Action like the way *tank.properties* natureoftan...@concrete CHAMBERS,a...@c.m.d.a,d...@dug WELL,p...@pit PRIVY detailsoftheseptictan...

Re: How to populate drop down from propery file in Struts html

2009-10-15 Thread rajendar are
Hi all, At last I got solution MessageResources messages = MessageResources.getMessageResources("/config/messages_EN"); String message = messages.getMessage(request.getLocale(), "message.delete.error"); Thanks & Regards, Rajendar 2009/10/15 rajendar are > Hi, >

Re: How to populate drop down from propery file in Struts html

2009-10-15 Thread rajendar are
have all the key value pair from properties files into your > properties object. Prepare a collection object from this one and set it to > the request and use in jsp. > > This is a quite a round about workaround but this will work for ur > requirement. > > Thanks, > Muthu > &g

How to populate drop down from propery file in Struts html

2009-10-15 Thread rajendar are
Hi, I want to populate drop down in my jsp(struts html) from property file.Still I used property files for Action Fom properties and Messages.Please send if any source code is there other wise please give me idea 1)how can i get the options list from property file to HashMap/TreeMap/ArrayList in m

Re: urgent guys

2009-10-14 Thread rajendar are
Hi, check once preExecute method in your action class. Regards, Rajendar 2009/10/14 swathi reddy > Hi all guys > > can u tell me whare exactly this error is being raised in my project > > I am using struts 1.3.8 > errror log is like this below : > > > java.lang.NullPointerException > > at >