RE: Best approach

2006-06-12 Thread Ronald Traikovich
One way to do is to use lookupdispatch action where each button is assigned it's own method in action class. Do a google search on it or If ya have any books on struts, lookup this action. Another way to do it is to have a hidden variable set when a user clicks a button. This gets set in the form

struts tags in a .js file?

2006-06-11 Thread Ronald Traikovich
Hi group, I was given a javascript file called operations.js that handles javascript events that load images. So this javascript file is included in my jsp page. The problem is that the image paths are hardcoded, so I want to rewrite these paths with some struts tags. So for example . instead of