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.
tomi632Asked:
Who is Participating?
 
kennethxuConnect With a Mentor Commented:
Would you please post your solution and ask support to refund the points back to you?
http://www.experts-exchange.com/Community_Support/
0
 
tomi632Author Commented:
this all done
0
 
tomi632Author Commented:
but why i still in problem my comments goes wrong for that I am sorry. please i need my question answer.


Thanks
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
tomi632Author Commented:
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.
0
 
kennethxuCommented:
put your jsp page in /usr/local/apache/htdocs/examples
0
 
kennethxuCommented:
hold on, did you configured /htdocs/examples to be a webapp in tomcat?
0
 
tomi632Author Commented:
No i don't understand what will i do in webapp there is by default dir of examples and jsp there.
0
 
cheekycjConnect With a Mentor Commented:
read this:
http://kevinj.develop.com/javahome/javatomcat.jsp#A1

you need to add a context to /examples in your server.xml file.

<Context path="/example" docbase ="simple" debug="0" reloadable="true"/>

HTH,
CJ
0
 
girionisCommented:
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
0
All Courses

From novice to tech pro — start learning today.