-
1. Re: Remoting with Apache ? a problem
fhh Sep 12, 2006 4:25 AM (in response to shasho)I am not 100% sure what you mean by "transfering the /seam/remoting/resource/" to jboss but I think the solution you are looking for lies in the mod_rewrite module.
Regards
fhh -
2. Re: Remoting with Apache ? a problem
shasho Sep 12, 2006 6:53 AM (in response to shasho)
Just for the record - the solution was indeed in the configuration to apache ? tomcat connector. One needs to add the following line in the connector .conf fileJkMount /seam/remoting/* testWorker
-
3. Re: Remoting with Apache ? a problem
sumitgarg1 Oct 15, 2007 1:20 AM (in response to shasho)hi am facing same problem while making application on net bean can any one help?
my jsp
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tlds/common.tld" prefix="cm"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
function doit() {
alert(11);
var na ='cc';
Seam.Component.getInstance("myBean").doit(na, doitCallback);
}
function doitCallback(result) {
alert(result);
}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Register New User
<f:view >
<h:form >
Sdoit
</h:form>
</f:view>
i have made entried in web.xml
<servlet-name>Seam Resource Servlet</servlet-name>
<servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
<servlet-mapping>
<servlet-name>Seam Resource Servlet</servlet-name>
<url-pattern>/seam/resource/*</url-pattern>
</servlet-mapping>
still getting error in browser...............seam is undefined -
4. Re: Remoting with Apache ? a problem
sumitgarg1 Oct 15, 2007 1:23 AM (in response to shasho)hi am facing same problem while making application on net bean can any one help?
my jsp
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tlds/common.tld" prefix="cm"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
function doit() {
alert(11);
var na ='cc';
Seam.Component.getInstance("myBean").doit(na, doitCallback);
}
function doitCallback(result) {
alert(result);
}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Register New User
<f:view >
<h:form >
start
Sdoit
</h:form>
</f:view>
i have made entried in web.xml
<servlet-name>Seam Resource Servlet</servlet-name>
<servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
<servlet-mapping>
<servlet-name>Seam Resource Servlet</servlet-name>
<url-pattern>/seam/resource/*</url-pattern>
</servlet-mapping>
still getting error in browser...............seam is undefined