Forum Moderators: phranque

Message Too Old, No Replies

How to let jsp code and html code sit at two servers(Urgent)

         

jingp66

2:59 pm on Nov 2, 2005 (gmt 0)



I have set up two physical servers, one is Apache server, one is tomcat server. I have set up Apache server process the html request and forward the jsp/servlet request to tomcat to process.
The question :
when I tested them, if the html and jsp code all sit at the Apache server, it can work.but our project ask us separate the code, let jsp code sit at Tomcat server-end,html code sit at Apache server-end, and still let the Apache forward the jsp/servlet request.

I have not any idea about when users click a jsp link,but the jsp code not sit at Apache server,Apache server can not find the jsp code at local, how the Apache server can forward the jsp/servlet request to tomcat and find the jsp code at Tomcat server-end and to process?

if can give the detail setup steps/or sample,I do appreciate.I am waiting online