--- john lee <[EMAIL PROTECTED]> wrote: > inside JSP, actually what i try to do is the > following: > > inside JSP: > > ... > if (result.compareTo("Success")==0) { > out.println("<logic:redirect href="why.do" />); > else > ...
Well, that's probably a sub-optimal solution for a lot of reasons. If you are dead-set on using scriptlets, I'm not going to be much help (by choice :) You might want to consider using <logic:equals.../> or, better yet, switch to JSTL when it (JSTL) has a tag that duplicates Struts tag functionality. d. ____________________________________________________________________________________Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]