Use cascading style sheets that reside on the web server to set the
look/feel for any jsp output. With a jk1 connector, you can use the
same app server in many different web servers. I'd suggest setting up
an ajp13 connector in the server.xml for each different web server you
wish to connect
The easiest way is to run multiple copies. For example:
/usr/local/tomcat1/ ...
/usr/local/tomcat2/ ...
/usr/local/tomcat.../ ...
If the configurations are the same, then you can use the same copy of
server.xml for all the instances. Then for items which need to be different
such as port and ip
Greg Lappen wrote:
Also, I'm thinking that I probably don't want them both running off
the same install directory because what if I want to test a new
version of Tomcat in the test environment? The only thing I'm saving
by having them both run from the same directory is a few megs of space
Jim,
[what is the best way to debug JSP's ???]
The very best thing to do with JSPs is never put any Java code into
them. If you can avoid that, and always use taglibs or other JSP
directives, etc. then you'll be much better off.
(BTW, is there a way to get at the servlet that's generated by
Hola,
I hope this isn't terribly off topic, but I couldn't think of a better
list...
No, it's not off topic. Best way to debug JSPs? Hmm, how about not use
any? Just kidding. (Partially).
- Have plenty of logging statements in the JSP, outputting various
variable values.
(BTW, is there a
,
don jones
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wed 11/5/2003 8:06 AM
To: Tomcat Users List
Cc:
Subject: RE: best way to debug JSP's ???
Hola,
I hope this isn't
Thanks for all the responses!
jim
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Don,
Could you send a copy of your JSP debugging page?
Thanks,
jim
-Original Message-
From: Don Jones [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 9:18 AM
To: Tomcat Users List
Subject: RE: best way to debug JSP's ???
One of the techniques I use alot is to include
The very best thing to do with JSPs is never put any Java code into
them. If you can avoid that, and always use taglibs or other JSP
directives, etc. then you'll be much better off.
I second the use of tag libraries. Also, with a decent IDE (such as Eclipse)
you can refactor the code in your
Topic most likely to start a flame war.
I like to do things manually. In 4.0 - I always edit server.xml and keep my
webapps out of the webapps dir. By doing a manual restart - I can guarantee
when my JVM crashes (or other stuff occurs) - I can guarantee it will restart.
In 4.1 - I plop an XML
PROTECTED]
Sent: Wednesday, June 18, 2003 7:02 AM
To: Tomcat Users List
Subject: Re: Best way to deploy an application?
Topic most likely to start a flame war.
I like to do things manually. In 4.0 - I always edit server.xml and
keep my
webapps out of the webapps dir. By doing a manual restart - I can
2 easy(but not the only) ways:
1 - Hack catalina.bat to redirect standard output to a file.
2 - Use cygwin and stdout/error will go to logs/catalina.out
-Tim
Matt Fury wrote:
Hi All,
I am doing some native programming with Java and C++
DLL. The DLL works the first time around through a JSP
page
I use WebApp, but that seems to be not the one for the
future. I just posted a reply on another question with
config extract included for WebApp. It works fine and it
is really easy to understand what's happening.
Bert Catsburg
Marc Boorshtein wrote:
Hello,
I am trying to setup tomcat to work
If your machine has no development environment, you're basically out of
luck. Apache modules are version-sensitive. .43 and .44 are module
compatible, but earlier versions of Apache are not compatible with modules
compiled for later versions.
All of the binaries that I'm aware of are for
I think there was a RequestInterceptor that someone wrote a while ago for
3.2.x. you can search through the archives.
you should look into 3.3 or 4.x as I belive both contain a way to do it
easily and they have additional features that you may find usefull.
I wouldn't add the complexity of
Utech - Han Lim at [EMAIL PROTECTED] wrote:
Hi, does anybody here can explain step by step the best way to install
Apache+Tomcat+Jboss? Or any reference will be appreciated. Thanks.
For Apache and Tomcat, look at the website. For Jboss, you got the wrong
mailing list :)
Pier
Loïc Lefèvre at [EMAIL PROTECTED] wrote:
Hi,
I would like to know what is the best way to
change tomcat package?
Encoutering many problems with mod_rewrite + tomcat serlvet aliasing,
I want to plug some code to enhance the way url-pattern are managed
(by using jakarta oro).
Have
to manage it and thus enhance considerably Tomcat
servlet aliasing ;)
Loïc Lefèvre
If you can't have something...
Build it!
-Message d'origine-
De : Pier P. Fumagalli [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 31 juillet 2001 12:15
À : [EMAIL PROTECTED]
Objet : Re: Best way to...
Loïc
Jsp is no different from other when it comes to
client side.
Why don't you just link the client actions to
specific or generic Jsp pages just as normal!
Original Message -
From:
Sebastian Schulz
To: [EMAIL PROTECTED]
Sent: Wednesday, February 21, 2001 5:06
PM
..
rd.forward(req,res);
this is my solution, witch work also with session-suport for frames,
but i'm not very happy with it.
bAs T.
- Original Message -
From: Jones, Stephen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 21, 2001 6:51 PM
Subject: RE: best way
server out to
the client (for those worried about the load on their servers).
Randy
-Original Message-
From: Jones, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 12:52 PM
To: '[EMAIL PROTECTED]'
Subject: RE: best way to handle Servlets+JSPs+multiple Frames?
In o
al Message-
From: Sebastian Schulz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 12:10 PM
To: [EMAIL PROTECTED]
Subject: Re: best way to handle Servlets+JSPs+multiple Frames?
hi Stephen,
thank you for your solution.
But if i'm not mistaken your example needs
In our product, we use forms to POST user input data. We usually send the
input to another JSP page, but I don't see why this would not work for a
servlet's doPost(HttpServletRequest, HttpServletResponse) method.
e.g.:
form name="ReqAttMod" id="ReqAttMod" method="POST"
..
rd.forward(req,res);
this is my solution, witch work also with session-suport for frames,
but i'm not very happy with it.
bAs T.
- Original Message -
From: Jones, Stephen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 21, 2001 6:51 PM
Subject: RE: best way to handle
essions normally since the original post
will have updated the session and returned
when the other pages get refreshed.
Does this help?
-Original Message-
From: Sebastian Schulz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 11:10 AM
To: [EMAIL PROTECTED]
Subject: Re: b
25 matches
Mail list logo