Just want to check whether i am on the right track

Im trying to learn to do a feedback form for an online application(online store) where the user input whatever he want in a textbox and click submit and then the text will be sent to a specified email.
Just want to check whether the stuffs i should be reading on are servlets and javamail??
if there any more things which i should read on and i did not state it above,i would be glad if u guys could enlighten me with the relevant information
tomleo

You probably want to save the user's e-mail address and any other identifying information he/she submitted in the questionaire. For this, you will probably want to use a database, so I would suggest learning JDBC as well.
- Saish

Similar Messages

  • I want to know if i am on the right track

    'm still working on my DNA sequencing project (i am further along thank goodness) but now, i want to check my thought process.
    Okay, i have to write a new method public void addEdge(int i, int k)
    that creates an edge sequence between vertex j and k.
    What these need to do is take the watson-crick compliment of the last half of j concatenated with the watson-crick of the first half of k. So it looks kind of like this:
    sequence
    ATTATAAACCA
    watson-crick edge compliment
    TGGTTTATAAT
    here is my thought process
    1. take the initial sequence array and divide it by 2
    2. then go through the first half and change the compliments
    3. then do the same with the second half and concantenate them together
    so it would look like
    for(int i = 0; i < seqArray.length/2; i++){
    base = rand.nextInt(4);
    if(base==0)
    tube+="T";
    else if(base==1)
    tube+="A";
    else if(base==2)
    tube+="C";
    else if(base==3)
    tube+="G";
    for(int j = seqArray.length/2; j < seqArray.length; j++){
    base = rand.nextInt(4);
    if(base==0)
    tube+="T";
    else if(base==1)
    tube+="A";
    else if(base==2)
    tube+="C";
    else if(base==3)
    tube+="G";
    new Sequence(tube)= seqArray[i] + seqArray[j];What do you think? am i on the right track?
    }

    Something like the following?
    public class WC {
        private static char complement(char base) {
            switch (base) {
                case 'A': return 'T';
                case 'T': return 'A';
                case 'G': return 'C';
                case 'C': return 'G';
                default:
                    throw new IllegalArgumentException("unrecognised base "+base);
        private static char[] complement(char[] bases) {
            int size = bases.length;
            char[] complement = new char[size];
            for (int i = 0; i < size; i++) {
                complement[i] = complement(bases);
    return complement;
    public static void main(String[] args) {
    String s = args[0];
    String s1 = s.substring(0, s.length()/2);
    String s2 = s.substring(s.length()/2);
    char[] c1 = s1.toCharArray();
    char[] c2 = s2.toCharArray();
    s1 = new String(complement(c1));
    s2 = new String(complement(c2));
    System.out.println(s);
    System.out.println(s2+s1);
    Cheers, Neil

  • Want  to check whether input field in selection-screen is numeric or not

    i have a select -option in  selection-screen  in which user enters a value.i just want to check if this value is numeric then it should  be 18 positions prefixed with zeroes if numeric like 000000000000400000  and needs to be left justified if not numeric like G0032-BTI.
    i check the fourm also but it didn't helped me.
    i m using the code.
    SELECT-OPTIONS : S_MAT FOR CDHDR-OBJECTID,
    LOOP AT S_MAT.
    if  S_MAT ca sy-abcde  .
      shift s_mat left deleting leading space.
    else.
        SHIFT s_mat RIGHT DELETING TRAILING SPACE.
        TRANSLATE s_mat USING '0'.
    ENDIF.
    endloop.
    can anybody help.
    <REMOVED BY MODERATOR>
    thanks
    Edited by: Alvaro Tejada Galindo on Jan 17, 2008 4:00 PM

    I have a solution for you! Try this code below, just copy/paste "as-it-is".
    TABLES: cdhdr.
    DATA: gv_type TYPE dd01v-datatype.
    SELECT-OPTIONS : s_mat FOR cdhdr-objectid.
    AT SELECTION-SCREEN.
      LOOP AT s_mat.
        CLEAR gv_type.
        IF NOT s_mat-low IS INITIAL.
          CALL FUNCTION 'NUMERIC_CHECK'
            EXPORTING
              string_in = s_mat-low
            IMPORTING
              htype     = gv_type.
          IF gv_type NE 'NUMC'.
            MESSAGE e016 WITH 'Not Numeric'.
          ELSE.
            SHIFT s_mat-low LEFT DELETING LEADING: '0', space.
            CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
              EXPORTING
                input  = s_mat-low
              IMPORTING
                output = s_mat-low.
            MODIFY s_mat TRANSPORTING low.
          ENDIF.
        ENDIF.
        IF NOT s_mat-high IS INITIAL.
          CALL FUNCTION 'NUMERIC_CHECK'
            EXPORTING
              string_in = s_mat-high
            IMPORTING
              htype     = gv_type.
          IF gv_type NE 'NUMC'.
            MESSAGE e016 WITH 'Not Numeric'.
          ELSE.
            SHIFT s_mat-high LEFT DELETING LEADING: '0', space.
            CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
              EXPORTING
                input  = s_mat-high
              IMPORTING
                output = s_mat-high.
            MODIFY s_mat TRANSPORTING high.
          ENDIF.
        ENDIF.
      ENDLOOP.
    I hope this solves your problem.
    Cheers,
    Sougata.

  • TS1424 apple store,just wanted to check on how to change my area settings in itunes from United States to United Arab Emirates(that's where i stay).it got changed when i tried to download google maps from the US store in itunes.please help me out here.Tha

    Apple store,just wanted to check on how to change my area settings in itunes from United States to United Arab Emirates(that's where i stay).it got changed when i tried to download google maps from the US store in itunes.please help me out here.Thanks

    Please please help me, if you know how.

  • Hi, Just want to check how to download and install adobe

    Hi, Just want to check how to download and install adobe

    Download and Installation Help -
    https://helpx.adobe.com/download-install.html
    If you cannot find helpful information thru that link then you will have to be more specific, "adobe" is not a name of any specific software.

  • Biting the upgrade bullet... but just want to check first...

    Hi all
    So I think i need to upgrade to Studio 2.
    I just looked at a cut of something using the same format we shoot on (HDV 1080i) but covered to prores.. the results were the nail in the coffin.
    However, I just want to check... my G5 and Final Cut Pro 5 are both second hand. I have the original FCP5 discs, but not the G5s system discs. Is there any reason I can't just get the upgrade from Studio 1 package?
    Also - if you do the upgrade package, does that essentially delete version 5? as in - can I have both versions on the same computer? I ask because I share some version 5 projects with other computers that don't have 6 yet and don't want to shoot myself in the foot..
    cheers
    hugh

    I agree that having two versions in the same machine is not a good idea, I wouldn't want that .
    Installing a new version of FCS would overwrite the previous one though (Thanks Shane for confirming this in the past).
    I know there are some people who use several versions of FCP in the same machine however here is Apple's point of view on the matter:
    http://docs.info.apple.com/article.html?artnum=305389
    Remember that you can always export your projects as XML in order to work with them on different machines and FCP version.
    http://developer.apple.com/appleapplications/fcpxml.html
    Although I back Jerry's suggestion to erase and reinstall OS if you prefer to uninstall just FCP before installing FCS2 here is a useful link for you:
    http://www.digitalrebellion.com/fcs_remover.htm
    Cheers,
    G.

  • Hi i just wanted to know whether my iphone is hacked??

    Hi I just wanted to know whether my iphone is hacked??
    Y I suspect:
    1) i use whatsapp and i saw a profile picture of a friend which he said he didn't put it..(i thought his might be hacked)
    2) when i went through my photos i found pictures i have never taken and copied from any place....more over i was able to see someone else's whatsapp conversation which was screen shoted and kept as a photo
    please let me know what i need to do as i had some business documents also on that thinking iphone is secured  ;(
    Thanks

    i recently reseted my phone to the factory settings deleted all the content and never copied anything back,since i was having an issue with my phone were it took lot of time to type in for messeges and even it was not responding to show the keypad....anyways i still have the issue of the keys getting stuck while typing......
    now back to what you said please let me know how come the additional photos came into my photo library then??? i am sure no one has used my phone for the past 2 weeks, i refreshed it 2 weeks back...and its still in its factory condition from the day i bought all the apps are installed from the apple store too, more over i paid for the whats app application.

  • Want to check if Iv'e got this right:  PC External Drive    PC Mac

    Hi,
    I'm going to attempt something and I just want to make sure I'm doing it right (I've searched the forums and this is what I've come up with).
    I have an iPod formatted to a Windows XP computer and all my iTunes on that computer.
    STEP 1:
    I want to move my entire iTunes library off the C drive and onto an external hard drive (I'm out of space on my computer and will erase the library from the C drive once the transfer is done, leaving the library only in the external drive).
    I assume this is what I need to do?
    http://docs.info.apple.com/article.html?artnum=301748
    I've read in the forums that sometimes there are problems with the iPod recognizing/synching to the new drive -- but I'm assuming if I follow the procedures in that tutorial then any problems I have can be fixed (i.e., By transferring in that way I'm NOT doing any permenant damage to my library, filelists, labels, etc.) -- correct?
    I just want to check this before I do Step 1.
    STEP 2
    About 6 months from now I expect to get a new computer, and I expect it to be a Mac. I would want to transfer all my music to the Mac and discard my current PC. There's lots of stuff on the board about doing this. E.g.,
    http://docs.info.apple.com/article.html?artnum=93367
    My one question now -- which is probably a silly one -- is this: Is the fact that all my music will need to be transferred from my PC's external hard drive (as opposed to the internal C drive) cause any significant additional problems? I think the answer is no but I just want to make sure.
    Any clarification you can give on this would be appreciated. Thanks.
    iPod   Windows XP Pro  

    Thanks. I've got one related one.
    Let's say I copy everything to my external hard drive but -- for the time being -- still leave the original on my c drive. Is there a way to test that the iTunes is working off of the external drive?
    In other words, before erasing the songs on the C drive, can I do this and check to see that iTunes works with the external, the iPod interfaces with the external, etc. And then when I'm sure, erase the stuff on the C drive?
    If so, how do I go about verifying this?
    By the way, all of these songs are in mp3 format.
    thanks,

  • Not rally a question, just wanted to share my absolute frustration with the update of iTunes...this is, without a shadow of a doubt THE WORST application i have EVER used, Mac or PC! And that's saying something with the amount of PC dross that's out there

    Not rally a question, just wanted to share my absolute frustration with the update of iTunes...this is, without a shadow of a doubt THE WORST application i have EVER used, Mac or PC! And that's saying something with the amount of PC dross that's out there...Apple...PLEASE update and give us back the old version of iTunes...

    Pull down View > Show Sidebar. This will give you back the same functionality of iTunes 10.x.x.

  • I just want to know that how to change the font color, font size, and forgr

    i just want to know that how to change the font color, font size, and forground color in JTextPane for the Selected text. i try diffrerent menthod like setFont and setColor, these methods change the fonts of the whole textpane. so please reply me as soon as possible, and thanks in advance.
    Moazzam

    Sell the Old one... Buy a New one...

  • I want to share files from iMac to MacBookPro.  In "Sharing" setup I want to check "screen Sharing" but get the error message"Screen Sharing is currently being controlled by the Remote Management service."  What do I need to FIX???

    I want to share files from iMac to MacBookPro.  In "Sharing" setup I want to check "screen Sharing" but get the error message"Screen Sharing is currently being controlled by the Remote Management service."  What do I need to FIX???

    Care to share which OS you are using? 
    Have you read for possible solutions over in the "More Like This" thread over here?-----------------------> 

  • I had installed Adobe CS5 Master Collection on my PC about a year ago, the PC is now dead and i purchased a mac.  i just wanted to know if i can download the Mac version and use that cereal number to activate the it?  and if yes how and where do i go?  wo

    i had installed Adobe CS5 Master Collection on my PC about a year ago, the PC is now dead and i purchased a mac. 
    i just wanted to know if i can download the Mac version and use that cereal number to activate it?  and if yes how and where do i go?  would appreciate anyones help.  Cheers Ron

    i just wanted to know if i can download the Mac version and use that cereal number to activate it?
    No.
    Serial numbers are Mac only or Windows only. There is a platform swap process (from Mac to PC etc) but only for CS6.
    As a CS5 owner, your choices are to either pay to upgrade to CS6 for Mac or join the Cloud.

  • Hi, I just want to know when will be available the new ipod touch

    Hi, I just want to know when will be available the new ipod touch

    October, as had been said here already literally dozens of times, and stated on Apple's web pages and in the Apple Store quite clearly. If you're asking for a specific date, then again as has been said here multiple times, Apple has not yet announced a specific release date.
    Regards.

  • Just wanted a simple upgrade....easy right????......

    >>Duplicate post removed for cross-posting violation of the Verizon Wireless Terms of Service
        See just wanted a simple upgrade....easy right????......  for original message<<
    Message was edited by: Verizon Moderator

    Few things come to mind:
    Are you the account owner?
    Is your account past due?
    Are you attempting to use a credit card NOT in the name of the account owner?
    Does the card have sufficient funds to cover the two devices and upgrade fees?
    Are you using a card that may be new (Other expired) and you have not called to activate the new card?
    My guess the issue is with the card. Since the shipment did not ship. Later in the day when they batched purchases to send for confirmation from the CC companies, yours had an issue
    When calling, the reps will not have a clue if any of the above is occurring, just that the order wont go through. Plus if they feel you may be attempting a fraudulent purchase, they will not tell you that either.

  • How do you add the name of a song to a downloaded track not reccognized in the iTunes library.  I copy songs from my own CDs and want to properly identify them instead of the current "Track 02".  Thanks

    How do you add the name of a song to a downloaded track not reccognized in the iTunes library.  I copy songs from my own CDs and want to properly identify them instead of the current "Track 02".  Thanks

    Right-click the track in your library, Get Info, go to the Info tab, and type in the correct information.  When you are done, click "OK."

Maybe you are looking for