Validation simple form. (if) problem

I am trying to create a simple validate on my input form. The form reloads itself when the submit button is pressed and then checks that first the submit has been pressed then if so check each feild if so redirect, if not reload the page with an error message.:
<%@ page import="java.sql.*,mybookmark.*,java.sql.Date.*,java.text.*,java.util.*" %>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>untitled</title>
  </head>
  <body>
<%
  String Name = request.getParameter("name");
  String Username = request.getParameter("user");
  String Password = request.getParameter("passA");
  String Validate= request.getParameter("sent");
  String valid="false";
  String error="";
  if (Validate == "Register"){  //HERES MY PROBLEM ITS NOT RUNNING THIS CODE
  valid="true";
    if (Name =="" ||Name == null){
    error="Please Enter a Name";
    valid="false";
    } else if (Username =="" ||Username == null){
    error="Please Enter a Username";
    valid="false";
    } else  if (Password=="" ||Password == null){
    error="Please Enter a Password";
    valid="false";
    if (valid =="true"){
       }else {
        out.println(error);
        response.sendRedirect("newuser2.jsp");
%> 
  Please conplete the Registry Form.
  <form method="post" action="newuser.jsp">
  <p>Please enter your Full Name</p>
  <input type="text" name="name" value=""/>
  <p>Please enter a User Name</p>
  <input type="text" name="user" vaule=""/>
  <p>Please enter a Password:( between 6 and 10 characters)</p>
  <input type="password" name="passA" vaule=""/>
  <p>Please re-enter your Password:</p>
  <input type="password" name="passB" vaule=""/>
  <br/><br/>
  <input type="submit" name="sent" value="Register"/>
  <input type="reset" name="reset" value="Reset"/>
  </form>
  </body>
</html>the whole thing runs but it is not running the IF statement:
if (Validate == "Register"){it just by passes this completely.
any ideas.

thanks for that, not offended, my java is limited, tried that as we speak and got the following error:
500 Internal Server Error
java.lang.NullPointerException
     at newuser.jspService(newuser.jsp:19)
     [newuser.jsp]
     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
     at java.lang.Thread.run(Thread.java:552)

Similar Messages

  • A simple form...

    I have made a simple form using web dynpro java,with fields like name,lastname...
    also I have marked some of the fields mandatory in the properties.
    In the implementaion i perform some basic validations for these fields.
    The problem is that all my messages appear at the end of the form after the submit button.Can i not get messages after each input field?
    nikhil

    Hi,
    This is the common code for everwhere check mandatory input field as defined string. and that should be avail on the currentcontext. and add the following code.
    u will get the error in below the inputfiled and bottom of the button also.
    This is my checkMandatory code:
    public void checkMandatory( java.lang.String displayName, java.lang.String fieldContextID )
    //@@begin checkMandatory()
    IWDMessageManager messageMgr =wdThis.wdGetAPI().getComponent().getMessageManager();
    String attributeValue = wdContext.currentContextElement().getAttributeAsText(fieldContextID);
    IWDAttributeInfo attributeInfo =wdContext.getNodeInfo().getAttribute(fieldContextID);
    if (attributeValue != null)
    attributeValue = attributeValue.trim();
    if (attributeValue.length() == 0) {
    //String fieldLabel = this.wdContext.getNodeInfo().getAttribute(displayName).getSimpleType().getFieldLabel();
    messageMgr.reportContextAttributeMessage(wdContext.currentContextElement(),attributeInfo,
    IMessagePoInvoice.EMPTY__INPUT,
    new Object[] { displayName },
    true);
    Add this code in your Action method.
    this.checkMandatory("Please enter Order ","Search_Term");
    wdThis.wdGetAPI().getComponent().getMessageManager().raisePendingException();
    // test for another input field
    this.checkMandatory("Please enter Status ","Search_Status");
    wdThis.wdGetAPI().getComponent().getMessageManager().raisePendingException();
    And this context field(Search_Status) is avail in currentContext only.
    Then it should work.
    Thanks,
    Lohi.

  • WUC-015 (WEBUTIL inits in simple form, not busy form, except from button)

    A busy form always gets a WUC-015 when first touching a WEBUTIL function via a timer. It does not matter how long the timer is set for. A simple form with the WEBUTIL setup works when initialized from a timer. The busy form has no problems if the first time I touch the WEBUTIL functions is behind a button. I have tried shuffling the WEBUTIL block around but without effect. I even tried trapping the error and retrying with no joy.
    Is there a sure-fire way to initalize at startup without getting this error?
    Message was edited by:
    ow000412

    SOLVED!
    I had Form A doing a OPEN_FORM with NO_ACTIVATE on Form B. Form B had a WEBUTIL (first) reference in a timer (to allow (I read) Webutil beans to initialize). Although Form B's W-N-F-I fired, and the timers were lauched, WEBUTIL would not initialize completey unless it had focus! So changing the OPEN_FORM to be ACTIVATE seems to do the trick. [Duncan is this a bug?]

  • Simple form option tag in PtG

    Hi, got a problem with the simple form option
    Here's my code:
    LOOP
    FETCH my_dyncursor INTO my_1;
    EXIT WHEN my_dyncursor%NOTFOUND;
    -- Anzeige der vorhandenen Werte der Dimension
    IF my_1 IS NOT NULL THEN
    dbms_output.put_line('<SimpleFormOption value="' &#0124; &#0124; my_1 &#0124; &#0124; '">' &#0124; &#0124; my_1 &#0124; &#0124;'</SimpleFormOption>');
    END IF;
    END LOOP;
    Important to me is the value of the SimpleFormOption: the that isgenerated out of my Database looks like this: Laser Disk Sale
    The hyperlink in the IE5.5 looks like this:
    param=Laser+Disk+Sale
    this works correct.
    But if I use the phone.com Simulator, the spaces of the string are not replaced by "+".
    It looks like this:
    param=Laser Disk Sale
    Disk and Sale get Lost!
    So afterwards i ran into errors.
    Has anybody a solution?
    Thx.
    Claus

    Struts cannot find the ActionForm you are using.
    Check your html:form tag to make sure you declared it in your struts-config

  • How to make a simple form layout without ad RAD tool

    I'm trying to make a simple form, but I'm not finding the right layout manager to make the components goes in Y axis. The BoxLayout could solve my problem, if it does not fill all the panel with the components.
    My SCCEE:
    public class TestSimpleForm extends JPanel {
        JLabel nameLbl = new JLabel("Name:");
        JTextField nameField = new JTextField();
        JButton okBtn = new JButton("OK");
        JButton cancelBtn = new JButton("Cancel");
        public TestSimpleForm() {
         add(nameLbl);
         add(nameField);
         add(okBtn);
         add(cancelBtn);
        public static void main(String[] args) {
         JPanel panel = new TestSimpleForm();
         // if i make it a boxlayout panel, the text field size goes huge
    //     panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
         JFrame f = new JFrame();
         f.setContentPane(panel);
         f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         f.setSize(400, 600);
         f.setLocationRelativeTo(null);
         f.setVisible(true);
    }

    wellington7 wrote:
    ..My SCCEE:While I don't know what an SCCEE is, I am very familiar with the SSCCE, and..
    public class TestSimpleForm extends JPanel {
    .....this code is surely not an SSCCE.
    Running tool: Java Compile
    /media/disk/projects/numbered/all/TestSimpleForm.java:1: cannot find symbol
    symbol: class JPanel
    public class TestSimpleForm extends JPanel {
                                        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:3: cannot find symbol
    symbol  : class JLabel
    location: class TestSimpleForm
        JLabel nameLbl = new JLabel("Name:");
        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:4: cannot find symbol
    symbol  : class JTextField
    location: class TestSimpleForm
        JTextField nameField = new JTextField();
        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:6: cannot find symbol
    symbol  : class JButton
    location: class TestSimpleForm
        JButton okBtn = new JButton("OK");
        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:7: cannot find symbol
    symbol  : class JButton
    location: class TestSimpleForm
        JButton cancelBtn = new JButton("Cancel");
        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:3: cannot find symbol
    symbol  : class JLabel
    location: class TestSimpleForm
        JLabel nameLbl = new JLabel("Name:");
                             ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:4: cannot find symbol
    symbol  : class JTextField
    location: class TestSimpleForm
        JTextField nameField = new JTextField();
                                   ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:6: cannot find symbol
    symbol  : class JButton
    location: class TestSimpleForm
        JButton okBtn = new JButton("OK");
                            ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:7: cannot find symbol
    symbol  : class JButton
    location: class TestSimpleForm
        JButton cancelBtn = new JButton("Cancel");
                                ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:17: cannot find symbol
    symbol  : class JPanel
    location: class TestSimpleForm
         JPanel panel = new TestSimpleForm();
         ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:22: cannot find symbol
    symbol  : class JFrame
    location: class TestSimpleForm
         JFrame f = new JFrame();
         ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:22: cannot find symbol
    symbol  : class JFrame
    location: class TestSimpleForm
         JFrame f = new JFrame();
                        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:24: cannot find symbol
    symbol  : variable JFrame
    location: class TestSimpleForm
         f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                                    ^
    13 errors
    Exited: 256

  • How to get a simple form to populate from workflow container?

    We are triggering a custom workflow from the creation of a specific type of financial document (BKPF) based on doc type.  I am able to make this occur after I implemented OSS Note 336305 onto our v4.7 Enterprise system. 
    I would like to make the first task a simple form that will display certain fields from the FI document and allow changing.  I created a structure containing the fields I want displayed on the form and can get the form to display.  However, I am unable to get the form populated with the information from the document.  I'm suspect it's a binding problem but don't know where to begin.  My container element contains both BKPF and the structure I created for the simple form.
    I must warn you that I am new to Workflow having only taken the two classes at SAP Education, so any explaination will need to be detailed and simple.
    Thanks for the help.
    Joanne Johnson

    Since I made this entry yesterday, I decided I needed a method that will populate the form structure prior to displaying the form.  I created a subtype ZBKPF of BKPF and added a method to populate structure.  I know the method works correctly because I debugged the code and saw that it executes and fills the structure fields.  However, it doesn't update the structure fields in the container correctly.  So obviously I have a binding problem.  I'm not sure how to get the container fields populated once I populate the structure.  Thoughts?

  • Allow a simple form with "data" to be saved by the user.

    Back in version -x, it used to be so simple.  You created a form that could be read in a web browser.  Users could could fill out the form and save the form to their computers with their data.  Since that first version that allowed that, Acrobat has not progressed in logical fashion.  In a later version, you couldn't save the data.  Then in another version, you could again save the data.  Now you have some nice interactive features. I appreciate the new developments and see where they could be a godsend.  However, the simple thing that I used to be able to do in version -x, and the thing I most want to do,  I can no longer do and it is frustrating.
    Here's the situation:  we have an announcement on the web for Vacation Bible School.  We want to have a pdf with a form that people can fill out online and save to their disk (as their copy of the registration form) and then print out one copy of the form so that they can send it along with their check for the registration fee.  Why should that be so difficult?
    If it weren't for the fact that people have to send in checks, one of the fancy new options would work.  But it is not applicable in this situation.
    Here are my current options:
    I can "distribute" an emailable form (which I don't want to do) and then explain to the user that they should not hit the "submit" button but save the file to their disk.  (First rule of public relations - Don't confuse the public!)  It works in the last version of REader 8+ and in Reader 9.
    I can save the form without distributing it. But the user can't save it with the data!
    Please, PLEASE, PLEASE.  Allow a simple form with "data" to be saved by the user.
    Peace and blessings
    Barbara

    Thanks for a quick response.
    In Acrobat *8 or 9 Professional you can enable a form to be activated with the save feature.
    How do you do this.  When I saved the form without distributing it, and opened the form up in Acrobat Reader, the header said specifically that the data could not be saved in the form.  And when I went to save it, I got the message in a popup that said "Data in this form will not be saved. Reader can only save a blank copy of this form."  Then a second message (with a light bulb) said:  "Please print your completed form if you would like a copy for your records."
    So, if in fact I can have the form (without "distributing" it) so that the user can save the form with the data, how do I do that?  Are there commands I use, options?  Please let me know.  I will be eternally grateful.
    Also, if you edit form fields, you may remove the submit button.
    The edit form fields does not offer any access to the submit button.
    Best,
    Barbara

  • Error in simple form

    Hi All,
    I am OAF learner, I got error in a page like
    - No method with signature -
    initDetails(class java.lang.String, class java.lang.String)
    I tried with couple of times but there was no use..
    How Can I fix that error?
    Please suggest me ASAP.
    Best Regards
    Ali

    Hi All,
    I am getting error when I run the above simple form
    Logout
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT FirstFormEO.UNAME, FirstFormEO.PASSWORD, FirstFormEO.LAST_UPDATE_LOGIN, FirstFormEO.LAST_UPDATED_BY, FirstFormEO.LAST_UPDATE_DATE, FirstFormEO.CREATED_BY, FirstFormEO.CREATION_DATE FROM LOGIN FirstFormEO
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
         at sdpt.oracle.apps.ak.firstform.webui.SimpleFormMyCO.processFormRequest(SimpleFormMyCO.java:55)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-00904: "FIRSTFORMEO"."CREATION_DATE": invalid identifier
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
         at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
         at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at sdpt.oracle.apps.ak.firstform.server.SimpleFormAMImpl.initDetails(SimpleFormAMImpl.java:50)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:189)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
         at sdpt.oracle.apps.ak.firstform.webui.SimpleFormMyCO.processFormRequest(SimpleFormMyCO.java:55)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-00904: "FIRSTFORMEO"."CREATION_DATE": invalid identifier
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
         at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
         at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at sdpt.oracle.apps.ak.firstform.server.SimpleFormAMImpl.initDetails(SimpleFormAMImpl.java:50)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:189)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
         at sdpt.oracle.apps.ak.firstform.webui.SimpleFormMyCO.processFormRequest(SimpleFormMyCO.java:55)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Please help me to fix above issue......ASAP
    Best Regards
    Ali

  • How to make a simple form made with adobe Muse work with Godaddy server ?

    Hi
    i'm trying to do a little website for my student (excuse my english) and the simple form simply don't work with godaddy server. I put the-email adress and i receive nothing, like nothing happen. I try to place the gdform instead but muse said i can't do that.
    Do yu have a simple explication or a way around that thank you very much
    the site is www.chbh.org
    Josée Bélanger

    Hi
    Please refer to : forums.adobe.com/docs/DOC-3581 to know, how you may have the forms widget provided with Adobe Muse to work with third party hosting.

  • Best Layout for Simple forms

    I am sick of having to do all of these workarounds for create simple forms using the Swing API. What is the easiest and most effective way to create a simple form ? And whats Layouts should I use. Below is an example of what the form would look like.
    Name{Label}: {TextField}
    Address:{Label} {TextField}
    etc.. etc..
    all aligned. What is the best solution for this type of typical form. Currently I'm trying to utilize the BoxLayout nested but its very difficult to align the labels and the text fields or likewise the text fields etc.. Any help would be greatly appreciated.

    ParagraphLayout. it was designed exactly for this type of thisng
    label1 : textfield1
    label2:  textarea in scrollpane
               :  // text area occupies severals column (based on te preferred height)
    label3:  textfield2
               :  textfield3
    label4:  combobox1 gap label5: combobox2
    // the code to generate th edata entry form abouve using ParagraphLayout
    JPanel p = new JPanel(new ParapgraphLayout());
    p.add(label1, ParagraphLayout.NEW_PARAGRAPH);
    p.add(textfield1);
    p.add(label2, ParagraphLayout.NEW_PARAGRAPH);
    p.add(textareaScrollpanel1);
    p.add(label3, ParagraphLayout.NEW_PARAGRAPH);
    p.add(textfield2);
    p.add(textfield3, ParagraphLayout.NEW_LINE);
    p.add(label4, ParagraphLayout.NEW_PARAGRAPH);
    p.add(combobox1);
    p.add(Box.createHorizontalStrut(10));  // 10  pixel gap
    p.add(label5);
    p.add(Box.createHorizontalStrut(10));  // 10  pixel gap
    p.add(combobox2); you can get the Paragraph layout at: http://www.jhlabs.com/java/layout/
    they also have other nice layout (like GridLayoutPlus - similiar to GridLayout, but allows different row and column size)

  • Form 9i problem

    Hi all,
    I just installed 9ids on my Win XP. I played around with it but it seems that I must have set something wrong. I just created a simple form using the Scott's schema and try to run it. However, the URL always display the following:
    http://%%20"http://chung:8888/forms90/f90servlet?form=E:\Oracle\test_form\MODULE2.fmx&userid=SCOTT/TIGER@orcl&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES"
    How can I get rid of the beginning bit :- http://%%20"
    Thanks

    Hi alan,
    check the application server URL in runtime tab in preference menu.
    regards
    ~putu

  • What is the best way to design a simple form that is captured in structured accessible database/file?

    Hi there,
    I need to design a simple form to capture some data from the users. This data shall be able to post into structured database where I can connect to the content to grab the data automatically every night.
    What is the simple recommended way to do this?
    Thank you

    I will agree with Margriet Bruggeman, But if you want to have a collaboration with these data with security, then "Business Connectivity Services (BCS) " could be another option. It need more config/development but it has own use too.
    Few detail links
    A
    step by step guide in designing BCS entities by using a SQL stored procedure (Jyoti Saikia)
    Business Connectivity Services (BCS) Overview
    If SharePoint list form will be only data entry interface then go with InfoPath, if not then BCS
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • A Simple Forms Applicaition? How to handle it in Java

    Hello,
    I am designing an application that resides on 5 forms:-
    Let's say
    1)Sales
    2)Purchase
    3)Inventory
    4)Management
    5)Login
    Now the working is like this that a user enters the application via Login Dialog Box.. Then depending on its database role
    the user is then redirected to the specified Form....?
    Now what I want to know that is
    1) should there be a main class that controls the flow of the whole application?
    2) Where should I instantiate the User's database Connection?
    3) How should I manage the connection because when the user has to accesses the database for some quries and the results should be displayed on the particular form...................................
    4) In case of Management the user has the access to all the three remaining three forms how can that be done?

    Can anyone tells me why my url not working here but microsoft.com works fine. What is wrong here. It is just simple form.
    <head>
    <title>Online Survey</title>
    </head>
    <body>
    <form action="http://www.chyrinc.com" method="POST" name="MyForm">
    <table width="600">
    <tr><th colspan="3" align="center">java2s.com - Online Survey
    </th>
    </tr>
    <tr>
    <td>Your Name:</td>
    <td> </td>
    <td><input type="text" name="YourName"/></td></tr>
    <tr>
    <td>Your Gender:</td>
    <td> </td>
    <td>
    <input type="radio" name="Gender" value="Male"/>Male
    <input type="radio" name="Gender" value="Female"/>Female
    </td>
    </tr>
    <tr><td>Which of our consultancy
    services are you interested in?</td>
    <td align="right"> 
    </td>
    <td>
    <input type="checkbox" name="Java"/> Java
    <input type="checkbox" name="Javascript"/> Javascript
    <input type="checkbox" name="SVG"/> SVG
    <input type="checkbox" name="XSL-FO"/> XSL-FO
    <input type="checkbox" name="ASP.Net"/> ASP.Net
    </td>
    </tr>
    <tr>
    <td>Which free gift would you prefer for filling out this survey?</td>
    <td> </td>
    <td>
    <select name="FreeGift">
    <option value="Choice1">AAA</option>
    <option value="Choice2">BBB</option>
    <option value="Choice3">CCC</option>
    </select>
    </tr>
    <tr>
    <td>Enter your comments in
    the text box
    </td>
    <td> </td>
    <td><textarea name="Comments" rows="5" cols="50"> </textarea></td>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    <td>
    <input type="submit" value="Send Form"/></td>
    </tr>
    </table>
    </form>
    <script type="text/javascript" language="javascript">
    <!-- //
    document.write("<P>The action property has the value: <b>" + document.MyForm.action + "</b></p>");
    // -->
    </script>
    </body>
    </html>

  • Implementing java beans in forms 10g [Problem]

    Hi All,
    I am trying to implement the java bean in the forms 10g
    I performed the following steps, but no luck.. Could anybody please help me in this?
    I have created a simple java class
    package mypackage1;
    public class MyClass
    public String GetString(String a)
    return a;
    Make a jar myjar.jar out of it.
    Copy this jar files in $ORACLE_HOME/forms/java directory
    and set the archive.jini parameter in formsweb.cfg to
    archive_jini=frmall_jinit.jar,Myjar.jar
    Created a simple form having one button, one textbox
    Set the implementation class property of text item to mypackage1.MyClass
    on button pressed trigger, I wrote
    set_custom_property('block2.text_item4',1,'GetString','Hello World');
    Ideally, on button pressed, it should show the text "Hello World" in the etxt box. But on button pressed nothing is happening and in java console on error is appearing.
    My java console output is
    Loading http://asst104253:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://asst104253:8889/forms/java/Myjar.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    Could anyone please tell me what I am doing wrong?? And how do I achieve this functionality??
    Please, any help appreciated !!

    Hi there
    The is plenty wrong with this code:
    1. MyClass is not extending VBean
    2. There is no public boolean setProperty(ID ID, Object args) method and no property IDs have been defined so set_custom_property('block2.text_item4',1,'GetString','Hello World'); will not execute anything
    3. If you're hoping to return values back from the bean, you need to define a custom event and associated ID.
    If you're just looking for some java code to return values in a similar manner as normal Oracle functions then you may want to consider using forms java stored procedures which are based on static java methods. Beans are really more for interaction type stuff with other applications.
    But any way if you want to do it this way (i.e. using beans) then at very least you class should look something like (Note, I have not compiled is so there may be a few errors):
    package mypackage1;
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    import oracle.forms.engine.Main;
    import oracle.forms.engine.*;
    import oracle.forms.handler.*;
    public class MyClass extends VBean
    // initiating event id
    protected static final ID pgetString = ID.registerProperty("GetString");
    // return value id
    private static final ID preturnValue = ID.registerProperty("returnValue");
    // return event id
    protected static final ID preturn = ID.registerProperty("returnEvent");
    static IHandler mHandler;
    public String GetString(String a)
    // may do some string manipulation here.
    return a;
    public boolean setProperty(ID ID, Object args)
    if (_ID== pgetString)
    if (_args instanceof String)
    String myArg = (String)_args;
    mHandler.setProperty(preturnValue,getString(myArg));
    CustomEvent ce = new CustomEvent(mHandler, preturn);
    dispatchCustomEvent(ce);
    Keep your button as is and then to return the value back into forms place a WHEN-CUSTOM-ITEM-EVENT trigger on the bean area with something like this:
    DECLARE
         BeanValListHd1 PARAMLIST;
         ParamType NUMBER;
         EvenName     Varchar2(20);
         CurrentValue Varchar2(2000);
    BEGIN
         BeanValListHd1 := get_parameter_list(:SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS);
         IF :SYSTEM.Custom_Item_Event = 'returnEvent' THEN
              IF iD_NULL(BeanValListHd1) THEN
              MESSAGE('NO PARAMETER FOUND FOUND');     
              ELSE
              GET_PARAMETER_ATTR(BeanValListHd1,'returnValue',ParamType,CurrentValue);
              MESSAGE('IN CUSTOM EVENT THE STRING RETURNED IS '|| CurrentValue);
              END IF;
         ELSE
              MESSAGE('no value');
         END IF;          
    END;
    hope this helps
    Q

  • SIMPLE Database Design Problem !

    Mapping is a big problem for many complex applications.
    So what happens if we put all the tables into one table called ENTITY?
    I have more than 300 attributeTypes.And there will be lots of null values in the records of that single table as every entityType uses the same table.
    Other than wasting space if I put a clustered index on my entityType coloumn in that table.What kind of performance penalties to I get?
    Definition of the table
    ENTITY
    EntityID > uniqueidentifier
    EntityType > Tells the entityTypeName
    Name >
    LastName >
    CompanyName > 300 attributeTypes
    OppurtunityPeriod >
    PS:There is also another table called RELATION that points the relations between entities.

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    check the coloumn with WHERE _entityType='PERSON'
    as there is is clustered index on entityType...there
    is NO performance decrease.
    there is also a clustered index on RELATION table on
    relationType
    when we say WHERE _entityType ='PERSON' or
    WHERE relationType='CONTACTMECHANISM'.
    it scans the clustered index first.it acts like a
    table as it is physically ordered.I was thinking in terms of using several conditions in the same select, such as
    WHERE _entityType ='PERSON'
      AND LastName LIKE 'A%' In your case you have to use at least two indices, and since your clustered index comes first ...
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Have you ever thought of using constraints in your
    modell? How would you realize those?
    ...in fact we did.We have arranged the generic object
    model in an object database.The knowledge information
    is held in the object database.So your relational database is used only as a "simple" storage, everything has go through your object database.
    But the data schema is held in the RDBMS with code
    generation that creates a schema to hold data.If you think that this approach makes sense, why not.
    But in able to have a efficent mapping and a good
    performance we have thought about building only one
    table.The problem is we know we are losing some space
    but the thing is harddisk is much cheaper than RAM
    and CPU.So our trade off concerated on the storage
    cost.But I still wonder if there is a point that I
    have missed in terms performance?Just test your approach by using sufficiently data - only you know how many records you have to store in your modell.
    PS: it is not wise effective using generic object
    models also in object databases as CPU cost is a lot
    when u are holding the data.I don't know if I'd have taken your approach - using two database systems to hold data and business logic.
    PS2: RDBMS is a value based system where object
    databases are identity based.we are trying to be in
    the gray area of both worlds.Like I wrote: if your approach works and scales to the required size, why not? I would assume that you did a load test with your approach.
    What I would question though is that your discussing a "SIMPLE Database Design" problem. I don't see anything simple in your approach when it comes to implementation.
    C.

Maybe you are looking for