-
Setting classpath in Win9.x version of Tomcat
I'm enrolled in a Java class where we are creating JavaServer Pages. In order
to test and run examples I installed the Tomcat server. The problem is I
cannot get it to run. The user guide says I must set the classpath and the
tomcat_home environment variable. I have the JDK installed at c:\jdk1.3
and tomcat at c:\jdk1.3\tomcat. Any help would be appreciated.
Thanks
-
Re: Setting classpath in Win9.x version of Tomcat
gotcha brian, i'm doing the same thing.
go to the ms-dos prompt and type the following two commands:
set tomcat_home="c:\jdk1.3\tomcat"
set java_home="c:\jdk1.3"
that's it! then you should be able to go to tomcat\bin and type startup
to get started.
if this doesn't answer your question well enough, just let me know.
David
-
Re: Setting classpath in Win9.x version of Tomcat
Thanks Brain
I got the server started but now I'm having problems running the same WAR
files or testing my own pages. I checked out JGuru and readme files but
I can't get them to run. Any help would be appreciated.
Thanks
"Brian Jay" <bjay@home.com> wrote:
>
>I'm enrolled in a Java class where we are creating JavaServer Pages. In
order
>to test and run examples I installed the Tomcat server. The problem is
I
>cannot get it to run. The user guide says I must set the classpath and
the
>tomcat_home environment variable. I have the JDK installed at c:\jdk1.3
>and tomcat at c:\jdk1.3\tomcat. Any help would be appreciated.
>Thanks
-
Re: Setting classpath in Win9.x version of Tomcat
brian,
one easy way to run you examples is to put it in
c:\jdk1.3\tomcat\webapps\examples\jsp\briansdirectory\briansjsppage.jsp
then just make a link to that spot with some html page.
There's another way to set your own path, so that you could put your jsp
page in another directory, but i haven't gotten to that yet.
keep posting if you have any other troubles, i'm right there with you man.
David
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks