using different tomcat versions simultaneously?

2001-06-28 Thread alex chang

Hi, 

I've been playing with tomcat 3.3m3. 
But I want to start playing with 4.0-b5.
I'm using Windows 2000.
I was wondering if there's a way to use
both at the same time?

Thanks,
-alex

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



jasper

2001-06-28 Thread alex chang

forgive me if this is a silly question,
but what's jasper?
-alex

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



compiling question

2001-06-28 Thread alex chang

I have Windows 2000 and Tomcat 4.0 b5.

I'm following the latest JDC Tech Tips on filters:
http://developer.java.sun.com/developer/JDCTechTips/2001/tt0626.html

From my WEB-INF/classes directory, I compiled with:
javac RequestBlocker.java

I received an error message that it basically 
couldn't find the Filter class. But I already 
have my variables as:

CLASSPATH=.;%TOMCAT_HOME%\common\lib\servlet.jar;
TOMCAT_HOME=c:\jakarta-tomcat-4.0-b5
JAVA_HOME=c:\jdk1.3

Then I tried compiling again with:
javac -classpath %TOMCAT_HOME%\common\lib\servlet.jar RequestBlocker.java

and it worked fine. But the only odd thing was that
it didn't create the com/develop/filters directory 
like I thought it would.

I'm just curious, but does anyone know what happened?
Thanks,
-alex

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: una pregunta

2001-06-27 Thread alex chang

si yo tambien hablo espanol. Naci en Ecuador.
-alex

--- Martin Mauri [EMAIL PROTECTED] wrote:
 Bueno,
 
 increible la cantidad de personas que hablan español en la lista, de
 haber
 sabido nunca hubiera escrito en ingles.
 
 BTW, I also need to know something about that RFC cause I've been facing
 some problems with IE5.
 
 regards.


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: una pregunta

2001-06-27 Thread alex chang

eu nao falo portugues, mas minha ex-namorada
(is) portuguesa, e tambem (studied) 3 semesters
em college. =)

--- applein [EMAIL PROTECTED] wrote:
 existem brasileiros neta lista? legal eu sou do brasil :)
 
 On Wed, 27 Jun 2001, Daniel de Almeida Alvares wrote:
 
  Vc precisa configurar uma variavel JAVA_HOME no seu autoexec.bat dessa
  maneira , por exemplo:
  set JAVA_HOME=c:\jdk13
 
  um abraco
 
  Daniel


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: una pregunta

2001-06-27 Thread alex chang

sim, eu quero falar mehlor tambem. :)

--- applein [EMAIL PROTECTED] wrote:
 poderiamos formas uma lista de tomcat para quem fala portugues o que
 acham?
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: una pregunta

2001-06-27 Thread alex chang

hahaha. I'd help. But only my mom understand
my horribly American-accented cantonese! 
-alex

--- Milt Epstein [EMAIL PROTECTED] wrote:
 On Wed, 27 Jun 2001, Martin Mauri wrote:
 
 Hey, I'm trying to learn Chinese, anybody want to help me out with
 that? :-)


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: una pregunta

2001-06-27 Thread alex chang

Cantonese is usually spoken by the uneducated, 
Madirin is spoken by the educated. Cantonese is 
the more informal dialect, Madirin the more formal. 
Listen to someone speak Cantonese, then listen to 
someone speak Madirin- you'll be able to tell right 
away which one's which. 

Something I learned at a very young age- you say do-jeh 
when someone gives you something (as in a gift), and 
you say m-goi when someone does something for you 
(as in a waiter bringing you food).

--- Michael Carmack [EMAIL PROTECTED] wrote:
 On Wed, Jun 27, 2001 at 03:29:27PM -0300, Martin Mauri wrote:
  What's cantonese?
  And how do you say thank you?
   
   I know how to say thank you in Cantonese. That's it.
   And that I learned from a movie. Not much help. Want the
   name of the movie?
 
 Cantonese is a dialect of Chinese, most prominently associated with
 Hong Kong. (It's the language spoken in virtually all movies out of
 Hong Kong.) Thank you can be translated as either do-jeh or m-goi.
 
 m.


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: una pregunta

2001-06-27 Thread alex chang

I hope not! I'm Cantonese myself. 
I had a feeling Madarin was spelled with an a.
You know a lot more about the language than
I do. I tried going to school for it but it
was so difficult. 

My last post on this, promise.
-alex

--- Milt Epstein [EMAIL PROTECTED] wrote:
 On Wed, 27 Jun 2001, alex chang wrote:
 
  Cantonese is usually spoken by the uneducated, Madirin is spoken by
  the educated. Cantonese is the more informal dialect, Madirin the
 
 Wow, I think you are going to offend a lot of people saying that.  And
 I don't think it is correct.  They are simply different languages,
 spoken in different places.  (And it's Mandarin.)
 
  more formal.  Listen to someone speak Cantonese, then listen to
  someone speak Madirin- you'll be able to tell right away which one's
  which.
 
 Of course!  They're different languages, they sound quite different.
 For example, their tonal systems are different -- Mandarin has four
 tones, and I believe Cantonese has nine.
 
 Wow, this is really getting off-topic!  Sorry.
 
 
  Something I learned at a very young age- you say do-jeh
  when someone gives you something (as in a gift), and
  you say m-goi when someone does something for you
  (as in a waiter bringing you food).
 
  --- Michael Carmack [EMAIL PROTECTED] wrote:
   On Wed, Jun 27, 2001 at 03:29:27PM -0300, Martin Mauri wrote:
What's cantonese?
And how do you say thank you?
   
 I know how to say thank you in Cantonese. That's it.
 And that I learned from a movie. Not much help. Want the
 name of the movie?
  
   Cantonese is a dialect of Chinese, most prominently associated with
   Hong Kong. (It's the language spoken in virtually all movies out of
   Hong Kong.) Thank you can be translated as either do-jeh or m-goi.
  
   m.


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



RE: Error: 500

2001-06-26 Thread alex chang

Hi Jann, thanks for replying.
It does work with the jsp from step 4 as you've 
said, where it simply prints the word Welcome.

But it still doesn't work with the modified jsp
page, where I have the taglib directive up top
and replace the word Welcome with the 
onjava:hello /.

I've done some more checks and it seems I only 
get the error when I have the onjava:hello /
tag. That is, if I simply have the taglib directive
and no onjava:hello / tag, it works. But if I 
put that onjava:hello / tag back in, I get the
error.

Any more ideas?
Thanks,
-alex

--- Jann VanOver [EMAIL PROTECTED] wrote:
 It looks like you were doing step 4 with the JSP from step 5.  This code
 won't work until after you've created and compiled the tag library,
 which
 you haven't done yet if you're working in order.  Try it with the JSP
 code
 from Listing 3 and you shouldn't get this error.
 
 -Original Message-
 From: alex chang [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 26, 2001 6:25 AM
 To: [EMAIL PROTECTED]
 Subject: Error: 500
 
 
 I've been following this little tutorial:
 http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html?page=1
 
 I'm up to the part of Adding Tag Libraries,
 on page 4. So far, everything except this part
 has worked. I get an HTTP 500 internal server
 error. Here are the first four lines of that:
 
 Error: 500
 Location: /onjava/welcome.jsp
 Internal Servlet Error:
 
 org.apache.jasper.compiler.CompileException:
 C:\jakarta-tomcat-3.3-m3\webapps\onjava\welcome.jsp(11,10) Unable to
 load
 class com.onjava.HelloTag
 
 I was wondering if anyone who has tried this
 example also can help me out. Thanks..
 
 -alex


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



RE: Error: 500

2001-06-26 Thread alex chang

Hi,

I made sure to double check everything before
I wrote here (I also just signed up and wrote 
to the taglibs-user group). 

My directory structure is like this:

onjava/
 +- images/
 +- WEB-INF/
+- classes/
+- com/
+- onjava/
+- lib/
+- com/
+- onjava/

My HelloTag.java is in the main onjava/ directory; 
I compiled it with: javac -d WEB-INF\lib HelloTag.java

It created the com/onjava/ directories. I thought
nothing of it since HelloTag is in the package
com.onjava. Should I move HelloTag.class out of 
the /WEB-INF/lib/com/onjava directory and right
into the /WEB-INF/lib directory?

This was the only part I wasn't positive on since
the instructions said to put it in the lib directory.

Thanks for your help and patience,
-alex

--- Jann VanOver [EMAIL PROTECTED] wrote:
 Yes, that makes perfect sense.  The error message you got was Unable to
 load class com.onjava.HelloTag so of course you would only see the
 error
 when you try to use that tag.
 
 Did you follow all the instructions at the end of step 4?  You have to
 create and compile HelloTag.java and then put the class file in the
 right
 place, then describe the tag in the .tld file.  If any of these things
 aren't done right, it won't be able to find the class when you need it.
 Re-check your steps.
 
 -Original Message-
 From: alex chang [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 26, 2001 12:38 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Error: 500
 
 
 Hi Jann, thanks for replying.
 It does work with the jsp from step 4 as you've 
 said, where it simply prints the word Welcome.
 
 But it still doesn't work with the modified jsp
 page, where I have the taglib directive up top
 and replace the word Welcome with the 
 onjava:hello /.
 
 I've done some more checks and it seems I only 
 get the error when I have the onjava:hello /
 tag. That is, if I simply have the taglib directive
 and no onjava:hello / tag, it works. But if I 
 put that onjava:hello / tag back in, I get the
 error.
 
 Any more ideas?
 Thanks,
 -alex
 
 --- Jann VanOver [EMAIL PROTECTED] wrote:
  It looks like you were doing step 4 with the JSP from step 5.  This
 code
  won't work until after you've created and compiled the tag library,
  which
  you haven't done yet if you're working in order.  Try it with the JSP
  code
  from Listing 3 and you shouldn't get this error.
  
  -Original Message-
  From: alex chang [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, June 26, 2001 6:25 AM
  To: [EMAIL PROTECTED]
  Subject: Error: 500
  
  
  I've been following this little tutorial:
  http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html?page=1
  
  I'm up to the part of Adding Tag Libraries,
  on page 4. So far, everything except this part
  has worked. I get an HTTP 500 internal server
  error. Here are the first four lines of that:
  
  Error: 500
  Location: /onjava/welcome.jsp
  Internal Servlet Error:
  
  org.apache.jasper.compiler.CompileException:
  C:\jakarta-tomcat-3.3-m3\webapps\onjava\welcome.jsp(11,10) Unable to
  load
  class com.onjava.HelloTag
  
  I was wondering if anyone who has tried this
  example also can help me out. Thanks..
  
  -alex


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



RE: Error: 500

2001-06-26 Thread alex chang

Thank you!!! It works!!! =) =) =)
-alex

--- Jann VanOver [EMAIL PROTECTED] wrote:
 You said:
 
   My HelloTag.java is in the main onjava/ directory; 
   I compiled it with: javac -d WEB-INF\lib HelloTag.java
 
 next time, try javac -d WEB-INF\classes HelloTag.java !!!
 
   It created the com/onjava/ directories. I thought
   nothing of it since HelloTag is in the package
   com.onjava. Should I move HelloTag.class out of 
   the /WEB-INF/lib/com/onjava directory and right
   into the /WEB-INF/lib directory?
 
 Almost right!  If you have .class files, they must go  in
 WEB-INF/classes/com/onjava
 If your class files are combined into a .jar file, they may be put into
 WEB-INF/lib
 
 You are very close, alex!
 
 -Original Message-
 From: alex chang [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 26, 2001 1:09 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Error: 500
 
 
 Hi,
 
 I made sure to double check everything before
 I wrote here (I also just signed up and wrote 
 to the taglibs-user group). 
 
 My directory structure is like this:
 
 onjava/
  +- images/
  +- WEB-INF/
 +- classes/
 +- com/
 +- onjava/
 +- lib/
 +- com/
 +- onjava/
 
 My HelloTag.java is in the main onjava/ directory; 
 I compiled it with: javac -d WEB-INF\lib HelloTag.java
 
 It created the com/onjava/ directories. I thought
 nothing of it since HelloTag is in the package
 com.onjava. Should I move HelloTag.class out of 
 the /WEB-INF/lib/com/onjava directory and right
 into the /WEB-INF/lib directory?
 
 This was the only part I wasn't positive on since
 the instructions said to put it in the lib directory.
 
 Thanks for your help and patience,
 -alex
 
 --- Jann VanOver [EMAIL PROTECTED] wrote:
  Yes, that makes perfect sense.  The error message you got was Unable
 to
  load class com.onjava.HelloTag so of course you would only see the
  error
  when you try to use that tag.
  
  Did you follow all the instructions at the end of step 4?  You have to
  create and compile HelloTag.java and then put the class file in the
  right
  place, then describe the tag in the .tld file.  If any of these things
  aren't done right, it won't be able to find the class when you need
 it.
  Re-check your steps.
  
  -Original Message-
  From: alex chang [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, June 26, 2001 12:38 PM
  To: [EMAIL PROTECTED]
  Subject: RE: Error: 500
  
  
  Hi Jann, thanks for replying.
  It does work with the jsp from step 4 as you've 
  said, where it simply prints the word Welcome.
  
  But it still doesn't work with the modified jsp
  page, where I have the taglib directive up top
  and replace the word Welcome with the 
  onjava:hello /.
  
  I've done some more checks and it seems I only 
  get the error when I have the onjava:hello /
  tag. That is, if I simply have the taglib directive
  and no onjava:hello / tag, it works. But if I 
  put that onjava:hello / tag back in, I get the
  error.
  
  Any more ideas?
  Thanks,
  -alex
  
  --- Jann VanOver [EMAIL PROTECTED] wrote:
   It looks like you were doing step 4 with the JSP from step 5.  This
  code
   won't work until after you've created and compiled the tag library,
   which
   you haven't done yet if you're working in order.  Try it with the
 JSP
   code
   from Listing 3 and you shouldn't get this error.
   
   -Original Message-
   From: alex chang [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, June 26, 2001 6:25 AM
   To: [EMAIL PROTECTED]
   Subject: Error: 500
   
   
   I've been following this little tutorial:
   http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html?page=1
   
   I'm up to the part of Adding Tag Libraries,
   on page 4. So far, everything except this part
   has worked. I get an HTTP 500 internal server
   error. Here are the first four lines of that:
   
   Error: 500
   Location: /onjava/welcome.jsp
   Internal Servlet Error:
   
   org.apache.jasper.compiler.CompileException:
   C:\jakarta-tomcat-3.3-m3\webapps\onjava\welcome.jsp(11,10) Unable to
   load
   class com.onjava.HelloTag
   
   I was wondering if anyone who has tried this
   example also can help me out. Thanks..
   
   -alex


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



tomcat tutorial

2001-06-25 Thread alex chang

anyone know of any good tomcat tutorials?
to be honest the user guide doesn't really
help.

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



RE: How to avoid of displaying the homepage file path

2001-06-21 Thread alex chang

yes. way too many of them.
--- Kumar, Amit [EMAIL PROTECTED] wrote:
 Is everyone getting this email multiple number of times?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 21, 2001 2:06 PM
 To: [EMAIL PROTECTED]
 Subject: Re: How to avoid of displaying the homepage file path
 
 
 Messages with Subject ´Homepage´ are not accepted here
(Homepage.HTML.vbs)


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



how does index.html come up?

2001-06-21 Thread alex chang

I just recently downloaded the tomcat 3.3m3 zip
to my Windows 2000 desktop.

When I go to http://localhost:8080, how does it 
know to go to the index.html file in my 
wepapps/ROOT directory? (I'm assuming this *is*
where it's going?)

In my server.xml file, I don't see a Context
tag like I've been reading about. But near the
end of that file it says something about how 
ContectXmlReader reads all the context definitions.

Near the top I do see: 
ContectXmlReader config=conf/apps.xml

But in that conf directory I don't see an
apps.xml. However I do see:

apps-127.0.0.1.xml
apps-admin.xml
apps-examples.xml

Is the apps-127.0.0.1.xml being read somehow?
Can someone explain the process of what happens
from the time you enter localhost:8080 in your
browser, to how the page gets served up?

Thanks!
-alex

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/