GUI Basic help

Hi, I need help doing the following:
I need to open a GUI using swing, and in it I want a button on top, and a text screen that is around 6 inches by 6 inches.. basically what i want to do is that every time i press the button the text area refreshes and displays new text..basically it runs the method and displays the output in the text area....are there any code snippets available for this? or can I get a bit of help on how to do this please?
Thank you.

These tutorials have example code:
[http://java.sun.com/docs/books/tutorial/ui/index.html]
[http://java.sun.com/docs/books/tutorial/uiswing/index.html]

Similar Messages

  • Darwin Streaming Server (really basic help)

    Hey, I need some basic DSS help. REALLY basic help. So, Darwin is installed and everything, and I can upload movies to the /usr/local/movies directory. When I upload them there, I can see them in the 'make new playlist' screen. However, Darwin seems to be requesting a .sdp file as the 'mount point'?? What's with that?
    Thanks for any assistance.

    The mount point is supposed to be the location on the hard disk where the movie file resides; the sdp extension indicates that the file is a stream. To create a SDP file, try using the information linked to from this page.
    (14906)

  • Jasper basic help

    hello all,
    I need some basic help and info on jasper. if some one has used it and used it specially with swing, please let me know.
    I need some basic concepts of jasper.
    1: can I send the reports to the printer directly? i mean, is there a class in jasper to access printer.
    2: can I send queries directly to a report?
    3: if there is facility to send the report to printer, then can I preview the report page wise before sending it to the printer?
    Please provide some prompt info as I am in a big trouble with a project and I don't have a lot of time to go through all the docs, just to find that there is no direct printing support. if there is printing support in jasper then I will spend the time on the docs.
    thanks in advance
    Krishnakant.

    1: can I send the reports to the printer directly? i mean, is there a class in jasper to access printer.
    yes
    2: can I send queries directly to a report?
    you query the database, create the report using the query and then print it.
    3: if there is facility to send the report to printer, then can I preview the report page wise before sending it to the printer?
    yes you can display the report on the screen
    Basically you can display a report on the screen or print it directly.
    If the report is displayed on the screen you then can print or export it.
    These may help
    http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-opensourceprofile.html
    http://jasperreports.sourceforge.net/quick.how.to.html
    http://jasperreports.sourceforge.net/samples/index.html
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=64&t=000465
    http://sourceforge.net/forum/forum.php?forum_id=113530
    Here is an example pulled from my code that displays a report on the screen.
    It is not going to be much help.
    Note the references to JDesktopPane and modalFrame will be confusing.
    The report is loaded from a jar.
    I go to a lot of trouble to trap the report on a modal screen.
    processStandardReport("sreports/employees.jasper", null);
    public static boolean processStandardReport(String reportFile, HashMap controlHash) {
       JasperPrint report = null;
       URL fileURL = null;
       String rFile = reportFile;
       HashMap rptHash = controlHash;
       // get report reference
       try{fileURL = startup.class.getResource(reportFile);}
       catch (Exception jEX) {
          // Unexpected error
          return false;
       Connection reportConnection = ???? // H E R E   establish your connection
       try{
          // set file stream
          fs = (InputStream)(startup.class.getResourceAsStream(rFile));}
          // load the report
          JasperReport template = JasperManager.loadReport(fs);
          // fill the report
          report = JasperManager.fillReport(template, rptHash, reportConnection);
       catch (Exception jEX) {
          // Unable to process report
          // RELEASE OR CLOSE YOUR CONNECTION
          return false;
       // RELEASE OR CLOSE YOUR CONNECTION
       try {
          // set uo to display the report
          int iPtr = rFile.lastIndexOf(".");
          String title = "View Report "+rFile.substring(0,iPtr);
          JDesktopPane desktopRef = getDesktopReference();
          JRootPane rootRef = desktopRef.getRootPane();
          JInternalFrame modalFrame = new ModalInternalFrame(title, rootRef , desktopRef){
             public void dispose() {
             ModalInternalFrame.killModalFrame();
             ReportUp = false;
       ReportUp = true;
       // display the report in modal panel
       // note this is a subclass of JPanel
       JRViewer jrv = new JRViewer(report);
       jrv.setPreferredSize(new Dimension(600, 410));
       JScrollPane reportScroll = new JScrollPane(jrv);
       JPanel viewer = new JPanel();
       viewer.add(reportScroll);
       modalFrame.setFrameIcon(frameIcon);
       modalFrame.setClosable(true);
       modalFrame.setSize(new Dimension(625, 450));
       modalFrame.setPreferredSize(new Dimension(625, 450));
       modalFrame.setMinimumSize(new Dimension(625, 450));
       modalFrame.setLocation(50, 50);
       modalFrame.getContentPane().add(viewer);
       modalFrame.pack();
       modalFrame.setVisible(true);
       catch(Exception vEX){
          // unable to view report
          return false;
       return true;
    }rykk

  • Basic help with photo slideshow?

    Hi
    I am new to adobe after effects and I have recently purchased a file from videohive (http://videohive.net/item/photo-album-v2/44575) which is great.  I am trying to tweak it a little and as I am new to after effects, I would love to ask anyone for some basic help?  I will be leaving the country in 2 weeks to get married and my UK wedding reception will be a week after I return so I am in pretty much a hurry to get a slideshow rendered and put onto dvd to play in the reception.  I have mastered how to render in PAL format and get onto DVD but I am having a little trouble with basic elements such as adding keyframes.
    The file has 13 placeholders which I have replaced with my own photos. Two of which are replaced with avi videos instead of jpg. This works fine but I would like to stop the camera movement on say photo 7 and zoom in a little on the video, play the video (approx 40 seconds) then return the photo back in place and resume your camera movement.  This will be repeated for one other photo (photo 9) where the video is approx 60 seconds.  Could you possibly help me how I can do this?  I am also adding music to play throughout from start to finish and I would also like to pause (or fade volume) whilst the avi video placeholder is playing, then resume after playback.  I know this may sound a lot to ask but I know that with the knowledge - it will only take me about 30 mins work once I know what to do.  Any help you can offer will be fantastic. I am proficient with Adobe Flash so I understand the jargon of timelines etc.
    Thank you for any help anyone could provide in my panic to get complete.
    Best regards
    Sean.

    *woohoo* Here's to the ones daring marriage... For your  problems there is a number of ways to tackle them, but the specific solution may depend on how the template works. As David already said, for audio you'd be better off using Premiere, but assuming you have just a single track that realyl only requires fades, AE should serve your needs. You can reveal the audio volume by tapping the L key when the respective layer in your composition is selected, then enable the stopwatch icon to add keyframes. Layers can be trimmed by simply dragging their ends, duplicated with Ctrl+D and split by using Ctrl+Shift+D, so it should be perfectly possible to extend your audio as needed, assuming you increase the comp duration first via the composition options. For the images to come into view, you could simply scale them up. Of course the project is based on 3D layers, so it would look a lot better if you animated the camera to dolly in, but if you have no experience in AE, that may make more of a mess than it's worth. Therefore I simply recommend you create a photo flash/ film burn transition - add a  white solid with a slight color tint, set it's blending mode to add, animate it's opacity and while it's fading out, fade in your full screen video. If done in 32bpc, this can look quite real and since it's a separate effect, it won't interfere with the rest of the animation.
    Mylenium

  • Need basic Help - SG300 with vlan and routing

    Hi,
    i need some basic help with configuring vlan/routing.
    Situation:
    DSL Router - Cisco 300 - XenServer
    192.168.1.253 - 192.168.1.19 - 192.168.1.10 (mgmt ip)
    goal is, to reach from inside xenserver vms the internet.
    vms = 192.168.2.x
    gateway ip = 192.168.2.1
    what i did:
    - configured vlan 102, tagged, with the xenserver port
    - configured on xenserver a network with vlan id 102, attached to the vm
    - this network is conntected to an external bond
    - configured ipva4 interface: vlan102 - Static - IP 192.168.2.1 (this is the gateway ip of the vms)
    - automatic configured IPv4 Route: 192.168.2.0/24 next hop 0.0.0.0, Directly connected
    So at the moment i cant ping from inside a vm to the DSL Router (192.168.2.2 to 192.168.1.253)
    any ideas what i misconfigured or whats wrong?
    cheers,
    -Marco

    Hi Tom,
    ok, that make sense. I can ping the router now inside vms from 192.168.2.x network.
    But i cant ping external adresses, error: Destination net unreachable.
    My other problem i have, i cant reach any server from outside over router portforwarding.
    How do i have to configure the upload port to the dsl router? Is it a access port or a trunk
    port with all vlans (tagged or untagged?) At the moment ive a tagged Trunkport with all vlans.
    IPv4 Interface Table
    Interface
    IP Address Type
    IP Address
    Mask
    Status
    VLAN 1
    Static
    192.168.1.19
    255.255.255.0
    Valid
    Should the VLAN1 ip adress not the router ip adress ? Do i need an additional vlan for
    the router ? At the end i like to change the switch ip from dhcp to static (change automaticly
    when switching to layer 3 mode), but ive to look for the ios commands first.
    What else do i missing ?
    Thanks a lot,
    Marcus

  • GUI Photo Album basic help

    Hi, I'm making a Photo Album program with a vertical split pane with picture on top and controls on the bottom. I have a text document with the names of pictures I want to display in it. I don't know how to have pictures in a panel at all, or how to get the files from the text doc. I know how to do a ActionListener kind of, but I'm pretty lost.
        public PhotoAlbum()
        super("Photo Album");
            ResourceBundle imageResource;
            JButton next = new JButton("Next");
            JButton prev   = new JButton("Previous");
        a = new JPanel(new FlowLayout());
            a.add(prev);
            a.add(next);
        b = new JPanel();
            b.setPreferredSize(new Dimension(800, 500));
        c = new JSplitPane(JSplitPane.VERTICAL_SPLIT, b, a);   
            c.setOneTouchExpandable(true);
        setContentPane(c);
        }Sorry if I have deformed looking code, and thanks for the help!

    Yeah, I guess you could use a JLabel. I don't use Swing much. Though from reading the docs, it sounds like JLabel is supposed to print small, well, labels, and not large images. But maybe you can use it for that anyway.
    "State" is information that expresses the current and ongoing behavior of an object. So for a photo display component, the state could be all images it knows to display, and the one image its currently displaying.
    I suppose you could subclass JLabel to get its functionality, and then add the state to the subclass. But maybe that's not how one does things in Swing. I get the impression that it would be more typical to put that state somewhere else, and then just set the JLabel's image value. That's not very object-oriented but it seems typical.
    It looks like JLabels use an Icon object, where Icon is an interface that apparently just knows how to report its size and how to draw itself. It looks like Icon is meant for small images (e.g., icons) only, but so is JLabel so if you're going to use that for a big image you might as well do the same for Icon.
    So what you could do is, you could make a class that implements Icon, and which holds the state about images. Then put it in a JLabel, and then put the JLabel in the upper panel.
    I don't know what you mean by the last question. The BufferedReader knows how to read a character stream (e.g., file contents) one line at a time. If each line names an image, you'd then have an easy way to get the names of image files. Once you do that, you can use the name to load the image into an Image object, and put each Image object into an array or a java.util.List. You can use the javax.imageio.ImageIO class to load images by name. The BufferedReader wouldn't worry about the indices of the array holding the images; that's not its job.

  • Test GUI Exception----help!!!!!!!!!!!!!!!!

    I run the junit test case from dos after typing
    "java junit.swingui.TestRunner MoneyTest"
    Before running the test case in the junit sample fold, i set the Classpath which include one fold named "test", then i copy the sample of MoneyTest into this fold to try Junit, but the result is :
    GUI appears and i also can use the Test Selector search all the Test Cases from the fold "test" ,but in Dos window shows following Exception: (GUI of course can not run)
    Exception in thread "main" java.lang.NoClassDefFoundError: MoneyTest (wrong name
    : junit/samples/money/MoneyTest)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at junit.runner.TestCaseClassLoader.loadClass(TestCaseClassLoader.java:1
    04)
    at junit.runner.ReloadingTestSuiteLoader.load(ReloadingTestSuiteLoader.j
    ava:9)
    at junit.runner.BaseTestRunner.loadSuiteClass(BaseTestRunner.java:193)
    at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:86)
    at junit.swingui.TestRunner.runSuite(TestRunner.java:591)
    at junit.swingui.TestRunner.start(TestRunner.java:708)
    at junit.swingui.TestRunner.main(TestRunner.java:52)
    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: MoneyTest
    (wrong name: junit/samples/money/MoneyTest)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at junit.runner.TestCaseClassLoader.loadClass(TestCaseClassLoader.java:1
    04)
    at junit.runner.ReloadingTestSuiteLoader.load(ReloadingTestSuiteLoader.j
    ava:9)
    at junit.runner.BaseTestRunner.loadSuiteClass(BaseTestRunner.java:193)
    at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:86)
    at junit.swingui.TestRunner.runSuite(TestRunner.java:591)
    at junit.swingui.TestRunner$9.actionPerformed(TestRunner.java:283)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    I dont know where problems happened??? Thank you for any help!!!!
    Alonso

    I run the junit test case from dos after typing
    "java junit.swingui.TestRunner MoneyTest"
    Exception in thread "main"
    java.lang.NoClassDefFoundError: MoneyTest (wrong
    name
    : junit/samples/money/MoneyTest)
    I dont know where problems happened??? Thank you for
    any help!!!!See the part in the exception about where is says "wrong name"?
    It means you used the wrong name (surprising how that works.)
    See the section after it where is says "junit/samples/money/MoneyTest"?
    That tells you that it couldn't find the name that you gave it, but that it did find a name called junit.samples.money.MoneyTest.
    It is up to you to figure out if you really wanted to use junit.samples.money.MoneyTest or if you made a mistake in something else.

  • How do you incorporate an ArrayList inside a ComboBox (GUI Project Help)?

    Basically, I created a project around NBA Greats of Our Past. There is around 76 players so rather than typing all of them up in JCreator, how can you use an Arraylist to make things easier. I already created the spreadsheet on Excel with all the names. But the problem is that I don't know how to use them inside my ComboBox.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class ComboBoxDemo extends JFrame {
         private String[] nbaGreats = {"Michael Jordan"};
         private ImageIcon[] nbaImage = {
              new ImageIcon("H:/jordan.jpeg")
         private String[] nbaDescription = new String[1];
         private DescriptionPanel descriptionPanel = new DescriptionPanel();
         private JComboBox jcbo = new JComboBox(nbaGreats);
         public static void main(String[] args)
              ComboBoxDemo frame = new ComboBoxDemo();
              frame.pack();
              frame.setTitle("NBA Greats");
              frame.setLocationRelativeTo(null);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setVisible(true);
         public ComboBoxDemo() {
              nbaDescription[0] = "(Included Yet, Description not Included Yet";
              setDisplay(0);
              add(jcbo, BorderLayout.NORTH);
              add(descriptionPanel, BorderLayout.CENTER);
              jcbo.addItemListener(new ItemListener() {
                   public void itemStateChanged(ItemEvent e) {
                        setDisplay(jcbo.getSelectedIndex());
         public void setDisplay(int index) {
              descriptionPanel.setTitle(nbaGreats[index]);
              descriptionPanel.setImageIcon(nbaImage[index]);
              descriptionPanel.setDescription(nbaDescription[index]);
                   I Included a picture for reference. [http://img442.imageshack.us/i/98328443.png/]
    Edited by: lilazndood1 on May 28, 2010 6:50 AM

    Its a working example. The tutorial examplains the code in steps.
    Any code we give you will be no different.
    but it doesn't really help me because I don't understand itIf you have a specific question about the code from the demo then maybe we can help you, but "I don't understand it" is not a question.

  • Creating GUI based Help File!!!

    Can anyone point me to a resource where I can find information for creating Help for a GUI based application? I know that javadoc can create API specification for standalone programs but I like something for GUI based application like the one found on MS Word under Help menu.
    Need help plz.
    --DM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    If anyone is trying to find out how DM777 implemented help. I would guess that he found JavaHelp.
    Here's a search to get you started
    http://onesearch.sun.com/search/developers/index.jsp?and=javahelp&nh=10&phr=&qt=&not=&field=&since=&col=javadoc&col=javatecharticles&col=javatutorials&col=devarchive&col=devall&rf=0&Search.x=0&Search.y=0

  • I need basic help with my VISTA laptop. Adobe Reader X (10.1.4) IS INSTALLED BUT NOT WORKING.

    A basic questions. My laptop VISTA has Reader X (10.1.4) installed. Internet add ons has Adobe PDF llink helper enabled. I am not able to open PDF files?

    Moved to Adobe Reader.
    You cannot able to open pdf files on your computer or you cannot open pdf files in your webbrowser? If you cannot open pdfs in your browser, what browser are you using?

  • Flash CS5 Basic Help!

    I am very new to this program and am struggling to get past this one simple little thing!
    I clicked New > Action Script 3.0
    and am trying to do some of the basic tutorials and cant even get past the first one!
    I am trying to draw a filled in rectangle.... but even when i change the timeline button to fill instead of outline, it only ever draws the outline.
    Am i doing something wrong?
    Also i changed the background colour of the stage and it doesnt seem to change either....
    Please help me get past this first step in learning Flash!!
    I have been trying to follow the tutorials but everytime i try to draw a filled in shape on the stage, it always just comes out as an outline.  I have deselected the outline square so it is filled in... in the timeline an still i can only get an outline. I dont get it!!
    If you can see where im going wrong please let me know...
    Thanks

    I noticed what you said and what the image showed, but that's the best I could offer.  It doesn't look like you're doing anything wrong... the software appears to be having an issue.  Have you installed the latest update for CS5 (http://www.adobe.com/support/flash/downloads.html)?

  • Complete Novice Needs Some Basic Help

    Hi!
    I'm sorry to clutter up the discussion with such basic questions, but what I want to do is get something from a cassette tape to my iPod. I'm told I can do this through GarageBand, and I have an audio cable that the guy in the Apple store said I would need. I'm not even sure where to plug this cable in. So any help in where I plug this in, or what I do next would be tremendously appreciated. If someone could even tell me where to look for help that would be great (when I look in GarageBand help its saying something about MIDIs and I don't even know what that is). Eternal gratitude for any help....

    Oh man, this is frustrating and I might give up soon!
    So in System Preferences, Sound I have 2 things,
    Internal Microphone (port is Built-in) and Line In
    (port is Audio line-in port). I can't seem to
    select one or the other, they're just there.
    Yeah, there is no "apply" or "OK" or anything like that. Just click on the Line-In so that it is highlighted and close the system preferences. That takes care of that. My PB G4 automatically detects when I plug in my line-in now that it is set up.
    Then in GB preferences, I only have the option of
    Built-in Audio, there is no other option.
    Built-In audio is correct in GB prefs.
    I also couldn't find where you were saying to
    double-click...what's the track header? I've clicked
    everything and can't find a monitor drop down menu
    option.
    The track header is the left-hand side of the track where there is a small speaker or instrument. For what you are doing, you need to create a new basic track. (Under "Track" in the menu bar, click "New Basic Track") You should have a new blue track that is labeled "No Effects." Double click on the speaker image and a dialog box will appear. Right in the middle of this box there are options for Input, Volume, and Monitor. You can turn on and off monitor abilities here.
    On the plus side, the connector I have seems to
    work...its male/male 1/8".
    Perfect.
    Thanks again and if you want to bail out, I
    completely understand!
    Hang in there. We were once all newbies to this digital recording stuff too.

  • Basic help needed very much

    Hi,
           I have an Epson 3800 printer and Adobe Elements 7 (Epson advised me that I should buy some version of Photoshop to take full advantage of the printers capabilities).....Problem is need basic info on how to set all the buttons to make a decent print. There are many,many choices on various drop down tabs all through the process of making a print. Also, It seems that all my pictures are 72 ppi ...is this a default setting ? Or, did I do something wrong when I downloaded them from my camera ?  PLEASE help !   If at all possible someone could guide me through the process step by step I would be very, very grateful.  I need guidance from the download, through the myriad of buttons (ie: color management, size selections (why do I have to tell both Elements and the printer the size of my paper?!!$#@) what's up with 72ppi on all my pics, if i change to 300 ppi wont pics get worse ? )
    I called Epson and asked them to walk me through a print but they wouldnt because  they said  I'm going through Elements first and that is not their responsibility!  BUT THEY ADVISED ME TO GET ELEMENTS IN THE FIRST PLACE !!!
    Please help...I am an artist (painter) ...my website is www.theeastcoastartist.com I will send a free 8 X 10 signed print of a painting to anyone that can help me get a decent print or just tell me which settings to make each step of the way.
    Thanks,
    Frank

    Frank, here's a couple links to tutorials that may help. They use Photoshop but the print settings in Elements are similar enough.
    http://www.wonderhowto.com/how-to/video/how-to-print-from-photoshop-to-the-epson-stylus-pr o-3800-260408/
    http://people.csail.mit.edu/ericchan/dp/Epson3800/printworkflow.html
    As far as the resolution, stated in pixels per inch (ppi), the images from your camera have a fixed number of pixels, so resolution is determined by the size of the print...the larger the print, the larger the pixels, the lower the resolution. 300 ppi is considered optimum for printing...higher won't hurt, lower than 250 ppi may start to be noticable.

  • Basic Help on Servlets

    Hi,
    I have installed JDK1.4.0_01 and Tomcat 4.1.
    In my basic Servlet Example, I have created the following directory structure --
    TOMCAT_HOME\webapps\testing\index.html
    TOMCAT_HOME\webapps\testing\src\TestServlet.java
    TOMCAT_HOME\webapps\testing\WEB-INF\web.xml
    TOMCAT_HOME\webapps\testing\WEB-INF\classes\TestServlet.class
    The HTML Takes some input from a Text box and on Submit, calls the Servlet.
    The problem I am facing is that, everytime the Submit is invoked, it gives HTTP 404 Servlet Not found Error.
    My entries in server.xml ---
    <Context path="/testing" docBase="testing" debug="0" reloadable="true">
         <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="localhost_testing_log." suffix=".txt"
              timestamp="true"/>
    </Context>
    My entries in web.xml ---
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>TestServlet</servlet-name>
    <servlet-class>TestServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>TestServlet</servlet-name>
         <url-pattern>/testing</url-pattern>
    </servlet-mapping>
    </web-app>
    In the POST tage in the index.html, I am calling ---
    <form action="TestServlet" method="POST">
    </form>
    http://localhost:8080/testing displays index.html appropriately.
    But, on SUBMIT, HTTP 404 Error is displayed.
    Expecting Help!
    Thanks in Advance

    According to your servlet mapping , the url to run your servlet is :
    http://localhost:8080/testing/testing !!! because of <url-pattern>/testing</url-pattern>
    so change it to :
    <url-pattern>/TestServlet</url-pattern>

  • How do I get general back to basics help?

    Had an I Pad and I Touch and didn't use a lot.  Now I have another I Pad and I Phone...I really need to understand it all.  The Apple Store is far from me and I do'nt have time to go to mulitple sessions.  I just want to pay an expert to sit down and show me everything for an hour or two.  Any ideas?

    Hey Westmad,
    Thanks for the question. Our support website has a great deal of information. To get you started, you might want to check out these resources:
    Learn more about iOS 7 and iPhone - Apple Support
    http://support.apple.com/basics/iphone
    iPhone User Guide
    http://help.apple.com/iphone/7/
    iPad User Guide
    http://help.apple.com/ipad/7/
    Apple - Support - Videos
    http://support.apple.com/videos/
    Thanks,
    Matt M.

Maybe you are looking for

  • Wifi performance issues on macbook pro

    Hello, I have an older MacBook Pro running OS X 10.7.5 that is having serious wifi issues (really slow browsing and accessing sites) and even regularly appears to drop the wifi connection.  It also has trouble printing to our HP wireless printer.  I

  • Teaming or Port-channel support on NCS appliance

    Hi, we have purchased one NCS PRIME-NCS-APL-K9 appliance. We are looking at connecting this box to two more swicthes configured in HSRP for the VLAN on which this box will be place. Can i configure active/stand-by teaming of both the ethernet ports a

  • Loading/Unloading a .swf that adds event listeners to the Stage

    Hi all, Disclaimer Apologies if I suck so bad at using forum search that the answer to this is on page 1 somewhere; I tried... Question I am loading and unloading a .swf to which I do not have source code access. This .swf places several event listen

  • Netui:tree with calculated tree

              Hi!           I am fighting with the netui:tree tag in a JSP with Bea Weblogic. Showing a tree           like           <netui:tree tree="commodityTreeResult" action="updateTree" imageRoot='<%=           request.getContextPath() + "/resourc

  • SAP ECC ABAP STACK UPGRADE

    Hi Everyone, I am new to this fascinating world of BASIS and to this forum. This is my second post: The situation is I need to upgrade the ABAP stack of my ECC 6.0 (dual stack) system from patch level 14 to 17. Thus now, what are the things that I sh