M
M?rcia Elias
Good afternoon!
I am working with Apache and Tomcat in two different machines, and I
can access jsp pages in the Apache machine (connector mod_jk). The
problem is: I want to separate the HTML code(Apache machine) and de
JSP code (Tomcat machine). Its possible returns parameters from jsp to
the other machine (Apache)? And how can I do this?
theres a example for view the problem:
Machine (Apache)
Example.html
<html>
<body>
<h1>users list</h1>
<table>
<tr>
<!--#include virtual="/tomcat/users.jsp"-->
</tr>
</table>
</body>
</html>
Machine (Tomcat)
users.jsp
for (int i=0; i<users.length; i++) {
uilizador = (String) users;
out.println("<td>" + users + "</td>");
}
I would like to return the users list to the apache machine, and there
make the print.
P.S.- I am sorry, my English is not very good. In case of any question
please contact.
I am working with Apache and Tomcat in two different machines, and I
can access jsp pages in the Apache machine (connector mod_jk). The
problem is: I want to separate the HTML code(Apache machine) and de
JSP code (Tomcat machine). Its possible returns parameters from jsp to
the other machine (Apache)? And how can I do this?
theres a example for view the problem:
Machine (Apache)
Example.html
<html>
<body>
<h1>users list</h1>
<table>
<tr>
<!--#include virtual="/tomcat/users.jsp"-->
</tr>
</table>
</body>
</html>
Machine (Tomcat)
users.jsp
for (int i=0; i<users.length; i++) {
uilizador = (String) users;
out.println("<td>" + users + "</td>");
}
I would like to return the users list to the apache machine, and there
make the print.
P.S.- I am sorry, my English is not very good. In case of any question
please contact.