资源文件中的errors.header,errors.footer

    技术2022-05-20  46

    在资源文件中可能会看到类似于:

     

    errors.footer=</UL><HR>

    errors.header=<H3><FONT color="red">Validation Error</FONT></H3>You must correct the following error(s) before proceeding:<UL>

     

    其实在jsp中的<html:errors/>处,struts会自动显示资源文件中的头和尾(errors.header和errors.footer)。

     

    而errors.prefix和errors.suffix则是自动添加每行的首尾。


    最新回复(0)