Re: [ilugd] Need J2EE help
On Fri, Jul 9, 2010 at 5:17 AM, Ashish SHUKLA wahjava...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Rakesh Kumar writes: Hi all, I have started working on J2EE(Servlets and JSPs) on LINUX. I have been working on this language on windows only but now i have some free time and i want to learn, how can i run my servlets on Linux. I have no experience in servlets on LINUX so before i start working on it i thought to ask this question to you this would help me to start properly. 1. Install OpenJDK, IcedTea or Sun JDK, whatever your GNU/Linux distribution provides through its package repository. Download JDK from Sun iff your distribution doesn't provide packages. 2. Install a servlet container (e.g. Apache Tomcat[1]), by downloading and extracting the tarball in your $HOME. This is preferred, even when distribution provides a package for the same in their repository, as most of the distributions tend to split the package according to their file system hierarchy conventions, which conflicts with the paths you encounter in the documentation, which you might find difficult. Other than this there is no harm in distribution packages, on the contrary for production use, always go with distribution's packages whenever available, OR package it yourself, if packages aren't available. 3. The rest of the steps (like starting/stopping) should be same as Windows. The configuration should also be the same with just the difference in path conventions. Okay alright tell me one thing that is there anything like classpath in Linux. If yes please tell me how to set classpath in Linux? References: [1] http://tomcat.apache.org/ HTH - -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/http://people.freebsd.org/%7Eashish/ “But it was all right, everything was all right, the struggle was finished. He had won the victory over himself. He loved Big Brother.” (George Orwell, Nineteen Eighty-Four, 1949) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.15 (GNU/Linux) iQIcBAEBCgAGBQJMNmOiAAoJEMdGz6nnT6SwfXAQAJBuJakPaCoyIj/v6C8bNrSW BVHddsboWkWILD5k/U6qyN4m7UFyPjIAnu+nL8iLfzT8hkvJEP7TAu7Y50Fm3Ivi y9Fg13935xWivuGXtHbGvinVHWEjwrTO11nvGLxo64919+5Q7lVns7OIt252BUI8 9EWtLU+EjJMoO4/NBo5ySL0nrwhwHQPqvRTHv8IeP+GM0NSEsyz4uMoHscC/d5LN DNh6wRCgwPVKcxdQdUcgTks6vrhoHF6FX7hU/xBBzzGiJwovijvobBlm5H9emoI9 +X0/nzSLwgGAt24pzxHaZvjoOrSpuGCtdHjZMcHvKNoiDshXuNkuL7xef5NCJqz7 ekwCx+vLWvhKqyFkSnu5K7HHo8qa6YahyAkLlMl9EIJyQxBFrr4Wj/07FYPgM1OM TolMJUk9Iq1KSDecnaNJEmx5OSfmNrByO15vHu2LF2ZA4RwMgUPD78lKsvk1qeQy 6OYk3MbsWM+RqIHPrR5XDvmD2rbildw3ZAOEk7HIzKIDXdjffOR+qSeSd1YVEyzj VDUpqpySiov9IOZvSNPueS7WeirQ/I2lNb6XMPFmxXTpdVIbqdz3nre4szpcmKDc I0F+8YAplL696u+kymNoIqHhTC7d89abyevqq8V3vLrCvEx4UEJ27MNAm8UnTb+N DEqXRmevhvRFBFn4Seo/ =Vpmt -END PGP SIGNATURE- -- Regards RAKESH The true sense of knowledge is not intelligence, but the imagination ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] Need J2EE help
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Rakesh Kumar writes: [...] Okay alright tell me one thing that is there anything like classpath in Linux. If yes please tell me how to set classpath in Linux? You probably mean CLASSPATH for Java applications, which you can set by passing '-cp' argument to the 'java' command-line. For details, RTFM java(1) OR the documentation of the Servlet container, if you're looking for configuration of your servlet container. - -- Ashish SHUKLA “Software and cathedrals are much the same - first we build them, then we pray.” (anonymous) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.15 (GNU/Linux) iQIcBAEBCgAGBQJMN2bcAAoJEMdGz6nnT6SwRnUP/3SgtYo2gwIc5UapXrzFWMja Sz/UJA94K+rUfxGHFxyIYE+HFbDEUx+0uTKtwXllPA7j/paA/jMAimNtHkdmRdh/ ogd80YXQDOTh8m1Y3WInKbDQoyjvHzq8AG6tvngwnlj7ObOLHz14JkNThGVVuQe+ K7Rjcuzreb+4usG0INiso37HrehnA1zir5+qqeSmnzmzaGcEW82LHJCm0Fb3YBtL G7u5eHNt5LFyRNomcZfctqJCXogag8d9T1bdM5DJzMUJvE6/8L8t5bJe55OM4XjG Hc6phFnbcuOfhcIFQ/HU5qtk6Fj17jtSjoximWnEWp8nEbh4hYJpJF7te9Xf2d7P EhM8i1Lc8vHLk+5XCPu1f+nnl2Ylzo5dtdT85MoNQiywMcmkrmhe+kfd3Q+R+iQG 4vFoPggVhmQ1shn+/f9cfIGFOPRSmp3AhaxKhEUnxXnJLVTyWP//9+rqXdUKCDVF PFBjFXY4oRHzHqEic5dxhmkXwZVLad9r3R5LU4Ul92qdZhHTu2M4jdGuQa9vKFV4 NRzRpLfCY10mcWLMy2zhCpNgg+8xgNGosWue2oCUOHq8hVf7vNUSa7xPpwbzUNvU jdt1pBIDDFaiPeg8E+gucw68cXX+dRbi7O23QzhdjVX0MoX931YgxIQPHB6xDgTz WcyxAZDNx5IN0ZiGBBsz =j9vl -END PGP SIGNATURE- ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] Need J2EE help
On Fri, Jul 9, 2010 at 11:43 PM, Ashish SHUKLA wahjava...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Rakesh Kumar writes: [...] Okay alright tell me one thing that is there anything like classpath in Linux. If yes please tell me how to set classpath in Linux? You probably mean CLASSPATH for Java applications, which you can set by passing '-cp' argument to the 'java' command-line. For details, RTFM java(1) OR the documentation of the Servlet container, if you're looking for configuration of your servlet container. Yeah! but please can you elaborate it please? - -- Ashish SHUKLA “Software and cathedrals are much the same - first we build them, then we pray.” (anonymous) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.15 (GNU/Linux) iQIcBAEBCgAGBQJMN2bcAAoJEMdGz6nnT6SwRnUP/3SgtYo2gwIc5UapXrzFWMja Sz/UJA94K+rUfxGHFxyIYE+HFbDEUx+0uTKtwXllPA7j/paA/jMAimNtHkdmRdh/ ogd80YXQDOTh8m1Y3WInKbDQoyjvHzq8AG6tvngwnlj7ObOLHz14JkNThGVVuQe+ K7Rjcuzreb+4usG0INiso37HrehnA1zir5+qqeSmnzmzaGcEW82LHJCm0Fb3YBtL G7u5eHNt5LFyRNomcZfctqJCXogag8d9T1bdM5DJzMUJvE6/8L8t5bJe55OM4XjG Hc6phFnbcuOfhcIFQ/HU5qtk6Fj17jtSjoximWnEWp8nEbh4hYJpJF7te9Xf2d7P EhM8i1Lc8vHLk+5XCPu1f+nnl2Ylzo5dtdT85MoNQiywMcmkrmhe+kfd3Q+R+iQG 4vFoPggVhmQ1shn+/f9cfIGFOPRSmp3AhaxKhEUnxXnJLVTyWP//9+rqXdUKCDVF PFBjFXY4oRHzHqEic5dxhmkXwZVLad9r3R5LU4Ul92qdZhHTu2M4jdGuQa9vKFV4 NRzRpLfCY10mcWLMy2zhCpNgg+8xgNGosWue2oCUOHq8hVf7vNUSa7xPpwbzUNvU jdt1pBIDDFaiPeg8E+gucw68cXX+dRbi7O23QzhdjVX0MoX931YgxIQPHB6xDgTz WcyxAZDNx5IN0ZiGBBsz =j9vl -END PGP SIGNATURE- -- Regards RAKESH The true sense of knowledge is not intelligence, but the imagination ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] Need J2EE help
Okay alright tell me one thing that is there anything like classpath in Linux. If yes please tell me how to set classpath in Linux? You probably mean CLASSPATH for Java applications, which you can set by passing '-cp' argument to the 'java' command-line. For details, RTFM java(1) OR the documentation of the Servlet container, if you're looking for configuration of your servlet container. - -- Ashish SHUKLA You can add a line like export CLASSPATH=whatever it is in your .bash_profile file Regards -Tarun ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
[ilugd] Need J2EE help
Hi all, I have started working on J2EE(Servlets and JSPs) on LINUX. I have been working on this language on windows only but now i have some free time and i want to learn, how can i run my servlets on Linux. I have no experience in servlets on LINUX so before i start working on it i thought to ask this question to you this would help me to start properly. -- Thanks Regards RAKESH The true sense of knowledge is not intelligence, but the imagination ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd