The message-resource file is loaded at startup an held in memory as an
instance of org.apache.struts.util.MessageResources. The instance is stored
in the ServletContext. To access it from a JSP, look for the
Globals.MESSAGES_KEY attribute:
%@ page import=org.apache.struts.Globals %
%@ page
Question,
how can i add the test value to the html:text like below
bean:define id=test name=testForm property=testers.testerName/
html:text name=username value='bean:write name=test/'/
but this is not working, any idea ?
thks
answer,
U cant nest tags!
either use html-el for getting the value or use scriptlets
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 20, 2004 4:35 PM
Subject: html:text question
Question,
how can i add the test value to the html:text
how can i add the test value to the html:text like below
bean:define id=test name=testForm
property=testers.testerName/
html:text name=username value='bean:write name=test/'/
You can't nest tags, but you can use the el version of the Struts html
tags:
html-el:text name=username
Hi all,
Quick question, how do I manage to align the text
in a html:textbox to the right?
A html input type text tag has align=right or
similar, anyway to do this in struts?
Thanks, Joel.
5 matches
Mail list logo