Changing servlet directory

2001-09-30 Thread Firestar
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

Re: Unable to use a javabean in an jsp page

2001-09-30 Thread Jim Cheesman
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

SimpleRealm > Tomcat 3.2.3 > IIS5 (redirector)

2001-09-30 Thread Ben Incani
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

apache/tomcat 4.0/gnu-linux setup question

2001-09-30 Thread Brendon M. Maragia
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

Compile Servlet

2001-09-30 Thread Isak Rickyanto
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

[TC4] mod_webapp.so compilation failure

2001-09-30 Thread Eirik Dentz
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

Re: mod_webapp deploy

2001-09-30 Thread Manri Offermann
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: ===

FreeBSD & mod_webapp

2001-09-30 Thread Plamen Petkov
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

Tomcat+BAS 4.5 on different machine

2001-09-30 Thread Sandra Paul
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

RE: servlet to jsp

2001-09-30 Thread Reynir Hübner
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

RE: servlet to jsp

2001-09-30 Thread Reynir Hübner
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

Re: IllegalStateException on jsp:include in simple jsp page

2001-09-30 Thread Remy Maucherat
> 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.

AbstractMethodError or xalan problems with tomcat

2001-09-30 Thread Hans-Jürgen Kozik
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

RE: Probable FAQ entry: Is Tomcat4+mod_webapp+Apache-1.3.xx ready for prime time?

2001-09-30 Thread Rodrigo Reis
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

Shutdown problems.

2001-09-30 Thread Sean Alphonse
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: ./.

Re: Probable FAQ entry: Is Tomcat4+mod_webapp+Apache-1.3.xx ready for prime time?

2001-09-30 Thread rob van swol
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

Re: UNSUSCRIBE

2001-09-30 Thread Manu KY
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

2001-09-30 Thread Gaëtan Lepargneul
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

Re: communicating between 2 diffrent sessions

2001-09-30 Thread Gang Liu
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