I have two pages Prf.jsp and PrfArticle.jsp both are mapped to the same form bean. Prf page has a Table (also other form values) which
performs CRUD (Create, Retrieve, Update, Delete) Operation with form values getting from PrfArticle page. Using Dispatch Action i am forwarding
from Prf Page to Article Page it works fine. The Problem I am facing is whenever i forward from Article to Prf Page the Page gets refreshed.
Is the any way to achieve this without getting the page reloaded. Any help on this will be highly appreciated..
Is it possible to Implement a single action on two jsp pages . I mean keeping prfArticle page inside prf page and implementing crud operation using ajax (on PrfArticle page).
can anyone help me on this issue.
Do you have experience with AJAX? Struts is a server-side framework. What you do with that information on the client side doesn't matter to Struts. Struts 2 makes AJAX easier with a jQuery plugin and JSON result encoding.
thank you very much for the response. Actually I don't have much experience in Ajax,
To be clear i need to implement crud operation inside a form. i need to try this in struts1. I have attached image of my form for better understanding
Sorry for the late response. I tried using Dispatch action. I kept both pages properties in a single form bean and in a single action. I access article page by forwading from
prf page. After saving article form (or page) i return the action to the prf page (actually forwading). thereby the prf page gets refreshed. Actually i was searching similar to Jquery Dialog
and boy you gave me the perfect one i started learning jquery now.. thanks dude