In
order to integrate Ajax tags with Jsp we need to add dojo tags library to the
netbeans project library folder. Simple Ajax tags example:
<%@
page contentType="text/html; charset=UTF-8"%>
<%@
taglib prefix="s" uri="/struts-tags"%>
<%@
taglib prefix="sx" uri="/struts-dojo-tags"%>
<html>
<head>
<title>Hello
World</title>
<s:head
/>
<sx:head
/>
</head>
<body>
<s:form>
<sx:datetimepicker
name="date">
</sx:datetimepicker>
<sx:submit
value="Login"/>
</s:form>
</body>
</html>
No comments:
Post a Comment