Just a question,
Would Thread.currentThread().getContextClassLoader().loadClass(myclassname) help ?
I don't have TC 3.3, but this works for me in TC 4.0.1
Sriram
2/27/02 6:45:11 PM, Larry Isaacs [EMAIL PROTECTED] wrote:
To deal with a situation like this, I have seen #1 below
implemented by
2/27/02 10:00:37 PM, Andrew Rodwell [EMAIL PROTECTED] wrote:
Hi,
I am trying to use a bean in my jsp.
jsp:useBean id='lineB' scope='page' class='fwLine' type=fwLine /
when it is run I get the following.
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred
2/27/02 11:23:51 PM, Lassie [EMAIL PROTECTED] wrote:
Craig R. McClanahan wrote:
On Wed, 27 Feb 2002, Lassie wrote:
Hi,
Is somebody already aware of the following behavior :
Tomcat is unable to find my JAR files, if I place them into the
MY_CONTEXT/Web-inf/lib directory
2/27/02 11:17:26 PM, Nitin Vira [EMAIL PROTECTED] wrote:
Hello,
I am trying to create an environment that will assist in debugging jsps, i think one
of the basic ways to do debugging is through logging, I want
to log various request coming in along with the request parameters, i checked the
2/27/02 11:03:19 PM, Ken Martin [EMAIL PROTECTED] wrote:
What resources would you recommend for a web and coding savvy
user to get up to speed on using and configuring Tomcat. I'm
strong in HTML and JSP coding, but weak in Unix. Using Mac OS X.
1. Read the documentation. There's really a
2/27/02 5:24:45 PM, dark.wizzard [EMAIL PROTECTED] wrote:
Hi people:
Only a simple question ... Where I deploy into TomCat
structure the files JSP 1.2 and Servlet 2.3 ???
Download Tomcat 4.0.1 from jakarta.apache.org/tomcat/
Start Tomcat, and go to the URL
, and both worked:
getServletContext().getRequestDispatcher(/index.html).include(request,response);
and separately,
getServletContext().getRequestDispatcher(/index.html).forward(request,response);
Thanks again.
Sriram
--- Start of forwarded message ---
From: Sriram Narayanan [EMAIL
2/26/02 3:45:17 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi.
I would like to serve my servlets in another directory
(not in $TOMCAT_HOME/webapps/examples/WEB-INF/classes).
+ I created a directory called '/myfoo'.
+ I changed $TOMCAT_HOME/conf/server.xml:
Context path=
2/26/02 8:00:23 PM, Eduardo Godoy [EMAIL PROTECTED] wrote:
Hi,
I´m using tomcat 4.0.2 and I want to add a new context, without a war file ... so
I used
http://localhost:8090/manager/install?path=/ucrmwar=file:/D:\\Unveil\\web\\ and
tomcat return
OK - Installed application at context path
2/26/02 7:18:32 PM, John Niven [EMAIL PROTECTED] wrote:
Follow the instructions in running.txt for which directories to copy - I'm
at work just now (JRun ;-( ) but off-hand I think it's bin, conf, lib
webapps. Within /conf, you need to edit server.xml so the various ports
don't conflict. Eg.
2/26/02 5:06:13 PM, Antony Bowesman [EMAIL PROTECTED] wrote:
Hi,
We have a realm implementation that authenticates against a user
repository in an EJB container. To do this it uses some proxy classes
to connect to the EJB container. These proxies are also used by web
applications.
Thus,
Hello all,
Holger sent me a mail a few days ago, and I decided to post my reply to the
Tomcat-user mailing list, so that other may also make use of this
information.
Hi Holger,
I can't access my code right away, please try the following:
-- start catalina ---
Hello all,
I am able to use the RequestDispatcher forward control from one JSP page to another.
However I am unable to forward to HTML pages.
From what I read in the Servlet API spec (there's an example for /garden/ etc) and
the docs for RequestDispatcher(), one should indeed be
able to
Hi all,
Here's something interesting that I discovered today. And I was able to find teh
answer simply because of the Tocmat 4 docs !
I am storing objects to MySQL.
When I write objects to the database, there are no problems.
When I read back my objects, using rs.getObject(), I get a
1/17/02 2:38:43 AM, Thomas Thornbury [EMAIL PROTECTED] wrote:
Does anyone know how to get the Tomcat class loader to load a class from
the VisualAge workspace. I'm already loading Tomcat from within
VisualAge? Is this possible?
Here's what I do to debug servlets and the classes that they
Hi Mark,
1/13/02 3:00:50 AM, Mark [EMAIL PROTECTED] wrote:
I thought CLASSPATH isn't used for locating jars in TC 4.0?
You're right, it is not.
I'd meant to say that there's a jaxp implementation being loaded somehow.
In any case, I
do use the startup scripts that come with Tomcat and was
Hi Dennis,
Perhaps, it's all to do with the working folder assigned to the program you run.
When you run c:\Java\jakarta-tomcat-4.0.1\bin\startup.bat from the windows explorer,
the working directory becomes, c:\Java\jakarta-tomcat-
4.0.1\bin\
When you run the shortcut, the working directory
Hi, I don't know what release of Tomcat JBoss uses, but with all Tomcat releases, the
generated Java files are stored in some directories within the
work directory. Just check for *.java files and you should get your JSP file...
Sriram
1/5/02 9:11:05 PM, James Thornley [EMAIL PROTECTED] wrote:
Hi,nk I am using Tomcat 4.0. I want to install the MM MySQL driver from
mmmysql.sf.net. Firstly, in which directory should I put the file mm.mysql.jar? I
was thinking of either the
lib or the classes directory but wasn't sure. Secondly, how should I change my
classpath to include this
Hi,
Right click the C:/Program Files/Apache Group/Apache/ folder in Windows Explorer and
choose to view the properties. Among many listed is one called MSDOS Name.
This is the one that you need.
Now use this where ever you need to mention folder names etc.
Sriram
09/12/2001 12:03:20 PM, Mike
Hi John,
I just tested my Tomcat 4 setup on my WinNT 4.0 system, and the whole thing worked
just fine.
Here's my config.
- JDK 1.3
- Nothing in the JAVA_HOME\jre\lib\ext folder.
- PATH environment variable points to d:\jdk1.3.1\bin
I run Tomcat 4 via the startup.bat batch file.
Here's what I
Hi,
This is a blind shot, but have you checked that the WEB-INF name is in capital ?
And that the web.xml is a valid one ? TC 4 is stricter with this file.
Sriram
30/11/2001 5:27:01 PM, Brian Elliott [EMAIL PROTECTED] wrote:
Brian Elliott wrote:
I am trying to install Tomcat 4 with a
Hi,
Umm... What I do in such cases is contact a servlet, let it to all the state related
stuff, and then it forwards the request to the JSP.
The JSP then uses the Object placed into the session by the servlet, and renders it.
I don't know if this is acceptable as MVC though.
Sriram
I've not tried this yet, but here's another idea (Note : I'm absolutely new to Web
related stuff, and have not idea on how to use taglibs...)
- Submit a request to the JSP with a parameter. Perhaps a hidden field.
- The JSP examines the request for this field, and then forwards to the servlet
Hi,
I'd just visited the jakarta site, and they have something called Struts. Looks like
this project may have taken care of most of your requirements.
Sriram
03/11/2001 3:25:22 PM, Dr. Evil [EMAIL PROTECTED] wrote:
I'm trying to use the Model-View-Controler design approach in Tomcat.
Hi,
This works under Windows for batch files, should work for unix shell scripts too.
If you are using the batch file to load Tomcat, you might have to alter this file, as
the batch file sets aside the system classpath and sets up it's own class path.
When you use the shutdown batchfile, the
Loks like Tomcat's not processing the JSPs , and Apache's just lifting the JSP's and
service them to you.
A simple check to see it tomcat's been activated is to check the Tomcat logs.
Also, there's no need to configure anything on the browser side when viewing JSPs.
Jsps are processed on the
This happens when you make any changes to some servlets, and then access those
servlets.
I see this in tomcat 3.2.3
Sriram
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
To unsubscribe:
Hi,
I'm developing this web based application that makes use of several serializable
objects, all of a particular Serializable class.
I've kept this class along with other classes in the application's web-inf/classes
folder.
During the workflow of the application, I have to store and retrieve
Hi,
Try deleting all the directories in the work sub folder, and restarting tomcat. This
worked for me yesterday ...
Also, what exactly happens when you modify a sample file and see that it is not
working. What is the error reported ?
Sriram
03/11/2001 11:43:36 AM, mahender reddy G [EMAIL
Hi,
So what was the problem and how did you solve it ?
Sriram
03/11/2001 11:56:05 AM, mahender reddy G [EMAIL PROTECTED] wrote:
Hi Sriram
Thanks for your help. Now Its working fine
by
G Mahender reddy
_
Do You Yahoo!?
Get your
Hi,
I use Visual Age for Java .
When I need to debug Tomcat stuff, I load Tomcat through VA, and then set break
points. And I I configure Visual Age appropriately, I cen even go into the Tomcat
implementation...
However, I test all my stuff on Tomcat/Sun JRE. That's because code that works
20/10/2001 3:15:02 PM, Dr. Evil [EMAIL PROTECTED] wrote:
I use Visual Age for Java .
I should look into that but I can't afford to buy stuff like that
right now.
You could take a look at it in the long run. IBM gives away VA 4.0 Entry Enterprise
for free. You could download VA from their
Hi,
I use Visual Age for Java and I have not faced this problem. But I did have a look at
the last paragraph in the file RELEASE-NOTES-4.0.txt.
Please refer to the last section titled Tomcat 4.0 and XML Parsers. There is some
information provided there on JDK1.3 and Tomcat.
Regards,
Sriram
Umm.. perhaps that's apache returning the contents of the page ?
I guess Tomcat's responding on port 8080, and Apache's respoding on port 80, and
somehow Apache is not making use of Tomcat.
Please have a look at the Apache console, and check whether the mod_jk has been loaded.
Regards,
35 matches
Mail list logo