Re: Running Struts1 and Struts2 together?

2010-09-10 Thread Greg Lindholm
OK, I successfully integrated Struts 2 into a Struts 1 application, it was actually pretty easy. The main thing I had to do was manually craft the links between the S1 and S2 sides using standard JSTL . All this meant was I have hardcoded extensions (.do and .action) in the jsp's. I also ended up c

Array Input Fields

2010-09-10 Thread adam pinder
Using Struts 2.0.11 I have a jsp that creates elements like etc when the form is submitted to the server i want the parameters interceptor to set the values on each user object so i have a method public User getUser(int occ) { return users.get(occ); } which

Re: Managing code between Action Class and JSP.

2010-09-10 Thread Dave Newton
Using Ajax with struts 1 is no different than with anything else. Dave On Sep 10, 2010 11:13 AM, "Anjib Mulepati" wrote: > What about doing AJAX call and get result in progression? Isn't this > will be efficient way? > > Having said that I am trying to find the way to work AJAX with Struts1 > th

Managing code between Action Class and JSP.

2010-09-10 Thread Anjib Mulepati
What about doing AJAX call and get result in progression? Isn't this will be efficient way? Having said that I am trying to find the way to work AJAX with Struts1 there is no clear way to do that even though AJAX is just a technology. Do anyone have any resource in this regards? Thanks On 9

Re: Managing code between Action Class and JSP.

2010-09-10 Thread Paweł Wielgus
Hi all, the question is if You want to show thousands of records on one page to the user, if yes, thent You need to put them into request or into form, if no then in action put as much as You need into request or form. Best greetings, Paweł Wielgus. 2010/9/10 Anjib Mulepati : > One more query

Managing code between Action Class and JSP.

2010-09-10 Thread Anjib Mulepati
One more query suppose "resultList" have thousands of records still is it (using request object and putting all result in it) as request.setAttribute("resultObjects", resultList); the efficeint way to send result to view? Any alternative to this? Thanks Anjib On 9/10/2010 9:27 AM, CRANFORD

RE: Managing code between Action Class and JSP.

2010-09-10 Thread CRANFORD, CHRIS
As others indicated, it's a matter of using the Struts/JSTL tags. The biggest difference between Struts1 and what what is posted below for Struts2 is how you pass the data to the JSP in my opinion. In Struts1, you would still do as you had in your original post: reque

Plugins mechanism and how to detect it

2010-09-10 Thread Frans Thamura
hi all we are studying the plugins mechanism, and how can a struts engine can know there is a new plugins any idea to show, how many plugins installed and how many conflicted plugins in S2. i want to create a jar,which there are an Action, Template and i want to make the jar also detected by S2