File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes prototype framework with ajax  in  struts 2 'jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply locked New topic

prototype framework with ajax in struts 2 'jsp

seshagiri veerla

Joined: Mar 15, 2008
Posts: 16
We have a basic HTML page which links in the prototype.js file and our own editinplace.js.
i want to a strut2' jsp page which links in the prototype .js and our own editinplace.js
Please forward me if any examples there.
follows code base HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Edit-in-Place with Ajax</title>
<link href="editinplace.css" rel="Stylesheet" type="text/css" />
<script src="prototype.js" type="text/javascript"></script>
<script src="editinplace.js" type="text/javascript"></script>
<p id="desc">Dashing through the snow on a one horse open sleigh.</p>
My code:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
<%@ taglib prefix="s" uri="/struts-tags"%>
<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-" type="text/javascript"></script>
<script src="/WEB-INF/js/editinplace.js" type="text/javascript"></script>
<s:actionerror />
<s:form action="createPoP">
<p id="desc">Edit</p>
<p><strong>Note:</strong> This example uses an inert client-side


How to edit with strut2' jsp code in editinplace.js

I don't struture of prototype framework

please forward me as soon as possible

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Please do not post duplicate threads, and also that your post goes into the most appropriate forum. Your question is not an Object Relational Mapping question.

I am going to close this thread.

Try the Javascript or JSP forum. But delete your other dup, if it wasn't already moved to that forum. You can delete your own threads by clicking the edit icon above your first post in that thread and then checking off the delete checkbox.



Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: prototype framework with ajax in struts 2 'jsp
It's not a secret anymore!