Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[S2] - Strange error: "<s:url>" tag not working for "<s:div>"

Monttez

2007-03-23

Replies:

Hi!


The url tag:

<@(protected)">
<@(protected)" />
</@(protected)>


This tag works properly for a link.. as follows:

<a href="${urlMenu}">test</a>  
Result:
"http://localhost:8088/WebStageCMS_v2/Menu/getTreeMenu.action?decorate=false
"



But the same tag does not work for the "div" tag:

<@(protected)}">
  Loading content...
</@(protected)>



Here I'm getting this error:

Struts Problem Report
Struts has detected an unhandled exception:
Messages:  There is no Action mapped for namespace / and action name
ebStageCMS_v2/Menu/getTreeMenu.


Note that "ebStageCMS_v2" without the first letter "W" (WebStage..)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.