posted 13 years ago
Hello folks,
I'm making an ajax call, following is the code:
<script type="text/javascript">
$(document).ready(function(){
$("#tes").click(function(){
$.ajax({
type : "POST",
url : "showTime.do"
});
});
});
</script>
I have mapped the url in the struts-config file to an action class but when the action is performed 'classNotFound Exception' is thrown.
Following is the code used to map:
<action path="/showTime"
type="com.admin.AjaxExampleAction"
scope="request"
validate="false" >
<forward name="success" path="/regionRequestAjax.jsp" />
</action>
Please help me,
Thanks in advance...