用.do访问页面就不用指定了。另外,text标签是在form中么?
解决方案 »
- 使用SSH2出现Invalid action class configuration that references an unknown class name
- <aop:aspectj-autoproxy/> 是对整个工程有作用.还是只针对该XML文件的bean有作用?
- 一个关于validator验证问题,十分急,分不够立刻加!!!!
- 哪位高手帮我看看下面这段 解析xml文件的代码!!谢谢 急~~
- spring spa 整合hibernate无法更新记录
- hibernate 查询问题
- 关于tomcat5.5的问题!!!!大家有没有发现5.5中不再有common-dbcp这个包了,但配置数据源就要用到这个包,他们是不是不再推荐使用数据
- 一个Web应用部署时的两个问题。希望给于解决。
- 另存附件时候在弹出的对话框中怎么样才能保持文件中文名称,而不用在敲入????
- 请问EJB中的javax.naming.NameNotFoundException该如何解决?
- 谁会JAVA啊.我愿意用100分换一个JAVA程序.帮帮忙啊!!我的QQ:1538866可以用QQ交流!
- 请帮我解决jdbc配置问题,谢谢(加分)
(兄弟的翻译水平很差,希望楼上的能看的懂!:))
The <html:base /> tag is used to insert an HTML <base> element, including an href pointing to the absolute location of the hosting JSP page. This allows you to use relative URL references, rather than a URL that is relative to the most recent requested resource. The <html:base /> tag has no body and supports a single attribute target, which represents the target attribute of the HTML <base> tag. To use the <html:base /> tag,you simply need to insert the tag, as shown in the following code snippet, at the top of your JSP:<html:base/><html:text/>标志是用在<html:form></html:form>标志内的,你提到的用name属性,是要取到一个名字为name值的session,这样才能够取的property的值,<bean:write/>也一样,都要先取得session的值才行。建议你看一下<<Mastering Jakarta Struts>>这本书
那为什么我看到的例子一般都不指明name属性呢?