cancel
Showing results for 
Search instead for 
Did you mean: 

Using Struts with netweaver and JCo

Former Member
0 Kudos

Hi,

Can any one tell me how to display a big list of values in drop down list those come from SAP r/3 on the jsp (frame work:struts1.2.8) using Jco's..

And the selected values should be appear when the user come back from other .jsp page.

regards,

rahul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi rahul..

This might be useful for you.

If so, reward some points....

<b>/people/daniel.wroblewski/blog/2006/02/20/new-goodies-from-the-portal-sps-15

Yours GS

Former Member
0 Kudos

Hi,

/people/narayanaswamy.balasubramaniam/blog/2005/02/26/using-jakarta-struts-in-web-application-server-part-ii

Regards,

Beevin.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

After getting the value list from the r/3 you need to addthe value list into an arraylist and then set the arraylist in the application scope.

Now use the html:options collection tag :

eg

<html:select property="selectedItem"> <html:options collection="customers" value="id" label="name" /></html:select>

Where customers is the bean name.

This is will solve the problem

Thanks

Ritu

prashil
Advisor
Advisor
0 Kudos

Hi Rahul,

I will suggest you to collect those list of values in the String[] and the display in the drop down according to the sequence you want.

Allow me to clarify in case of confusion.

Regards,

Prashil