Hi,
Can anybody tell "how to exit from a JSP page?
I want to check for a condition at beginning of a JSP page and based on
result I want to skip processing rest of the JSP pagewithout using
bigIf-else block
I mean I need a Perl equivalent of "exit;" command in JSP.
in a java section at the beginning of the page:
%
...
if (your_condition)
return;
...
%
- Boaz
-Original Message-
From: Deepak C S [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 26, 2000 11:31
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: How to
Hi ,
Can I deploy dynamic web applications in Tomcat?
Can I have my servlets in any other directory other than WEB-INF/classes
?
The purpose is that I need to restrict users based upon
authentication.
So I need to distinguish between authenticated and
unauthenticated
thanx Boaz and Clemente Dani
--
From: Boaz Shaham[SMTP:[EMAIL PROTECTED]]
Reply To: [EMAIL PROTECTED]
Sent: Tuesday, December 26, 2000 3:02 PM
To: '[EMAIL PROTECTED]'
Subject: RE: How to exit from JSP page
in a java section at the beginning of the
hi,
i have installed tomcat 3.2.1, with apache 1.3.12 on a linux machine.
it works perfectly fine on port 8080, but when i include it with
apache conf (i.e. tomcat-apache.conf) and try to access the same jsp/servlet
file, it gives 403 forbidden error.
my http user in apache is "nobody:nobody"
Hi
I've got my website uprunning http://www.be-day.com and it is
completely running using Tomcat. We are selling domainnames for .BE
(Belgium) Everything works fine but our latest feature : URL Forwarding.
Tomcat always reports : HANDLER THREAD PROBLEM :
java.lang.NullPointerException
We
For tomcat 3.2 or up,mod_jk.so is needed.You should download, copy it into your
apache directory/libexec and include "your apache directory/conf/mod_jk.conf-auto"
into the last line of httpd.conf.The latter is automatically created when Tomcat is
exclusively initiated on port 8080.
To
In advance,apache needs to be compiled with ./configure --enable-rule=SHARED_CORE
--enable-module=so.
Parvez wrote:
hi,
i have installed tomcat 3.2.1, with apache 1.3.12 on a linux machine.
it works perfectly fine on port 8080, but when i include it with
apache conf (i.e.
Hi All,I hope someone will help me to make it.
(Hopefully..)
System Details of my
machine:- Tomcat 3.2.1 Apache 1.3.14
for WINDOWS mod_ssl 2.7.1 Open
SSL 0.9.6 WINDOWS NT 4.0 (SP5)I'm interested
to implement SSL w/Apache with Digital Certificate.For doing
this could u please
yes ,
i've apache compiled as --enable-shared=max
i think it is the mod_jk.so problem, i'm working on it.
thanks.
parvez
And Then NSB)Hiroshi Kasamatsu wrote .
In advance,apache needs to be compiled with ./configure --enable-rule=SHARED_CORE
--enable-module=so.
Parvez
Apache
1.3 on Linux (2 processors)with Tomcat 3.2.1 and
mod_jk.
When
traffic to our site increases, tomcat freezes and does not
respond.
I have
to kill tomcat, and restart apache and tomcat to get it to work
again.
Any
known issues or configuration problems that would cause
that?
Is
Also...403 error sometimes is caused when you do not allow the proper
permissions on the work directory where the jsp's are compiled
Todd
-Original Message-
From: NSB)Hiroshi Kasamatsu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 26, 2000 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re:
On 12/26/2000 at 3:21 PM Ramesh Kumar . T wrote:
Can I deploy dynamic web applications in Tomcat?
Yes. For example, the Jakarta Struts projects includes sample
applications as WAR files.
Can I have my servlets in any other directory other than
WEB-INF/classes? The purpose is that I need to
Hi.. I am just a beginner..
Actually, I am getting an error messege that says
==
C:\jakarta-tomcatnet start Tomcat
The Tomcat service is starting.
The Tomcat service could not be started.
The service did not report an error.
More help is available by
Hi,
you can use jk_nt_service only for Tomcat/3.2.1.
Do not use it for any higher version.
If you've Tomcat/3.2.1 the problem could be the following:
You should type the service name in ("") like:
[C:\] jk_nt_service -i "Apache Tomcat" path\to\tomcat'sproperties
then start it via system
-BEGIN PGP SIGNED MESSAGE-
Hi,
i am taking many problems with MultipartRequest class from Jason' s book
whenever i try to upload some fields and a file from the SAME form. I have
written some commands like System.out.println to show me the fields
contents, but i dont know where i can see
_Web Development with JavaServer Pages_, Duane Fields and Mark Kolb, ISBN
1-884777-99-6. Manning Publications.
Complete and readable.
Andrew
-Original Message-
From: chew [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 24, 2000 9:43 PM
To: [EMAIL PROTECTED]
Subject: JSP Book
Hi All,
I am using tomcat 3.2.1 and apache on my Linux server. jsp's and servlets are working
fine. But my .jhtml files are not working. i placed
ApacheJServAction .jhtml /test/servlet/org.apache.servlet.ssi.SSI
this line on the tomcat.conf file. here /test is a context of tomcat. and I
hi
i guess it is going to be potentially dangerous as it can cause the
entire tomcat to shutdown..
Dont use it..
Hope this helps
Anand
On Tue, Dec 26, 2000 at 03:09:19PM +0530, Partha Bhattacharjee wrote:
check Syste.exit(0)
-Original Message-
From: Deepak C S [mailto:[EMAIL PROTECTED]]
Hi,
I tried searching the FAQ, but cant seem to find how to
compile mod_jserv.so.
I have downloaded the tomcat 3.1.1 source.
Where can I find the command to compile the so and with
expanations of
any compile flags that are used ?
Thanks
Shahed.
interested to hear
if somebody successfully had set up JB4 with Tomcat 3.2 or 4.
I followed the directions there pretty much as given, for
JBuilder 4/Tomcat 3.2.1 on win2k. Ignore the Tomcat bundled
with JB4 (it's a nice thought but it doesn't support
configuring webapps very well), just
I did exactly all steps of
Nt-Service-HOW-TO.html
But i did not work.
I creates successfully the Service Entry, but I can
not start it.
It returns no error messages, but it could not
start it.
Thanks for your help.
José O. Flores SInnovática, SA trab:
534-3345 ext 2124cell:
A word of caution. Netscape 3.xx and 4.xx have a problem where they will
not read cookies properly when the domain is not legal.
That is, they treat:
www.myhost.com
and
myhost.com
as two different domains
IE and Opera are both kinder and gentler with this and treat them as the
same. I
Make sure the wrapper.properties file does not have any spaces in the the
paths listed in that file.
For instance,
instead of:
wrapper.tomcat_home=C:\Program Files\Apache Group\Jakarta\Tomcat
use:
wrapper.tomcat_home=C:\Progra~1\Apache~1\Jakarta\Tomcat
Any paths with spaces cause the
Depending on what you're trying to do, it might also be useful to run the
back-end operation in a hidden frame. You can let a process run that way
and use JavaScript to notify the user when it has completed.
- Original Message -
From: William Brogden [EMAIL PROTECTED]
To: [EMAIL
Hello all,
I have just set up tomcat to run on netware 5.1 sp1, all
the samples work fine. Next step is to get the
NSAPI_RD.nlm working with the Enterprise server running on
NetWare. I have made the following modifications to the
obj.conf file:
Init fn="load-modules"
Hi,
I'm using Tomcat 3.2-b7 on Linux and I noticed that when I start tomcat it
opens a lot of processes, all of theme running
org.apache.tomcat.startup.Tomcat. Why there are so many processes (in my
case about 50)? how this processes can be controlled?
Thanks.
Hi, everyone.
I'm getting errors when running the tomcat.sh shell script to start
up Tomcat 3.2 on RedHat Linux 6.2.
: command not found
: command not found
: command not found
: command not found
'ash: syntax error near unexpected token `do
'ash: tomcat.sh: line 93: `for i in
But when the page finishes and there is no reference to the threaded object, won't the
thread die?
--- William Brogden [EMAIL PROTECTED] wrote:
"David M. Holmes" wrote:
Is there a way to spawn a thread from a JSP that will live after the page goes out
of scope?
There is nothing
I'm not sure how much help this is, but... IBM has there version of Apache with SSL
called the IBM
HTTP Server.
--- amit [EMAIL PROTECTED] wrote:
Hi All,
I hope someone will help me to make it. (Hopefully..)
System Details of my machine:-
Tomcat 3.2.1
Apache 1.3.14 for
The Linux ps command mis-reports threads as processes.
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg00639.html
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg00583.html
*** REPLY SEPARATOR ***
On 12/26/2000 at 8:41 PM Eli Sherman wrote:
What is it that you are actually trying to do?
(The end to which keeping this thread alive is a means?)
*** REPLY SEPARATOR ***
On 12/26/2000 at 10:54 AM David M. Holmes wrote:
But when the page finishes and there is no reference to the threaded
object, won't the thread die?
"David M. Holmes" wrote:
But when the page finishes and there is no reference to the threaded
object, won't the thread die?
Well, the thread _has_ to be referenced somewhere internally - how else
should the JVM be able to switch between them? :)
Don't worry, it won't just die...
--
Kurt
But when the page finishes and there is no reference to the threaded
object, won't the thread die
The thread dies when the run methods exits.
It has nothing to do with references. The thread object will be garbage
collected when there are no more references and the run method has exited
Filip
We have a custom tag that is in every JSP that creates a socket connection to a target
server and
POSTs some data do a page on the target server that writes the data to a database. The
issue we
are having is that we don't want to delay the user's response by doing the socket
connection
Thank you!
--- Filip Hanik [EMAIL PROTECTED] wrote:
But when the page finishes and there is no reference to the threaded
object, won't the thread die
The thread dies when the run methods exits.
It has nothing to do with references. The thread object will be garbage
collected when there
Christian Parpart wrote:
Hi all
the documentation tells, that you're able to declare
aliases for host names.
Host name="www.myhost.com"
Alias name="myhost.com"/
...
/Host
Now this host should be accessable from
http://www.myhost.com and
http://myhost.com.
but the second
"David M. Holmes" wrote:
We have a custom tag that is in every JSP that creates a socket connection to a
target server and
POSTs some data do a page on the target server that writes the data to a database.
The issue we
are having is that we don't want to delay the user's response by
Pete,
As you may have gathered from the archives of
this list, both the linux and the freebsd makefiles
for mod_jk.so, apache 1.3 have issues.
I was able to get things working on FreeBSD 4 stable
using an email from Andrea ([EMAIL PROTECTED])
dated Wed, Dec 6, 2000.
In that mail you will find
Oh, I did this before, no problem. But that's like using Tomcat as an ordinary
"Application" in JB4 terms. I meant injecting 3.2 in a same way as a builtin 3.1
(as a "JSP/Servlet" type app) that enables convenient things like easy JSP
debugging, http trace, builtin browser (though it doesn't work
Hi everybody!
I've just switched over to Tomcat 3.2.1 and experienced some bad behaviour
in this new release as opposed to Tomcat 3.1. It takes several(10-20)
seconds to create a new user session (HttpSession =
request.getSession(true);).
Does anybody know what I can do about it?
Thanks and
Hi Boon,
No, you shouldn't have to recompile apache!
I am on FreeBSD. See if you can get someone to
post a working mod_jk.so linux makefile to the list.
Any linux hacker types out there have one?
BTW Happy holidays...
Dave
- Original Message -
From: "Boon Yeo" [EMAIL PROTECTED]
To:
Hi,
I'm trying to get the MS Loopback Adapter to work so that I can call Apache
from my browswer on my laptop with http, even though I'm offline.
At this point, I get a message saying that the current page is not available
offline. The loopback adapter is supposed to fool my OS into thinking
You
can also try gvim for windows.
Shuklix
-Original Message-From: Peter Brandt-Erichsen
[mailto:[EMAIL PROTECTED]]Sent: Saturday, December 23, 2000
1:01 AMTo: [EMAIL PROTECTED]Subject: Re:
How to modify the files in tomcat
Use a decent text editor...like
Ultra Edit
It
happens with tomcat frequently(my personal observation), you can try thread
pooling with tomcat, load sharing (ie using more servers if you got money
:) or using more of apache which is quite robust by
pregenrating the more accessed pages and let apache serve
them.
Regards,
Shuklix
archives and google will be of great help.
Shuklix
-Original Message-
From: Eli Sherman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 27, 2000 12:12 AM
To: '[EMAIL PROTECTED]'
Subject: tomcat processes
Hi,
I'm using Tomcat 3.2-b7 on Linux and I noticed that when I start tomcat
Hello:
I am confused about how I can get users to authenticate
themselves before accessing a servlet in my web application.
I tried to look at th archive of this list, but the search
function is broken.
Therefore, I have been reading the servlet 2.3 specification and
added the following lines
one a side note:
we have now named every possible editor on the
planet.
I think we got the message :-)
enjoy your holidays, and happy new year
everyone
Filip
- Original Message -
From:
Saurabh
Shukla
To: [EMAIL PROTECTED]
Sent: Tuesday, December 26, 2000 11:19
Hello,
I need to put some static objects into a web
application context at start-up time... I want to set the context when the
application is going up. Where should I put this? In web.xml?
Thanks,
Nicolás
I am running a SCO Unixware 7.1.1 box with apache 1.3.14 I have tomcat 3.2.1
source downloaded, compiled, and installed. When i go to compile mod_jserv
to get the so file and set up the interface with apache i get an error as
follows
//command to start the compile
apxs -c -o mod_jserv.so *.c
If you use Apache 1.3.14 and Tomcat 3.2.1 I would recommend using mod_jk
instead.
mod_jserv will not be supported later on, and mod_jk includes some enhanced
features.
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
Filip
- Original Message -
From: "Jed Duty"
Nacho wrote:
This is the very first time you attempt to create a session, caused by
Random Number Generator init, this is fixed in 3.2.2 initializing the
RNG at init and in a fastest way,
Setting the environment variable TOMCAT_OPTS to
"-Dtomcat.sessionid.randomclass=java.util.Random" might
I'm using Tomcat 3.2.1.
I have a page set up using includes and on one of these includes, certain
images are set up on the page. However, when I try to load the page I get
this error:
2000-12-27 10:43:10 - Ctx( ): IOException in: R( +
/images/login_leftnav_bottom.gif + null) Connection
Using the mod_jk together with Apache and Tomcat.
will the URLs http://localhost and https://localhost from the same browser
result in two different sessions in Tomcat?
thanks
Filip
I got an error message on dos window when startup.bat of Tomcat3.2v7 was
carried out.
out of memory for environmental variables
Unable to set the CLASSPATH dynamically.
Note to set the CLASSPATH dynamically on Win9x sistems
only DOS8.3 names may be used in TOMCAT_HOME!
My autoexe.bat is as
Dave,
Thanks for your help.
There appears to be a conflict between mod_python.so
and mod_jk.so that had prevented mod_jk.so from
loading. By removing all references to python, tomcat
is now up and running.
Now, isn't that queer.
Happy New Year.
Regards,
-Boon
- Original Message -
I'm using tomcat 3.2. I need to add URL pattern programmatically without
restarting tomcat. Right now I'm follow the lead from the admin example. Is
it the right place to look? Also is that any documentation on the
architecture of tomcat?
Thanks,
Wai yip
Hello:
I am wanting to setup Tomcat with Virtual Hosts. However I am concerned about the fact that it will be a single instance and that there is no actual way for the end users of the virtual hosts to upload and refresh the servlet engine. Does anyone know of an interface that can be used with
Hi,
I'm having a lot of trouble getting mod_jk or mod_jserv to work. I cannot
compile mod_jk or mod_jserv myself. Both generate an apxs:Break errors.
I tried downloading a prebuilt mod_jk.so rpm but when i set that all up,
apache complains with "API module structure 'jk_module' in file ... is
I am close, but seem to be missing something.
I am running apache with mod_jk
i am using
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
I will try to be short in my description.
I have a servlet that loads up a class and then redirects it to a JSP.
This works fine,
Hi All,
I am using tomcat 3.2.1 and apache on my Linux server. jsp's and servlets are working
fine. But my .jhtml files are not working. i placed
ApacheJServAction .jhtml /test/servlet/org.apache.servlet.ssi.SSI
this line on the tomcat.conf file. here /test is a context of tomcat. and I
Tomcat 3.1, jserv module, and Apache 1.3.14 are installed and running on
RedHat 7.
The examples are running with the URL
http://newhost/examples/servlet/HelloWorldExample and
http://newhost:8080/examples/servlet/HelloWorldExample
I have an application called "Bookstore" that was running on a
Niell,
If your 'Include'ing the tomcat-apache.conf (the config that tomcat
automatically generates) then you may just need to restart apache for it to
pick up the new servlet contexts.
If you're not using the tomcat-apache.conf file then you'll probably be
using the tomcat.conf file. You'll
Now I can get some sleep. Many thanks!
I installed everything from RPM's and the include statement was added with
the jserv mod. After adding the ApJservMount context statement to
tomcat.conf and restarting TomCat and Apache, the application is running
excellently.
I meant to give the source of
Jason,
I think I understand what you are getting at.
Tomcat
can be set up to run in such a way that each
user
can have their own process. At least that's how
my
ISP (TheSphere) does it. I can start and stop
my
own tomcat process without interfering with
other
users. The ContextManager in
I am new to this area.pls give some advice how
to start all this up(apache server running on linux platform).
Later i will need to use php and postgreSQL
and perhap jsp.Are all these combation can work together?
Thanks.
66 matches
Mail list logo