how to submit selected values from 3same boxes

2004-05-27 Thread ganesh g
Hi friends.
This is the problem of inserting selected values from 
 from jsp.
 
I give u in detailed code of mine.Pls observe it and answer .i'm very 
thankful to u.
 

 

 
  
 
  
   
   
  
 
   
   
   
  
 
   
   

 
 
And corresponding formbean:
 
private String[] clientid;

  public String[] getClientid(){
return this.clientid;
  }
  public void setClientid(String[] clientids){
this.clientid=clientids;
  }
 
 
I'm getting the values from database and able to display them in select 
box.
 
Problems:
1)
i'm not able to insert selected values in database.i.e,i'm not 
getting the values from form
2)
   Is there any way to write down the above 3 select boxes in a single 
line .i.e.,can mention select box onetime and repeat the .

When i submitting the form i'm getting the following exception:
 
javax.servlet.ServletException: BeanUtils.populate
 org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
 
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
 org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

root cause 
java.lang.IllegalArgumentException: argument type mismatch
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 java.lang.reflect.Method.invoke(Method.java:324)
 
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1789)
 
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:1684)
 
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713)
 
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1019)
 org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
 org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)
 
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
 org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

 
awaiting ur reply.pls very very urgent.
 
Advance Thanks & Regards
Ganesh




-
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger

what is the need of to configure Tomcat with Apache web server.

2004-05-26 Thread ganesh g
Hi list
 
Will u please tell me for my thearitical question
 
what is the need of to configure Tomcat with Apache web server.
And how to do it.
 
waiting for ur reply urgent
 
Thanks
Ganesh




-
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger

why and how to configure tomcat with apache web server urgent pls..

2004-05-26 Thread ganesh g
Hi list
 
Will u please tell me for my thearitical question
 
what is the need of to configure Tomcat with Apache web server.
And how to do it.
 
waiting for ur reply urgent
 
Thanks
Ganesh




-
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger

why and how to configure tomcat with apache web server urgent

2004-05-26 Thread ganesh g
Hi list
 
Will u please tell me for my thearitical question
 
what is the need of to configure Tomcat with Apache web server.
And how to do it.
 
waiting for ur reply urgent
 
Thanks
Ganesh




-
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger

RE: convert locamachine serverpath to universal clientpath he can download it and play very very urgent please see any copy

2004-05-12 Thread ganesh g


Geeta Ramani <[EMAIL PROTECTED]> wrote:Ganesh:

For some reason we are receiving four copies of each note that you write.. Would you 
please see what's up? Thanks!

Geeta

> -Original Message-
> From: ganesh g [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 12, 2004 8:38 AM
> To: Struts Users Mailing List
> Subject: convert locamachine serverpath to universal clientpath he can
> download it and play very very urgent please
> 
> 
> Hi friends,
> You are right But i'm placing in another drive 
> 
> c:\clientsData\client1\client1 huge PersanalData..
> 
> c:\clientsData\client2\.client2 huge PersanalData..
> 
> c:\clientsData\client3\.client3 huge PersanalData..
> It's a large data.So i'm not allowed to place them in webapps 
> directory.
> From there itself i've give data to clients.So i want another 
> solution in detail please.
> 
> Please help me Urgent
> Ganesh
> 
> 
> 
> 
> "Rosenberg, Leon" 
> wrote:This is not a 
> struts question, but, put your file in the context of your web-app -> 
> .../webserver/webapps/your-web/audioFiles/sample.wav and 
> reference it in 
> the jsp as /audioFiles/sample.wav
> 
> 
> 
> > -Ursprüngliche Nachricht-
> > Von: ganesh g [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 12. Mai 2004 14:16
> > An: user
> > Cc: user
> > Betreff: convert locamachine serverpath to universal clientpath he 
> can
> > download it and play very very urgent please
> > 
> > Hi List,
> > 
> > i need ur help very urgent.
> > 
> > 1)
> > My audio file path in my server is as follows:
> > 
> > "c:\audioFiles\sample.wav"
> > 2)
> > i wrote javascript code snippet in a jsp file to play that 
> audio file
> > where i'm sending my server path("c:\audioFiles\sample.wav") to play
> > audio.But client is not able to play the audio file.Here when a 
> client
> > clicks on 'Play' button, audio should play.i.e.,'download' sould
> > automatically happen internally without displaying the download 
> dialogue
> > box.
> > 
> > What my serious problem is how to send my server path to 
> all clients 
> so
> > that they can play it.How to convert this path into 
> Universal path or 
> Url
> > path.
> > 
> > Are there any methods or tricks??
> > i'm using struts ...
> > Pls help me. Urgent..
> > 
> > Advance thanks
> > Ganesh
> 
> 
> 
> -
> Do you Yahoo!?
> Yahoo! Movies - Buy advance tickets for 'Shrek 2' 
> 

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



-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread ganesh g
Hi friends,
You are right But i'm placing in another drive 

c:\clientsData\client1\client1 huge PersanalData..

c:\clientsData\client2\.client2 huge PersanalData..

c:\clientsData\client3\.client3 huge PersanalData..
It's a large data.So i'm not allowed to place them in webapps 
directory.
>From there itself i've give data to clients.So i want another solution in detail 
>please.
 
Please help me Urgent
Ganesh
 
 


"Rosenberg, Leon" <[EMAIL PROTECTED]> wrote:This is not a 
struts question, but, put your file in the context of your web-app -> 
.../webserver/webapps/your-web/audioFiles/sample.wav and reference it in 
the jsp as /audioFiles/sample.wav



> -Ursprüngliche Nachricht-
> Von: ganesh g [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 12. Mai 2004 14:16
> An: user
> Cc: user
> Betreff: convert locamachine serverpath to universal clientpath he 
can
> download it and play very very urgent please
> 
> Hi List,
> 
> i need ur help very urgent.
> 
> 1)
> My audio file path in my server is as follows:
> 
> "c:\audioFiles\sample.wav"
> 2)
> i wrote javascript code snippet in a jsp file to play that audio file
> where i'm sending my server path("c:\audioFiles\sample.wav") to play
> audio.But client is not able to play the audio file.Here when a 
client
> clicks on 'Play' button, audio should play.i.e.,'download' sould
> automatically happen internally without displaying the download 
dialogue
> box.
> 
> What my serious problem is how to send my server path to all clients 
so
> that they can play it.How to convert this path into Universal path or 
Url
> path.
> 
> Are there any methods or tricks??
> i'm using struts ...
> Pls help me. Urgent..
> 
> Advance thanks
> Ganesh



-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread ganesh g
Hi Friends,

You are right But i'm placing in another drive 

c:\clientsData\client1\client1 huge PersanalData..

c:\clientsData\client2\.client2 huge PersanalData..

c:\clientsData\client3\.client3 huge PersanalData..
It's a large data.So i'm not allowed to place them in webapps 
directory.
>From there itself i've give data to clients.So pls i want another solution in detail.
Thanks
 
Please help me Urgent
Ganesh
 



"Rosenberg, Leon" wrote:This is not a struts question, but, put your file in the 
context of your web-app -> .../webserver/webapps/your-web/audioFiles/sample.wav and 
reference it in the jsp as /audioFiles/sample.wav



> -----Ursprüngliche Nachricht-
> Von: ganesh g [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 12. Mai 2004 14:16
> An: user
> Cc: user
> Betreff: convert locamachine serverpath to universal clientpath he can
> download it and play very very urgent please
> 
> Hi List,
> 
> i need ur help very urgent.
> 
> 1)
> My audio file path in my server is as follows:
> 
> "c:\audioFiles\sample.wav"
> 2)
> i wrote javascript code snippet in a jsp file to play that audio file
> where i'm sending my server path("c:\audioFiles\sample.wav") to play
> audio.But client is not able to play the audio file.Here when a client
> clicks on 'Play' button, audio should play.i.e.,'download' sould
> automatically happen internally without displaying the download dialogue
> box.
> 
> What my serious problem is how to send my server path to all clients so
> that they can play it.How to convert this path into Universal path or Url
> path.
> 
> Are there any methods or tricks??
> i'm using struts ...
> Pls help me. Urgent..
> 
> Advance thanks
> Ganesh
> 
> 
> 
> -
> Do you Yahoo!?
> Yahoo! Movies - Buy advance tickets for 'Shrek 2'


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



-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 


-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

AW: convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread ganesh g
You are right But i'm placing in another drive 
c:\clientsData\client1\client1 huge 
PersanalData..
c:\clientsData\client2\.client2 huge 
PersanalData..
c:\clientsData\client3\.client3 huge 
PersanalData..
It's a large data.So i'm not allowed to place them in webapps directory.
>From there itself i've give data to clients.
 
Please help me Urgent
Ganesh
 
 


"Rosenberg, Leon" <[EMAIL PROTECTED]> wrote:This is not a struts question, but, put 
your file in the context of your web-app -> 
.../webserver/webapps/your-web/audioFiles/sample.wav and reference it in the jsp as 
/audioFiles/sample.wav



> -----Ursprüngliche Nachricht-
> Von: ganesh g [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 12. Mai 2004 14:16
> An: user
> Cc: user
> Betreff: convert locamachine serverpath to universal clientpath he can
> download it and play very very urgent please
> 
> Hi List,
> 
> i need ur help very urgent.
> 
> 1)
> My audio file path in my server is as follows:
> 
> "c:\audioFiles\sample.wav"
> 2)
> i wrote javascript code snippet in a jsp file to play that audio file
> where i'm sending my server path("c:\audioFiles\sample.wav") to play
> audio.But client is not able to play the audio file.Here when a client
> clicks on 'Play' button, audio should play.i.e.,'download' sould
> automatically happen internally without displaying the download dialogue
> box.
> 
> What my serious problem is how to send my server path to all clients so
> that they can play it.How to convert this path into Universal path or Url
> path.
> 
> Are there any methods or tricks??
> i'm using struts ...
> Pls help me. Urgent..
> 
> Advance thanks
> Ganesh
> 
> 
> 
> -
> Do you Yahoo!?
> Yahoo! Movies - Buy advance tickets for 'Shrek 2'


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



-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

Re: AW: convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread ganesh g
You are right But i'm placing in another drive 
c:\clientsData\client1\client1 huge 
PersanalData..
c:\clientsData\client2\.client2 huge 
PersanalData..
c:\clientsData\client3\.client3 huge 
PersanalData..
It's a large data.So i'm not allowed to place them in webapps directory.
>From there itself i've give data to clients.
 
Please help me Urgent
Ganesh
 
 


"Rosenberg, Leon" <[EMAIL PROTECTED]> wrote:This is not a struts question, but, put 
your file in the context of your web-app -> 
.../webserver/webapps/your-web/audioFiles/sample.wav and reference it in the jsp as 
/audioFiles/sample.wav



> -----Ursprüngliche Nachricht-
> Von: ganesh g [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 12. Mai 2004 14:16
> An: user
> Cc: user
> Betreff: convert locamachine serverpath to universal clientpath he can
> download it and play very very urgent please
> 
> Hi List,
> 
> i need ur help very urgent.
> 
> 1)
> My audio file path in my server is as follows:
> 
> "c:\audioFiles\sample.wav"
> 2)
> i wrote javascript code snippet in a jsp file to play that audio file
> where i'm sending my server path("c:\audioFiles\sample.wav") to play
> audio.But client is not able to play the audio file.Here when a client
> clicks on 'Play' button, audio should play.i.e.,'download' sould
> automatically happen internally without displaying the download dialogue
> box.
> 
> What my serious problem is how to send my server path to all clients so
> that they can play it.How to convert this path into Universal path or Url
> path.
> 
> Are there any methods or tricks??
> i'm using struts ...
> Pls help me. Urgent..
> 
> Advance thanks
> Ganesh
> 
> 
> 
> -
> Do you Yahoo!?
> Yahoo! Movies - Buy advance tickets for 'Shrek 2'


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



-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread ganesh g
Hi List,
 
i need ur help very urgent.
 
1)
My audio file path in my server is as follows:
 
"c:\audioFiles\sample.wav"
2)
i wrote javascript code snippet in a jsp file to play that audio file where i'm 
sending my server path("c:\audioFiles\sample.wav") to play audio.But client is not 
able to play the audio file.Here when a client clicks on 'Play' button, audio should 
play.i.e.,'download' sould automatically happen internally without displaying the 
download dialogue box.
 
What my serious problem is how to send my server path to all clients so that they can 
play it.How to convert this path into Universal path or Url path.
 
Are there any methods or tricks??
i'm using struts ...
Pls help me.  Urgent..
 
Advance thanks
Ganesh



-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

converting serverpath to clienturl path..urgent please

2004-05-12 Thread ganesh g
Hi List,
 
i need ur help very urgent.
 
1)
My audio file path in my server is as follows:
 
"c:\audioFiles\sample.wav"
2)
i wrote javascript code snippet in a jsp file to play that audio file where i'm 
sending my server path("c:\audioFiles\sample.wav") to play audio.But client is not 
able to play the audio file.Here when a client clicks on 'Play' button, audio should 
play.i.e.,'download' sould automatically happen internally without displaying the 
download dialogue box.
 
What my serious problem is how to send my server path to all clients so that they can 
play it.How to convert this path into Universal path or Url path.
 
Are there any methods or tricks??
i'm using struts ...
Pls help me.  Urgent..
 
Advance thanks
Ganesh



-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

how to convert serverpath to clienturlpath

2004-05-12 Thread ganesh g
Hi List,
 
i need ur help very urgent.
 
1)
My audio file path in my server is as follows:
 
"c:\audioFiles\sample.wav"
2)
i wrote javascript code snippet in a jsp file to play that audio file where i'm 
sending my server path("c:\audioFiles\sample.wav") to play audio.But client is not 
able to play the audio file.Here when a client clicks on 'Play' button, audio should 
play.i.e.,'download' sould automatically happen internally without displaying the 
download dialogue box.
 
What my serious problem is how to send my server path to all clients so that they can 
play it.How to convert this path into Universal path or Url path.
 
Are there any methods or tricks??
i'm using struts ...
Pls help me.  Urgent..
 
Advance thanks
Ganesh


-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

how to get html:errors in tiles.urgent pls

2004-05-07 Thread ganesh g

Hi Friends!

i'm using tiles where i want to get html:errors from properties file.

But i'm not getting.

i'm adding and saving errors in action class only.And errors are not specific to any 
property but those are global using GLOBAL_MESSAGE.

i'm sure that messages are available in properties file.

Please anybody tell me how to make settings in tiles layout in detail.,

awaiting ur reply

Ganesh


-
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

html:messages ..bean:write not displaying.urgent

2004-05-07 Thread ganesh g

Hi Friends!

i'm using tiles where i want to get html:errors from properties file.

But i'm not getting.

i'm adding and saving errors in action class only.And errors are not specific to any 
property but those are global using GLOBAL_MESSAGE.

i'm sure that messages are available in properties file.

Please anybody tell me how to make settings in tiles layout.

awaiting ur reply

Ganesh

 


-
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

Re: Submit with a link

2004-05-06 Thread ganesh g
U can use
 

 


Michael McGrady <[EMAIL PROTECTED]> wrote:I am a notice in JavaScript. I have wondered 
in my brief perusal of 
JavaScript books how you tell which form is the referent of the formindex 
numbers?

At 10:37 AM 5/5/2004, Henrique VIECILI wrote:
>you can use javascript to do this job...
>
>like this:
>
>].submit()">Enviar 
>Formulário
>
>where is the index of the form you want to submit (starts in 0 -
>zero)
>
>Henrique Viecili
>
>- Original Message -
>From: "cacau_braga" 
>To: "user" 
>Sent: Wednesday, May 05, 2004 2:17 PM
>Subject: Submit with a link
>
>
>Hi All,
>
> I need a help. I have a page that contains many forms
> each form represents a record of database.
> I am need to submit that information when a user
>click on link, because i can´t use the buttons
>(>know to use correctly, i want to send the information
>via POST how do i get this ?
>
>My code (a part of):
>. 
>__ 
>Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - É 
>grátis! http://antipopup.uol.com.br/ 
>- 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]



-
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

Differences Between Struts1.1 and Struts1.2

2004-04-23 Thread ganesh g
Hi List,
Will u pls tell me Differences Between Struts 1.1 and Struts 1.2
 
Regards & Thanks
Ganesh


-
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢

Problem of ClassCastException .No doubt ArrayList has some size

2004-04-22 Thread ganesh g
Hi Friends,
ThanQ very much 4ur non-stop help towards me.
Here is a problem with Typecasting,throws ClassCastException.
I'm not able get why it's getting.Bcoz i spent on this problem around 
2weeks.
i'm very thankful to u for ur solution.
 
Problem of Area is as Follows:
 
i've myown class called "FileProperties"
 
Step:1
 
public class FileProperties
{
  private long fileSize;
  private Date fileDate;
  private String filename;
  private String filepath;
  private String clientid;
...some other properties..

  public FileProperties()
  {
  }
  public String getFilename()
  {
  return filename;
  }
  public void setFilename(String filename)
  {
  this.filename = filename;
  }

  public String getFilepath()
  {
  return filepath;
  }
  public void setFilepath(String filepath)
  {
   this.filepath = filepath;
  }
...some other getter/setter methods.
}

Step:2
 
In actionForm called mtActionForm i declared as follows:
 
public class MtActionForm extends ActionForm
{
private FileProperties singleFile;
private Collection mtJobsList=new ArrayList();
...some other properties..

  public Collection getMtJobsList() {
  return mtJobsList;
  }
  public void setMtJobsList(Collection mtJobsList) {
  this.mtJobsList = mtJobsList;
  }
  public FileProperties getSingleFile()
  {
return singleFile;
  }
  public void setSingleFile(FileProperties singleFile)
  {
this.singleFile = singleFile;
  }

 

}
Now i'm showing u exact problem of Area
 
Step:3
 
MtActionForm mtForm = (MtActionForm)actionForm;
String tempStr = httpServletRequest.getParameter("fileIndex");
int index = Integer.parseInt(tempStr);
ArrayList aList = (ArrayList)mtForm.getMtJobsList();//No exception Here
 //aList is not null.It definitely some size
FileProperties sFile =(FileProperties )(aList.get(index));//This is where 
ClassCastException thrown
 
mtForm.setSingleFile(sFile);

Step:4
 
In Jsp i'm going to use as follows
 

 
I'm eagerly awaiting your reply as soon as possible.
 
Thanks & Regards
Ganesh
 



-
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢

Problem of ClassCastException when ArrayList to My own Class

2004-04-22 Thread ganesh g
Hi Friends,
ThanQ very much 4ur non-stop help towards me.
Here is a problem with Typecasting,throws ClassCastException.
I'm not able get why it's getting.Bcoz i spent on this problem around 2weeks.
i'm very thankful to u for ur solution.
 
Problem of Area is as Follows:
 
i've myown class called "FileProperties"
 
Step:1
 
public class FileProperties
{
  private long fileSize;
  private Date fileDate;
  private String filename;
  private String filepath;
  private String clientid;
...some other properties..

  public FileProperties()
  {
  }
  public String getFilename()
  {
  return filename;
  }
  public void setFilename(String filename)
  {
  this.filename = filename;
  }

  public String getFilepath()
  {
  return filepath;
  }
  public void setFilepath(String filepath)
  {
   this.filepath = filepath;
  }
...some other getter/setter methods.
}

Step:2
 
In actionForm called mtActionForm i declared as follows:
 
public class MtActionForm extends ActionForm
{
private FileProperties singleFile;
private Collection mtJobsList=new ArrayList();
...some other properties..

  public Collection getMtJobsList() {
  return mtJobsList;
  }
  public void setMtJobsList(Collection mtJobsList) {
  this.mtJobsList = mtJobsList;
  }
  public FileProperties getSingleFile()
  {
return singleFile;
  }
  public void setSingleFile(FileProperties singleFile)
  {
this.singleFile = singleFile;
  }

 

}
Now i'm showing u exact problem of Area
 
Step:3
 
MtActionForm mtForm = (MtActionForm)actionForm;
String tempStr = httpServletRequest.getParameter("fileIndex");
int index = Integer.parseInt(tempStr);
ArrayList aList = (ArrayList)mtForm.getMtJobsList();//No exception Here
 
FileProperties sFile =(FileProperties )aList.get(index);//This is where 
ClassCastException thrown
 
mtForm.setSingleFile(sFile);

Step:4
 
In Jsp i'm going to use as follows
 

 
I'm eagerly awaiting your reply as soon as possible.
 
Thanks & Regards
Ganesh
 


-
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢

How to pre-populate values to buttons from Database

2004-04-21 Thread ganesh g

Hi friends I'm always thankful to u 4ur non-stop help towards me. Here is a problem with buttons. Pls observer the sample code. Now what my intension is to pre-populate values from database to 'radio' buttons whatever value was selected among 4radio buttons which r in a single row as a group. i keep waiting 4u reply . Thanks & Regards
 Ganesh 
		Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢--- Begin Message ---
Hi friends 

I'm always thankful to u 4ur non-stop help towards me. 

Here is a problem with buttons. 
Pls observer the sample code. 

 

 

 
 
 
 

 

 

Now what my intension is to pre-populate values from database to 'radio' buttons 
whatever value was selected among 4radio buttons which r in a single row as a group. 

i keep waiting 4u reply . 

Thanks & Regards 
Ganesh 



-
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢--- End Message ---
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Dynamic Generation of HTML Form Element in Struts

2004-04-21 Thread ganesh g
Hi
 
U can generate Dynaaction elements "struts-config.xml" file.
For eg:
 



 
urs
Ganesh
 


-
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢

How to pre-populate values to buttons from Database

2004-04-21 Thread ganesh g
Hi friends 

I'm always thankful to u 4ur non-stop help towards me. 

Here is a problem with buttons. 
Pls observer the sample code. 

 

 

 
 
 
 

 

 

Now what my intension is to pre-populate values from database to 'radio' buttons 
whatever value was selected among 4radio buttons which r in a single row as a group. 

i keep waiting 4u reply . 

Thanks & Regards 
Ganesh 



-
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢

How to Pre-populate values from d/b to buttons as selected one.

2004-04-21 Thread ganesh g
Hi friends

I'm always thankful to u 4ur non-stop help towards me.

Here is a problem with buttons.
Pls observer the sample code.












Now what my intension is to pre-populate values from database to 'radio' 
buttons whatever value was selected among 4radio buttons which r in a single 
row as a group.

i keep waiting 4u reply .

Thanks & Regards
Ganesh
_
Strike the right balance! News, gossip ‘n fundas! 
http://www.msn.co.in/women/ Get it all at MSN Women!

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


how to send idx in

2004-04-19 Thread ganesh g
Hi sir,

Here is a problem with:





i want to send indexId="idx" which is in iterate tag. with  tag 
as a request parameter.
I CAME TO KNOW TO USE idx.intValue() .But i didn't get how to write it in 
tag and what property is supposed to be used.i mean 
paramName,paramId or paramProperty.
please give me the entire line code of  tag.

i worked in different ways for a week.
But i couldn't get it.
will u pls tell me the solution ?
i would be thankful to u. Bcoz it's very urgent.
Thanks & Regards
Ganesh
_
Need quick cash? http://go.msnserver.com/IN/46923.asp Click here !
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: javax.servlet.jsp.JspException: No getter method for property id of bean driver

2004-04-19 Thread ganesh g
Make sure ur form bean has the methods like
getTeacher() and setTeacher()
Ganesh

_
The latest games ‘n gizmos. Tech news ‘n downloads. 
http://www.msn.co.in/Computing/ All this at a single click.

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


RE: how to send "idx" with tag

2004-04-19 Thread ganesh g
Hi sir,
Here is a problem with:



i want to send indexId="idx" which is in iterate tag. with  tag
as a request parameter.
i came to know to use idx.intValue().But which property to use in 
tag .i mean paramName,paramId or paramProperty.Please give me the 
code line of then i would be very thankful to u.

waiting 4ur reply

Thanks & Regards
Ganesh
_
Strike the right balance! News, gossip ‘n fundas! 
http://www.msn.co.in/women/ Get it all at MSN Women!

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


how to send "idx" with tag

2004-04-19 Thread ganesh g
Hi sir,

Here is a problem with:


.
.

.
.


i want to send indexId="idx" which is in iterate tag. with  tag 
as a request parameter.

i worked in different ways for a week.
But i couldn't get it.
will u pls tell me the solution ?
i would be thankful to u.
Thanks & Regards
Ganesh
_
Hotmail on your mobile. Messenger on your mobile. 
http://www.msn.co.in/mobile/ Stay connected to what matters.

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


how to send "idx" with tag

2004-04-19 Thread ganesh g
Hi sir,

Here is a problem with:


.
.

.
.


i want to send indexId="idx" which is in iterate tag. with  tag 
as a request parameter.

i worked in different ways for a week.
But i couldn't get it.
will u pls tell me the solution ?
i would be thankful to u.
Thanks & Regards
Ganesh
_
Apply to 50,000 jobs now.  http://go.msnserver.com/IN/46921.asp Post your CV 
on naukri.com today.

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