Howto struts on OS/390??

2002-02-16 Thread Torsten Trzeciak
Hi, we would like to run a struts 1.01 web application on an OS/390 computer. Is there a howto available (Websphere 3.5.x /tomcat) because we have difficulties with Webpshere 3.5. Is tomcat possible? Who has any experience?

RE: Determining the name of a calling class

2002-02-16 Thread Robert
My pleasure :-) Robert -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 5:15 PM To: 'Struts Users Mailing List' Subject: RE: Determining the name of a calling class Most excellent - if this is not a reference to the new 1.4 utility!

Re: Request: Property vs Attribute

2002-02-16 Thread Andreas Mack
On Fri, 2002-02-15 at 14:04, Ted Husted wrote: You might want to start with an ActionForm bean that represents the OK dialog page. This should include properties for a base forward and for a paramId and param (like the html:link tag). The Action for the OK button would then look for

Re: struts.jar outside of WEB_INF/lib on Tomcat4?

2002-02-16 Thread Adam Hardy
I've often heard that you can't put struts.jar in CATALINA_HOME/lib but I've never heard anyone say why it doesn't work. Is it a bug? On Fri, 15 February 2002, Main, David wrote: Hi there, Has anyone had success placing struts.jar in %CATALINA_HOME%/lib to share it across all

Re: Quick question about iterators beans on a page

2002-02-16 Thread Adam Hardy
On Fri, 15 February 2002, [EMAIL PROTECTED] wrote: Adam, I've just cracked this myself. In your Action, set your collection to a session attribute: Vector someVec = valueBean.getSomeData(); session.setAttribute(itData, someVec); Then in your JSP: logic:iterate name=itData id=list

Re: Quick question about iterators beans on a page

2002-02-16 Thread Mark Woon
Adam Hardy wrote: (1) if you put it in the request, then it will get cleaned up by the server at the end of the page automatically, but in the session it will stay until the session dies, right? Yup. But you can also clean it out of the session yourself. (2) is it thread-safe? Guess it

Re: Datetime validation taglib for struts?

2002-02-16 Thread Patrick Refondini
Transformation mechanism for binary data, taking the date example. Trying to deal with java.util.Date in Struts I have came to look for : 1. Validation mechanism I tested the Struts Validator Ted mentioned. Centralized xml config, 18n support, out of the box JavaScript for client side checks,

Re: TILES: using Defenitions as Forwards in Struts 1.1 dev

2002-02-16 Thread Vic Cekvenich
I would like a tiles that works with Struts 1.1 (and Validation). (If there is a sample app with all 3 above... just so I can copy the lib folder and see the new settings). So use TilesController now? What else is different for Struts 1.1? [EMAIL PROTECTED] Cedric Dumoulin wrote:

Re: TILES: using Defenitions as Forwards in Struts 1.1 dev

2002-02-16 Thread Ted Husted
Cedric's working on this. Some recent changes in the Nightly Build change the way ActionForwards are handled, which affects how the handling of definitions is implemented. For more, see The BIG Check-In for Multi-App Support http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg04354.html

Re: Quick question about iterators beans on a page

2002-02-16 Thread Ted Husted
The container gives each request its own thread. If the list is created with new in the action, and then placed into the request, it is thread-safe. Just the same as if you had created it on the JSP. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Java Web Development with Struts. -- Tel

Re: Quick question about iterators beans on a page

2002-02-16 Thread Mark Woon
Adam Hardy wrote: On Sat, 16 February 2002, Mark Woon wrote: (2) is it thread-safe? Guess it must be, but why? Does it all stay in one thread of the main struts controller servlet, and out of reach of any other threads? Depends on what you mean. If it's a read-only collection, then

RE: Showing a result after a long running query

2002-02-16 Thread Michael
out of curiosity, how are you doing the server side transaction asynchronously? you can't block on the request thread, so obviously you hurl a prosessing page and close the socket.. but in the back end, how is the request processed? i just finished a credit card processor application where i

RE: Form - Bean conversion - Not getting values

2002-02-16 Thread James Mitchell
I apologize for not getting back to you sooner. I realized that as I began responding to you last post, my response was quickly becoming a full blown tutorial on wizards in struts. I think I'll publish a tutorial on my web site in a few days, but for now here is a summary what I wrote

Sun JDK 1.4.0 final release

2002-02-16 Thread srinivas
hi all, The final release of JDK 1.4.0 is now available Sun JDK 1.4 download page: http://java.sun.com/j2se/1.4/download.html Summary of new JDK 1.4 features: http://java.sun.com/j2se/1.4/docs/relnotes/features.html Highlights: SSL API: javax.net.ssl JAXP API and XML parser

Action Forwards

2002-02-16 Thread Tim Sawyer
Hi, There's nothing to stop me forwarding to a do rather than a jsp in the struts config is there? Like this: action path=/AddFindParty/FindPartyResults type=com.pancredit.tkbespoke.tjs.strutstest.action.FindPartyPostAction name=addFindPartyModuleForm

RE: Showing a result after a long running query

2002-02-16 Thread James Mitchell
Ahhh, the long running query problem. Yes its a classic. I agree with Michael though. The answer to your dilemma has nothing to do with struts, java, or anything else on the server side of the application at all. This is a limit of web technology in general. I've written a few applications

RE: Action Forwards

2002-02-16 Thread James Mitchell
No problem at all. Here is an example of what I am using. In my IndexAction, I get a property from the ApplicationResources that determines whether the index page should be a login or the main menu. This lets me decide at deployment time whether the user sees a login or the main menu. my

FOP and strus

2002-02-16 Thread John Ng
Hi, I am looking into FOP in generating PDF in struts... the examples so far that I have seen are only taking static XML files and XLS files. Can someone tell me how to use FOP to generate pdf with dynamic XML string (generated by some java objects) on the fly? I would apprecaite if you could

Re: FOP and strus

2002-02-16 Thread Nick Pellow
John, We wrote a servlet that took the name of a URI as a parameter. That URI, essentially mapped to a JSP, whose output was FOP. The servlet: requested the URI, got the FOP, formatted the FOP, then sent that back to the browser. This may not be ideal for all situations, but it worked nicely for

Mapped properties - How To

2002-02-16 Thread Erik Tennant
The mapped property feature is extremely useful, although somewhat elusive. I've been struggling to get this feature to work, and after spending more time than I would care to admit trying to figure it out, I thought I would share a simple how-to on the matter since I ran across several

Re: Mapped properties - How To

2002-02-16 Thread Arron Bates
Sorry to say, it's not going to work. There's a bug in the PropertyUtils class that makes it happen. You could do some collection tricks and get it coming out in an Array, and that would work, but not the mapped property. Arron. Erik Tennant wrote: The mapped property feature is extremely