Re: context

2002-05-11 Thread Mattias Brändström
Hello again! I am resending my email about my Conext/DB problem hoping that someone will take a look at it now. =) Have I configured my Context incorrectly? All documentation I have read suggests that I have done things the right way. But since it is the first time I am doing this kind of

context

2002-05-09 Thread Mattias Brändström
Hello! I am having problems with my Context. Below are snippets from my httpd.conf and server.xml files: -- httpd.conf -- VirtualHost * ServerName www.matlaget.org DocumentRoot /var/www/matlaget WebAppDeploy . conn /tom /VirtualHost -- server.xml --

Re: jspInit() and errors

2002-05-05 Thread Mattias Brändström
No, that doesn't work. jspInit() isn't declared to throw an exception and that makes it illegal to override it with a method that do throw an exception. Abraham Fathman wrote: Mattias, Can you just throw an exception? Abe -Original Message- From: Mattias Brändström [mailto

logging

2002-05-05 Thread Mattias Brändström
Hi! Now I have yet another question. =) How can I write log messages to some kind of log (preferably the one specified by the Logger element) in a JSP-page. I have tried to write to both System.err and System.out but nothing ends up in my log file. Is there some special way to obtain a

JSP-pages and reloadable

2002-05-04 Thread Mattias Brändström
Hi! I have a simple question. Is there a way to get Tomcat to handle JSP-pages the same way it does classes in WEB-INF when you set reloadable=true in your Context-element. It is a bit cumbersome to restart tomcat and apache every time I have made a change to my JSP-page... Regards, Mattias

Re: JSP-pages and reloadable

2002-05-04 Thread Mattias Brändström
Tore Skogly wrote: lørdag 4. mai 2002, 17:23, skrev Mattias Brändström: Hi! I have a simple question. Is there a way to get Tomcat to handle JSP-pages the same way it does classes in WEB-INF when you set reloadable=true in your Context-element. It is a bit cumbersome to restart tomcat

jspInit() and errors

2002-05-04 Thread Mattias Brändström
Hi! As I understand it I can override jspInit() and do write some initialisation code for my JSP-page there. Now I have been looking at the JSP 1.2 specification and I can't find any way to report errors from jspInit(). To me that seems like a good thing to do. If I can't initialise my page

Re: JSP-pages and reloadable

2002-05-04 Thread Mattias Brändström
Jay Gardner wrote: I have run into similar problems before. It turned out to be one of two things. Either I had to force my browser to reload or I was making changes in a JSP that was an include for another JSP. I am sure you have tried the first. I don't know if the second is what you are

mod_webapp, WebAppDeloy, Context

2002-05-02 Thread Mattias Brändström
Hi! I have some questions regarding mod_webapp. What is the relationsip between WabAppDeploy (in my httpd.conf) and Conext (in server.xml)? They seem to hold similar information. If I have something like: VirtualHost * ServerName www.matlaget.org DocumentRoot /var/www/matlaget