| Author |
Enbed Struts Tags in JSP Scriptlet Code
|
Elle Atechsy
Ranch Hand
Joined: Jan 23, 2004
Posts: 96
|
|
Hi, Do to very limited time & a major struts tag learning curve we are using what we know, which is straight JSP scripting, for now. So, is it possible to embed struts tags within JSP scriptlet code? We are using the properties file as a constants file, as well as for display messages. This is what I want to do, but if it can be done, this is not correct. <% if ( request.getAttribute(<bean:message key='appID.acronym'/> + "NavTree")) { do something; %> Thanks for you assistance in advance. Lulu
|
 |
Nimchi Yung
Ranch Hand
Joined: Jan 27, 2004
Posts: 71
|
|
No, you can't. You have to put valid java code inside scriptlet. --Nimchi
|
 |
 |
|
|
subject: Enbed Struts Tags in JSP Scriptlet Code
|
|
|