Hi, for some reasons i would like to place my servlets
and java classes in a separate directory instead of
WEB-INF/classes or WEB-INF/lib.
I tried to add the classpath of my classes in the
catalina.bat script as suggested by some ppl here.
However, tomcat throws the following error:
java.lang.N
At 06:54 PM 28/09/01, you wrote:
Try putting the bean in a package and running it - I think that tomcat
requires this.
>I am a new user to Tomcat and seem to be having a fundamental problem with
>getting javabeans to work in a jsp page. I have followed documentation to a
>T, but still no res
I can't get SimpleRealm to work with Tomcat 3.2.3, IIS5 using the redirector
login dialog pops up but auth fails.
after setting debug to 99, log output is as follows
> 2001-10-01 01:41:04 - ContextManager: SimpleRealm: Verify user=null
pass=null
> 2001-10-01 01:41:04 - ContextManager: Controled
Hey List,
I'm trying to setup jakarta tomcat 4.0 for the first time and i'm trying to
get some sort of virtual hosting deal going on that forwards connections
from apache on port 80 to tomcat on port 8080 when a persons URL is entered.
I currently have mod_webapp.so installed properly and include
Hello all..
I am newbie...
I want to compile my servlet , i have set TOMCAT_HOMe, JAVA_HOME
and my javac not succedded to compile the servlet...
And I confuse about setting classpath so my javac can found the servlet
Please help me step by step about setting classpath in autoexec.bat
I'm struggling to get apache 1.3.20 working with Tomcat 4.0
First I tried the linux binary, but I got this message when I did
"apachectl configtest"
[warn] Loaded DSO /usr/lib/apache/1.3/mod_webapp.so uses plain Apache
1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI
I have been struggling with this too. It really deserves some documentation:
- get the source of mod_webapp.so and compile it.
this is how I configured it
server.xml:
.
httpd.conf:
===
Hi,
When we will have a FreeBSD binary of mod_webapp ?
I got the source and build it, but there were couple of things I ported
(stdint.h, dyld, etc.. everyone who tried mod_webapp & FreeBSD will
understand what I am talking about).
However, I find myself not a C guru and am not sure I did it i
Hi All
I set up an environment which have Apache, Tomcat and BAS 4.5 (Borland
Application server) working on the same machine but now I would like to have
Apache and tomcat on one machine and BAS 4.5 Application Server installed on
an other machine so I am wondering how to configure Tomcat and
sorry I was going to write this into the other email ...but accidentaly
clicked send...
use this to forward the request..
RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher(ServletName);
dispatcher.forward(request,response);
hope it helps
-r
-Original Message
u must use the requestDispatcher to forward the request onto the JSP
page from the servlet.
then you can use what ever in your JSP to access what ever beans your
servlet instanciates and puts into the request object.
request.putAttribute()
-Original Message-
From: Huaxin [mailto:[EMAIL
> This simple tst.jsp page:
>
>
>
>
> Tst.jsp
>
>
>
>
>
> Tst.jsp is OK!
>
>
>
> is producing an IllegalStateException on the inclusion of the tst.js file
> when using
> the current jakarta-tomcat-4.0 binary release. The same tst.jsp file works
> fine
> when using the jakarta-tomcat-3.
I get the following Exception (NoSuchMethodError, AbstractMethodError) when
i execute this line in a servlet:
Transformer transformer = tFactory.newTransformer(xslDomSource);
what i tried until now:
execute this line in a normal class and there everything works fine.
rename xalan.jar and xerces.j
Hello Rob:
I'm using Apache 1.3.20 and the static pages work fine. I've disabled the
cache just to make sure that the pages are being served correctly. However,
I'm having a similar problem like yours with a different configuration. I
will post a mail to the list with the problem
Hello.
I am using Linux/Red Hat 7.1, jdk1.3.1, and Tomcat 4.0
How do I resolve the following error:
[root@64-59-143-179 bin]# ./shutdown.sh
Guessing CATALINA_HOME from catalina.sh to ./..
Setting CATALINA_HOME to ./..
Using CLASSPATH:
./.
Hello, Rodrigo,
Does that mean that also the static pages (like for instance
/examples/servlets/index.html) are served correctly by Apache? If so,
are you sure that you don't see pages that are cached. So far, I only
get the examples themselves working correctly, but not the static pages.
(Te
Hi,
Create the bean in servlet , set the bean object as an attribute to the
request , session or servletContext object and access the bean instance
with appropriate corresponding scope from the Jsp.
Manu
>UNSUSCRIBE
>- Original Message -
>From: "Huaxin" <[EMAIL PROTECTED]>
>To: <[EMAIL
UNSUSCRIBE
- Original Message -
From: "Huaxin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 29, 2001 11:10 PM
Subject: servlet to jsp
> how can i create a bean in a servlet, and then the serlet
> forward/include to a jsp, the jsp can read from the bean?
>
> tha
Hi,
Is this right?
In Java API, I found some useful information.
"There is one context per "web application" per Java Virtual Machine. (A "web
application" is a collection of servlets and content installed under a specific subset
of the server's URL namespace such as /catalog and
19 matches
Mail list logo