use (instead of href) Nico. Hi, Ive got Problems with struts Links.I loose the name of the webapp if I put "/" before the url. (Im using tomcat) http://localhost:8082/WEBAPP_NAME/shop/basket/add wird z.B. http://localhost:8082/shop/basket/add.do And if I dont use a "/" in my link the link changes from http://localhost:8082/WEBAPP_NAME/shop/basket/add to http://localhost:8082/WEBAPP_NAME/shop/basket/add/shop/basket/add.do The html Code looks like this 1 -Add to basket
1 -Add to basket
I just want a link which looks like this: http://localhost:8082/WEBAPP_NAME/shop/basket/add.do How can I do this? Part of STRUTS-CONFIG.XML JSP Page <%@ page import="java.util.*, java.text.*" %> <%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
shop/inventory.jsp 1 -Add to basket
1 -Add to basket
2 detail view
3 detail view
--------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org