有关struts2日历控件的小问题,struts-dojo-tags not found

本文详细介绍了在使用Struts2框架时遇到Autocompleter和Datetimepicker组件无法正常工作的问题,并提供了排查和解决方法。通过检查jar文件路径、使用sx:head标签以及验证dojjar部署情况,可以帮助开发者解决此类问题。

原文地址:http://www.aoiblog.com/struts-dojo-tags-not-found/

Whenever you are using autocompleter and datetimepicker in Struts 2.2 so you might be face the following error .

1. Autocompleter and Datetimepicker not working in Struts 2
2. struts-dojo-tags not found

If yes , so you can get the solution of your problem.

1. Check that do you have include the “struts2-dojo-plugin-2.1.8.1.jar”  jar file in your class path?
2. Do you use the <sx:head> tag?

Example :

1
2
3
<head>
      <s:head theme="ajax"/>
</head>

3. Check it your dojo jar is depolyed in your lib folder?

If you used this above given point and still you are facing the problem so please update me so i can solve your problem
and also added the new point in it.


评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值