| Author |
Inserting scriptlet in HTML
|
Darren Alexandria
Ranch Hand
Joined: Aug 17, 2007
Posts: 185
|
|
Good day! I want to externalize the string or values of my JSP in a properties file. I have this code from my applet tag I have imported the Messages class in my page, but still this does not work. Is this not possible? I have also tried this one but it doesn't work also. Thanks.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
|
It doesn't work" doesn't tell us anything at all that we can use to help you.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
|
P.S. At this point in time you should be using the JSTL internationalization tags for this sort of thing rather than rolling your own with scriptlets.
|
 |
Darren Alexandria
Ranch Hand
Joined: Aug 17, 2007
Posts: 185
|
|
What I meant by that is I followed the usual method of putting in scriptlets in the HTML as what the tutorials have indicated. But just found out that not all of the time or in my present problem, this usual method doesn't apply. Anyway, thanks for the advice I'll be looking now in the JSTL internationalization tags and try to implement it in my JSP. Thanks again.
|
 |
 |
|
|
subject: Inserting scriptlet in HTML
|
|
|