A.5 TagUtils and ModuleUtils


Many utility methods previously found in org.apache.struts.utils.RequestUtils and ResponseUtils have been moved to other, more appropriate classes. These changes are summarized in Table A-1.

Table A-1. Methods previously in RequestUtils and/or ResponseUtils

Method name

Now located in

selectModule

ModuleUtils

getModuleName

ModuleUtils

getRequestModuleConfig

ModuleUtils

getModuleConfig

ModuleUtils

getModulePrefixes

ModuleUtils

computeParameters

TagUtils

computeURL

TagUtils

getActionMappingName

TagUtils

getActionMappingURL

TagUtils

lookup

TagUtils

getScope

TagUtils

retrieveUserLocale

TagUtils

message

TagUtils

present

TagUtils

pageURL

TagUtils

saveException

TagUtils

getModuleConfig(PageContext)

TagUtils

getActionMessages

TagUtils

getActionErrors

TagUtils

encodeURL

TagUtils

isXhtml

TagUtils

filter

TagUtils

write

TagUtils

writePrevious

TagUtils




Programming Jakarta Struts
Programming Jakarta Struts, 2nd Edition
ISBN: 0596006519
EAN: 2147483647
Year: 2003
Pages: 180

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net