I am still stuck with this one (shouldn't have posted it on a Saturday
morning!).
I don't think it is my web.xml giving the problem - I am looking into
possible problems with missing or conflicting jar files
Reading through the release notes again for Tomcat 5.5.9, there is a
listing of the
Hi,
my Tomcat 5.5.9 has the commons-logging-api.jar in the bin directory.
Did you look there, too?
John Pedersen wrote:
I am still stuck with this one (shouldn't have posted it on a Saturday
morning!).
I don't think it is my web.xml giving the problem - I am looking into
possible problems
Phew! Solved. For those who find the same problem
I had a copy of standard.jar in JAVA-HOME\lib\ext as well as in
TOMCAT-HOME\web-apps\appName\WEB-INF\lib
I think I tried putting it there a while ago, trying to fix something
else, and must have forgotten to remove it.
Thanks Cristoph...
This is what happens in JSPService.java around line 249:
try {
boolean precompile = preCompile(request);
serviceJspFile(request, response, jspUri, null, precompile);
} catch (RuntimeException e) {
throw e;
} catch (ServletException e) {
Christoph,
I think there may be a little delay with the mailing list. The problem
is solved. For reference, yes, I too have the commons-logging-api.jar
in the bin directory! Wonder why it was put there - that seems a
little inconsistent, but I don't know enough about Tomcat to judge the
matter.
John Pedersen wrote:
Christoph,
I think there may be a little delay with the mailing list. The problem
is solved. For reference, yes, I too have the commons-logging-api.jar
in the bin directory! Wonder why it was put there - that seems a
little inconsistent, but I don't know enough about
Hi,
I had an app that was working - then I upgraded to Tomcat 5.5.9, and Java 1.5.
Now I get a javax.servlet.ServletException:
javax/servlet/jsp/tagext/TagLibraryValidator when I try to start the
app. I have followed all the google links for this problem and trawled
through the docs - I'm stuck
Hi,
I had an app that was working - then I upgraded to Tomcat 5.5.9, and Java 1.5.
Now I get a javax.servlet.ServletException:
javax/servlet/jsp/tagext/TagLibraryValidator when I try to start the
app. I have followed all the google links for this problem and trawled
through the docs - I'm stuck
Bounced twice...
-- Forwarded message --
From: John Pedersen [EMAIL PROTECTED]
Date: 16-Jul-2005 08:03
Subject: ServletException: javax/servlet/jsp/tagext/TagLibraryValidator
To: tomcat-user@jakarta.apache.org
Hi,
I had an app that was working - then I upgraded to Tomcat 5.5.9
: ServletException: javax/servlet/jsp/tagext/TagLibraryValidator
To: tomcat-user@jakarta.apache.org
Hi,
I had an app that was working - then I upgraded to Tomcat 5.5.9, and Java 1.5.
Now I get a javax.servlet.ServletException:
javax/servlet/jsp/tagext/TagLibraryValidator when I try to start the
app. I have
).
Please check the list before reposting.
John Pedersen wrote:
Bounced twice...
-- Forwarded message --
From: John Pedersen [EMAIL PROTECTED]
Date: 16-Jul-2005 08:03
Subject: ServletException: javax/servlet/jsp/tagext/TagLibraryValidator
To: tomcat-user@jakarta.apache.org
and then this one).
Please check the list before reposting.
John Pedersen wrote:
Bounced twice...
-- Forwarded message --
From: John Pedersen [EMAIL PROTECTED]
Date: 16-Jul-2005 08:03
Subject: ServletException: javax/servlet/jsp/tagext/TagLibraryValidator
To: tomcat-user@jakarta.apache.org
I have emailed the list administrator.
Here is the complete stack trace:
ERROR[cessor24]: framework.web.servlet.DispatcherServlet 11485 -
Could not complete request
javax.servlet.ServletException: javax/servlet/jsp/tagext/TagLibraryValidator
]: framework.web.servlet.DispatcherServlet 11485 -
Could not complete request
javax.servlet.ServletException: javax/servlet/jsp/tagext/TagLibraryValidator
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802
-
Could not complete request
javax.servlet.ServletException: javax/servlet/jsp/tagext/TagLibraryValidator
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802
Riyad,
Close, but it's more like this:
1 client (user) == 1 session.
In most cases your client (assuming it's a browser) would only send
one request, which would translate into one thread, and therefor you
wouldn't have a threading issue with your Session object. There is no
guarantee that
The subject is sort of a brain dump of what is going on, let me
explain what is happening:
Setup:
ControllerServlet loads page content from DB and stores it in the
session under a well known key, then it uses a requestDispatcher to
send control to the appropriate JSP to render the content. So it
Riyad,
You should not be using the Session object to store your DTO for
display. Especially if you are forwarding the request to a JSP. The
Session object should only be used to store data that is required to
remain in server memory between client requests. I would place your
DTO in the
If you have a servlet/jsp which uses java.util.logging. Logger.global
and use the global logger, the output seems to go nowhere.
For example the following jsp page only logs printed.
%
java.util.logging.Logger.global.severe(not printed);
java.util.logging.Logger.getLogger(foo).severe(printed
I have looked at the JavaDocs, but I can't find a method that will give me
the context path for a web app:
(i.e. Context path=/abcxyz docBase=...) All I want is the /abcxyz
string precisely as defined in the context tag.
I have tried getPath() from the servletContext, but it returns part of the
See HttpServletRequest.getContextPath()
J Malcolm wrote:
I have looked at the JavaDocs, but I can't find a method that will give me
the context path for a web app:
(i.e. Context path=/abcxyz docBase=...) All I want is the /abcxyz
string precisely as defined in the context tag.
I have tried
Dear Friends,
i want to subscribe to the mailing list of tomcat.
I have a doubt here
i successfully installed tomcat 5.x in my windows
server
but when i tried to run my first sample application
i
caould not succeed
i downloaded the sample file and placed it in the
webapps folder.
Please take a look at
http://www.moreservlets.com/Using-Tomcat-4.html#Configure-Tomcat
It gives instructions on the installation of Tomcat
and compiling and testing simple Servlets and JSPs.
Please let us know if you still run into problems.
--- K thiruthuvadas [EMAIL PROTECTED] wrote:
Dear Caroline,
Thanks for the instant mail. It is amazing to find
that the support is almost instantaneous for Tomcat
Jakarta Webserver.
I solved the problem by shutting down my IIS admin
service which was occupying the 8080 port
thanks again for the link
Das,
Two things:
First, whenever writing to the list, please start a new thread instead
of just clicking 'reply' from another message. To those of us using
treaded mail clients, you've just hijacked someone else's thread.
Second, it looks like the sample war file on the jakarta site is
Hi-
I have apache and tomcat (running as a Servlet/JSP container) running on
separate servers and I'm using mod_jk to redirect. Apache is all buttoned
up with mod_ssl but I'd like the communication between apache (with
mod_jk) and Tomcat (running as a Servlet/JSP container
My Config: Redhat 9, Apache 2.0.47, mod_jk 1.2.6, Tomcat 4.1.29
It takes a second request (to port 80) to get a jsp or servlet output to
display in the browser: I type in the url (jsp or servlet) and hit Enter,
the browser (Mozilla and IE) spins indefinitely. I then highlight the
address line
At 09:18 AM 2/10/2004, Brent Parker wrote:
My Config: Redhat 9, Apache 2.0.47, mod_jk 1.2.6, Tomcat 4.1.29
It takes a second request (to port 80) to get a jsp or servlet output to
display in the browser: I type in the url (jsp or servlet) and hit Enter,
the browser (Mozilla and IE) spins
Hi all,
Does anyone have a recommended way of displaying a
busy page while tomcat executes a servlet or JSP?
I've done this before using JavaScript to flip the
display to busy on the client, but I wondered if
there was a more generic way using Filters or something.
Many thanks as always,
Chris Ward [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
Does anyone have a recommended way of displaying a
busy page while tomcat executes a servlet or JSP?
I've done this before using JavaScript to flip the
display to busy on the client, but I wondered if
there was a more
Hi all ,
I have some questions for which I was unable to find answers by
Googling. So I am asking it here. It is quite long.
1, Is there any security threat for Tomcat 4.1 series. I am using Tomcat
4.1.27 for development. What is the history of Tomcat in this regard. Is
Tomcat vulnerable to
[inline]
Antony Paul wrote:
1, Is there any security threat for Tomcat 4.1 series. I am using Tomcat
4.1.27 for development. What is the history of Tomcat in this regard. Is
Tomcat vulnerable to any remote exploitation issues provided that the
application is well written. I want to collect some
:
javax/servlet/jsp/tagext/TagLibraryValidator
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
java.lang.NoClassDefFoundError:
javax/servlet/jsp/tagext/TagLibraryValidator
java.lang.ClassLoader.defineClass0
error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: javax/servlet/jsp/tagext/TagLibraryValidator
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
servlet invoker
2003-10-01 04:57:14 StandardWrapper[/test:jsp]: Marking servlet jsp as unavailable
2003-10-01 04:57:14 StandardContext[/test]: Servlet /test threw load() exception
javax.servlet.ServletException: Wrapper cannot find servlet class
org.apache.jasper.servlet.JspServlet or a class it depends
4.1.27 needs a hotfix. As in this bugreport:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096
-Tim
Jonathan Simms wrote:
I'm running a clean install of tomcat 4.1.27, and have been able to run
the struts-examples, the admin webapp (to my great surprise), and even
some of the examples from
Jeez! So I'm not nuts?
Thanks for the quick reply.
4.1.27 needs a hotfix. As in this bugreport:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096
-Tim
Jonathan Simms wrote:
I'm running a clean install of tomcat 4.1.27, and have been able to run
the struts-examples, the admin
AFAIK, no such benchmarks have been made.
Once tomcat loads a servlet, it is loaded. Tomcat currently does not
unload
servlets due to lack of use.
Is this the case with Tomcat 5?
Lukas
-
To unsubscribe, e-mail: [EMAIL
Lukas Bradley [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
AFAIK, no such benchmarks have been made.
Once tomcat loads a servlet, it is loaded. Tomcat currently does not
unload
servlets due to lack of use.
Is this the case with Tomcat 5?
Currently, yes.
Lukas
AFAIK, no such benchmarks have been made.
Once tomcat loads a servlet, it is loaded. Tomcat currently does not unload
servlets due to lack of use.
-Tim
Lukas Bradley wrote:
All,
Where can I get a description of how Tomcat handles a Servlet lifecycle from
init() to removal from memory? I'm
All,
Where can I get a description of how Tomcat handles a Servlet lifecycle from
init() to removal from memory? I'm interested in how long a Servlet is held
in memory, and how long it remains inactive before it is removed from the
Servlet pool.
Also, are there performance statistics of the
I've got a servlet in one context that I'd like to
refer to from another.
Is it possible to specify a URL across contexts
without hard-wiring in the host name? Thanks - MOD
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
to be self-contained.
Why don't you put both servlets in the same context?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Michael Duffy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 11:03 AM
To: [EMAIL PROTECTED]
Subject: URL For Calling Servlet/JSP In Different
I've got a servlet in one context that I'd like to
refer to from another.
Is it possible to specify a URL across contexts
without hard-wiring in the host name? Thanks - MOD
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
hi,
when i try to run a JSP file for my application ,i am getting servlet jsp currently
unavailable.
i am using tomcat4.0 ,linux8.0...
is it anything problem with jar files in lib directory..
pls help me at earliest...
thank u
ezhil.a
hi,
i found the following error when i use tomcat server:
HTTP Status 503 - Servlet jsp is currently unavailable
pls let me know the solution for this at earliest.
thanks in advance
ezhil.a
A.Ezhil:
hi,
i found the following error when i use tomcat server:
HTTP Status 503 - Servlet jsp is currently unavailable
pls let me know the solution for this at earliest.
well. Just posting the error message, does not give me (i believe most of us)
enough information, to help you
thanks i am using standalone.. in linux 8.0 tomcat 4.0
while i am trying to open my application jsp page,it displayed that error...
ezhil.a
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
It there a newsgroup of a good mailing list for
servlet/jsp/j2ee/pattern/? I have search for some of them, I didn't find
anything.
Thanks.
Etienne.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
PM
Subject: servlet/jsp/j2ee/pattern/ mailing list
It there a newsgroup of a good mailing list for
servlet/jsp/j2ee/pattern/? I have search for some of them, I didn't find
anything.
Thanks.
Etienne.
-
To unsubscribe, e
[EMAIL PROTECTED]
From: Ron Day [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Simple Bean not working but Servlet/JSP Working
Date: Mon, 23 Sep 2002 10:20:30 -0400
You have to put your java classes in a package. If you do
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Simple Bean not working but Servlet/JSP Working
Date: Mon, 23 Sep 2002 10:20:30 -0400
You have to put your java classes in a package. If you do not, and put
the class files in WEB-INF/classes then Tomcat cannot find them because
[EMAIL PROTECTED]
From: Ron Day [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Simple Bean not working but Servlet/JSP Working
Date: Mon, 23 Sep 2002 10:20:30 -0400
You have to put your java classes in a package. If you do
[EMAIL PROTECTED]
From: Ron Day [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Simple Bean not working but Servlet/JSP Working
Date: Mon, 23 Sep 2002 10:20:30 -0400
You have to put your java classes in a package. If you do
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Simple Bean not working but Servlet/JSP Working
Date: Mon, 23 Sep 2002 10:20:30 -0400
You have to put your java classes in a package. If you do not, and put
the class files in WEB-INF/classes then Tomcat cannot find them because
I'm trying to setup a tomcat 4.0.5 instance on a win2000 machine and integrate it with
sunOne studios/forte (which ever you want to call it). However, anytime I try to
navigate to a jsp, I get this error. Static resources are ok. Servlets give me this
error (or at least the one I tried
Subject: Error 503 The request resource (Servlet jsp is currently
unavailable) is not currently available
I'm trying to setup a tomcat 4.0.5 instance on a win2000
machine and integrate it with sunOne studios/forte (which
ever you want to call it). However, anytime I try to
navigate
PROTECTED]
-Original Message-
From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
Sent: 22. september 2002 20:47
To: [EMAIL PROTECTED]
Subject: Simple Bean not working but Servlet/JSP Working
Hi Experts,
I tried a simple JSP/Servlet applications and it worked. I am
using Apache
not working but Servlet/JSP Working
Date: Sun, 22 Sep 2002 20:47:21 -
do you have the bean specified in a package ?
either put it into a package (and the correct folder) as
/classes/com/domain/packagename/FormBean.class
and then use this (with import line), or remove the package
: Manoj Kithany [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Sun, 22 Sep 2002 20:59:03 +
Subject: RE: Simple Bean not working but Servlet/JSP Working
Hi Mr. Reynir,
THANKS for reply. I have already removed the package name from the
FormBean.java file.
Please help
if any of you Experts could put some light onto
this error.
THANKS!
Manoj G. Kithany
[EMAIL PROTECTED]
From: Ron Day [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Simple Bean not working but Servlet/JSP Working
Date: Mon
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Simple Bean not working but Servlet/JSP Working
Date: Mon, 23 Sep 2002 10:20:30 -0400
You have to put your java classes in a package. If you do not, and put
the class files in WEB-INF/classes then Tomcat cannot find them because
(HttpServlet.java:853)
--
THANKS again.
Manoj G. Kithany
From: David Cassidy [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Simple Bean not working but Servlet/JSP Working
but Servlet/JSP Working
Date: Mon, 23 Sep 2002 16:13:57 +0100
Manoj,
the error message says it all...
'java.util.MissingResourceException: Can't find bundle for base name
forms, locale en_US'
Where is your file that you reference ...
bundle = ResourceBundle.getBundle(forms);
The error message
. Kithany
From: David Cassidy [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Simple Bean not working but Servlet/JSP Working
Date: Mon, 23 Sep 2002 16:45:30 +0100
What's in this properties file ?
The error message mentions
Hi Experts,
I tried a simple JSP/Servlet applications and it worked. I am using Apache
1.3.26 + (Jboss 3.0.3, Tomcat 4.0.4 bundle)
Now, I am trying for simple Bean Application with JSP/Servlets and Html
pages. My directory structure is :
/kithany (root)
/kithany/register.html
PROTECTED]
-Original Message-
From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
Sent: 22. september 2002 20:47
To: [EMAIL PROTECTED]
Subject: Simple Bean not working but Servlet/JSP Working
Hi Experts,
I tried a simple JSP/Servlet applications and it worked. I am
using Apache
not working but Servlet/JSP Working
Date: Sun, 22 Sep 2002 20:47:21 -
do you have the bean specified in a package ?
either put it into a package (and the correct folder) as
/classes/com/domain/packagename/FormBean.class
and then use this (with import line), or remove the package
: Manoj Kithany [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Sun, 22 Sep 2002 20:59:03 +
Subject: RE: Simple Bean not working but Servlet/JSP Working
Hi Mr. Reynir,
THANKS for reply. I have already removed the package name from the
FormBean.java file.
Please help
PROTECTED]]
Sent: Friday, 6 September 2002 6:51 AM
To: Tomcat Users List
Subject: Re: What about setting a script/servlet/jsp timeout?
Concurrent requests to Tomcat each run in their own thread.
There is no easy way to timeout a thread running arbitrary application
code.
So
Hi,
I know you can set session timeouts, is there a way to set
script/servlet/jsp timeouts, so it applies over the whole Tomcat Instance?
At the moment I am doing a lot of loops and some of them, by accident, end
up being never ending and I have to kill tomcat to stop them.
I have had a of look
/servlet/jsp timeouts, so it applies over the whole Tomcat Instance?
At the moment I am doing a lot of loops and some of them, by accident, end
up being never ending and I have to kill tomcat to stop them.
I have had a of look in the doc but haven't been able to find anything.
Nicholas Orr
September 2002 6:51 AM
To: Tomcat Users List
Subject: Re: What about setting a script/servlet/jsp timeout?
Concurrent requests to Tomcat each run in their own thread.
There is no easy way to timeout a thread running arbitrary application
code.
So there is no way to timeout a request.
Regards,
Glenn
I am receiving the following error in the browser:
type Status report
message Servlet jsp is currently unavailable
description The requested service (Servlet jsp is currently unavailable) is
not currently available.
Using some of the debugging tools within Forte I have now discovered
To: [EMAIL PROTECTED]
Subject: Servlet jsp is currently unavailable
Hello,
I am having some difficulty in debugging this problem. I am
using the Forte for Java 4 (Community Edition) IDE, and I
have finally begun figuring out that the error that I have
been receiving appears
PROTECTED]]
Subject: Servlet jsp is currently unavailable
Hello,
I am having some difficulty in debugging this problem. I am using the
Forte for Java 4 (Community Edition) IDE, and I have finally begun figuring
out that the error that I have been receiving appears to be a configuration
problem
() for servlet jsp
threw exception
java.lang.IllegalArgumentException: Unterminated quote
at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:689)
at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:494)
at java.text.SimpleDateFormat.init(SimpleDateFormat.java:443
. - We use information technology to
solve business problems on your plant floor.
http://stratuscom.ca
-Original Message-
From: Djaballah BOUCHEGRA [mailto:[EMAIL PROTECTED]]
Sent: May 21, 2002 05:24
To: [EMAIL PROTECTED]
Subject: Servlet/Jsp
I have a servlet that sets an attribute
I have a servlet that sets an attribute in the request
object containing a
bean:
...
MyBean bean = new MyBean();
bean.setS(Hello);
req.setAttribute( mybean, bean );
...
And that gets forwarded to my JSP page:
...
RequestDispatcher dispatcher =
Hi guys
I need to noe how u guys design yr servlet/jsp for lets say displaying a
search result
for e.g. the normal way would be embedding all the code within a jsp page
connectionBean is a javabean to connect to database..
%
//inistialise connection bean ...
//pseudo code... declare resultset
Just from reading the error logs you sent:
root cause
java.lang.NoClassDefFoundError: org/xml/sax/SAXException
...it sounds like your classpath for JBuilder doesn't include this class.
J.
--
You're only jealous cos the little penguins are talking to me.
Internal Server Error
description The server encountered an internal error (Internal Server Error) that
prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
at org.apache.catalina.core.StandardWrapper.load
Did anybody think about this one...
-Original Message-
From: Vinay Singh
Sent: Sunday, January 20, 2002 6:18 PM
To: '[EMAIL PROTECTED]'
Subject: Servlet JSP don't get served / tomcat 3.2.3 / apache
1.3.20 / solaris 8
Dear Open Source Campions !!
It took me
Dear Open Source Campions !!
It took me days to figure out how to compile mod_jk.so (which works) for
Aapche 1.3.20 and Tomcat 3.2.3 on Solaris 8.
Now I am trying to use ajp connector to run a servlet, which comes in
example application through ajp12 connector configured on default 8007
port.
-
From: Robin Lee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, January 03, 2002 9:37 AM
Subject: Re: servlet/jsp executing twice at the same moment
Is it just JSP's or Servlets too? My problem is just servlets (although i
have yet to see any jsp's run twice)...
I'm
-
From: Robin Lee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, January 03, 2002 9:37 AM
Subject: Re: servlet/jsp executing twice at the same moment
Is it just JSP's or Servlets too? My problem is just servlets (although i
have yet to see any jsp's run twice
]
@uls.comcc:
Subject: Re: servlet/jsp executing twice
at the same moment
01/04/02
It is not that my code continues to run, but that the ENTIRE jsp runs
twice. Spent 3 hours last night on this and still could not find a
resolve. I'm not sure if it is a bug or some configuration problem. Some
jsp's run once and some run twice. Fortunately for debugging purposes, the
same
: servlet/jsp executing twice at the same moment
It is not that my code continues to run, but that the ENTIRE jsp runs
twice. Spent 3 hours last night on this and still could not find a
resolve. I'm not sure if it is a bug or some configuration problem. Some
jsp's run once and some run
, December 17, 2001 11:08 PM
Subject: Re: What's the word on a Servlet/JSP including itself in recursion?
| How are you passing the resultSet back and forth between the JSP's?
|
| I'm not. This is the scatch of the code:
|
| JSP: OUDisplay.jsp
|
| DriverManager.getConnection
Hi all.
Never got a response on this one.
Suppose I have a JSP page or a Servlet that includes ITSELF in recursion. I'm doing
this because I have a n-tree structure and I wish to display a given node with all
it's subnodes. I need recusrion. Period.
So I thought that something like
IMHO Donot do that way.
Keep a single Jsp/Servlet. Rather encapsulate tree in
any suitable Java Collection. (viz. java.util.Tree)
Use iterator interface and accomplish whatever you want to
-Mahesh.
---
Nikola Milutinovic wrote:
Hi
How are you passing the resultSet back and forth between the JSP's?
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
How are you passing the resultSet back and forth between the JSP's?
I'm not. This is the scatch of the code:
JSP: OUDisplay.jsp
DriverManager.getConnection()
Connection.createStatement()
Statement.executeQuery()
while( ResultSet.next() ) {
...
if( recurse )
Is your Tomcat using the security manager?? That would explain the error
message. If so, you'll have to allow access to the datasource in
catalina.policy. Otherwise it should work.
--David
On Wednesday 05 December 2001 05:19 pm, you wrote:
Hi, I am unable to connect a servlet or jsp
Hi, I am unable to connect a servlet or jsp running in Tomcat to a MySQL
database. Here are the particulars:
Tomcat Version: 4.0.1
MySQL Version: 3.23.45
MySQL JDBC Driver Version: mm.mysql-2.0.4-bin.jar
Linux Version: Red Hat 7.1 running Kernel Version 2.4.2-2smp
Here
Try using the 2 argument DriverManager.getConnection method:
DriverManager.getConnection(String connectString, Properties
connectProperties);
Where:
connectString doesn't include the ?user=rootpassword=
connectProperties is a java.util.Properties with elements user and
password
: Miao, Franco CAWS:EX [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 2:28 PM
To: 'Tomcat Users List'
Subject: RE: comparison between SERVLET/JSP to Cold Fusion
you need to pay thousand bucks for Coldfusion server first, no free server
in the market like tomcat.
Coldfusion
-
Von: Henry [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 1. November 2001 17:11
An: Tomcat Users List
Betreff: RE: comparison between SERVLET/JSP to Cold Fusion
snip/
Then is there any existing tag library developed for easy
database IO? and tools that bound java beans to databases
On Thu, 1 Nov 2001, Henry wrote:
Date: Thu, 1 Nov 2001 09:10:30 -0700 (Mountain Standard Time)
From: Henry [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: comparison between SERVLET/JSP to Cold Fusion
Then is there any
1 - 100 of 134 matches
Mail list logo