RE: The class variable reference null problem

2007-05-31 Thread Kapil Sharma
nds Action { public static GraphicsServer myServer = null; Actionforward execute(){ if(myServer == null) myServer = ClsInitializeServer.getInitializeInstance(); } } Thanks and Regards, Kapil Sharma -Original Message----- From: Kapil Sharma [mailto:[EMAIL PROTE

RE: The class variable reference null problem

2007-05-31 Thread Kapil Sharma
rts of the program. This is not the case of simple class, i think so, Struts use it as another ways. It keep all the class level variables as application level and does not initilaze them again. But I am wondering how to make it initialize every time. Thanks and Regards, Kapil Sharma ---

The class variable reference null problem

2007-05-31 Thread Kapil Sharma
not null. I am new , Plz help me how to make its reference null. Thanks and Regards, Kapil Sharma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Assingning bean:write Values in Jsp

2007-05-24 Thread Kapil Sharma
tag will do it You can access it as <%=assign%> Thanks and Regards, Kapil -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 3:57 PM To: Struts Users Mailing List Subject: Re: Assingning bean:write Values in Jsp 2007/5/24, jalal

RE: Need Help On Combo Box Population VERY URGENT REQUIREMENT

2007-05-10 Thread Kapil Sharma
sel2.appendChild(clonedOptions[i].cloneNode(true)); } Thanks and Regards, Kapil Sharma -Original Message- From: Srinivasula Reddy A , Bangalore [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 5:23 PM To: Struts Users Mailing List Subject: Need Help On Combo Box P

RE: Good idea of installing a file on host machine

2007-05-09 Thread Kapil Sharma
Regards, Kapil Sharma -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Laurie Harper Sent: Thursday, May 10, 2007 11:59 AM To: user@struts.apache.org Subject: Re: [OT] Good idea of installing a file on host machine Kapil Sharma wrote: > Hello, > > I know it is not

Good idea of installing a file on host machine

2007-05-09 Thread Kapil Sharma
side that should interact with my server Any idea will be greatly appreciated Thanks and Regards, Kapil Sharma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] Reading Unicode Files

2007-05-08 Thread Kapil Sharma
fnsData = in.readLine(); } session.setAttribute("Properties", prop); } else { prop = (Properties) session.getAttribute("Properties"); } Thanks and Regards, Kapil Sharma I

RE: Need help about the technology to apply with struts

2007-05-08 Thread Kapil Sharma
admin module specifies all the dependies of questions and answers. So my Query is that Should i bring all the logic from database into my ajax page and then make Questions n Answers hide, unhide. Or there is any tool through which u people make these kind of pages Any help is appreciated Th

Need help about the technology to apply with struts

2007-05-08 Thread Kapil Sharma
button the one set of hidden questions will come out and on click of other the another set. I would like to know the technology i should use. Plz give me the best tech to apply Thanks and Regards, Kapil Sharma - To unsubscribe

RE: Need Help On Pop Up

2007-05-08 Thread Kapil Sharma
It is working at my end. Have u specified correctly the form names and field values. n Have u used the function to open that popup properly. Thanks and Regards, Kapil Sharma -Original Message- From: Srinivasula Reddy A , Bangalore [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08

RE: Need Help On Pop Up

2007-05-08 Thread Kapil Sharma
pener == null) childWin.opener = self; childWin.resizeTo(750,350); childWin.moveTo(30,80); childWin.focus(); } called on submit of popup child window function updateParent(){ opener.document.form1.name.value = document.childForm.others.value; self.close(); return false; } All the values

RE: disable back button

2007-05-08 Thread Kapil Sharma
Somewhere i found Page A calls Page B User should not be allowed to go to Page A from Page B. Put the code below in Page A. window.history.forward(1); I have not tested it. Thanks and Regards, Kapil Sharma -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent

RE: FileName characters.

2007-05-08 Thread Kapil Sharma
ards, Kapil Sharma -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 5:43 PM To: Struts Users Mailing List Subject: Re: FileName characters. 2007/5/8, Kapil Sharma <[EMAIL PROTECTED]>: > > 2. > > The attachment dialog box s

RE: FileName characters.

2007-05-08 Thread Kapil Sharma
ing anything to the oracle database otherwise it appears junk whenever i try to get it on the screen Thanks and Regards, Kapil Sharma IAP Company Ltd. -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 4:21 PM To: Struts Users Mailing List Su

FileName characters.

2007-05-07 Thread Kapil Sharma
UTF-8"); response.setHeader("Content-Disposition", "attachment; filename=\"" + fileName+ "\""); Is it related with struts or encoding problem associated with the environment Pls help me.. Thanks and Regards, Kapil Sharma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Regarding tag libraries

2007-04-23 Thread Kapil Sharma
Hello to all, I am very new to struts. I am using struts 1.0. I have developed a small application. I just want to know the best tag libraries to get the elements out of collection. e.g Arraylist I m now using a lots of for loop inside the <% %> tags in jsp. But do you think it is a nice way.