I will go to using prototype framework with ajax in
struts 2 with
jsp.
i developed jsp pages follows structure.
\mypopprojectWAR\webapp\WEB-INF\pages.
but i am keeping js folder in
\mypopprojectWAR\webapp\WEB-INF\js\
jsp file:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Create New PoP</title>
<!-- Prototype -->
<link href="/WEB-INF/js/editinplace.css" rel="Stylesheet" type="text/css" />
<script src="/WEB-INF/js/prototype-1.6.0.2.js" type="text/javascript"></script>
<script src="/WEB-INF/js/editinplace.js" type="text/javascript"></script>
</head>
<body>
<s:actionerror />
<s:form action="createPoP">
<p id="desc">Edit</p>
<p><strong>Note:</strong> This example uses an inert client-side
script.</p>
</s:form>
</body>
</html>
But is not working of prototype and ajax in jsp
please give solution with code
please give the suggestion how to implement above frameworks
Regards
Seshagiri