Hi,
I am using the struts bridge for J2.
I am calling an action by contructing a URL.
As a web app I would call it as so:
<a href="RAPSearchDelete.do?id=<%=idvalue%>&check=<%=count%>"> delete
</a>
However in order for it to work inside J2 I need to replace <a with
<html:link :
<html:link href="RAPSearchDelete.do?id=<%=idvalue%>&check=<%=count%>">
delete </html:link>
When I use this - the <%=idvalue%> and <%=count%> are not used but rather
treated as strings. This does not happen in the <a case but only in the
<html:link case.
I tried to seperate it out into java print statements:
<%
String link = " <html:link
href=\"RAPSearchDelete.do?id=" +idvalue+ "&check=" +count+ "\"> ";
String endlink = "
</html:link> ";
%>
<%=link%> del <%=endlink%>
The source produced by this comes out correct - but "del" does not appear as
a link.
How do I get around this?
Any help would be great.
Thanks!
Akshay