plaint text version of question: hello world w3schools (tomcat)

2023-07-04 Thread Jim McNamara
java.io.PrintWriter; import javax.servlet.Servlet; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; /** * This servlet program is used to print "Hello World" on * client browser by implementi

Re: [OT] Unable to run "Hello World" in Eclipse JEE on Mac 10.11.3

2017-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 7/22/17 1:18 PM, Mark Eggers wrote: > Roparzh, > > On 7/22/2017 12:14 AM, Roparzh Hemon wrote: >> On my Mac 10.11.3 I've installed the Eclipse JEE IDE (Version: >> Neon.3 Release (4.6.3)) I also installed apache-tomcat 9 on my >> Mac, usin

Re: Unable to run "Hello World" in Eclipse JEE on Mac 10.11.3

2017-07-23 Thread Roparzh Hemon
're not using it >1. remove the dependency plugin from the plugins node >2. remove the compiler configuration from the compiler plugin >3. remove the property from the properties node > b. Keep the endorsed stuff > 1. needed if you use the endorsed mechanism >

Re: Unable to run "Hello World" in Eclipse JEE on Mac 10.11.3

2017-07-22 Thread Mark Eggers
. source pane b. display pane You don't even have to run the server if this occurs. If not, we can then run it on the server by doing the following. a. Run as -> Run on Server b. Select Tomcat v9.0.0.M22 c. Click Next d. Click Finish A "Hello World!" page should pop up as a sepa

Re: Unable to run "Hello World" in Eclipse JEE on Mac 10.11.3

2017-07-22 Thread zemiandeng
;s working, then you an configure the IDE. -- View this message in context: http://tomcat.10.x6.nabble.com/Unable-to-run-Hello-World-in-Eclipse-JEE-on-Mac-10-11-3-tp5065620p5065629.html Sent from the Tomcat - User mailing list a

Re: Unable to run "Hello World" in Eclipse JEE on Mac 10.11.3

2017-07-22 Thread Mark Eggers
Roparzh, On 7/22/2017 12:14 AM, Roparzh Hemon wrote: > On my Mac 10.11.3 I've installed the Eclipse JEE IDE (Version: Neon.3 > Release (4.6.3)) I also installed apache-tomcat 9 on my Mac, using the > following commands : > > sudo mkdir -p /usr/local sudo mv ~/Downloads/apache-tomcat-9.0.0.M21 > /

Unable to run "Hello World" in Eclipse JEE on Mac 10.11.3

2017-07-22 Thread Roparzh Hemon
On my Mac 10.11.3 I've installed the Eclipse JEE IDE (Version: Neon.3 Release (4.6.3)) I also installed apache-tomcat 9 on my Mac, using the following commands : sudo mkdir -p /usr/local sudo mv ~/Downloads/apache-tomcat-9.0.0.M21 /usr/local sudo rm-f /Library/Tomcat sudo ln -s /usr/local/apache-t

Re: HTTP 404 error when trying to run a Hello World Java Servlet while using Eclipse and Tomcat

2012-11-02 Thread Albert Kam
se to access the servlet ? On Sat, Nov 3, 2012 at 2:26 AM, Talia Selitsky wrote: > Hello, > > I am using Eclipse version Juno and Apache Tomcat 7. I am trying to run a > basic Hello World web application. > I am following all of the basic steps but I keep getting a Http 404

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noah, On 3/16/2011 10:47 PM, Noah Cutler wrote: > I'll need to sort out DBCP, java singletons are nothing like php where a > singleton exists for lifetime of the request, vs. lifetime of the > application. The servlet spec includes a "request" object

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-16 Thread Noah Cutler
Chris, will likely go with mod_jk, but I did notice that Jetty folks strongly recommend mod_proxy (may be that their container works better with mod_proxy) I am not using a framework per se, one that I have written, so definitely not something like Grails with Spring + Hibernate for example. Gro

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noah, On 3/16/2011 7:48 PM, Noah Cutler wrote: > the Tomcat Groovy app will do nothing but serve up dynamic content > (httpd will handle ssl as well), so whichever method (ajp or mod_proxy) > peforms the best/is-most-reliable, I'll go with. I have a

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-16 Thread Noah Cutler
Chris, great feedback. the Tomcat Groovy app will do nothing but serve up dynamic content (httpd will handle ssl as well), so whichever method (ajp or mod_proxy) peforms the best/is-most-reliable, I'll go with. Love that 128mb JVM, I am very much interested in lean & mean. Coming from LAMP stack

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noah, On 3/15/2011 7:02 PM, Noah Cutler wrote: > However, some of the LAMP stack apps will have legacy/archived > functionality that I have zero interest/time in porting over to > JVM/Groovy framework. So, the plan is to mod_rewrite archived requests

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-16 Thread Noah Cutler
Thomas, yes, I have seen a few sample mod_jk configs, does not look difficult to implement. Load balanced, per instance and/or virtual host setup with new DBCP, what more could one ask for ;--) I am really looking forward to generating dynamic content with Groovy on Tomcat, quite lightweight com

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-15 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Noah, On 03/15/2011 07:05 PM, Noah Cutler wrote: > Obviously per instance is a memory hungry solution, albeit highly > convenient. Placing all sites in a single instance is a possibility as > well (and the most resource "friendly"), but I would nee

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-15 Thread Noah Cutler
Chris, thanks for the excellent feedback; thus far this list exceeds Stackoverflow by orders of magnitude ;--) Re: ease of implementation, yes, a single instance with multiple virtual hosts is the way to go (similar setup to apache virtual hosts). However, some of the LAMP stack apps will have le

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noah, On 3/15/2011 2:05 PM, Noah Cutler wrote: > Obviously per instance is a memory hungry solution, albeit highly > convenient. Placing all sites in a single instance is a possibility as > well (and the most resource "friendly"), but I would need to

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noah, On 3/15/2011 3:27 AM, Noah Cutler wrote: > So, given that a running 32-bit JVM on Linux will require at least 1GB > RAM, total memory usage will not be JVM footprint * num instances, but > rather, JVM footprint + num instances? Not necessarily.

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-15 Thread Noah Cutler
Thomas, perfect, hours of searching Stackoverflow et al resolved in a single mailing list thread ;--) I will play around with various configs (per instance and multi-host per instance) in my local devel to get an idea of no-load resource usage; then, as you say, give some % more to avoid OOMEs in

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-15 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Noah, On 14.03.11 um 21:27, Noah Cutler wrote: > So, given that a running 32-bit JVM on Linux will require at least 1GB > RAM, total memory usage will not be JVM footprint * num instances, but > rather, JVM footprint + num instances? Actually, the

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-15 Thread Noah Cutler
:://newminddevelopment.com On Tue, 2011-03-15 at 07:43 +0100, Thomas Freitag wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Noah, > > On 03/15/2011 06:25 AM, Noah Cutler wrote: > > can find nothing on the net re: this apparently basic question. > > >

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-14 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Noah, On 03/15/2011 06:25 AM, Noah Cutler wrote: > can find nothing on the net re: this apparently basic question. > > Given a simple hello world "app", what is the @memory footprint per > instance in Tomcat 7? > > J

Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-14 Thread Noah Cutler
Hi, can find nothing on the net re: this apparently basic question. Given a simple hello world "app", what is the @memory footprint per instance in Tomcat 7? Just trying to assess options visa vi single instance + multiple virtual hosts vs. multiple instance single host (preferred

Re: hello world

2010-01-06 Thread Mark Thomas
On 06/01/2010 11:09, Cristobal Castro wrote: > hello > i just installed tomcat on win xp, now how can i set my firt project ? i > see the tomcat folder in C:, do i need to put my first program in one of > those folders? just like i did with normal apache ? (ex htdocs folder -> > called on browser b

hello world

2010-01-06 Thread Cristobal Castro
hello i just installed tomcat on win xp, now how can i set my firt project ? i see the tomcat folder in C:, do i need to put my first program in one of those folders? just like i did with normal apache ? (ex htdocs folder -> called on browser by http://localhost/nameOfYourFile) thanks -- http:

Re: hello world

2009-05-29 Thread veena pandit
009 at 7:14 PM, veena pandit wrote: > > > http://www.jsptut.com/ > > > > On Fri, May 29, 2009 at 9:39 AM, Caldarale, Charles R < > > chuck.caldar...@unisys.com> wrote: > > > > > > From: veena pandit [mailto:v.kri...@gmail.com] > > > >

Re: hello world

2009-05-29 Thread S Arvind
: > > > > From: veena pandit [mailto:v.kri...@gmail.com] > > > Subject: Re: hello world > > > > > > it was chapter 1 in a web based tutorial for JSP. :-) > > > > Can you provide a link to the tutorial? I'd like to see what it says. > > > &g

Re: hello world

2009-05-29 Thread veena pandit
http://www.jsptut.com/ On Fri, May 29, 2009 at 9:39 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: veena pandit [mailto:v.kri...@gmail.com] > > Subject: Re: hello world > > > > it was chapter 1 in a web based tutorial for JSP. :-) >

RE: hello world

2009-05-29 Thread Caldarale, Charles R
> From: veena pandit [mailto:v.kri...@gmail.com] > Subject: Re: hello world > > it was chapter 1 in a web based tutorial for JSP. :-) Can you provide a link to the tutorial? I'd like to see what it says. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHE

Re: hello world

2009-05-29 Thread veena pandit
rint. >> >> This must be the longest-running thread about a Hello World application > ever, in any programming language. > :-) > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat

Re: hello world

2009-05-29 Thread Serge Fonville
>> http://localhost:8080/webapps/Hello/Hello.html.  Sorry for the misprint. >> > This must be the longest-running thread about a Hello World application > ever, in any programming language. > :-) It looks to me that you should remove the webapps from the url. What is your l

Re: hello world

2009-05-29 Thread André Warnier
veena pandit wrote: It was actually: http://localhost:8080/webapps/Hello/Hello.html. Sorry for the misprint. This must be the longest-running thread about a Hello World application ever, in any programming language

Re: hello world

2009-05-29 Thread veena pandit
ize how close they were > to > success when they gave up." > -Thomas Edison > * > > On Wed, May 27, 2009 at 5:48 AM, veena pandit wrote: > > > How to configure Hello.html in Tomcat? > > > > Where do I place the following file? H

Re: hello world

2009-05-28 Thread veena pandit
ey gave up." > -Thomas Edison > * > > On Wed, May 27, 2009 at 5:48 AM, veena pandit wrote: > > > How to configure Hello.html in Tomcat? > > > > Where do I place the following file? How to access it from the server? > > > > > > > > > > Hello, world > > > > > > > > > > > > > > Thanks, > > > > Veena > > >

Re: hello world

2009-05-28 Thread S Arvind
gt; > Where do I place the following file? How to access it from the server? > > > > > Hello, world > > > > > > > Thanks, > > Veena >

RE: hello world

2009-05-27 Thread Caldarale, Charles R
> From: S Arvind [mailto:arvindw...@gmail.com] > Subject: Re: hello world > > rename the file name to index.html , or change the welcome page entry > in web.xml to hello.html As previously stated, that's a really bad idea. It would overwrite Tomcat's default home pa

Re: hello world

2009-05-27 Thread S Arvind
rename the file name to index.html , or change the welcome page entry in web.xml to hello.html -Arvind S * "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison * On Wed, May 27, 2009 at 6:23 AM, veena pandit wrote: > I tried pla

Re: hello world

2009-05-26 Thread veena pandit
I tried placing it in a webapps directory under tomcat root. do i need to configure in web.xml? On Tue, May 26, 2009 at 8:25 PM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Tue, May 26, 2009 at 5:18 PM, veena pandit wrote: > > How to configure Hello.html in Tomcat? > > > > Where

Re: hello world

2009-05-26 Thread Hassan Schroeder
On Tue, May 26, 2009 at 5:18 PM, veena pandit wrote: > How to configure Hello.html in Tomcat? > > Where do I place the following file?  How to access it from the server? Where did you try placing it, and what makes you think that wasn't the right place? -- Hassan Schroeder -

hello world

2009-05-26 Thread veena pandit
How to configure Hello.html in Tomcat? Where do I place the following file? How to access it from the server? Hello, world Thanks, Veena

RE: hello world

2008-10-07 Thread sterling
access? On Thu, 18 Sep 2008, Caldarale, Charles R wrote: > > From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir > > Subject: hello world > > > > I'm running Ubuntu: > > [EMAIL PROTECTED]:~$ > > I thought mentats weren't supposed to use computers.

Re: hello world

2008-09-23 Thread thufir
On Sun, 21 Sep 2008 16:54:33 -0400, H. Hall wrote: > When I installed Netbeans 6.1, the installer also installed Tomcat > 6.0.14. This was on a windows pc but I would find it very amazing if the > Linux version of NB6.1 installed a TC 5.5. Is is possible that a > tomcat installed with Ubuntu?

Re: hello world

2008-09-21 Thread H. Hall
thufir wrote: This cuts across IDE, OS and server. I'm running Ubuntu: [EMAIL PROTECTED]:~$ [EMAIL PROTECTED]:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.1" [EMAIL PROTECTED]:~$ [EMAIL PROTECTED]:~$ sudo apt-get upda

Re: hello world

2008-09-19 Thread thufir
On Fri, 19 Sep 2008 10:10:20 -0400, Steve Ochani wrote: >> Now rather than recriminating at aeternum, does anyone know how to >> track down said packager, so that maybe he could come here and see the >> errors of his ways, or at least explain his logic here ? Same as for >> Debian Tomcat5.5 itsel

Re: hello world

2008-09-19 Thread Steve Ochani
Send reply to: Tomcat Users List Date sent: Fri, 19 Sep 2008 09:09:11 +0200 From: André Warnier <[EMAIL PROTECTED]> To: Tomcat Users List Subject: Re: hello world > Now rather than recriminating at aeternum, do

RE: hello world

2008-09-19 Thread Martin Gainty
To: users@tomcat.apache.org > Subject: Re: hello world > > Caldarale, Charles R wrote: > >> From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir > >> Subject: Re: hello world > >> > >> If Apache installs then why not tomcat? > > > > Apache is a sof

Re: hello world

2008-09-19 Thread André Warnier
Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: Re: hello world If Apache installs then why not tomcat? Apache is a software organization with numerous products; if by "Apache" you mean httpd, it may be because the 3rd-party developer

RE: hello world

2008-09-18 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir > Subject: Re: hello world > > If Apache installs then why not tomcat? Apache is a software organization with numerous products; if by "Apache" you mean httpd, it may be because the 3rd-party developers are more fam

Re: hello world

2008-09-18 Thread thufir
On Thu, 18 Sep 2008 09:50:18 -0500, Caldarale, Charles R wrote: >> Do I need to install Tomcat 5.5 from Ubuntu > > We've had no end of problems with 3rd-party repackaged versions of > Tomcat. Ok, yeah, I've seen mention of that, but thought that must be in error. If Apache installs then why not

Re: hello world

2008-09-18 Thread thufir
On Thu, 18 Sep 2008 11:02:42 -0400, Brantley Hobbs wrote: >> I thought mentats weren't supposed to use computers... >> Later on they do :) >> > No matter what, the spice must flow. If it takes a computer, it takes a > computer. Yes :) -Thufir ---

Re: hello world

2008-09-18 Thread Brantley Hobbs
Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: hello world I'm running Ubuntu: [EMAIL PROTECTED]:~$ I thought mentats weren't supposed to use computers... No matter what, the spice must flow. If it takes a computer,

RE: hello world

2008-09-18 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir > Subject: hello world > > I'm running Ubuntu: > [EMAIL PROTECTED]:~$ I thought mentats weren't supposed to use computers... > Do I need to install Tomcat 5.5 from Ubuntu We've had no end of problems w

hello world

2008-09-18 Thread thufir
This cuts across IDE, OS and server. I'm running Ubuntu: [EMAIL PROTECTED]:~$ [EMAIL PROTECTED]:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.1" [EMAIL PROTECTED]:~$ [EMAIL PROTECTED]:~$ sudo apt-get update; sudo apt-get