Re: passing objects from one request to another

2006-02-25 Thread Bryan LaPlante
my output stream has to be controlled by my action class. It is an ajax integration for http://www.xoscript.org where you can invoke methods on a POJO class and in turn that class can include the output of another action as it's return value. - Original Message - From: "Rick Reumann" <[EMA

Interaction between Struts and Tiles - redirect doesn't?

2006-02-25 Thread Bruce Link
I am trying to put together an example j2ee web site using struts/tiles as the front end, using struts 1.2.8. I have been trying to guess and experiment to find out how to merge the two, since most examples just use jsp pages for the view layer, and I am trying to use tiles throughout. What m

Re: passing objects from one request to another

2006-02-25 Thread Rick Reumann
[EMAIL PROTECTED] wrote: Rick, It sounds like you are having a problem that I solved last week. Actually, I'm not the one having the problem. I was just replying to the initial post, that I'd use the Session for stuff that needs to accessed across multiple requests. I had a situation wher

how to retrieve data selected in previous page combo box?

2006-02-25 Thread PC Leung
current page: On the current page, a combobox displays data. When user clicks one of the data, and then clicks the submit and then

Re: validator problems

2006-02-25 Thread Niall Pemberton
Looks like you have the wrong version of validator-rules.xml deployed. You don't say what version of struts you're using, but my guess is you're using Struts 1.2.7 or Struts 1.2.8 with a validator-rules.xml from an earlier version of Struts. Try deploying the validator-rules.xml that comes with the

validator problems

2006-02-25 Thread chhum
Hi, Sorry if you've seen this before – I sent it earlier but never saw it come back. I'm try to use the validator to check some details on a form (field lengths for example). When I run the form the validator doesn't seem to run, though a call goes to it. I end up with a stack trace in the logs

Changing Result object to Collection

2006-02-25 Thread chuanjiang lo
In the DAO class import javax.servlet.jsp.jstl.sql.Result; Statement stmt = conn.createStatement (); String query = "select * from business"; rs = stmt.executeQuery(query); Result result = ResultSupport.toResult(rs); ... ... in the action class Result result = BusinessDAO.getBusinessList(); its