Cześć.
Wydaje mi się, że przestało działać po tym, jak zamiast mojej akcji wywołuję
org.springframework.web.struts.DelegatingActionProxy
Wcześniej chyba rewrite działało poprawnie.
Używam go do importu CSS:
w pliku adminLayout wygląda tak:
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="STYLESHEET" href=" <html:rewrite page="/css/style.css" /></html:rewrite> " type="text/css"/>
</head>
<body>
<tiles:insert attribute="header"></tiles:insert>
<table class="menu">
<tr>
<td><tiles:insert attribute="menu">
</tiles:insert></td>
</tr>
</table>
<tiles:insert attribute="body"></tiles:insert>
</body>
</html>
Czy mam coś zwalone w tym tagu?
Czy mi się faktycznie dobrze wydaje, że kod jest ok, ale Spring cos pierdzieli?
Miał ktoś podobny problem? jak to rozwiązać?
Pozdrawiam.