It's all working now.
Thank You for your help!
Aurir_
On Sat, Mar 12, 2011 at 4:49 AM, Borut Hadžialić
wrote:
>> The docBase for my app is /usr/local/jsp/
>> I've placed my spring test JSP in /usr/local/jsp/testSpring/testSpring.jsp
>
> You probably want your's app docBase to be something like
>
> The docBase for my app is /usr/local/jsp/
> I've placed my spring test JSP in /usr/local/jsp/testSpring/testSpring.jsp
You probably want your's app docBase to be something like
/usr/local/myapp, and then have your jsp's in a directory
/usr/local/myapp/WEB-INF/jsp/ - eg.
/usr/local/myapp/WEB-INF/
Aureliusz R. wrote:
Borut,
thanks again. You were correct, it was lazy initialization. Pretty
much at this point I got the spring part working.
I've encountered yet another issue with mapping requests from apache2
web server to tomcat. It seems to have something to do with SSL, as I
don't have
Borut,
thanks again. You were correct, it was lazy initialization. Pretty
much at this point I got the spring part working.
I've encountered yet another issue with mapping requests from apache2
web server to tomcat. It seems to have something to do with SSL, as I
don't have this issue for http.
Do not put anything in $TOMCAT_HOME/conf/web.xml - leave that file as
it is when you unpack a fresh Tomcat distribution.
Why the servlet is not being loaded? - not 100% about this, but I
would first check if it is maybe being lazy loaded/initialized. After
your tomcat starts up, try to browse htt
Borut,
your instructions were spot on. I was able to track down my docBase
folder (it was specified in $TOMCAT_HOME/conf/servlet.xml ,
and I verified that it's the correct location by adding some context
parameters to the web.xml in my docBase, and then retrieving them from
a JSP.
Now I have anot
The piece of xml you posted looks like something from
$TOMCAT_HOME/conf/web.xml file. This file contains some default
configuration that is applied to all web applications and you usually
don't change it.
What you need to find is the /WEB-INF directory of your web
application. /WEB-INF directory r