Link to home
Start Free TrialLog in
Avatar of tomi632
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.
Avatar of tomi632
tomi632

ASKER

this all done
ASKER CERTIFIED SOLUTION
Avatar of kennethxu
kennethxu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tomi632

ASKER

but why i still in problem my comments goes wrong for that I am sorry. please i need my question answer.


Thanks
Avatar of tomi632

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/workers.properties
  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.
put your jsp page in /usr/local/apache/htdocs/examples
hold on, did you configured /htdocs/examples to be a webapp in tomcat?
Avatar of tomi632

ASKER

No i don't understand what will i do in webapp there is by default dir of examples and jsp there.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of girionis
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