How to Handle forms with J2EE?

Hi, I am currently working on a project that needs to handle a lot of form inputs.
I needs to find out how can i storage a big chunck of text from the form to the database.
I was thinking perhaps i can create a text file for the text and store the file name in the database for every entry.
Is that possible with J2EE technology?

I am suppose to build a Job Search site. Jobseekers usually will not to copy and paste their resume into a textbox and the form will just store everything in the textbox. I believe a resume is definitely a very big data.
An alternative will be to upload the file but i have no idea how can i achieve that.

Similar Messages

  • How to handle form with more than one page in struts

    Hai,
    i have more than one page in my struts web apps. each page has a form & i have submit button @ last page. I navigate between these pages using titles. data has to exist when i come back from another page(i.e i am in page1 i have some fields called name & address as textfield, i move to page2 & then i go back to page1 @ that time i should have the name & addess values that i entered previous in the corresponding textfield) & finally when i submit need to get values form all these pages.
    Plz tell me how to do this.

    Hi prasadmca ,
    1.Try to store those value in session variable
    2. or else store those value in DB

  • How to handle dbms_xmldom with no data values.(no_data_found error in dom)

    hi,
    i have below block,
    DECLARE
    doc dbms_xmldom.DOMDocument;
    node dbms_xmldom.DOMNode;
    elem dbms_xmldom.DOMElement;
    cur_node dbms_xmldom.DOMNode;
    root_elem_data dbms_xmldom.DOMElement;
    root_elem_tab dbms_xmldom.DOMElement;
    root_node_data dbms_xmldom.DOMNode;
    mode_elmn dbms_xmldom.DOMElement;
    mode_node dbms_xmldom.DOMNode;
    mode_text dbms_xmldom.DOMText;
    doc1 DBMS_XMLDOM.DOMDOCUMENT;
    root_node_data1 DBMS_XMLDOM.DOMNODE;
    child_document DBMS_XMLDOM.DOMDOCUMENT;
    child_rootnode DBMS_XMLDOM.DOMNODE;
    V_CLOB CLOB;
    v_doc CLOB;
    v_EMP CLOB;
    v_output_filename VARCHAR2(300) := 'SPOOL_DIR/'||'EMP_XML_FILE.xml';
    l_xmltype XMLTYPE;
    BEGIN
    doc := dbms_xmldom.newDOMDocument;
    node := dbms_xmldom.makeNode(doc);
    dbms_xmldom.setversion(doc, '1.0');
    dbms_xmldom.setCharset(doc, 'UTF8');
    elem := dbms_xmldom.createElement(doc, 'PartnerInfo');
    dbms_xmldom.setAttribute(elem,'xmlns','EMP');
    cur_node := dbms_xmldom.appendChild(node, dbms_xmldom.makeNode(elem));
    mode_elmn := dbms_xmldom.createElement(doc, 'EMPLOYEE');
    mode_node := dbms_xmldom.appendChild(cur_node,dbms_xmldom.makeNode(mode_elmn));
    BEGIN
    SELECT value(e) INTO l_xmltype
    FROM TABLE(XMLSequence(Cursor(SELECT * FROM EMP1 where EMPNO=7501))) e;
    child_document := DBMS_XMLDOM.newDOMDocument(l_xmltype);
    root_node_data1 := dbms_xmldom.importNode(doc,dbms_xmldom.makeNode(dbms_xmldom.getDocumentElement(child_document)),TRUE);
    root_node_data1 := DBMS_XMLDOM.appendChild(root_node_data, root_node_data1);
    EXCEPTION
    WHEN OTHERS THEN
    Dbms_Output.Put_Line('Error in SELECT stmt(UC_PARTNER_MS):::'||'error::'||SQLERRM);
    END;
    dbms_lob.createtemporary(v_doc, true);
    dbms_xmldom.writeToClob(doc,v_doc,'UTF8');
    v_EMP:= v_doc;
    dbms_xmldom.writeToFile(DOC,v_output_filename,'UTF8');
    dbms_xmldom.freeDocument(doc);
    --Dbms_Output.Put_Line('THE OUTPUT IS::'||V_EMP);
    EXCEPTION
    WHEN OTHERS THEN
    Dbms_Output.Put_Line('Error in SELECT stmt(UC_PARTNER_MS):::'||'error::'||SQLERRM);
    END;
    The xml file is 'EMP_XML_FILE.xml'
    <empno>U++kYmcVuGchxbh+++++++++++++++1+</empno>
    <empname>J</empname>
    suppose the empno 7501 is not available in our emp table,
    i got error
    ORA-03113: end-of-file on communication channel
    how to handle xmldom with no data values.
    by
    siva

    hi,
    please give the solution
    by
    siva

  • How to activate form with full license

    I bought the .99 license for Adobe forms, created a form, tested it and it works. I thne bought the full license, but don't know how to activat emy form with it. When I test the form now, it just says that the form is not available and see my administrator. How do I activatethe form with mey new license
    Thanks
    Whit

    Thanks Josh. Pretty stupid of me. Once I know it all works, I’ll remove you
    from the share as suggested.
    Whit
    From: Josh_Corey [email protected]
    Sent: Monday, October 14, 2013 9:43 PM
    To: whit1950
    Subject: How to activate form with full license
    Re: How to activate form with full license
    created by Josh_Corey <http://forums.adobe.com/people/Josh_Corey> in *
    FormsCentral* - View the full
    discussion<http://forums.adobe.com/message/5760318#5760318

  • How to handle form close event or escape key press event for user defined f

    Experts,
    Please let me know how to handle form close event or escape key press event for user defined form...
    Thanks & Regards,
    Pravin.

    Hi
    You can catch the form close event like this
    If ((pVal.FormType = 139 And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_CLOSE)) And (pVal.Before_Action = True)) Then
          Try
                   SBO_Application.SetStatusBarMessage(pVal.EventType.ToString())
          Catch ex As Exception
                    SBO_Application.SetStatusBarMessage(ex.Message)
            End Try
          End If
    Hope this helps
    Regards
    Arun

  • How i can start with j2ee sdk?

    how i can start with j2ee sdk?

    You're in the same boat I'm in. I started by looking at the tutorial! You will get your feet wet with this.
    http://java.sun.com/j2ee/tutorial/index.html

  • How to compile forms with JDAPI ?

    Hi everyone:
    I have more than 200 forms need to compile. All the forms have libraries, object groups attached, they also call stored procedures in the database.
    When I run this code :
    FormModule frm= (FormModule) JdapiModule.openModule("/tmp/"+fileName);
    frm.compile();It reports error like this :
    Exception in thread "main" oracle.forms.jdapi.JdapiStatusException: _jni_compile_form failed
         at oracle.forms.jdapi.BaseAPI._jni_compile_form(Native Method)
         at oracle.forms.jdapi.FormModule.compile(Unknown Source)
         at oracle.forms.developer.JDAPIFormsApi.attachObject(JDAPIFormsApi.java:54)
         at oracle.forms.developer.JDAPIFormsApi.main(JDAPIFormsApi.java:71)Through forms builder, I need to connect to database, put all libraries and resources in the folder included in FORMS_PATH, to get them compiled.
    But how to compile them with all prerequisite conditions set up in my java code ?

    An easier way would be to compile the forms via script, there are several examples on the forum.

  • Some basic questions how to handle Exceptions with good style

    Ok I have two really basic Exception questions at once:
    1. Until now I always threw all exceptions back all the way to my main method and it always worked well for me but now I am sitting at a big project where this method would explode the programm with throwings of very many exceptions in very many methods. So I would like to know if there is a more elegant solution.
    2. What do I do with exceptions that will never occur?
    Lets say I have a method like this:
    void main() {calculate();}
    void calculate()
    sum(3,5);
    void sum(int a,int b)
    MathematicsA.initialise("SUM"); // throws AlgorithmNotFoundException, will never occur but has to be handled
    }So what is the most elegant way?:
    h4. 1. Ignore because it will not happen
    void sum(int a,int b)
    try {MathematicsA.initialise("SUM");}
    catch(AlgorithmNotFoundException) {}
    }h4. 2. Print stacktrace and exit
    void sum(int a,int b)
    try {MathematicsA.initialise("SUM");}
    catch(AlgorithmNotFoundException e)
    e.printStackTrace();
    System.exit();
    }h4. 3. throw it everywhere
    void main() throws AlgorithmNotFoundException, throws ThousandsOfOtherExceptions  {}
    void calculate()  throws AlgorithmNotFoundException, throws HundretsOfOtherExceptions
    sum(3,5);
    void sum(int a,int b) throws AlgorithmNotFoundException
    MathematicsA.initialise("SUM");
    }h4. 4. Create special exceptions for every stage
    void main() throws MainParametersWrongException
    try {calculate();}
    catch(Exception e)
      throw new MainParametersWrongException();
    void calculate()  throws SumInternalErrorException
    try {sum(3,5);}
    catch (SumInternalErrorException)    {throw new CalculateException();}
    void sum(int a,int b) throws SumInternalErrorException
    try
    MathematicsA.initialise("SUM");
    } catch (AlgorithmNotFoundException e) {
    throw new SumInternalErrorException();
    }P.S.: Another problem for me is when a method called in a constructor causes an Exception. I don't want to do try/catch everytime I instantiate an object..
    Example:
    public class MySummation()
         Mathematics mathematics;
         public MySummation()
                 mathematics.initialise("SUM"); // throws AlgorithmNotFoundException
         void sum(int x,int y)
              return mathematics.doIt(x,y);
    }(sorry for editing all the time, I was not really sure what I really wanted to ask until i realised that I had in fact 2 questions at the same time, and still it is hard to explain what I really want to say with it but now the post is relatively final and I will only add small things)
    Edited by: kirdie on Jul 7, 2008 2:21 AM
    Edited by: kirdie on Jul 7, 2008 2:25 AM
    Edited by: kirdie on Jul 7, 2008 2:33 AM
    Edited by: kirdie on Jul 7, 2008 2:34 AM

    sphinks wrote:
    I`m not a guru, but give my point of view. First of all, the first way is rude. You shouldn`t use try with empty catch. "rude" isn't the word I'd use to describe it. Think about what happens if an exception is thrown. How will you know? Your app fails, and you have NO indication as to why. "stupid" or "suicidal" are better descriptions.
    Then for the second way, I`ll reccomend for you use not printStackTrace(); , but use special method for it:
    public void outputError (Exception e) {
    e.printStackTrace();
    }It`ll be better just because if in future you`d like to output error message instead of stack of print it on GUI, you`ll need change only one method, but not all 'try' 'catch' statements for changing e.printStackTrace(); with the call of new output method.I disagree with this. Far be it from me to argue against the DRY principle, but I wouldn't code it this way.
    I would not recommend exiting from a catch block like that. It's not a strategy for recovery. Just throw the exception.
    Then, the third way also good, but I suppose you should use throws only if the caller method should know that called method have a problem (for example, when you read parametrs from gui, so if params are inccorect, main method of programm should know about it and for example show alert window)."throw it everywhere"? No, throw it until you get to an appropriate handler.
    If you're writing layered applications - and you should be - you want to identify the layer that will handle the exception. For example, if I'm writing a web app with a view layer, a service layer, and a persistence layer, and there's a problem in the persistence tier, I'd let the service layer know what the persistence exception was. The service layer might translate that into some other exception with some business meaning. The view layer would translate the business exception into something that would be actionable by the user.
    And in all other cases I suppose you should use the fourth way. So I suppose it`s better to combine 2,3,4 ways as I have mentioned above.I don't know that I'd recommend special exceptions for every layer. I'd reuse existing classes where I could (e.g., IllegalArgumentException)
    Sorry, I can give you advice how to avoid problem with try-catch in constructor. :-(You shouldn't catch anything that you can't handle. If an exception occurs in a constructor that will compromise the object you're trying to create, by all means just throw the exception. No try/catch needed.
    You sound like you're looking for a single cookie cutter approach. I'd recommend thinking instead.
    %

  • How to get start with J2EE

    Hi, I am really new to J2EE.Is there any pdf available to get start with J2EE basics.

    kviaruningroups wrote:
    Hi, I am really new to J2EE.Is there any pdf available to get start with J2EE basics.The most basic Java EE app you can start with uses servlets and JSPs (written using JSTL) to access relational databases using JDBC. You can go a very long way indeed just with those. Add the rest as needed.
    %

  • How to integrate forms with web services in EBS

    Hi All,
    I have tried to integrate Oracle forms with webservices.
    I have added the location of jar file to classpath in default.env file in EBS.
    While running form from E Business Suite i am getting following exception
    Exception: java.lang.Exception: java.lang.NoClassDefFoundError:
    Please help me in overcoming this problem.
    Thank you,
    KS

    Hello,
    This is not the EBS forum but the Forms forum.
    <p>Anyway, did you read this article ?<br>It contains all the necessary details/steps</p>
    Francois

  • Designer beginner's question: How to populate form with XML web service output?

    sorry, here is yet another Adobe Designer beginners question: <br /><br />My form uses a webservice data connection which returns <br />an xml-string like this: <br /><br /><?xml version="1.0" encoding="utf-16"?> <br /><CurrentWeather> <br />  <Location>Sion, Switzerland (LSGS) 46-13N 007-20E 481M</Location> <br />  <Time>Apr 26, 2007 - 09:50 AM EDT / 2007.04.26 1350 UTC</Time> <br />  <Wind> from the WSW (240 degrees) at 15 MPH (13 KT):0</Wind> <br />  <Visibility> greater than 7 mile(s):0</Visibility> <br />  <SkyConditions> partly cloudy</SkyConditions> <br />  <Temperature> 80 F (27 C)</Temperature> <br />  <DewPoint> 46 F (8 C) </DewPoint> <br />  <RelativeHumidity> 30%</RelativeHumidity> <br />  <Pressure> 29.88 in. Hg (1012 hPa)</Pressure> <br />  <Status>Success</Status> <br /></CurrentWeather> <br /><br />What is the simplest and recommended way to extract the <br />element fields to my form? <br /><br />Thank you very much an kind regards, <br />Hans Grund

    The question is still unanswered!
    Let me give some details and break up the problem
    in more specific questions:
    - In Designer 8.1 I click new data binding --> wsdl -->
    http://www.webservicex.net/globalweather.asmx?wsdl
    A message box comes up and says "cannot load wsdl file"
    ==> 1. Question:
    Why maybe refuses Designer to load the http-wsdl,
    although this option is explicitly allowed?
    - When I save the wsdl to a file, Designer loads it
    without any problems. The web service uses two input parameters
    (CountryName and CityName) and returns an xml-string GetWeatherResult)
    like the one in my first posting. I drag these fields from the binding view to my form, and it runs ok!
    - THE PROBLEM IS, THAT I NEET TO EXTRACT THE ELEMENT FIELDS
    FROM THE RESULT XML-STRING!
    ==> 2. Question:
    How to extract xml element fields from wsdl output into a form?
    - I tried with eclipse and XmlSpy to build a modified wsdl file
    with structured output definition, so that the specific element fields
    show up in the data binding view and are usable to my form,
    and the modified wsdl maps consistently to the web service result string.
    So far without success: In the PDF -preview or Reader-
    when the wsdl-binding is executed and the web service output
    should show up in the result fields, just nothing happens.
    ==> 3. Question:
    Can this strategy to provide a "modified wsdl" possibly succeed,
    and how?
    ==> 4. Question:
    Is is possible -and how?- to check whether an xml string
    is valid as web service output against the wsdl-definition?
    ==> 5. Question:
    How to debug a web service connection with Designer?
    - Finally I tried to find a way to load the result xml-string
    into a local var in the script editor and parse it, much like:
    var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
    xmlDoc.load(DataSet.MyForm.GetWeatherResult.rawValue);
    ==> 6. Question:
    Is it possible -and how?- to use a framework like dotnet?
    How to utilize SAX or DOM in Designer?
    Many thanks and appreciations for your help!!

  • HOW to Adapt forms with jaws,Zoomtext-VERY VERY URGENT

    Hi All,
    Can anyone tell me about adapting oracle forms/applications to use with JAWS,ZOOMTEXT or Speech to text software.
    I appreciate an early response.
    Thanks

    Hi Deepthi,
    1. Can anyone suggest me how to do the testing
    A) Like message monitoring in RWB we have a particular link to monitor the message through differnt seeburger adapter.
    I dont remember the link right now.
    2. Where to monitor for AS2 messges?
    A) Through the same link.
    3. How to see the our output files whether we are sending the correct files or not?
    A) u mean to check the output file data or strucutre if strucutre is not proper then u will get the error message and ur mapping fails.
    4. Outbound -- How we will come to know whether file reached to partner or not?If we set sync Mdn.. where we can see the MDN..?
    I have no idea.
    5. Inbound-- How we will come to know whether file has sent to us or not?
    File is sent over wan so when it will be pickd up by XI.
    Thnx
    Chirag

  • How to handle directories with special characters in their name

    I can't figure out how to recode the second clause of this function to handle directories like one named "[]"
    function Get-DiskUsage {
    # parse and pray (but it does accept directory []
    dir |
    ? { $_.psIsContainer } |
    $size = ((@(cmd /c dir /s $_.name)[-2])[25..39] -join '')
    if ($size[14] -eq ' ') {
    $size = ' ' + ((@(cmd /c dir /s $_.name)[-2])[25..38] -join '')
    $name = $_.name
    ' ' + $size + ' ' + $name
    # object oriented, but it does not accept directory []
    Get-ChildItem -Directory |
    Select-Object @{ Name="Size";
    Expression={ ($_ | Get-ChildItem -Recurse |
    Measure-Object -Sum Length).Sum + 0 } },
    Name

    Here is the function with additional functionality to count bytes in the files in the directory itself as well as subdirectories, and accept an optional argument to specify the target directory.  I wish there was a better way
    to do this without modifying and later restoring $pwd
    function Get-DiskUsage {
    # Discovers how much space is allocated in the directories at and below
    # the current directory
    # Inspired by a version from Windows PowerShell Cookbook by Lee Holmes
    # http://www.leeholmes.com/guide
    # The change to parse ] and [ correctly in a directory name was created by Rhys W Edwards
    # http://social.technet.microsoft.com/Forums/en-US/f4f0a133-8c4d-4089-8047-274dbc03567b
    # if there is an argument, then validate it as an actual directory and set $pwd to it
    if ($args.length -gt 0) {
    if ((Test-Path -Path $args[0] -PathType Container) -eq $False) {
    return
    $pwdsave = $pwd
    cd $args[0]
    # count of bytes in the files in the directory itself
    (Get-ChildItem | Measure-Object -property length -sum) |
    Select-Object @{Name='Size';Expression={$_.Sum}},@{Name='Name';Expression={$pwd}}
    # count of bytes in the files in the subdirectories
    Get-ChildItem -Directory |
    Select-Object @{
    Name='Size';
    Expression={
    ( $_ -replace '\[','`[' -replace '\]','`]' |
    Get-ChildItem -Recurse |
    Measure-Object -Sum Length).Sum + 0 }
    },Name
    # restore $pwd is needed
    if ($args.length -gt 0) {
    cd $pwdsave

  • How to handle security with Auto-Versions and Time Machine?

    I've upgraded to OS X Lion, which of course now has the new automatic "versions" system.
    Today, I created a text file in TextEdit, containing highly sensitive data that I must keep absolutely secure (well, you know -- as best I can.) The file was eventually copied to an encrypted sparse disk image (.dmg) and the original on my desktop deleted trashed and emptied.
    But before that happened, Lion had already saved two copies of the file through the new versions sytem --and-- one copy in regular old Time Machine! So much for keeping the file secure. (OK -- not "copies" but delta data. Whatever. )
    EDIT: OK ... I found how to "Delete all backups ..." from within Time Machine. (I feel silly for not finding that before!) But the real question here relates to manual and auto-save versions from the likes of TextEdit and any residual data that may leave lying around, despite the file seemingly having been deleted.
    My questions should now be fairly obvious ...
    Does "Delete all backups" from within TimeMachine also delete all data from the "versions" system? One would assume so. But I don't like to assume.
    Can one somehow pre-emptively flag a file to not be recorded by versions or Time Machine?
    Someone in some post noted that a file could be "locked" to prevent these issues altogether. But I can find no informtaion about such a thing, either by further googling or poking around in menus locally.
    EDIT: Good grief! You spend ages trying to find something, then you post on here and it magically appears. You can click the title bar of TextEdit to produce a pull-down (that's new!), which shows an option to "Lock".
    So this one is just about answered by myself -- except for the part about whether "version delta" info is also removed when "Delete all backups" is used from within Time Machine.
    Any help will be much appreciated. Thanks.
    Bryan.

    If you're dealing with highly sensitive data, you should enable FileVault on your primary and backup volumes. That's the only way to ensure that all copies of your files will always be encrypted. Needless to say, you have to be very sure you won't lose the password. Optionally, you can store an alternate decryption key on Apple's servers, but then you have to trust Apple.
    That said, in my opinion it's too soon after the release of Lion to trust FileVault completely.

  • How to handle sessions with two severs on one machine?

    All,
    I am having a problem with session cookies being overwritten when I host two apps on one machine running WebLogic 8.1 The apps are http://myserver:7300/app1 and http://myserver:7400/app2, and each runs in its own server.
    Users will often access both apps at once, in two browser windows. If the windows are different threads in the same process, the sessions collide. For Internet Explorer, this isn't usually a problem since clicking on the shortcut multiple times launches different processes by default. Some browsers (Firefox, etc.) won't let you have two windows under different processes. Attempts to launch a second window 'detect' the existing process and appear to spawn a new thread. When this happens there appears to be no way for the users to use both apps at once.
    I know this is happening because of the way session cookies are stored in the browser process' memory. The session cookies appear to me to be 'keyed' by the host name or ip address of the server. Does anyone know of a setting in WebLogic so that this 'key' includes the port or context root? Is this even something which can be controlled on the server side?
    Thanks for any help,
    Brian

    Not quite sure what your intent is, but if you want to avoid a clash how
    about giving each application a different default session cookie name.

Maybe you are looking for

  • Adapter Modules

    Hello, While working with the Modules, I got the enterpise bean to work in a standalone fashion. But when I deployed the bean and configured the communication channel module tab, placing the bean first in the processing sequence, it doesnt seem to ha

  • IWeb blog pages versus TypePad, Blogger / Blogspot

    Hello bloggers, I want to start a blog to share my thoughts, ideas and photo snapshots. My question is: should I do that with iWeb and my dot Mac account, or use one of the on-line services like Blogger.com? What are the pros an cons of those two wor

  • Links to external files do nothing after being burned to disk

    I built a product catalog a while ago in CS4 and now I've had to edit it in InDesign CS5. With InDesign CS4, everything worked fine. The files were linked and then all the file were burned to disk, all the files worked on the disk (links, etc). I hav

  • *Billing f2 printing setting*

    Dear all, Please provide me the complete config setting and Master record for the billing f2 printing on the printer when we create the billing doucment (VF01) from the outbound delivery. Thanks in advance. Best Regars

  • My mac OS X did not come with GarageBand, how do get it for free?

    My mac OS X did not come with GarageBand, how do get it for free? I don't want to pay for garageband because it should have come with my laptop but it didn't. I got it used so that might be the problem. Also I installed leopard on it. I'm not sure if