Has anyone set up tomcat to run as a service and with the security manager?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
Why not putting the zip-file it into $TOMCAT_HOME/lib ?
regards
-Ursprngliche Nachricht-
Von: Garmaev, Vladimir A [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 06. Februar 2001 00:51
An: '[EMAIL PROTECTED]'
Betreff: RE: Even simpler... where do I put oracle drivers?
Oops... You also
Our load balancer supports two ways of keeping the state of the sessions
between
requests, ip source (all clients from the same subnet will be redirected
to that
Tomcat server) and cookie based (a little more flexible approach), that
is if the
client allows cookies. To enable cookie based load
As has been answered here many, many, many, many times before (and
therefore is in the archive many, many, many, many times) - Java 1.3 has a
bug that whenever it sees a user log out, it quits, regardless of whether or
not that user launched the JVM. There are two workarounds:
I believe that the mapping only works for contexts. In other
words, making a subdirectory under the ROOT webapp won't work, but making a
chatting webapp would.
Also, you must restart the IIS process (Using the Control Panel) to
reload the uriworkers.properties file.
I got it up and running my first try on 2000. (I had already done
it on NT.) These kinds of problems usually deal with pathes in the
registry. Double check that these values are correct, that they are
capialized in the correct fashion, and don't have trailing whitespace.
Also, if you want to debug the startup of your servlet you can
do whatever you want(i.e. debug output) in your servlets init() method.
This is the method that gets called when a servlet is instantiated.
Utilize it like you would a constructor.
---
Michael Wentzel
Software Developer
Software As
[EMAIL PROTECTED] typed the following on 01:10 PM 2/6/2001 +0100
Our load balancer supports two ways of keeping the state of the sessions
between requests, ip source (all clients from the same subnet will be redirected
to that Tomcat server) and cookie based (a little more flexible approach),
I don't remember exactly, but you have to create a new value in the registry
like 1.0 or something like that (have a look to the how-to's).
What I didn't see the first time is, that the 1.0 is a new subdir!
Ralph
Sorry for that inexact answer but I actually don't have access to my
machine...
Hello All,
Can anyone tell me how to set up directory permissions
to permit running Tomcat as a non-root user?
According to previous posts in the mailing list, I
should be using 'su - nobody' when kicking off Tomcat,
but nobody doesn't have authorities to write to
usr/local.
What is the best
How do I include a file in a JSP-file? What tag do I use? I'm using
Tomcat 3.1.
Regards,
David
david.svanberg.vcf
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
Along those same lines, what's the recommended approach for sharing one
installation of tomcat with multiple users?
Should they each create their own server.xml and set the "home"
attribute of the ContextManager to a location beneath their home
directory, specifying the -f option to
How do I include a file in a JSP-file? What tag do I use? I'm using
Tomcat 3.1.
This is independent of what server you're running(it's a jsp spec thingy).
Here's a good reference:
http://java.sun.com/products/jsp/pdf/card11.pdf
---
Michael Wentzel
Software Developer
Software As We Think -
[EMAIL PROTECTED] wrote:
How do I include a file in a JSP-file? What tag do I use? I'm using
Tomcat 3.1.
There's two ways:
jsp:include page="{relativeURL}" flush="true"/
or
%@ include file="{relativeURL}" %
The first will include the output of the page you include, and the
second will
[EMAIL PROTECTED] wrote:
How do I include a file in a JSP-file? What tag do I use? I'm using
Tomcat 3.1.
Regards,
David
I heartily recommend that you obtain the JSP API documentation
from java.sun.com - there you will find the answers to many questions.
You can also find a handy 2
hi
i'm srikanth, working in s/w company in India i'm learning jsp. i'm very
throw in basic jsp element. now i'm learning jsp:taglib. i don't understand
it. so please tell me how to start Taglib for example i want to print Hello
how to do it. please help me step by step
regards
srikanth
I'm not 100% sure but I believe this is one of the capabilities they are
working on for tomcat 4.0... as for 3.2 and lower... try adding user
login information to a database table or something... then set a logged
inn cookie and retieve session information from the database.
matt
David Wall
Hi
I have recently installed tomcat 3.2 into my unix user account as it has been
described in the doco.
I have problems though when I try and start up Tomcat as it spits out the
following error message:
Guessing TOMCAT_HOME from tomcat.sh to ./..
Setting TOMCAT_HOME to ./..
Using
Srikanth Ramaswamy wrote:
hi
i'm srikanth, working in s/w company in India i'm learning jsp. i'm very
throw in basic jsp element. now i'm learning jsp:taglib. i don't understand
it. so please tell me how to start Taglib for example i want to print Hello
how to do it. please help me
The servlets and JSP pages that I have written all work fine if I have it
running under the webapps/ROOT context. I would also like to have another
version running that I can modify, running in webapps/test. I have set up
the contexts, but because the url's in the jsp pages all point to
Hi,
I've read lots of FAQs and emails about sending init-params to servlets, but
can that be done with a JSP? I've tried setting up my application's web.xml
to use:
servlet
servlet-name
jsp
/servlet-name
servlet-class
The problem is exactly what it says it is - something else is using
the ports that Tomcat wants. You can edit the server.xml file in the conf
directory to change the ports (it currently uses 8080 and 8007, you can
search for these numbers). A possibility is that the last time you ran
An excellent db connection pooling system is available at
www.javaexchange.com We have been using it for over a year and haven't had
any trouble with it. It's also fairly simple to use. Check it out.
-Yoav
-Original Message-
From: John Coonrod [mailto:[EMAIL PROTECTED]]
Sent: Monday,
"Rauschuber, Chris" wrote:
Hi,
I've read lots of FAQs and emails about sending init-params to servlets, but
can that be done with a JSP? I've tried setting up my application's web.xml
to use:
servlet
servlet-name
jsp
/servlet-name
Hi
Does anyone know where I could find some code example of how to get a
registration page and login working for a website? i.e. Have a user enter
his details into the registration page, save his details in a bean, then
have him login with the username and password he had chosen in the
Hi,
Has anyone out there tries using Tomcat as a production server? Does
it scale up and what have been your experiences with the same?
Would appreciate any feedback in this regard!
Kind Regards
Vinay Menon
Disclaimer
This communication together with any attachments transmitted with
I just tried that, but no luck. I still get no InitParameters.
I tried using both the getInitParameterNames() and
context.getInitParameterNames() in the JSP. Is the first one just an
implicit version of the second?
Chris
From: Brian Tol [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February
The port you using (8080 default) already in use. Change port, or close
other program that using it.
Original Message
On 2/6/01, 7:07:03 AM, [EMAIL PROTECTED] wrote regarding problem
starting tomcat 3.2 under solaris:
Hi
I have recently installed tomcat 3.2 into my unix user account as
Worked for me all my life.
E.g., in web.xml:
context-param
param-nameopen-port/param-name
param-value7180/param-value
descriptionPort for regular HTTP via Apache/description
/context-param
context-param
param-namesecure-port/param-name
param-value7143/param-value
Really?
Good point David...
Original Message
On 2/6/01, 4:26:05 AM, "David Oxley" [EMAIL PROTECTED] wrote
regarding RE: performance:
And what makes you think nt is production quality?
:)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 02
That worked!!
Thaks a bunch!
It was the application.getInitParameter("") that I needed.
Chris
-Original Message-
From: Jan Labanowski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 10:08 AM
To: '[EMAIL PROTECTED]'
Subject: RE: init-param to JSP
Worked for me all
Hi,
I have all the paths / Classpaths set.
I have added the context in server.xml
I have set my directory Eg: abcd under
/usr/local/tomcat/webapps/abcd
and set all the other directories.
WEB-INF, classes etc... as per the specifications.
Still, when i execute
Hi,
For JDBC Realm info, take a look at
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/JDBCRealm.howto
You'll need a driver for MySQL. This one worked for me:
http://mmmysql.sourceforge.net/
Documentation on how to set the driver up can be found at
http://mmmysql.sourceforge.net/doc/
[EMAIL PROTECTED] wrote:
Hi,
I have all the paths / Classpaths set.
I have added the context in server.xml
I have set my directory Eg: abcd under
/usr/local/tomcat/webapps/abcd
and set all the other directories.
WEB-INF, classes etc... as per the specifications.
I'm
/usr/local/tomcat doesn't necessarily have to be owned by root.
The only thing you need to so is make sure that whichever user you run
tomcat as has write permissions to the logs, conf and work directories
(those are the only ones Tomcat writes to I think). This doesn't have to
be 'nobody'
I reade the messages as suggesting that you have Tomcat
installed at C:\tomcat and are setting tomcat.home to
D:\tomcat
I have gotten the "The device is not ready" when I'm
trying to read a CD that isn't in the drive.
OTOH, I could be far out in left field
;-)
snip
-Original
Hi all,
One important question.
Is it at all possible to use RMI via JNDI from Tomcat to EJB on a
Application Server??
I'm trying to use Tomcat standalone with JBOSS. I know there is a
jboss-tomcat dist, but I need to use it on different JVM's ...
I'm really in need of some help here. So
This is probably a simple question...but I have a new jsp application
that I already tested just by using the examples context...Could some
one please describe a procedure or point to a reference that explains
step-by-step how move a simple jsp app into its own environment...or
context.
I have
Hi everyone,i wan to know if there is a way
to configure aliasing and basic userAuthwith
apache-tomcat-cocoon.exemple:my cocoon webapps is mount on
/cocoon/servlets/lbss
from/usr/jakarta-tomcat/webapps/cocoon/servlets/lbssbut i wan that url
http://my.url/config to
To make this work for me, I've had to change the name of the file from
class111.zip to classes111.jar. It appears that only files with the .jar
extension are automatically picked up and added to the classpath in the
Web-inf/lib directory.
Works fine for us putting our jar files in our projects
To fix this problem for AIX 4.3, try adding the option -bexpall to the
CFG_LDFLAGS_SHLIB entry in the apxs script.
ie
my $CFG_LDFLAGS_SHLIB = q(-bM:SRE -bnoentry -bI:/usr/local/lib/apache/httpd.exp
-bexpall -lc);
Hope this helps
Thanks, Kief. I'm still kind of an Ant newbie, but I think I see what
you're doing, and it's pretty cool. :-)
I'm still confused about the -f option, though. You're not creating
your server.xml in the shared installation directory, are you? I
thought tomcat always used
Hi all,
I am working in an environment of Apache/Tomcat on Linux, and I am new in
HTTPS/SSL. What I am facing is a project developed by someone else who is no
longer around. I am modifing the environment so that it will work with our
new release. While I am OK with the rest of the environment, I
Is there any difference between these files..In the tomcat_ug.html
readme...they mention includeing these files in my httpd.conf file -
which one should I be using???
A more important question perhaps: If the apache-tomcat file is created
when Tomcat starts-up - why would I edit the file to
Jim Crossley typed the following on 12:19 PM 2/6/2001 -0500
I'm still confused about the -f option, though. You're not creating
your server.xml in the shared installation directory, are you? I
thought tomcat always used $TOMCAT_HOME/conf/server.xml *unless* you
specified another location with
Greetings,
I have installed TOMCAT 3.2.1 in the past with no problems. However,
now I have a problem that has got the best of me for the past few days
now. I am at my wits end. I am getting an error when ever I access one
of the JSP examples that install with the Tomcat Package. Here is an
Thank you John for your reply.
Correct me if I am wrong, but I am assuming the certificate is installed --
it was working before, and I can still see that under my
/usr/local/apache/conf/, there are directories such as ssl.crt, ssl.key,
etc. There are files like srever.crt and other .crt files.
Keith!
A million thanks! It works! Using your tip plus the addition of '-ldl' to
the CFG_LDFLAGS_SHLIB entry in the apxs script results in a clean compile
and link!
Woohoo!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001
Notice it appears that getRootCause() is missing from
javax.servlet.ServletException. How can I prove this is not true?
Also notice that the message in the log file is totally different
One technique is to use a classviewer/decompiler. I can't think of a
linux one off the top of my head
I've got a fairly large JSP/Java application that runs on almost every
app server you can think of. however, on Tomcat running on NT 4 I'm
running into an odd problem. for what it's worth, this problem doesn't
appear when running Tomcat on Solaris.
to log into the app, the user goes to
%= request.getRequestURI() % will return current URL.
Original Message
On 2/6/01, 11:18:04 AM, "Chris Ward" [EMAIL PROTECTED] wrote
regarding to switch contexts, do you have to change all your JSP URL's?:
Is there a way to code the URL's in the JSP pages so that they don't care
what
HttpRequest.getContextPath() returns the portion of the request URI that
indicates the context of the request.
-Original Message-
From: John Golubenko [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 2:26 PM
To: [EMAIL PROTECTED]
Subject: Re: to switch contexts, do you have
Hi everyone,i wan to know if there is a way
to configure aliasing and basic userAuthwith
apache-tomcat-cocoon.exemple:my cocoon webapps is mount on
/cocoon/servlets/lbss
from/usr/jakarta-tomcat/webapps/cocoon/servlets/lbssbut i wan that url
http://my.url/config to
Hello,
My apologies if the question has been asked previously, and I suspect it
has, but on a quick search through the archives, I didn't find exactly this
question.
Servlet mapping seems to fail on an out-of-the-box installation of Tomcat
3.1 with Apache. The test webapp installed with tomcat
Mark,
Is there any way you can attach this module so it is available to the
entire user group? I still
haven't figured out why the dll's are available for NT, but you have to
compile your own
modules for AIX, Solaris, etc.
Thanks,
Tracy
"Palumbo, Mark" [EMAIL PROTECTED] on 02/06/2001 01:55:50
You may want to see a piece on remapping in my Tomcat FAQ getting old.
http://www.ccl.net/cca/software/UNIX/apache/index.shtml
You cannot remap stuff out of your context, though...
Jan
On Tue, 6 Feb 2001, Ritwick Dhar wrote:
Hello,
My apologies if the question has been asked previously,
Sounds like you have a couple problems.
1. You haven't set a TOMCAT_HOME environment value. This is not needed as
the start script can guess were to look but for your own sanity you may want
to set it.
2. You already have a service listening on port 8080. Kill the other
service or change to
/usr/local/tomcat doesn't necessarily have to be
owned by root. The only thing you need to so is make
sure that whichever user you run tomcat as has write
permissions to the logs, conf and work directories
(those are the only ones Tomcat writes to I think).
I was a little iffy about
Were you ever able to get an answer to this question? I am running into the
same problem using Tomcat 3.2.1.
Thanks in advance ,
Bob
-Original Message-
From: Mueller, Franz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 12:22 AM
To: '[EMAIL PROTECTED]'
Subject: error-page
Yes that is part of the J2EE Web Application Spec.
On Tue, 6 Feb 2001, Carles Pi-Sunyer wrote:
To make this work for me, I've had to change the name of the file from
class111.zip to classes111.jar. It appears that only files with the .jar
extension are automatically picked up and added to
Jan,
Thanks for your reply. After looking at your FAQ (which is a great effort,
by the way) it seems the problem is a missing 'ApJServMount /test /root',
which enables all calls with /root to go to Tomcat. This is missing in
tomcat-apache.conf. The question, then, is why tomcat-apache.conf isn't
Is that the only way? I understand how that would be implemented, but I have
inherited an application that was not set up that way, and would require a
fix on every JSP and servlet.
Chris
-Original Message-
From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06,
On Tue, 6 Feb 2001, Ritwick Dhar wrote:
Jan,
Thanks for your reply. After looking at your FAQ (which is a great effort,
by the way) it seems the problem is a missing 'ApJServMount /test /root',
which enables all calls with /root to go to Tomcat. This is missing in
tomcat-apache.conf. The
I have RH 7.0 and have installed, jre1.3, apache and tomcat.
Apache runs fine, as do the servlet examples on tomcat, but whenever I try
and run a jsp example i get the following!!!
Can someone please tell me what i've done wrong??
Richard
Error: 500
Location: /examples/jsp/num/numguess.jsp
Got it. Yes, I think 'write your own conf' is a much better idea indeed, but
wanted to give it a try just for the heck of it.
Many thx.
-Original Message-
From: Jan Labanowski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 3:32 PM
To: '[EMAIL PROTECTED]'
Cc: Jan Labanowski
Ok, i'm not sure for 100%, but I've had a same errors before. All I did,
is
removed the same .jar's from $CLASSPATH and TOMCAT_HOME/lib/*.jar
directory,
and from JAVA_HOME/jre/lib/ext/*.jar.
I think that JDK + TOMCAT + $CLASSPATH having same files, get messed up
for some
reason. Make sure that
I monitored the response I got from tomcat, it seems that it does not return
a "Last-Modified" on it's http header. It also seems to ignore a request for
something "newer than" using the "If-Modified-Since" Request header. Can any
one shed some light on this? is there a special configuration in
unfortunately my jre/lib/ext directory is empty, so I don't think that this
can be the case. Thanks anyway though.
-Original Message-
From: John Golubenko [mailto:[EMAIL PROTECTED]]
Sent: 06 February 2001 20:45
To: [EMAIL PROTECTED]
Subject: Re: Newbie pls help with error 500
Ok, i'm
Title: Class reloading
In my web.xml file I have the following
servlet
servlet-nameBillyBob/servlet-name
servlet-classcom.viewpoint.database.InitPool/servlet-class
load-on-startup1/load-on-startup
description
uses jdbc parameters above to initialize the connection pool.
/description
I'm using Tomcat 3.2 with Microsoft NT. In my Java Beans I call many Oracle
procedures and functions. When I make changes to an Oracle
procedure/function do I need to stop-start Tomcat for it to recognize the
new changes? It seems to be inconsistent. Thanks in advance.
Mark
Hi,
I just started to try TOMCAT server weeks ago. I have played JSP and
Servlet. But now, when trying EJB, I got a problem deploying it. Could you
please suggest me some documents or Websites. Also, can I deploy an EJB
manually?
Thanks,
Hello all,
I originally posted a question about session ids on the struts-user
list, but then realized that this is a better question for this list.
Thanks for all the info about session ids (craig, gary, steven,
etc). I hate to beat a dead horse, but I have ANOTHER question on
session
Hi,
I am using Tomcat 3.2.1 w/JDK 1.3 w/Apache 1.3.14
I have added a few init parameters for the SnoopServlet.
However when I run it, I get only 1 parameter displayed.
Is this some sort of bug ?
My web.xml is as follows :
Thanks
Shahed
servlet
servlet-name
snoop
You need init-param/init-param tags to enclose each
param-nameparam-value/param-value/param-name set.
So the init-param portion of your web.xml would look like this:
init-param
param-namebar/param-name
param-value
sadsadasda
Shahed,
Make sure you define each init-param separately. Currently, you're
trying to set two pairs of param-name,param-value to one init-param.
Shahed Ali wrote:
Hi,
I am using Tomcat 3.2.1 w/JDK 1.3 w/Apache 1.3.14
I have added a few init parameters for the SnoopServlet.
However
Hi Peter,
Unfortunately, there's no foolproof way to do what you're trying to do.
The limitation is imposed on the client-side. Your success depends on
how much control you have over your users, i.e. it becomes a training
issue.
A good description of the issues involved is on page 134 of Hans
I have tomcat 3.2.1 with Apache 1.3.12 running on a Solaris (2.6) box. Everything
works just fine for normal use. However, when I crank up a Verity search engine
(vspider) to walk through a document bundle of about 4,500 JSP pages I start to run
into trouble. Since every document in the
Hi ,
I wanted to know if this servlet engine..( TOMCAT) is supported on Win2K. I
have installed it on Win2k,
set up all the paths and classpaths, but when I startup the server, the
process aborts giving a runtime
exception. Has anyone had a similar problem regarding installation of tomcat
on
I have the Tomcat 4.0 Dev nightly build (? - i'd have to check which one)
running on Windows 2000.
I didn't come across any errors.
The only thing I couldn't do was actually view the examples web app using IE (i
believe 5.5).
IE does not want to let me connect to 'localhost:8080' offline. It
Title: Intercepting 404's !! PLEASE HELP
I am trying to set up a custom error page to intercept Tomcat 404's
I have Apache intercepting static page 404's.
I am using tomcat 3.2 final.. And I have searched all the archives and
found one common answer:
in web.xml --
error-page
Im gettin constantly an Error 503
qhen i run a servlet, but it has no
errors executing any other servlet.
Any idea what happens?Rafael Antilln Reyes
Ill appreciate your help
Grupo Vitro
Tel. 3-29-17-00 Ext. 2966
[EMAIL PROTECTED]
ICQ# 61057293
Ok i'm going to try and use ApacheSSL + Mod_JK + Tomcat.
I need to the ability to run https://localhost/servlet/Hello and
https://localhost/hello.jsp
Is this possible.. whats the best method.. I'd like to use apache-ssl +
mod_jk considering all the work i've done trying to get apache + mod_jk
I
It should work without any changes. By the time Tomcat gets it, the request
is already decoded.
-Original Message-
From: Phillip Kuzma [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 5:53 PM
To: Tomcat List
Subject: Apache + Tomcat + SSL
Ok i'm going to try and use
Yep, since it has no JSessionID on the url, it must (by definition) be
without a session, so Tomcat creates one for it.
-Original Message-
From: Peter Alfors [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 4:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Session ids (netscape)
Peter Alfors wrote:
When I run this, the session id's are still the same for two separate
instances of netscape 4.7. (both instances started from the desktop).
What am I missing to force the session id's to be different?
I assume from your headers that you're using windows - at least in
"EXT-Mezey, Peter" wrote:
[Memory gobbled up fast by a search engine walking over JSP pages]
Well, if it's the same problem we had here, I'd say it's the spider
creating a new session with every request as it doesn't send back the
session-id cookie; and since it does this much faster than the
Title: Stupid servlet question of the day
This is really a rather embarrasing question to ask.
I have a webapp that has two directories of JSPs
(think of it as a regular user set of JSPs and an
administrator set)
\forums --- This is the context root
\forums\admin --- This is a second
Check out bug# 4293268 on Sun's Java bug parade. It described a 1.3
threading bug that involves lost locks. I've had similar deadlock
problem on a different app (not Tomcat) that went away when I downgraded
to Java 1.2.2.5. It is an rare problem that most occurs when a system is
under load.
I get this as well, a solution I have not found. I heard a rumour somewhere
that it was caused by something errant in Forte. Are you using Forte by any
chance?
Thanks,
Kyle
-Original Message-
From: Natarajan, Bartee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 1:33 PM
We've seen this as well and it doesn't appear to be a fatal error. I've
turned off logging error messages to the console by modifying server.xml as
follows:
Logger name="tc_log"
verbosityLevel = "FATAL"
path="logs/tomcat.log"
/
This writes only "FATAL" error
IE is pretty stupid that way. It does it to me and I am online all the
time. The trick is to put the http:// in there explicitly, then it won't
convert to local:8080
-Original Message-
From: Peter Alfors [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 5:10 PM
To: [EMAIL
Title: Include file in Jsp -recompile issue
I have Jsp files which include other jsps.
If the included jsp is changed Tomcat doesn't recompile the main jsp
unless i go and touch the main jsp file.
Is this a bug or is this configurable or am i just wrong ??
Srini
Hi,
I have an app that runs fine with Tomcat 3.1
After updating to 3.2.1 I receive the error 404. I put my libs, conf
files .. as I did it in 3.1
Would is so different in these versions that it won't find my classes.
Any idea?
Greetings,
Andreas
Title: Include file in Jsp -recompile issue
Isn't the include a statement that gets executed
during runtime.so if a sub page is changed, there is no need to recompile the
main page. because the include will be dynamically executed.
Filip
~Namaste - I bow to the divine in
you~Filip
I get the following error when I try to access a jsp that has tags in
it. My tag library resides in $app_home$/jsp/taglib.tld. I know
that the jsp and tags work properly because I have used them on
WebSphere (which also uses the Jasper parser). Could someone explain
this?
I think it has to do
When I try to restart apache after installing
Tomcat I get an error which, when I run configtest, shows that it can't find
mod_jserve.so. I checked the whole drive and it's nowhere to be found. (see
error below)
[root@cr274708-a bin]#
/usr/local/apache/bin/apachectl configtestSyntax error
Title: Include file in Jsp -recompile issue
No,
the @include file= is done at compile time, and Srini is correct, only the top
level jsp pages get time checked, not the included ones.
-Original Message-From: Filip Hanik
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, February 06, 2001
Title: Include file in Jsp -recompile issue
My
understanding was that there are two types of include:
1. one
with the :include directive and
2.
with the %@ include file % directive.
I am
using the second one , in which case it shd just include the file and make it
into one big file. The
When using Tomcat 3.1 I had an initialization page that made use of the
jspInit() and jspDestroy() methods to initialize and destroy a server pool like
the following:
%! static public Pool pool = null;
%! public void jspInit() {
System.out.println("JSP init");
pool =
Title: Include file in Jsp -recompile issue
gotcha,
I was referring to
RequestDispatcher.include
Filip
~Namaste - I bow to the divine in you~Filip HanikSoftware
Architect[EMAIL PROTECTED]www.filip.net
- Original Message -
From:
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
1 - 100 of 107 matches
Mail list logo