Home > Ask the SAP software/management Experts > Java/SAP development Questions & Answers > Implementing custom dropdown values in a JSP
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Implementing custom dropdown values in a JSP

Austin Sincock EXPERT RESPONSE FROM: Austin Sincock

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 11 August 2004
Well my problem is trivial but I am not able to decide on exact implementation, as I am new to using JCo.

Well I have a JSP page that has radio buttons. User selects one of them and the page should automatically reload with an extra table below the radio buttons.

This new table is obtained after I perform a backend connection with JCo and retrieve some data values and display them on JSP page.

My problem is how should I implement the process of retrieving the data values and placing them as dropdown menu in table 2 on the same JSP page.

Thanks, John


>
Building a helpful Web page with dynamic information from SAP often requires you to provide preselected values, such as that from a dropdown list. Depending on the user interface framework you are using to build your application, you would likely encapsulate this help functionality within an external Java class. The classic example is that of the MVC pattern as implemented by the Apache Struts framework (http://jakarta.apache.org). In this framework, you would build an Action class that provides the specific SAP RFC call required to populate the dropdown. When the user initiates a selection in the JSP that changes the dropdown, the JSP would call the Struts ActionServlet to transparently execute the Action class that contains the logic to call SAP. My book, "Enterprise Java for SAP," contains specific examples of how to use the Struts framework in conjunction with SAP JCo.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Java/SAP development
How to provide an SAP R/3 4.5B application server with a Web service interface
Consuming a Web service from an SAP 4.6c R/3 application server
With Java development experience, should I go into SAP XI?
Answering basic BAPI questions
Viewing a list of SAP interfaces
Which SAP implementation phase is Java necessary for?
Interface a locally developed application with SAP
Should an ABAP professional know Java?
Storing SAP information from a JCo connector
Integrating SAP with C++, Java, and Powerbuilder on Sybase and Oracle DBs

SAP Java and J2EE
SAP CTO Sikka: SAP's innovation gets overlooked
SAP CTO expects today's SAP applications to be running in 2020
Tips on SAP ABAP
How to provide an SAP R/3 4.5B application server with a Web service interface
Consuming a Web service from an SAP 4.6c R/3 application server
SAP NetWeaver Configuration and Customization
Is C, C++ and Java knowledge required when learning SAP?
How to be a self-taught NetWeaver and ABAP expert
Getting started with a NetWeaver career
An ABAP user wants to learn XI

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SAP White Paper Topics
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts