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
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?
thanks a lot
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.
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 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
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
This simple tst.jsp page:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
html
head
titleTst.jsp/title
link rel=stylesheet type=text/css href=tst.css
jsp:include page=tst.js flush=true /
/head
body
h1Tst.jsp is OK!/h1
/body
/html
is producing an
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
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
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
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 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:
Service name=Tomcat-Apache
Connector
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)
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
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
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
16 matches
Mail list logo