Hi, Sory for my misunderstanding of the problem: doesn't LAMP stands for "Linux Apache MySQL and PHP"? If true, then servlets cannot execute on it (it is necessary to have a servlet container, like in Tomcat, Glassfish, Websphere, and so on).
Just install a Tomcat (for e.g.), then use the "manager" console to deploy the .war file generated by NetBeans (in the "dist" directory I think). It always works, for sure (?). NetBeans is necessary to compile the servlet based application and to generate the distribution ".war" file, and the servers bundled with NetBeans allows to execute it. In theory you can compile the application without NetBeans (using just Java and Ant), but it may be fastidious (not to make errors on manual mainainance of the XML files for e.g.) and generate the .war file using "jar". You can also use an external server (Tomcat for e.g.) to execute the application. In exchange, the deployment of the war file on an external server is a simple task. It is what happens in real life applications when they quit the programming environment to be deployed on the production server. Hope it helps, mihai Daniel Escasa a écrit : > Sabi ni Srilaxmi noong Mon, Sep 14, 2009 at 10:08 AM: > >> My ex2(Servlets) is running fine on my system(Windows,Netbeans). when I >> try to open file on other system(LAMP system, NO Netbeans) as per the HW( >> I Have zip the files and unzipped the folders on another system).I am trying >> to open the files on a browser( I dont have netbeans on my other system). I >> get a message as file cant found. I dont know what mistake I am doing? >> > > Pardon the question, but I do have to eliminate the most obvious > first: I presume your HTML files are in your www subfolder? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---