It's probably a class loader issue. As a test pack your classes into a jar
and put it in the common\lib directory where classes12.zip is (remove it
from classes) and try your app again.
Regards.
- Original Message -
From: Christian J. Dechery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
You can still do this (by using 4.1.7 at least) by declaring all the
resources under global resources with different names and then providing a
ResourceLink in each context with the generic name you are using to each
the appropriate resource.
Regards.
- Original Message -
From: Christian
There must me a servlet called somewhere which then hands control over to
the helper classes to do the work ?
Regards.
- Original Message -
From: Christian J. Dechery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 1:10 PM
Subject: Re: Need Ideas... big problem!
A JSP is a servlet, so you shouldn't need to create another class derived
from servlet to do the job.
If your call is directly to a servlet, that servlet can use the code for
parameter lookup itself as is.
Regards.
- Original Message -
From: Christian J. Dechery [EMAIL PROTECTED]
To:
- Original Message -
From: Arshad Mahmood [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 4:12 PM
Subject: Re: Need Ideas... big problem! (long)
A JSP is a servlet, so you shouldn't need to create another class derived
from servlet to do
From: Christian J. Dechery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 6:56 PM
Subject: RE: Need Ideas... big problem! (long)
But that's exactly what I'm talking about...
if doSomething() has to receive parameters, then the answer to my question
(like 10 posts ago) is
Hi,
Let me see if I understand your problem. You have a JSP that creates
business objects, the business object internally used some DAO objects,
each DAO object when it performs it's processing calls DAO.getConnection
(this happens to take some parameters which I assume are hardwired into
The compiler is correct, what happens if an exception is raised. It goes to
your catch block and writes the debug but then there is no return after
that. Maybe you should be re-raising the exception again.
Regards.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc:
Or even simpler why not store it as a parameter in the server.xml. You will
need to add the parameter to each of your contexts in the server.xml as
follows:-
Context path=/examples docBase=examples
..
Parameter name=db.url
$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:177)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:189)
- Original Message -
From: Arshad Mahmood [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, July 05, 2002 2:22 PM
Subject: Re: Tomcat 4.0.3-HTTP
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, July 05, 2002 7:30 PM
Subject: Re: RequestWrapper question
Redisplay of pages with input errors is one of the things that application
frameworks like Struts deal
Because you have put your bean in com.jguru, you need to duplicate this
under WEB-INF/classes. Your bean should then reside as
WEB-INF/classes/com/jguru/FormBean.class.
Regards.
- Original Message -
From: John and Alicia Scott [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July
I assume you have set a value in your code but you haven't pasted into the
message ?
- Original Message -
From: Mats Palats [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 03, 2002 11:16 AM
Subject: Problems with jsp:setProperty
I'm unable to use setProperty with any of
Hi,
I notice that you are doing the JDBC lookup in the init function. This
doesn't appear to work properly (at least on 4.1.6), move the initialisation
code to the doGet/doPost and see if that helps. This cured my JNDI/JDBC
problems.
Regards.
- Original Message -
From: Przemyslaw
The role needs to be manager not tomcat to use the manager application.
Regards,
Arshad
- Original Message -
From: Vikramjit Singh [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, June 11, 2002 1:22 PM
Subject: RE: newbie question urgent plz
yeah i opened my
PROTECTED]
Sent: Tuesday, June 11, 2002 1:48 PM
Subject: RE: newbie question urgent plz
ok changed the role to manager, now i didnt get that error, but this line
FAIL - Unknown command
-Original Message-
From: Arshad Mahmood [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002
Hi,
Are you sure your version of apache supports dynamic libraries. If you have
built it yourself then ensure that you
have enabled module 'so'.
Regards,
Arshad
- Original Message -
From: P.V.Sankar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 10, 2002 12:52 PM
Subject:
Hi,
So the question reduces to:-
1. What are the extra memory requirements for a virtual host/context?
2. How much longer does it take to decide on a servlet/jsp to invoke for
an extra virtual host/context?
From my (limited) understanding of Tomcat, I would say the answer to both of
Hi,
I am trying to use JNDI to access some resources.I wonder if someone knows how to use
the GlobalNamingResources.
Here is a snippet from my server.xml
GlobalNamingResources
!-- the file based cache for all web applications --
Resource name=rohas/filecache auth=Container
Hi,
What is in your server.xml. Have you defined a virtual host for puneet, and
how have you defined the
Context. Send yout server.xml as an attachment and we should be able to see
what the problem is.
Do you get a response by trying
http://localhost:8080/yourcontext/servlet/abc (replace
Message -
From: Arshad Mahmood [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]; tomcat-user
[EMAIL PROTECTED]
Sent: Friday, May 17, 2002 10:30 AM
Subject: Re: How can I redirect only JSP pages to Tomcat?
Which connector are you using, with mod_jk you can simply issue a
JkMount
Which connector are you using, with mod_jk you can simply issue a
JkMount /mysite/* ajp13 to forward all requests under
/mysite to Tomcat.
Regards.
- Original Message -
From: Luca Ventura [EMAIL PROTECTED]
To: tomcat-user [EMAIL PROTECTED]; tomcat-dev
[EMAIL PROTECTED]
Sent: Friday, May
Help,
I keep getting oracle.jdbc.driver.OracleDriver not found error from a JSP
when runing under NT oracle 8.0.5. I have compled and run the java code It
works O.K. Is ther a path setting missing ?? I have copied all oracle driver
classes to the lib directory.
23 matches
Mail list logo