Hi brothers please help.! about visual web application

public static void TextField() throws SQLException,IOException
Connection conn=getConnectionORACLE();
conn.setAutoCommit (true);
String adP;
Statement st=conn.createStatement();
ResultSet rs=st.executeQuery(" select AD from HUMAN ");
while(rs.next ()){
ora.add (rs.getString ("AD"));
rs.close ();
st.close ();
public static void DropDownListDoldur() throws SQLException,IOException
Connection conn=getConnectionORACLE();
conn.setAutoCommit (true);
String adP;
Statement st=conn.createStatement();
ResultSet rs=st.executeQuery(" select AD from HUMAN ");
while(rs.next ()){
ora.add (rs.getString ("AD"));
rs.close ();
st.close ();
i got from oracle what i want but i could not bind to drop down list how can i do this?
if you help me;make me happy..!

i have project and i start first getting data from oracle....i can get data but i want these data into dropdownlist....
i tried with
commands cmd=new commands();
try
// String name=(String)nameField.getText ();
// helloText.setText ("hello...,"+name+"..!");
cmd.DropDownListDoldur ();
} catch (SQLException ex)
ex.printStackTrace();
} catch (IOException ex)
ex.printStackTrace();
dropDown1.setItems (cmd.ora.get (0).toString ());
String name=(String) dropDown1.getSelected ();
String splitnames[]=name.split (",");
nameField.setText ("hello ," + splitnames[1]);
but nothing show when run the project
is it clear brother?

Similar Messages

  • Need help for Visual Web application onkeydown event

    hi,
    I have create a visual web application. I have include a text field and a button in my webpage. When user press a key in the text field, i would like to change the button to enable. I try to use the keydown event to call the function in java package. However, it display error once I put the function name in my onkeydown event in jsp page. The code is shown as below.
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <webuijsf:page binding="#{RegisterProgress.page1}" id="page1">
    <webuijsf:html binding="#{RegisterProgress.html1}" id="html1">
    <webuijsf:head binding="#{RegisterProgress.head1}" id="head1">
    <webuijsf:link binding="#{RegisterProgress.link1}" id="link1" url="/resources/stylesheet.css"/>
    </webuijsf:head>
    <webuijsf:body binding="#{RegisterProgress.body1}" focus="form1:txtPassword1" id="body1" style="-rave-layout: grid">
    <webuijsf:form binding="#{RegisterProgress.form1}" id="form1">
    <webuijsf:button actionExpression="#{RegisterProgress.button1_action}" binding="#{RegisterProgress.button1}" id="button1"
    style="left: 71px; top: 96px; position: absolute; width: 72px" text="Next"/>
    <webuijsf:textField binding="#{RegisterProgress.txtPassword1}" id="txtPassword1" label="Password :" onKeyDown="="#{RegisterProgress.keydown}" style="left: 24px; top: 48px; position: absolute"/>
    </webuijsf:form>
    </webuijsf:body>
    </webuijsf:html>
    </webuijsf:page>
    </f:view>
    </jsp:root>
    Is there anybody may teach me the way to invoke the keydown event?

    Sorry,
    onKeyDown="="#{RegisterProgress.keydown}"
    should be onKeyDown=#{RegisterProgress.keydown}"
    But, that onkeyDown still can't work.
    Below is my java package:
    package usm_biologin;
    import com.sun.rave.web.ui.appbase.AbstractPageBean;
    import com.sun.webui.jsf.component.Body;
    import com.sun.webui.jsf.component.Button;
    import com.sun.webui.jsf.component.Form;
    import com.sun.webui.jsf.component.Head;
    import com.sun.webui.jsf.component.Html;
    import com.sun.webui.jsf.component.Label;
    import com.sun.webui.jsf.component.Link;
    import com.sun.webui.jsf.component.Page;
    import com.sun.webui.jsf.component.StaticText;
    import com.sun.webui.jsf.component.TextArea;
    import com.sun.webui.jsf.component.TextField;
    import javax.faces.FacesException;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    public RegisterProgress() {
    public void init() {
    super.init();
    txtUsername1.setText(getRequestBean1().getUsername());
    txtPassword1.setText("");
    try {
    _init();
    } catch (Exception e) {
    log("RegisterProgress Initialization Failure", e);
    throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
    public void preprocess() {
    public void prerender() {
    public void destroy() {
    protected RequestBean1 getRequestBean1() {
    return (RequestBean1)getBean("RequestBean1");
    protected ApplicationBean1 getApplicationBean1() {
    return (ApplicationBean1)getBean("ApplicationBean1");
    protected SessionBean1 getSessionBean1() {
    return (SessionBean1)getBean("SessionBean1");
    public String button1_action() {
    return null;
    public void keydown() {
    Any help will be appreciated.

  • About visual web jsf  tuotorials

    hi i am developing web application using visual web jsf frame work in netbeans iDE.can any one give me details about visual web jsf tutorials or books

    I don't use "visual JSF", but if I am correct, Netbeans has a lot of tutorials at their website.

  • I need help with the Web Application Certificate

    Greets,
    The title says it all really. I need help with the Web Application Certificate.
    I've followed the instructions from here:
    https://www.novell.com/documentation....html#b13qz9rn
    I can get as far as item 3.c
    3. Getting Your Certificate Officially Signed
    C. Select the self-signed certificate, then click File > Certification Request > Import CA Reply.
    I can get the certificate in to the Filr appliance but from there I'm stuck.
    Any help much appreciated.

    Originally Posted by bentinker
    Greets,
    The title says it all really. I need help with the Web Application Certificate.
    I've followed the instructions from here:
    https://www.novell.com/documentation....html#b13qz9rn
    I can get as far as item 3.c
    ok when you have you self signed certificate and you requested an official certificate with the corresponding CSR then you just need to go back to the digital certificates console. To import the official certificate, select the self signed certificate, then click File > Certification Request > Import CA Reply. Then a new windows pops out to select the certificate from your trusted authority from your local hard disk. Find the file (.cer worked for me) and click ok. As soon as you do this in the digital certificates console the self signed certificate will change the information that now it is officially signed. Look at the second column and you should see the name of your trusted authority under "issue from"
    I personally had a lot of issues across all platforms. Especially Firefox and Chrome for android. Needed to pack all the root cert, intermediate cert and signed cert into one file and import as CA reply. Not even sure if this is correct now. But at least it works.

  • Need help in creating WEB application....

    Hi
    I Created WEB application using jsp,java classes.
    I kept All jsp files and classes in web-inf classes folder and created a war file and deployed that one in WEBLOGIC 7.0. I need to start a class while starting the server. I configured the startup classes using weblogic console.Now i am getting classnotfound exception while running the server saying that the startup class is not found. Is it necessay to set classpath to the classes which are under war file.If yes please give me an idea how to set classpath to a file which is under war/web-inf/classes/..
    Any help will be appreciated.
    Regards
    Anand Mohan

    Not sure about Weblogic, but in general you add the entire path to your classpath. For Windows 2000 servers -> Control Panel -> System -> Advanced Tab -> Env Variables
    Example from simle Tomcat install:
    CLASSPATH
    C:\Jakarta\jakarta-tomcat-4.1.18\common\lib\servlet.jar;C:\Jakarta\jakarta-tomcat-4.1.18\webapps\myApp\WEB-INF\lib\classes12.jar;C:\Jakarta\jakarta-tomcat-4.1.18\webapps\myApp\WEB-INF\classes\com\brainysoftware\java\StringUtil.jar

  • Please help about HttpConnection

    Hi all,
    I am facing a typical problem about HttpConnection() for BlackBerry.But it is working fine in all other devices except BlackBerry.Bellow is the code:
    public synchronized String getResponse(String sRequest)
    String sReturn = null;
    HttpConnection c = null;
    java.io.InputStream is = null;
    StringBuffer sb = new StringBuffer();
    int ch;
    int rc;
    try {
    sRequest=sRequest.trim();
    c = (HttpConnection) Connector.open(sRequest);
    c.setRequestProperty("User-Agent", System.getProperty("microedition.profiles"));
    c.setRequestProperty("Content-Type", "application/octet-stream");
    rc = c.getResponseCode();
    if (rc != HttpConnection.HTTP_OK) {
    return null;
    is = c.openInputStream();
    while ((ch = is.read()) != -1) {
    sb.append((char)ch);
    is.close();
    c.close();
    sReturn = sb.toString();
    } catch(Exception e) {
    System.out.println("URLCatch : "+sRequest);
    sReturn = null;
    return sReturn ;
    }*"sRequest" is a simple URL String without any WAPGatewayIP & WAPGatewayAPN.*
    Please tell me what is the wrong inside this connection method? Why this is not establishing the connection in BlackBerry? Should i have to change anything in this method for BlackBerry?I tried a lot but colud not solve.
    Please help.
    Thanks in advance

    Hello Susanta_Mandal,
    How you resolve the HttpConnection issue in balckberry handdheld ? i am facing the same probelm.
    I am developing a mobile phone application(J2ME) for a BlackBerry handheld.In this application i use servlets for fetching Data,but when calling the URL it doesn’t work and shows the IOException : Timed Out Error. I am using Vodafone sim card (Mumbai India) and it's GPRS is enabled. and I also crosscheck our application with other handsets like Nokia,Samsung etc. using same simcard and it's working fine.
    I try to connect the URL in two ways.
    1) Connector.open("http://161.117.177.166:8080/temp/chart;deviceside=true”);
    BlackBerry APN setting for Vodafone
    Select Option -- > Advanced Options -> TCP/IP
    APN Setting Enabled Checked
    APN :portalnmms
    Username for APN :Left Blank
    Password for APN :Left Blank
    Result Is :- IOException : Timed Out.
    2) Send APN Parameter along with URL
    Connector.open("http://161.117.177.166:8080/temp/chart;ConnectionTimeout=120000;deviceside=true;WapGatewayIP=010.010.001.100;WapGatewayPort=9401;WapGatewayAPN=portalnmms",Connector.READ_WRITE,true);
    Result Is :- net.rim.device.cldc.io.waphttp.WAPIOException
    Regard's
    Prasanna K

  • Please help about the limit request

    how to connect the internet for the mobile set 3110 classic
    because iam tried bye the contact provide service vodafone
    also contained the internet service provided with it service
    but massage comminig me tell me not contact or connection with internet
    please help me

    note:
    i am reading the note book about set and working it but wihtout ability
    what i do to connection with internet service

  • Please help about Custom View fo EditorKit

    Thank You for reply
    TextArea in Visual Studio .NET is somehow displayed like that.
    - public class Test{
    |
    | + public Test(){
    | | ....
    | _ }
    |
    | + public int load(){
    | | ......
    | _ }
    |
    and if u press + symbol, method code is displayed.
    thats why i want to customized EditorKit's Views
    Please Help Me....
    Thanks..

    Thank You for reply
    TextArea in Visual Studio .NET is somehow displayed like that.
    - public class Test{
    |
    | + public Test(){
    | | ....
    | _ }
    |
    | + public int load(){
    | | ......
    | _ }
    |
    and if u press + symbol, method code is displayed.
    thats why i want to customized EditorKit's Views
    Please Help Me....
    Thanks..

  • Please help about Report Printer and PS tables-objects . ..

    Hi everybody
    I'm in trouble. I have a requirement in PS módule related with reports created by the Report Printer tool. I don't have any idea about these topics.
    My requirement is to create a report (not with Report Printer) with the structure for projects, with all the structure Project-WBS-Network-Activity and with some values like Budget, Commit, Actual,  Paid, etc.
    The functional consultant only tells me about some reports created with Report Printer wich have the columns required, some report has the Budget, other one has the Commit, etc. For example, one report is the tcode S_ALR_87013532; i don't know if this transaction exists in all the SAP implementations or if it was created only for my company.
    These reports only show two levels (Project-Network) so i i have to investigate:
    1. How to get all the structure levels (project-WBS-network-activity)
    2. How to 'translate' in code some value showed in a report created with Report Printer, i guess these values are created with formules and objects.
    3. How to get the same values showed in these reports, but for the Networks and Activities.
    I do not know anything about PS module and Report Printer and i really don't have any idea about how to make my development.
    4. I think the functional consultant could be able to create the report himself with the Report Printer, but he tells me he does not manage this tool so good and he wants to send SAP mails with the reports, and he say the reports created with Report Printer can not send mails. Is this true ?  and then, would be easier for me to learn Report Printer and create the report myself instead to develop it ?
    Does somebody can help me ?     Any idea ?
    Please help !!     I don't know even how to start with this.
    Thanks in advance ..
    Frank

    Hi Frank,
    here're some links:
    -http://help.sap.com/saphelp_47x200/helpdata/en/ca/01993862b47c67e10000009b38f8cf/frameset.htm
    -http://www.sapgenie.com/abap/tables_ps.htm
    -Re: Project System Costs: budget/actual/commt/rem.plan/assd
    Andreas

  • PLEASE HELP - Stupidly deleted "Apple Application Support" Unable to Access Itunes Library (5,000+ songs at stake) = :(

    PLEASE HELP - I have stupidly deleted the apple application support off my computer, and I am unable to launch my Itunes..It advises me to download itunes again, however i am TERRIFIED to do so because I have over 5,000 songs in my Library and no doubt my entire collection will inevitably be wiped.PLEASE HELP..I am almost in tears. I have attempted searching google for "Apple Application" Support downloads however it directs me to the apple website, and to no avail I cannot find anything to aid me...any responses would be greatly appreciated..!!!!!!!!!!

    Reinstall iTunes from Apple's website. Reinstalling iTunes does not wipe your library, but you should have a backup regardless.
    tt2

  • Help Building Simple Web Application

    So i've decided to build an online football pool application. I've decided its going to be built in java. I have spent some time going through java tutorials and learning what i can on my own.
    I've decided to use Apache Tomcat 4.1 as my web server and jsp/servlet engine. I know i am going to also use SQL Server as my database (i was able to get my hands on a copy)
    I want to separate my presentation logic from business logic. I plan on implementing my business logic using java beans that will reside in the web-inf/classes directory of my Tomcat directory.
    1) Am I headed in the right direction?
    2) Does anyone know of a good hands on book/web site that describes building a web application from the ground up using a similar architecture as described above. I have a lot to learn about java as well but prefer to learn it hands on.
    I appreciate any and all feedback.

    some interesting links...
    http://www.andreasklimke.de/webdev/misc.html
    http://www.xml-book.com/xml,-xslt,-java,-and-jsp-a-case-study-in-developing-a-web-application.html
    http://java.sun.com/webservices/docs/ea2/tutorial/doc/WebApp13.html

  • Very Urgent...Please Help..Invoking Windows Applications

    I capture the Windows Desktop screen and saved it as a .jpg file. I then display the .jpg file on frame ( whose size is that of the screen ). Now if i click on the frame, the corresponding Window's application should be invoked ( i.e if I click on the frame where the Start Menu is shown, then the Start Menu should be opened ). Please help me with the code for this. I will be forever indebted to the person who can help me. Iam in very urgent need of this help

    Not so easy.A JPG file is a compressed map of a "picture",nothing more. So , You have to get a reference to an object of this map - You can't save to a simple file (JPG) and expect to do what you want to do.Think something else , not a simple snapshot.In Win98 you have a directory "Desktop" where are all of your icons , in Win2000 you have to search in "Documents and settings\User_name\" or something like this to find the same directory and get all icons.Therefrom look for "Properties" and find the path to execute the exe file.It must be something like this I think.Hope have been helpfull.

  • Urgent help on WAD(web application designer

    Hello can any one provde documentation on BEX WEB APPLICATION DESIGNER.
    NAg

    Hello Nag,
    Have a look at these links
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/47/d4fed1c60a9743ade3b4cf306d5d48/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/40/8b174082fe1961e10000000a155106/content.htm
    Hope it helps.
    Regards,
    Mohan

  • Please help about function query permformance

    Hi
    I have a j2ee web application with oracle database.
    I finish the function implementation by put all caculaton inside oracle query ( funciton (todayData - avg(historical data )) / std(historical data) and using group by and sub query .but performance is very slow about 3 minute whick is far from client's 10 second requirement.
    My question is if I take raw data from database and do the caculation part in Java will it be faster. Is there some other way to speed up the process?(historical data is big)
    Thanks for your time and help

    What does the function look like? How is it called? What is the query and explain plan? Are statistics up to date?
    My question is if I take raw data from database and do the caculation
    part in Java will it be faster.No.
    Is there some other way to speed up the process?(historical data is big)You should start by posting the explain plan and looking into the other questions above.

  • Someone please help about my bubble pointer

    so when im randomly searching through text online(mostly using firefox), fast or slow, the pointer goes from looking normal, to zooming into a big ugly bold/bubbly fat looking pointer. its bizarre cause at first i really didnt noticed, but as i used mozilla more often, the problem occurred more frequently. honestly, its getting distracting to the point that i've stopped using firefox, and am using safari, which isnt bad, except for im used to firefox, and i like it.
    I've come to another similar discussion posted her on apple discussions, and no helpful solutions, just alot of complaints. PLEASE HELP!!! does anyone evem know what im talking about?

    What do i check? I downloaded Firefox, everything went fine and the settings are normal.

Maybe you are looking for

  • About Partner application

    I will config my partner application according to "Configuring and Administering Partner Applications" in "Oracle® Application Server Single Sign-On Administrator's Guide 10g Release 2 (10.1.2) ". Do I only run ssoreg.sh " $ORACLE_HOME/sso/bin/ssoreg

  • Connecting an HP Laserjet 4100

    Morning. My MBP is connected with a WLAN provided by a Cisco Linksys WRT54G3G. This router is placed in the garret of my house for UMTS connect reasons. In the basement is placed a HP Laserjet 4100 with a network card upgrade. What do I need to conne

  • Powerbook display went out, Help!

    I was just using Safari, and seemingly out of nowhere, I heard a loud whirring (I think from the optical drive) and then the display went black--mostly, I can still sort of make out the menu bar and dock. I've had this happen once before, but that ti

  • NetworkManager Won't Connect to WPA2 Enterprise Encrypted Network

    I decided to switch back to using NetworkManager instead of wicd as my wireless protocol because I like how NetworkManager has a Gnome 3 applet and GUI that I can easily use to connect to wireless networks. Here at university, the "main" wireless net

  • Can I use different dbases with BC4J

    Hi All, I have been having a look at JDeveloper and in particular the Oracle Business Components for Java architecture and I was wondering how well.. 1. JDeveloper 2. the architecture itself performs when using a product other than Oracle as the data