Very newbie Xcode question

Hey guys, I've VERY new to Mac programming and am having a problem with Xcode. I'm trying to run the basic Hello World app, and it compiles okay, but nothing happens then? As in I don't actually see any results. So far, I've created a new project, then edited main.m in Other Sources to this:
int main (int argc, const char *argv[])
printf ("Programming is fun.\n");
return 0;
I click Build and Go and it seems to compile okay but nothing else happens. How do I fix this? Thanks for reading!

Yup I ran into that the first few times I looked at a podcast on Cocoa and got that answer Keep coding !!

Similar Messages

  • Some very "newbie" networking questions -- trying to get started

    Hello all. Since this forum is so friendly for issues related to Arch, I thought I'd post my semi-arch related question.
    I'm trying to create a network for my house, consisting of about 3 computers. I have a book reference, TCP/IP Network Administration from O'reilly, but I think I need a bit of a "kick-start" in order to get to a level in which I can comfortably understand the book (if that makes sense).
    I've got internet access working by connecting to a router and having everything configured by DHCP (ie, in rc.conf, eth0="dhcp"). What's bothering me (and I don't even know if it should) is that the other computers on the physical network are not visible to me.
    IE, when I try to connect to them with their host name, it doesn't recognise them. My understanding of that is that either I need to manually set the hostnames of the other computers on the network in /etc/hosts, or use something like a DNS server on one of the computers in the network in order to recognize the others.
    My other doubt is that I think I've got a dynamic IP address (though it might be static, I'm not quite sure). Does that change things?
    I don't expect you guys to completely run through me setting up the network (that's what the book is for!) but some basic advice on either my misconceptions (I'm sure I have plenty) or related in general to my situation would be awsome and highly appreciated. I'd also be happy to provide any additional info that would be helpful.
    Thanks in advance.

    ralvez wrote:
    My set up is simple.
    I have a Linux router running on an old Pentium machine. It has two cards, one configured for the private network (with an address like 192.168.1.1) and the second card set up to take addresses from DHCP ( since that's how Rogers sends you the public address).
    In that machine I run my firewall, SmoothWall (smoothwall.org) and have enabled NAT so the machines in the inside network can go to the Internet.
    I have Samba set up in another machine to share files (that's an Arch system) with static IP, my daughter's machine (another Arch system), my system (obviously another Arch with static IP) and my wife's machine with Windows XP system (static IP too).
    So, the key concept here  are:
    1. Use static IPs for the private network
    2. Use DHCP for Rogers
    3. Use NAT in your router so all the machines can go to the Internet but no one from the Internet can get to them.
    Hope this helps.
    R
    p.s. feel free to contact me off the list if you need further details/help.
    Aha! So, for example, the network 192.168.0.0 where mask is 255.255.255.0 is a private network set up by my router, right?
    So the addresses in 192.168.0.0 never change, but the public IP address of the hosts do change?
    Does that mean that if, for example, I have a host called 192.168.0.32 that its address never changes? Can I simply add that to all the other hosts' /etc/hosts file and it won't change?
    All I was ever concerned about was allowing hosts in the network to contact each other via hostname. If that never changes then I'm all set.
    BTW, thanks for your continuing help!
    Last edited by Jessehk (2007-08-10 16:33:57)

  • Newbie XSan question - authenticating a computer from XSan Admin

    Hello - I have a very newbie XSan question!
    I have 2 computers that connect to an XSan. 1 I am having no problems with. The other I am unable to connect with.
    When I look in XSan Admin the 2nd computer (the one that is not working) is not authenticated.
    So I click on it and choose Authenticate. I enter what I know is an Admin username and password for the computer I am attempting to connect. The dot next to the computers IP turns green with 3 dots in it and then it turns gray again. It just does not connect.
    What is the problem?
    Is it licensing?
    Thanks
    Taj

    You need a different license ID for each machine, plus the admin machine. Do you have that?

  • Newbie script question... consecutive numbers with update.

    complete newbie type question... this is also my first post.  ( I am using CS3)
    does anyone have a script which can make it so I can add numbers into the text consecutively.
    for example, if this is my text "the big fat dog sat on the very wide mat, but was then displaced by a unfriendly cat."
    and I wanted to place a number 1, number 2, 3, etc at points in the text so it read, "the big fat dog1 sat on the very wide mat2, but was then displaced by a unfriendly cat3." but later wanted to add another number and have later numbers update themselves, so the text then said, "the big fat dog1 sat on the very wide mat2, but was then displaced3 by a unfriendly cat.4".
    by inserting the three, the previous three became four.
    Has anyone got something which might be useful in this regard.
    Many thanks
    Steve

    i wanted to avoid footnotes as they leave a bar at the bottom of each page.
    i wanted a script to do something similar to footnotes but not much further.
    does anyone have just a simple script that can do what I asked?
    Steve

  • General place for newbie datamodeler questions?

    With the production release of SQL Developer Data Modeler I'd assume that this forum will draw a bunch of new users. Is there a better place to ask some pretty simple, newbie like questions that won't bother the more seasoned members?
    For instance, I am working in a Rails environment, which has some stringent naming conventions, one of which is that all of the primary key columns are numeric and called "id", with the foreign key linked columns called <table_name>_id.  When engineering a logical model to a relational model, the added foreign key columns are all "id#".  Is there a way I can define a naming rule to keep me from having to redo the relation column names?
    Also, we have a standard set of columns (mostly Rails related) which appear in every table. Can I define a generation rule which automatically includes these tables?
    Thanks

    Thank you. I will try changing that setting.
    IS there a setting which tells the relational model to automatically create pk and fk indexes? I haven't seen one, and manually setting them up is a tedious task. --sw                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Very High-Level Question on Approach (PI ccBPM or CE7.1?)

    All -
    I have a very high-level question. I am not current on what would be the appropriate tool for my scenario.
    My scenario...
    Transitioning business to use new sales order system.
    This will be a phased roll-out, not Big Bang.
    Company ordering website needs to send orders to one of two systems (new and old).
    Assume order has a flag or some other value that is an indicator to which backend application it should be sent.
    Each recieving application has an order insert web service, which would be in PI 7.1's ESR.
    What we "envision" is that there would be some kind of fronting web/enterpise service that would read the "flag", then pass the message to the appropriate web service (and on to the appropriate application).
    But I really am not clear how to architect this, if any rules "engines" (ccBPM or in CE 7.1) would be  or should be used.
    You opinions are welcome...
    Thank you for your time...

    Hi Eric,
    It would be more elegant , if you can classify this orders logically and provide two user interfaces one for each type.
    But coming back to your question , if you are planning to implement the process in BPM , you could utilize the capabilities of BRM for this purpose . BRM comes with CE 7.1 and works in conjunction with BPM.
    [BRM Help|https://www.sdn.sap.com/irj/sdn/nw-rules-management]
    Once you want a complete roll out , you can remove the BRM  decision making.Logically this would solve the purpose. ccBPM is not really positioned for this approach. It can be used when you need to interact with multiple systems using different protocols.
    Caveat : The use of BPM will restrict your UI to WebDynpro Java (atleast for now). The whole process needs to be built around webservices or RFCs.
    Regards
    Bharathwaj

  • VERY SPECIFIC RAM QUESTION (not answered in prior topics)

    I have a very specific RAM question. I've been pouring through the discussions and I see TONS of stuff about the proper way to upgrade RAM. I've done that before without incident, but here is my dilemma:
    I'm using the 3.0Ghz, 8-core, MP currently with 8GB of the 667Mhz RAM (8x1GB). The memory is all matched from OWC and I have had no problems.
    I just bought 16GB of new RAM from OWC (4x4GB).
    I'm going to remove all 8 of the current 1GB DIMM's, and place two of the 4GB DIMM's in slots 1 & 2 on riser A, and two of the 4GB DIMM's in slots 1 & 2 on riser B. That will give me 16GB's in matched pairs on slots 1 & 2 of both riser A and B.
    My question is this: Should I install two of my old 1GB DIMM's in slots 3/4 of riser A, and two of the old 1GB DIMM's in slots 3/4 of riser B (for a total of 20GB's)?
    I've read that having all 8 slots filled = better performance but I'm not sure the mix of 4GB DIMM's and 1GB DIMM's.
    Any Thoughts?
    Thanks So Much,
    Tom

    Optimally you want matched quads in each Riser. However, Bare Feats did some memory benchmarks that you might wish to read regarding memory performance versus different configurations. As for proper installation see the following:
    Mac Pro memory arrangement photos;
    Mac Pro Memory Configuration.

  • Very newbie question: SNASW on Catalyst

    Hi to all,
    I've got a very basic question on snasw.
    Can SNASW be implemented on a Catalyst 6500 in any way, for example using a particular model of supervisor engine?
    Thanks.

    Hi Marco,
    No, the SNASw feature is not available on any version of the Catalyst 6500. The reasoning is that SNASw is heavily process bound, the Catalyst 6500 is optimized for IP packet forwarding, and combining the two is too great a compromise. We suggest using a one armed router attached to the Catalyst 6500, so that the SNA processing is not in the direct path of the IP packet forwarding.
    Rgds, Dan

  • Please sorry this very newbie question.

    Hello people
    Again, please sorry this question I'm very new in this Emerging Technologie.
    I Wish to know the difference between Fiber Channel and Fiber.
    I assume please do not laught, That a Bundle of Fiber ports conform a Fiber Channel am I Right ?
    Can anyone point me a good web site where I can find this difference
    Thanks for you Help
    Victor.

    Fibre Channel is a technology/protocol for networking Storage. See http://www.t11.org/index.html for all the standards. Fibre is either Multi Mode(orange) Or Single(yellow) and is the actual fiber Optic cable used in Storage area Networks to connect switches, storage and Host systems together.

  • Very Newbie LIKE operator question

    HI, I am a newbie just starting out with sql. I am trying to find all customers with last name that starts with L. This is what I tried and got no rows selected.
    SELECT *
    FROM Customer
    WHERE LastName LIKE '*L';
    What is the correct syntax?

    in 10g
    SQL> ed
    Wrote file afiedt.buf
      1* select empno,ename from emp where regexp_like(ename,'^A|^a')
    SQL> /
         EMPNO ENAME
          7499 ALLEN
          7876 ADAMSso for you
    select empno,ename from emp where regexp_like(ename,'^L|^l')

  • Very newbie question.

    I am taking a AE class and have a question for a project.  I want to take some text and make it look like it is flowing into the distance up toward the top of the screen.  Imagine someting like in Guitar Hero, and I am having problems making the string of text taper.  It would be easy in Photoshop, just use transform and warp, however I haven't found anthing like that in AE.
    Am I missing something?
    I appreciate any help,
    Joseph

    You can make the layer 3D and rotate it around the x axis. See "3D layers overview and resources". Or you could distort the layer with something like the Corner Pin effect or one of the other Distort effects.
    Also, if you're new to After Effects, please start by going through the resources on this page: "Getting started with After Effects".

  • This Newbie Has Questions

    Hi there. I am a newbie to Apple. I purchased the iBook last month and of course, when the MacBook (which had the features I wanted) came out, I rushed out and got one and I'm very pleased with my purchase - but I have a few "newbie" questions:
    1) Printing on a PC based Linksys seems to be a nightmare. I can't get anything printed on the shared HP 2600N and HP1012 printers. I literally have to disconnect them from the PC and plug the USB directly to my MacBook to print. It seems like there should be a better, easier and MacFriendly way of doing this - anyone have an easy solution?
    2) I'm going to purchase Windows XP so I can run my windows programs on this computer. Does anyone have any pre-installation advice?
    3) I have a blackberry device that worked fine with my iBook, but does not work with my MacBook - any suggestions or is there a software compatibility patch?
    4) I transferred everything from my old Mac to my new Mac with no problem. How can I migrate my contacts from Entourage to the Address Book?
    5) I notice that sometimes the MacBook "stalls" or doesn't work fast in some functions...is it just me - I expect the machine to jump quickly...but sometimes I get that annoying pinwheel when opening programs.
    Thanks for your help!

    1) Printing on a PC based Linksys seems to be a
    nightmare. I can't get anything printed on the
    shared HP 2600N and HP1012 printers. I literally
    have to disconnect them from the PC and plug the USB
    directly to my MacBook to print. It seems like
    there should be a better, easier and MacFriendly way
    of doing this - anyone have an easy solution?
    The problem is probably a driver issue.
    Printing to a printer on a XP PC from a Mac running 10.4.x
    http://www.ifelix.co.uk/tech/3015.html
    You may need to use a third-party driver such as the HPIJS drivers or the Gimp-Print drivers, but this is not the case with all printers.
    2) I'm going to purchase Windows XP so I can run my
    windows programs on this computer. Does anyone have
    any pre-installation advice?
    Ensure you get a full version (not an upgrade version) and it comes with XP SP2 already.
    Do not install Boot Camp on a critical machine and make regular backups of your data, this is beta software and there are bugs and issues.
    5) I notice that sometimes the MacBook "stalls" or
    doesn't work fast in some functions...is it just me -
    I expect the machine to jump quickly...but sometimes
    I get that annoying pinwheel when opening programs.
    Are these Universal or PPC only applications?
    iFelix

  • Newb setup question re: 500 cannot compile error

    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    This is on the default index.jsp page that installs with Apache Tomcat/4.1.18... at http://localhost:8080/index.jsp which maps to C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\index.jsp
    by now I have way too many java sdks installed...
    C:\Program Files\Java\j2re1.4.1_01
    C:\Program Files\Java\j2re1.4.0_03
    C:\j2sdk1.4.0_03
    C:\j2sdkee1.4
    The first one I tried got me the same error I am getting now.. and since I have tried different versions changing JAVA_HOME
    Right now..
    JAVA_HOME = C:\j2sdkee1.4
    CATALINA_HOME = C:\Program Files\Apache Group\Tomcat 4.1
    I have no idea what's going on here not having much experience in settting up web servers or java SDKs. But in order to learn the stuff I have planned to I need teh following to get up and running on Win2K.. any help is greatly appreciated.
    Java JDK 1.4.
    Tomcat servlet\JSP engine 4.0.1.
    MySQL database 3.23.46
    If I stick a standard html page in the tomcat root it will show just fine.. so I suspect the whole Java thing is buggin for some reason.
    Here's the full text of the returned error followed by the text of the index.jsp file
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
         at java.lang.Thread.run(Unknown Source)
    Apache Tomcat/4.1.18
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en" "http://www.w3.org/TR/REC-html40/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title><%= application.getServerInfo() %></title>
    <style type="text/css">
    <!--
    body {
    color: #000000;
    background-color: #FFFFFF;
    font-family: Arial, "Times New Roman", Times;
    font-size: 16px;
    A:link {
    color: blue
    A:visited {
    color: blue
    td {
    color: #000000;
    font-family: Arial, "Times New Roman", Times;
    font-size: 16px;
    .code {
    color: #000000;
    font-family: "Courier New", Courier;
    font-size: 16px;
    -->
    </style>
    </head>
    <body>
    <!-- Header -->
    <table width="100%">
    <tr>
    <td align="left" width="130"><img src="tomcat.gif" height="92" width="130" border="0" alt="The Mighty Tomcat - MEOW!"></td>
    <td align="left" valign="top">
    <table>
    <tr><td align="left" valign="top"><b><%= application.getServerInfo() %></b></td></tr>
    </table>
    </td>
    <td align="right"><img src="jakarta-banner.gif" height="48" width="505" border="0" alt="The Jakarta Project"></td>
    </tr>
    </table>
    <br>
    <table>
    <tr>
    <!-- Table of Contents -->
    <td valign="top">
    <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
    <tr>
    <td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
    <font face="Verdana" size="+1"><i>Administration</i>      </font>
    </td>
    </tr>
    <tr>
    <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
    Tomcat Administration<br>
    Tomcat Manager<br>
    </td>
    </tr>
    </table>
    <br>
    <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
    <tr>
    <td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
    <font face="Verdana" size="+1"><i>Documentation</i>      </font>
    </td>
    </tr>
    <tr>
    <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
    Tomcat Documentation<br>
    </td>
    </tr>
    </table>
    <br>
    <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
    <tr>
    <td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
    <font face="Verdana" size="+1"><i>Tomcat Online</i>      </font>
    </td>
    </tr>
    <tr>
    <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
    Home Page<br>
    Bug Database<br>
    Users Mailing List<br>
    Developers Mailing List<br>
    IRC<br>
    </td>
    </tr>
    </table>
    <br>
    <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
    <tr>
    <td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
    <font face="Verdana" size="+1"><i>Examples</i>      </font>
    </td>
    </tr>
    <tr>
    <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
    JSP Examples<br>
    Servlet Examples<br>
    WebDAV capabilities<br>
    </td>
    </tr>
    </table>
    <br>
    <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
    <tr>
    <td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
    <font face="Verdana" size="+1"><i>Miscellaneous</i>      </font>
    </td>
    </tr>
    <tr>
    <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
    Sun's Java Server Pages Site<br>
    Sun's Servlet Site<br>
    </td>
    </tr>
    </table>
    </td>
    <td>     </td>
    <!-- Body -->
    <td align="left" valign="top">
    <p><center><b>If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!</b></center></p>
    <p>As you may have guessed by now, this is the default Tomcat home page. It can be found on the local filesystem at:
    <blockquote>
    <p class="code">$CATALINA_HOME/webapps/ROOT/index.html</p>
    </blockquote>
    </p>
    <p>where "$CATALINA_HOME" is the root of the Tomcat installation directory. If you're seeing this page, and you don't think you should be, then either you're either a user who has arrived at new installation of Tomcat, or you're an administrator who hasn't got his/her setup quite right. Providing the latter is the case, please refer to the Tomcat Documentation for more detailed setup and administration information than is found in the INSTALL file.</p>
    <p><b>NOTE: For security reasons, using the administration webapp
    is restricted to users with role "admin". The manager webapp
    is restricted to users with role "manager".</b>
    Users are defined in <code>$CATALINA_HOME/conf/tomcat-users.xml</code>.</p>
    <p>Included with this release are a host of sample Servlets and JSPs (with associated source code), extensive documentation (including the Servlet 2.3 and JSP 1.2 API JavaDoc), and an introductory guide to developing web applications.</p>
    <p>Tomcat mailing lists are available at the Jakarta project web site:</p>
    <ul>
    <li><b>[email protected]</b> for general questions related to configuring and using Tomcat</li>
    <li><b>[email protected]</b> for developers working on Tomcat</li>
    </ul>
    <p>Thanks for using Tomcat!</p>
    <p align="right"><font size=-1><img src="tomcat-power.gif" width="77" height="80"></font><br>
    <font size=-1>Copyright &copy; 1999-2002 Apache Software Foundation</font><br>
    <font size=-1>All Rights Reserved</font> <br>
     </p>
    <p align="right"> </p>
    </td>
    </tr>
    </table>
    </body>
    </html>

    I ended up uninstalling every java this and that.. and tomcat.
    Then installing only the j2sdk1.4.0_03 SDK.
    Then set up JAVA_HOME for all users and modified the path with full path to the bin (c:\j2sdk1.4.0_03\bin)
    Lastly I reinstalled tomcat and, voila, everything was working.
    It can be quite maddening when you THINK you did everything by the boook and something doesn't work. When you replied and confirmed that I was on the right track.. uninstalling and trying yet again became les frustrating an option.
    Thanks.
    BTW- I needed this env to do the projects in what sems to be a very interesting book.. "macromedia Flash MC application design and development" by Jessica Speigel .. published by New Riders.
    Her flash help website is at www.were-here.com.. the projects in the book are for flash-based multiplayer games and multi-user formums and such.

  • Newbie wireless question (slightly off-topic)

    I didn't want to post this here as it's not entirely an Airport-specific question. I posted this to the iBook forums, but nobody there has answered so my apologies if this is not welcome here. (Any moderators can remove it if that's the case.)
    I've been using computers extensively for over a decade, but I'm a total newbie to wifi. I just set up a wireless network in my house and would appreciate some advice/feedback.
    My main concerns are whether or not my network is reasonably secure. I know there is no such thing as perfect security, but I don't know if what I've done is good enough or not.
    I don't have an Airport base station, but I do have a D-Link Airplus G and an Airport card in my iBook. I have WEP set up on the router and I have enabled MAC filtering, listing only my desktop and my iBook, excluding all others from the network.
    I'm fairly certain that nobody in my neighborhood is going to get into my machines this way or be able to sniff my network data stream, but am I right in assuming that nobody can "piggyback" on my Internet connection too? Presumably, if everyone but my own machines are MAC-filtered and kept out, then the Internet connection is also protected. Is that how it works?

    WEP and MAC filtering are better than nothing, but you can do better. These are my suggestions:
    1. Use WPA with a pre-shared key (PSK) and TKIP encryption on your Netgear router, along with an alphanumeric passphrase of at least eight characters not found in any dictionary. The equivalent setting on your Mac is "WPA Personal". Unlike WEP security (which an expert can crack in under half an hour), WPA security is currently unhackable by any practical means as long as you use a non-dictionary passphrase. One last point - WPA security requires all your wireless Macs to be running MacOS 10.3 or newer.
    2. MAC filtering is (these days) essentially useless as a wireless security method. Using "packet sniffing" of traffic on your wireless network to find out what MAC addresses are used by computers on your network, and a PC that allows its MAC address to be cloned so that it is identical to the MAC address of one your own wireless computers (which is possible with most PC wireless network adapters) even an amateur hacker can defeat MAC address filtering in minutes.
    By the way - I don't think your posted message here is off topic. In my opinion, the Airport discussion forums are the best place to post any questions related to usage of wireless networks. Questions of this nature are virtually never specific to any Mac model.

  • Very basic code questions

    Hi,
    I'm pretty new to dealing with this so please bare with me. I come from a PHP background so I got alot to learn here ;) Anyway, to my question then. I've got a book that im reading and following examples from but also try to evolve those examples into something more, to try and learn even more. I haven't come very far yet but I've stumbled across a little thing that I woulld like some help with. I'll post the complete code just in case.
    import java.io.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.wireless.messaging.*;
    import javax.microedition.io.*;
    public class quiz
         extends MIDlet
         implements CommandListener {
      private List mList, longList;
      private Command mExitCommand, mNextCommand, longExitCommand, longNextCommand;
      public quiz() {
        String[] stringElements = { " Game 1", " Game 2", " Game 3", " Game 4", " Game 5", " Game 6", " Game 7", " Game 8" };
        Image[] imageElements = { loadImage("/1.png"),
         loadImage("/2.png"),
         loadImage("/3.png"),
         loadImage("/4.png"),      
         loadImage("/5.png"),
         loadImage("/6.png"),
         loadImage("/7.png"),
         loadImage("/8.png") };
        mList = new List("Quiz v1.0", List.IMPLICIT, stringElements, imageElements);
        mNextCommand = new Command("Choose", Command.SCREEN, 0);
        mExitCommand = new Command("Exit", Command.EXIT, 0);
        mList.addCommand(mNextCommand);
        mList.addCommand(mExitCommand);
        mList.setCommandListener(this);
      void HowMany() {
        String[] stringElements = { " 1 question", " 2 questions", " 3 questions", " 4 questions", " 5 questions" };
        longList = new List("Quiz v1.0", List.EXCLUSIVE, stringElements, null);
        longNextCommand = new Command("V�lj", Command.SCREEN, 0);
        longExitCommand = new Command("Avsluta", Command.EXIT, 0);
        longList.addCommand(longNextCommand);
        longList.addCommand(longExitCommand);
        longList.setCommandListener(this);
      public void startApp() {
        Display.getDisplay(this).setCurrent(mList);
      public void commandAction(Command c, Displayable s) {
        if (c == mNextCommand || c == List.SELECT_COMMAND) {
          int index = mList.getSelectedIndex();
         if ( mList.getString(index) == " Game 1") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 1 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 2") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 2 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 3") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 3 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 4") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 4 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 5") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 5 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 6") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 6 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 7") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 7 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 8") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 8 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
        else if (c == mExitCommand)
         notifyDestroyed();
      public void pauseApp() {}
      public void destroyApp(boolean unconditional) {}
      private Image loadImage(String name) {
        Image image = null;
        try {
         image = Image.createImage(name);
        catch (IOException ioe) {
          System.out.println(ioe);
      return image;
    }I know that the IF parts pretty much suck, will improve those later on (or when my book does hehe) so that's not the issue. Anyways, I've included a second choice for the user which is what I call "HowMany", so first the user gets to choose between a few options (Game 1, Game 2, etc etc) and then the idea is for the user to choose how many questions, I get to that menu allright but when i try to choose that option nothing happens. I need to include some kind of listener or something to make something actually happen right? If someone would be so nice to show me how it's done it would be just super.
    Thanks in advance!

    I get to that menu allright but when i try to choose that option nothing happens.The form of javax.microedition.lcdui.Display.setCurrent you use ispublic void setCurrent(Alert alert, Displayable nextDisplayable)Which List do you want to be the nextDisplayable? mList or longList?
    Once that works, you will need to add suitable condition checking in commandAction(...) for doing stuff when the Command-s added to longList are selected.
    db

Maybe you are looking for

  • SRM 7.0 Catalog (Web Service) Portal Links Not Working

    Hi, Following an upgrade to the latest Service Packs for SRM, we are encountering an issue with dead links to Catalogs (both Internal MDM and External). Prior to the upgrade the normal catalog (webservice) links, as defined in the SPRO (Supplier Rela

  • Please help! Safari keeps hanging/not responding and freezes everything else up.

    I've got a mid-2009 MacBook Pro running OS X Snow Leopard (10.6.8) and Safari (5.1.9) keeps hanging/crashing. I'm afraid I'm not very good with these things so I'll just have to tell the story... It's happening when I start up Safari, either the home

  • Nokia Social connection bug / problem (Epic Fail)

    Hi there, When you open an application which requires internet connection, the phone checks the saved access points according to their priorities to see if there is an available access point among them and when the phone finds an available access poi

  • Applet compiled with 1.4 not running in IE 6

    I have a java applet when compiled with the 1.3 java sdk that came Oracle, runs correctly in IE 6. The applet opens a socket. When I compile it using 1.4 java sdk from sun and run it in IE 6 it does not work. When I installed the 1.4 SDK I selected t

  • Page with multiple columns in the RTF

    Hi, I am facing a issue while arrange the page with single and 3 columns in the RTF. I did format like Format tab->columns-> selected number of columns 3. The 3 columns data is showing the next page. I did not put any page break in the RTF. let me kn