Trying to run my first servlet through Eclipse + XAMPP

I'm trying to run my first servlet through eclipse, I'm using XAMPP + Tomcat add-on as my webserver. How do I even try and compile my servlet? I've added the external jar Servlet-api.jar to my project as stated in here, http://www.theserverside.com/discussions/thread.tss?thread_id=37924
But eclipse wouldn't compile it, because there just isn't a main() in my servlet program..
Do I need to install the WPT plugin for eclipse? I'm guessing I'm not setting my CLASSPATH correctly - Do I need to set it up manually?

Nevermind, there were lots of Issues going the XAMPP way, so I just installed Tomcat separately and all is fine now.
I used instructions from http://www.scribd.com/doc/495993/Installing-Apache-Tomcat-6-and-Using-It-With-Eclipse and it was a walk-in-the-park..

Similar Messages

  • Fail to run my first Servlet with Sun ONE Studio 4 Update 1 (+ bi Tomcat)

    Hello !
    I failed to run my first Servlet with Sun ONE Studio 4 update 1 ( with built in Tomcat)
    I think that I followed most of the online instructions,
    so I successfully run a JSP file,
    but I failed with my first servlet:
    The error message is:
    "Standard Wrapper[:MyServlet]: Marking servlet MyServlet as unavailable
    javax.servlet.ServletException: Wrapper cannot find servlet class com.hemmerling.myservlet.MyServlet
    or a class it depends on
    So please don�t ask me for the code of the servlett ( simply taken from a book),
    but tell me why the one-and-only servlett was not found. what might I have done wrong, if I did everything I did to run the JSP file, too ?
    Of couse I copied the file into the "Classes" directory of the Webmodule ( WEB-INF ) and "processed" it, so that I was able to execute it.
    Any suggestions ?
    Tia
    Sincerely
    Rolf

    Tough to say, but try:
    1. Put the servlet in a package. If you're using the default package (class file in WEB-INF/classes directory, then Tomcat may not find it.
    2. Check out web.xml to ensure the <servlet> and <servlet-mapping> entries are correct.
    3. Make the servlet as simple as possible so you're sure that it is the servlet itself that cannot be found and not some other class that it uses.
    Good Luck

  • Trying for Run Direct Cash Flow through Trasaction code FSI0

    Dear Friends,
    When I am trying for Run Direct Cash Flow through Trasaction code FSI0 then it is giving error Financial Statement veriosn INT doesnt exist...
    I want to Assign my Company Financial Statement veriosn MFSV instead of INT
    can u please tel me how to Assing my compnay Financial Statement veriosn
    please help me gurus...
    Thanks,
    Srem

    Hi
    Can get the output in the reort by assigning your Chart of account and GL accounts pertaining to your COA. You have to click on the change Icon otherwise it will show as greyed out.
    1) Preparation of FSV is a good option but how will you address "Change in receivables" like that items in FSV?
    2) GL's can be linked to the report as told earlier.
    3) Still in the process of exploring.
    4) "Relevance to Cash flow" tick has no relavance with the cash flow report.
    5) Activation of Cash management has no relevance with cash flow report.
    6) There is no special configuration required for Cash flow.
    The only problem here is getting the output for items like change in inventory etc. If this could also be brought in this report, it would be a wonderful report.
    GL accounts can be mapped with this report. The problem you may be facing is due to the reason that you might not have clicked the change icon, that is why it is showing as greyed out.
    Cheers
    V.Krishnan

  • Not able to run my first Servlet..... 404 error!!!

    Hi,
    I am new to Java.
    I am trying to create a small servlet application. I am using Tomcat 5.5 server and eclipse for this.
    I have first writtern a HTML form which on submission is redirected to a servlet that displays the information submitted. but i am not able to evn open the html file through browser, i am getting 404 error.
    My html codes and Servlet codes are inside the htmlform package...
    When i type http://localhost:8080/htmlform/form.html i am gettig 404 error... Also let me know if any thing is wrong with the codes...
    Here is my code...
    form.html
    <html>
    <head>
    <title> This is a HTML page </title>
    </head>
    <body>
    <p><h3>This page displays a submission form</h3></p>
    <form method="GET" action="/htmlform/LoginServlet">
    <p> USERNAME: <input type="text" name="username"/> </p>
    <p> PASSWORD: <input type="password" name="password" /> </p>
    <p> <input type="submit" value="Press Me" name="submit"/> </p>
    </form>
    </body>
    </html>
    LoginServlet.java
    package htmlform;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class LoginServlet extends HttpServlet{
         private static final long serialVersionUID = 1L;
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter pw = response.getWriter();
    String username = request.getParameter("username");
    String password = request.getParameter("password");
    pw.println("<html><head><title>This is the out put page</title></head");
    pw.println("<body><h2>If you can see this page then your form is cleanly processed</h2><br>");
    pw.println("<h2>Congratulations!!!</h2>");
    pw.println("<p>Your user name is: "+ username+ "</p>");
    pw.println("<p>Your password is: "+ password + "</p>");
    pw.println("<br></body></html>");
    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>Login</servlet-name>
    <servlet-class>LoginServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Login</servlet-name>
    <url-pattern>/login</url-pattern>
    </servlet-mapping>
    </web-app>
    Thanks in advance

    you might have other problems, but I think the action attribute in your HTML form is incorrect.
    You have:
    <form method="GET" action="/htmlform/LoginServlet">Your web.xml says:
    <servlet-mapping>
    <servlet-name>Login</servlet-name>
    <url-pattern>/login</url-pattern>
    </servlet-mapping>So I think you should change the action like this:
    <form method="GET" action="/htmlform/login">Your servlet's not in a package, and you might not be deploying it correctly (god forbid you added this to /ROOT), but try that first.
    %

  • Running my first Servlet on TOMCAT - 10 duke dollars

    I am very new to Servlets. I am not creating a seperate context on Tomcat root to load the Servlet.
    I did the automatic installation of Tomcat 4.0.3 on windows NT available on <jakarta.apache.org/tomcat>
    I am going to load my servlet class in c:\<Tomcat Home>\Web Apps\Root\Web-inf\Classes
    But under my <Root\Web-inf> there is NO <Classes> subdirectory. So I created one and copied my class file there.
    Then on the browser, I typed
    http://127.0.0.1:8080/servlet/myFirstServlet
    Then I am getting the 404 Http Not found error.
    Error in detail is "/servlet/myFirstServlet" not found
    Can someone PLEASE help me ASAP.

    NOTE: I already sent this message under different heading.. I am sending this message under this for Mr/Mrs w234 ....
    Please let me know....
    I wrote my first Servlet with Forms, for a registration system. I have my input HTML file first.html and my java class (first.java) which processes the form and spits out the same information thru' the servlet.
    I added the line below in my server.xml in /conf directory, Forms is the subdirectory under webapps
    <Context path="/Forms" docBase="Forms" debug="0"
    reloadable="true" crossContext="true" />
    I created the web.xml as follows in c:<Tomcat home>\webapps\Forms\web-inf\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>first</servlet-name>
    <servlet-class>first</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>first</servlet-name>
    <url-pattern>/first</url-pattern>
    </servlet-mapping>
    </web-app>
    Note : My HTML file name and class files name both are same.. Also can someone tell me how to change web.xml for different HTML file name and class name ? Or do we have to include HTML file here in web.xml ?
    I am confused !!
    Then in the browser I typed
    http://127.0.0.1:8080/Forms/servlet/first.html
    I am getting this error
    Apache Tomcat/4.0.3 - HTTP Status 404 - /first.html
    type Status report
    message /first.html
    description The requested resource (/first.html) is not available.
    Can you please HELP ...
    Still I have not figure out how to give a couple of Duke s ? Please help me ...

  • Error when trying to run my first Java app

    Okay, Im new to Java programming. I started a day ago :). My question is after I compile my application like so.
    javac TestGreeting.javaIt give me a .class file. So the next step is I want to run it so I do the following.
    java TestGreeting.classWhen I run this I get this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: TestGreeting/classCan some one tell me what is going on? I am running Mac OSX Leopard on a MBP. I have the latest Xcode Tools which is 3.1 if I am not mistaken.
    Thanks everyone. Go easy on a newbie :)

    The argument for the java command is the fully qualified Class Name. It is not a file name or path. You provided a file name. The JVM tried to find a class named 'class' in a package named TestGreeting. Most likely, you should have typed "java TestGreeting"
    Here is a link to a tutorial, and the Getting Started section includes a section for problem resolution.
    [http://java.sun.com/docs/books/tutorial/]

  • Trying to run, getting javax.servlet.ServletException: No fa

    Hallo -- I have written a simple test application in Nitrox (using JSF), and am having some trouble getting it running.
    I beleive I have set up the run parameters correctly (using Tomcat), but am getting the following error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: No faces context?!
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
         org.apache.jsp.pages.welcome_jsp._jspService(org.apache.jsp.pages.welcome_jsp:77)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.jsp.JspException: No faces context?!
         org.apache.myfaces.taglib.core.LoadBundleTag.doStartTag(LoadBundleTag.java:91)
         org.apache.jsp.pages.welcome_jsp._jspx_meth_f_loadBundle_0(org.apache.jsp.pages.welcome_jsp:94)
         org.apache.jsp.pages.welcome_jsp._jspService(org.apache.jsp.pages.welcome_jsp:64)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    [/code:1:48585cacb8]
    Can anybody shed any light on what might be wrong?
    Any & all help gratefully received,
       doug.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Please check your web.xml file for the URL pattern defined for Faces Servlet. And you need to access the JSF pages based on this definition.
    Ex:
    * <servlet-mapping>
         <servlet-name>FacesServlet</servlet-name>
         <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    - the url "http://localhost/chooselocale.faces"
    * <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/guess/*</url-pattern>
    </servlet-mapping>
    - the url "http://localhost/guess/greeting.jsp"
    Refer to the bookStore & guessNumber JSF sample applications.

  • Not able to run my first servlet

    i am using tomcat 5.5 and jdk1.5.my servelet is compiled but when i am running it error 404 file not found is shown

    1) Make sure the servlet is in a package
    2) Re-read the tutorials

  • Error on page load when trying to run the jsp appl. through JDeveloper

    I created an JSP application using Oracle JDeveloper 9.0.5.2 and Business Intelligence beans 9.0.5. and i am using Embeded oc4j Server for running the application from the JDeveloper Environment.
    All the presentations are existed in the Local Catalog of the application...
    Configuration file of the Application is :
    (Project1OLAPConfig4.xml):
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!--This file is generated by the BI Designer object and specifies configuration
    settings for your application. These configuration settings do not affect
    the BI Designer object. You can specify the name of this file in the constructor
    of the BISession object for the application.
    If you want to customize this file, then choose Settings from the
    right-mouse menu of the associated BI Designer object. Or you can right click on the
    configuration file and choose Settings. You can choose whether to keep the
    configurattion settings the same for both design and runtime, which is the
    default, or to use different settings for design and runtime.
    Refer to the Help system for more information on the configuration file.
    Current Settings:
    In Sync with Designer
    -->
    <BIConfig>
    <BISession DeploymentOption="LOCAL">
    <BIUser Username="Local User"/>
    <Debug Mode="ERROR"/>
    </BISession>
    <PersistenceConnection PCID="pc1" PersistenceType="FILE" RootFolder="bidefs/Project1BIDesigner4/" BootConnection="true"/>
    <OLAPConnection OCID="oc1" ServerType="ROLAP" OLAPConnectionName="OLAPConnection1" HostName="twdpc232" SID="encore" PortNumber="1521" JdbcDriverType="thin">
    <DADFile Filename="/Project1OLAPConfig4OLAP.dad" Obfuscated="false"/>
    </OLAPConnection>
    <MetadataManager>
    <PersistenceConnection PCREFID="pc1"/>
    <OLAPConnection OCREFID="oc1"/>
    </MetadataManager>
    </BIConfig>
    Project1OLAPConfig4OLAP.dad :
    Username:CS_OLAP
    Password:CS_OLAP
    JSP page is : (biuntitled1.jsp)
    <%@ taglib uri="http://xmlns.oracle.com/bibeans/jsp" prefix="orabi" %>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <%@ page errorPage="cabo/bi/jsp/error.jsp" %>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <!-- Start synchronization of the BI tags -->
    <% synchronized(session){ %>
    <orabi:BIThinSession id="bisession1" configuration="/Project1OLAPConfig4.xml" >
    <!-- Business Intelligence definition tags here -->
    <orabi:Presentation location="Presentation1" id="biuntitled1_pres1"/>
    </orabi:BIThinSession>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>
    BI Beans JSP Page
    </title>
    </head>
    <orabi:BIBody>
    <form name="BIForm" method="POST" action="biuntitled1.jsp" >
    <orabi:InitBITags parentForm="BIForm"/>
    <!-- Insert your Business Intelligence tags here -->
    <orabi:Render targetId="biuntitled1_pres1" parentForm="BIForm"/>
    <p/>
    <p/>
    <!-- The InsertHiddenFields tag adds state fields to the parent form tag -->
    <orabi:InsertHiddenFields parentForm="BIForm" biThinSessionId="bisession1" />
    </form>
    </orabi:BIBody>
    </html>
    <% } %>
    <!-- End synchronization of the BI tags -->
    The Errors coming when loading the page are:
    Line : 25
    Char : 76
    Error : ObjectExpected
    Code : 0
    URL : http://172.29.52.77:8989/Workspace1-Project1-context-root/biuntitled1.jsp
    The same error is coming in the (line, char) combination are : (25,1);(30,1);(21,1);
    Output of bicheckconfig :
    BI Beans Diagnostics(v1.0.2.0) 8/23/04
    ===============================================================================
    JDEV_ORACLE_HOME .......................... = c:\JDeveloper
    JAVA_HOME ................................. = C:\j2sdk1.4.2_03
    JDeveloper version ........................ = 9.0.5.2.1618
    BI Beans release description .............. = BI Beans 10.1.2 Production Release
    BI Beans component number ................. = 10.1.2.5.0
    BI Beans internal version ................. = 3.2.0.37.4
    Connect to database ....................... = Successful
    JDBC driver version ....................... = 9.2.0.3.0
    JDBC JAR file location .................... = C:\JDeveloper\jdbc\lib
    Database version .......................... = 9.2.0.5.0
    OLAP Catalog version ...................... = 9.2.0.5.0
    OLAP AW Engine version .................... = 9.2.0.5.0
    OLAP API Server version ................... = 9.2.0.5.0
    BI Beans Catalog version .................. = N/A; not installed in CS_OLAP
    OLAP API JAR file version ................. = "10.1.0.3.0"
    OLAP API JAR file location ................ = c:\JDeveloper\jdev\lib\ext
    Load OLAP API metadata .................... = Successful
    Number of metadata folders ................ = 2
    Number of metadata measures ............... = 24
    Number of metadata dimensions ............. = 5
    Metadata output location .................. = C:\JDeveloper\bibeans\bi_checkconfig\bi_metadata.txt
    To interpret this output, see the "Displaying Information about your Oracle9i Business Intelligence Beans Client Configuration" technical note, whose file name is bi_checkconfig_tn.html
    These diagnostics are captured in: C:\JDeveloper\bibeans\bi_checkconfig\bi_checkconfig.xml
    Can any body help me....
    Thanks
    Bhanu.

    Copy the jdev_home/jlib/redist/uix2_install.zip file to
    jdev_home/jdev/redist folder . It will overwrite an existing uix2_install.zip file.
    Close and open the Jdeveloper IDE. It will prompt you for upgradation of projects. Press OK button in response.
    Now you should be able to run the JSP pages.

  • Problem with first servlet

    Hi
    I am trying to run my first servlet HelloWorld
    I have my servlet in the directory
    Tomcat 4.1/webapps/test/web-inf/classes/HelloWorld.class
    and my web.xml file in the directory
    Tomcat 4.1/webapps/test/web-inf/web.xml
    contains the following lines
    <web-app>
    <servlet>
    <servlet-name>HelloWorld</servlet-name>
    <servlet-class>HelloWorld</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>HelloWorld</servlet-name>
    <url-pattern>/HelloWorld</url-pattern>
    </web-app>
    I also have changed the conf/server.xml file for the context as follows
         <Context path="/test" docBase="test" debug="0"
    reloadable="true" crossContext="true">
    and now when I try http://localhost:8080/test/servlet/HelloWorld
    Still I am getting the error status 404 The requested resource /test/servlet/HelloWorld not found.
    What am I doing wrong ????
    When I put my HelloWorld.class file in the webapps/examples directory it runs fine.WHy is it so ?
    Also for the above I have not started my tomcat server since I tried to run my HelloWorld from examples using http://localhost:8080/examples/servlet/HelloWorld it works perfect so I think I do not need to start server.
    Please reply me

    Try fully qualifying your servlet-class so that it reads something like this: <servlet-class>examples.servlet.HelloWorld</servlet-class>

  • How to run a servlet in eclipse using "SAP Portal Plugin"  ( not tomcat)

    Hi All
    I'm just trying to create a simple servlet in Eclipse using SAP Portal Plugin but I couldn't find any document.
    I have an eclipse 2.1
    EP6 SP2 patch 5
    SAP Portal Plugin
    I created a Portal Application Project.
    I created a simple servlet and save it under src.core directory.
    My question is as follow:
    1) Which directory I should put in the file web.xml?
    2) Do I export this as *.par file?
    3) When I export it. Can I just call the servlet from the url?
    Anyone help.. I really appreciate.
    thanks much.
    Jen

    Hi,
      Portal plugin is used for developing SAP Portal applications ie Java iviews.
    There is a set of procedures to develop Java iViews . You can develop either AbstractPortalComponent which is more or less equivalent of servlet in ordinary java world or JSPDynPage which is equivalent of JSP.
    These plugins are used to develop any of the above portal components. If you are developing java applications for portal then you have to develop either of the above using the tools. These portlets( portal applications runs on Portal run time)
    But servlets can run on J2EE itself.
    But if your requirement is to develop servlet then you can create ordinary java project and deploy that in the J2EE server as like in any app server.
    Regards,
    Abdul Raheem .S

  • Trying to run simple servlet - error

              I am the first time user of Beas Weblogic & I am trying to run simple example
              servlets from Weblogic Console. However, when I try to LoadServlets, I get an
              error 'Property Change Error for Property "Load"; Unable to load servlet'
              Is there anything I am missing? I'd appreciate any help.
              Thx.
              Ravi
              

    Hi,
    I have found out the cause. im pointing to the wrong classpath. it should be class12.zip instead of class111.zip, something i copied from my server running oracle8i.

  • Unsupported Version error when trying to run Web Services Tutorial example

    Hi there,
    I'm trying to run the first example from the Java Web Services Tutorial and get the following error when I type 'asant build' in my Command Window.
    Buildfile: build.xml
    BUILD FAILED
    java.lang.UnsupportedClassVersionError: com/sun/tools/ws/ant/WsImport (Unsupport
    ed major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
    assLoader2.java:76)
    When I do a java -version I see my version is Java 1.5, and I'm not sure why the build is still trying to use Java 1.4. I do not want to delete the 1.4 from my machine as it is used for something else.
    C:\jwstutorial20\examples\jaxws\helloservice>java -version
    java version "1.5.0_09"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
    Could you please help me with this problem?
    Thanks in advance.
    Azeem.

    Hi Azeem.
    Check out values specified for JAVA_HOME, PATH and CLASSPATH under environment variable. Was facing the same problem. Changed the values to point to jdk1.5 and it is working now.
    BTW.
    You don't have to uninstall jdk1.4.
    Cheers!!!

  • Tried to follow the first video tutorial with no success

    Hi,
    I tried to run the first video tutorial (Your First AFCS Application) on LCCS SDK Navigator with no success.
    The code as described is:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:rtc="AfcsNameSpace">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <rtc:ConnectSessionContainer width="100%" height="100%" roomURL="https://connectnow.acrobat.com/smoky6880/room">
                <rtc:authenticator>
                    <rtc:AdobeHSAuthenticator userName="*******" password="*******"/>
                </rtc:authenticator>
                <mx:HBox width="100%" height="100%">
                    <mx:VBox width="25%" height="100%">
                        <rtc:Roster width="100%" height="50%"/>
                        <rtc:WebCamera width="100%" height="50%"/>   
                    </mx:VBox>
                    <rtc:SimpleChat width="75%" height="100%"/>                   
                </mx:HBox>
            </rtc:ConnectSessionContainer>
        </fx:Declarations>
    </mx:Application>
    Basically, I pressed the Debug button and all I am getting is:
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 370,463 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 2,292,131 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 706,253 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 648,239 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 441,686 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 1,429,050 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 323,414 bytes after decompression
    I am not getting any message related to connection.  And yes, the username and password are correct; I just removed them for privacy.  Any ideas?
    Thanks,
    Kevin

    Hi Kevin (and welcome to the forums!),
    Wow, that's a trip... ConnectSessionContainer is a visual component, so I
    guess it needs to be outside your <fx:Declarations> tags. I didn't know that
    putting it in there would cause all hell to break loose (I love how the
    number of bytes keeps changing!); you learn something new every day!
    nigel

  • Running a DOS Command through a JAVA GUI

    I'm trying to run a command line through a GUI.. how would i go about doing this... suppose i wanted to run the following dos command inside a java program:
    String command = "jar cvf classes.jar open.java close.java"
    Does anyone have a good model I can look at that can implement a dos command?

    Maybe you can refer to this resource , I can not remember the Class, It seems like this Runtime.getRuntime().exec() ?? It can execute your command.

Maybe you are looking for