Hi -

just for your info, .sh files are intended for a unix-like environment, whereas there should be an equivalent .bat file available IF you need to run tomcat as a script rather than a service.

Also, if you're unfamiliar with tomcat, I'd really suggest getting familiar with the basics of how tomcat works and how to develop it through a tomcat tutorial (the "Application Developers Guide" is really brilliant, I think ) - and make it work with jsps, before converting to using Velocity with Tomcat. Otherwise you won't know how to judge whether a problem is a velocity-config/install problem or a tomcat-config/install problem.

just my 10 (euro) cents worth.

Tim



Wang, Song B wrote:
Windows 2000.

Besides, I'm making it work on Tomcat 5.0.19 as guided in Appendix 1 of
<http://jakarta.apache.org/velocity/developer-guide.html#Using%20Velocity%20
In%20Servlets>
http://jakarta.apache.org/velocity/developer-guide.html#Using%20Velocity%20I
n%20Servlets

On my browser, I have:

HTTP Status 404 - /velexample/servlet/SampleServlet

----------------------------------------------------------------------------
----

type Status report

message /velexample/servlet/SampleServlet

description The requested resource (/velexample/servlet/SampleServlet) is
not available.

I thought they missed web.xml step in /velexample/WEB-INF/. However, even if
I added it in, it still doesn't work. Any idea about that? Thanks.

Song Wang
Web Developer
Wells Fargo Financial Information Services
Phone: (416) 382-5300 ext. 3367
Email: [EMAIL PROTECTED]
This message may contain confidential and/or privileged information.  If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein.  If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message.
Thank you for your cooperation.


-----Original Message-----
From: Tim Diggins [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
Sent: Thursday, May 26, 2005 11:34 AM
To: Velocity Users List
Subject: Re: Cannot run ./exmaple.sh


This is an OS-level issue, rather than a velocity or java issue - what
operating system are you running?

-- Tim

Wang, Song B wrote:

Hello everyone,

I'm new. Just installed Velocity 1.4 and built it.

I'm following the README in examples folder. I'm in /build directory and
"ant examples" succeeded. My question is that I got this:

'.' is not recognized as an internal or external command, operable program
or batch file.

when I type ./example.sh as said in the README. What happened? Thx.

Song Wang
Web Developer
Wells Fargo Financial Information Services
Phone: (416) 382-5300 ext. 3367
Email: [EMAIL PROTECTED]
This message may contain confidential and/or privileged information.  If

you

are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein.  If you have received this message in error,

please

advise the sender immediately by reply e-mail and delete this message.
Thank you for your cooperation.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to