You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mikolaj Rydzewski <mi...@ceti.pl> on 2006/11/02 16:44:34 UTC

html:rewrite does not work from pure jsp?

Hi,

The usual /index.jsp in a struts application just redirects user to 
/index.do or something similiar.

I wanted to make it 'really good' and make use of html:rewrite, 
unfortunately neither:

<c:set var="url"><html:rewrite action="/index"/></c:set>
<c:redirect url="${url}"/>

nor

<logic:forward name="index"/>

works. The exception 'cannot find null module' is thrown. I use struts 
1.3.5. Is is normal? Does these tags work only when forwarded from an 
Action?

-- 
Mikolaj Rydzewski <mi...@ceti.pl>