Ok I managed to do this much. When I am putting hard code value of primary key like this
<html:link href="javascript:window.open('/MyWeb/man/imagedisplay.do?postid=167','Original Image','toolbar=no, width=450,height=350,resizable=1, scrollbars=1');void('');">See original image</html:link>
it is working fine.
but I want my pk to be place dynamically. So I am trying this one
<html:link href="javascript:window.open('/MyWeb/man/imagedisplay.do?postid=<bean:write name="postdetail" property="postID" />','Original Image','toolbar=no, width=450,height=350,resizable=1, scrollbars=1');void('');">See original image</html:link>
Now
JSP is giving this exception
[ServletException in:/tiles/postdetail.jsp] /tiles/postdetail.jsp(43,111) jsp.error.attribute.noequal' org.apache.jasper.JasperException: /tiles/postdetail.jsp(43,111) jsp.error.attribute.noequal at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:417) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126) at
...
...
...
I am also running into problem when I am trying html:rewrite the url.
Could anybody please help me with correct solution
Sonu