tomi632
asked on
tomcat+jsp
I have install apache_1.3.27+tmcat4.0.6. both are working fine. I am running servlets that working fine. I have made my Document Root Dir /usr/local/aapache/htdocs. please i have stuck running jsp pages what will be there document root i have tried put jsp pages in a dir but not running tell me what to do how can i integrate my apache that start running jsp using htdocs dir. In which dir i will put my JSP pages.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
but why i still in problem my comments goes wrong for that I am sorry. please i need my question answer.
Thanks
Thanks
ASKER
I have tried it with putting following line
AddType text/jsp .jsp
AddHandler jserv-servlet .jsp
<Directory "/usr/local/apache/htdocs/ examples">
Options Indexes FollowSymLinks
</Directory>
<IfModule mod_jk.c>
JkWorkersFile /usr/local/apache/conf/wor kers.prope rties
JkLogFile /usr/local/tomcat/logs/mod _jk.log
JkLogLevel warn
ApJServMount /examples /examples
</IfModule>
#ApJServMount /examples /examples
<Location /jsp/WEB-INF/ >
AllowOverride None
deny from all
</Location>
but still hang in this.
AddType text/jsp .jsp
AddHandler jserv-servlet .jsp
<Directory "/usr/local/apache/htdocs/
Options Indexes FollowSymLinks
</Directory>
<IfModule mod_jk.c>
JkWorkersFile /usr/local/apache/conf/wor
JkLogFile /usr/local/tomcat/logs/mod
JkLogLevel warn
ApJServMount /examples /examples
</IfModule>
#ApJServMount /examples /examples
<Location /jsp/WEB-INF/ >
AllowOverride None
deny from all
</Location>
but still hang in this.
put your jsp page in /usr/local/apache/htdocs/e xamples
hold on, did you configured /htdocs/examples to be a webapp in tomcat?
ASKER
No i don't understand what will i do in webapp there is by default dir of examples and jsp there.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- Split points between kennethxu and cheekycj
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
girionis
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
- Split points between kennethxu and cheekycj
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
girionis
EE Cleanup Volunteer
ASKER