Do you have the DB driver in your WEB-INF/lib
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message
Mark
I would think the easiest is including al your .jar's in Tomcat's
common\lib\ directory.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL
You can use the same method, just ensure that you call the
response.sendRedirect() before the response has been committed.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax
Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered
Go to java.sun.com or/and java.net, there are loads of mailing lists/forums
where you can learn a lot.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email
Do you include the driver in your lib directory for IngressII
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
Navanee
You can view a sample basic web.xml file at:
www.volume4.co.za/Volume4/opensource/xml/web.xml
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email
-INF/lib/
- In here you can place all .jar files that your web application will need
to have access to.
Tomcat/webapps/yourapp/WEB-INF/
- Here goes your .tld and .xml files, for example the web.xml
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4
Venkatesh
Does you client access the application by a URL similar to:
http://localhost:8080/application/entry.servlet ?
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax
Is your application directory within tomcat/webapps/ called servlet?
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web
Adam
In the server.xml you will find the following lines. This is the context for
the ROOT. Just uncomment it and add reloadable=true
!-- Tomcat Root Context --
!--
Context path= docBase=ROOT debug=0/
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4
Venkatesh
So when this application is accessed the point of access is directly within
Tomcat? Also, have you tried to create a simple .jsp page to see whether
this is processed? Something that simply prints out a string to the browser.
Kind Regards
Schalk Neethling
Web
Can you give some more information as to how this URL is accessed?
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4
Venkatesh
Is Tomcat the only server on which this applications runs or are there other
servers running alongside it. As you mentioned Tomcat is plugged-in to this
system.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
Adam
In the Tomcat confide directory, there is a file called server.xml. Inside
here you can create a Context-Path and set reloadable=true.
Example:
Context path=/meccafemme docBase=meccafemme debug=0
reloadable=true /
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4
to access a .jsp file by simply using the File/Open dialog in the
browser you will see this happening.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email
Peter
I would think: ../tomcat/common/lib
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message
I would say MySQL is the better choice, not simply with Tomcat but in
general.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web
Het there
You may want to have a look at this line in your web.xml:
Child name 'ControlSer vlet' is not unique
It seems that is should say ControlServlet and not ControlSer vlet
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
The driver should go into your WEB-INF/lib directory.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
You can also set-up a servlet mapping that points all url's that end with
*.hello (* meaning anything such as hi.hello or whatever else) to point to
your Hello servlet. That way you can access the servlet by simply going to
for example:
http://localhost:8080/myapp/hi.hello
Kind Regards
Schalk
Another great hosting provider you may want to have a look at is SevenC
Computing (www.sevenc.co.za). Linux boxes, with Tomcat, Apache. The staff
are all Linux and Java experts and offer 24/7 support.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4
Adam
Well, there is definitely a slight lag time when connecting to US and
European sites. But not to much though.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax
to and that is it.
You can then place this .war in your tomcat/webapps folder and the next time
you restart Tomcat it will unpack the .war and create a default context for
your web-app as well as do any initialization you may have specified in your
web.xml
HTH
Kind Regards
Schalk Neethling
Volume4
Regards
Schalk
Volume4
www.volume4.co.za
Dedicated to an OpenSource World
There is two things you can do. Set your CLASSPATH to include mm.mysql.driver and
include the jar in your webapps lib folder.
HTH
Kind Regards
Schalk
Volume4
Dave
What is the request you send to Tomcat, i.e. what is this JSP supposed to
accomplish?
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
In your tomcat server.xml you can add a property like this:
!-- Define the default virtual host --
Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
Marco
You may to have a look at Lucene (OpenSource Jakarata project) at:
http://jakarta.apache.org/lucene/docs/index.html
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED
Core SERVLETS and JavaServerPages by Marty Hall published by Sun and JSP,
Servlets, MySQL by David Harms published by mandtbooks.com
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL
Jason
servlet
servlet-nameHelloWorld/servlet-name
servlet-class!-- Over here you have to specify the complete path
to the servlet -- HelloWorld/servlet-class
/servlet
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
If you want to read a great article on web.xml check out:
http://developer.java.sun.com/developer/Books/javaserverpages/servlets_javas
erver/
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
If you want to read a great article on web.xml check out:
http://developer.java.sun.com/developer/Books/javaserverpages/servlets_javas
erver/
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
path=/myApp docBase=myApp debug=0 reloadable=true/
Stop and start Tomcat and you should be able to access your application by
going to:
http://localhost:8080/myApp/
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Atreya
Your code looks fine but it may be that you are ommiting the path paramater
that is causing the problem:
Context path=/examples docBase=examples debug=0
reloadable=true
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel
the
welcome-files from the list except index.html.
Hope this helps. I would also like to see if there are alternative/better
ways to accomplish this posted by someone else.
welcome-file-list
welcome-fileindex.html/welcome-file
/welcome-file-list
Kind Regards
Schalk Neethling
Volume4
Hi there
Can anyone help with configuring Apache and Tomcat so they can talk to each
other. I have successfully installed PHP but my main concern is having
Apache and Tomcat talking/exchanging
Any help will be appreciated.
Kind Regards
Schalk Neethling
Volume4
Hi there
Does anyone know how to use the phpsrvlt to enable tomcat to serve both PHP
and jsp/servlets?
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
.emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email: [EMAIL PROTECTED]
url
Hello,
I'm trying to build tomcat 4.1.10 from the
source and when I do an ant dist I get
the following error message:
file:/usr/local/tomcat-src/build.xml:67:
Basedir /usr/local/jakarta-tomcat-jasper/jasper2 does not exist
Where exactly can I download jasper? I have
found nothing on
Hi,
I still get the same error,
although I tried build.sysclasspath=ignore,
build.sysclasspath=first and build.sysclasspath=last.
What do I have to set classpath like?
I installed everything as described in BUILDING.TXT,
but when I do an ant dist I get the error message:
build-main:
Hi,
I'm trying to compile Tomcat 4.0.4
from the source but I can't find the
tomcat connector which contains tomcat-utils.jar
for this version. Could somebody provide
me a link where I can download it?
Thanks a lot.
Bye,
Werner
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Hi,
I'm trying to compile tomcat 4.0.4 from the
source and when I do a ant dist it fails
with the following question:
BUILD FAILED
/usr/local/tomcat-src/build.xml:67:
Basedir /usr/local/jakarta-tomcat-jasper/jasper2 does not exist
I don't have jasper, where can I get it?
Thanks and bye,
My servlet won't stay loaded. Is there a default time limit for
unused servlets? If so, how can I override it.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
Michael:
I have a database connection pool servlet which loads on startup. It
works fine, but if I don't give it a workout on my test site often
enough, it disappears. I suspect Tomcat destroys idle servlets after a
certain time has elapsed, but I can't find documentation on this. I
101 - 144 of 144 matches
Mail list logo