Hi All. I am new to struts and very confused. First question, what is the difference between struts-conf.xml and struts.ltd files? I am trying to redirect adding the following definition to my tld file and tried to use <html:redirect href='<%=url%>'/> but it doesnt redirect:
First, try substituting the scriptlet with a literal such as "http://www.yahoo.com" that you know should work. If that works, you know there's a problem with your scriptlet variable. If it still doesn't work, you may have to take more drastic measures.
It's possible that in your attempts to modify the TLDs that you messed something up. I'd suggest saving your current project to a separate directory, then starting fresh by unzipping the struts-blank.war file and making that your working directory. Then add back your JSPs, classes, etc. Don't replace the web.xml file or the struts-config.xml file. Just cut and paste your Form bean definitions and Action mappings from the old file into the new. Then restart the server and see if it works. [ February 14, 2007: Message edited by: Merrill Higginson ]