Re: File upload problem

2004-08-08 Thread Axel Stahlhut
Craig McClanahan wrote: On Sun, 08 Aug 2004 06:37:33 -0400, Erik Weber [EMAIL PROTECTED] wrote: A colleague gave me a nice file upload Servlet to use; it uses the jakarta commons file upload classes. Is there a particular reason that you're not using the standard Struts support for file upload

Re: OT: Hibernate Session to User Session

2004-06-07 Thread Axel Stahlhut
Riyad Kalla wrote: I was reading in the Hibernate forums that when you have a WebApp DAO Hibernate DB design, and you open/close each Hibernate session at every single DAO method call (what I do now) its actually quite expensive, and is suggested that you attempt to maintain a Hibernate

Re: [OT] JBoss EJBs or Hibernate

2004-06-07 Thread Axel Stahlhut
Kunal H. Parikh wrote: Hi All! I just wanted a view of people in the industry on their preferences for PERSISTENCE, and if possible, WHY! I intend to run everything in the same JVM and most likely be using JBOSS. TIA, Kunal - To

Re: What was the name of this application? [was] Re: Are there any IDE's that understand Struts tags?

2004-05-30 Thread Axel Stahlhut
Rick Reumann wrote: bOOyah wrote: Actually there was a struts application/IDE that was for demo that was quite impressive but now I forgot the name. Was it NitroX from M7? http://www.m7.com/ Yes! That was the one thanks. That's the only one that I've found that will actually complete the

Re: Html:link and save form

2004-05-13 Thread Axel Stahlhut
Hi Sandra, a link never submits data of the surrounding form. If you do it the way you did, this should work, but if the user has javascript disabled, nothing is submitted. You have got to check at least for errors from that. But the user will never know or understand, ehat is happening. You

Re: Reports In Struts Frame work

2004-05-10 Thread Axel Stahlhut
we are using cewolf, a set of tags based on jfreechart. Very nice, you just have to implement the models behind the tags and then create all kind of charts you may need. AFor cewolf and jefreechart on Linux you need an XServer or something like xvfb (XVirtualFrameBuffer), if no XWindow

Re: serialization of a FormFile object

2004-05-10 Thread Axel Stahlhut
Hi. You could implement a FormFileWrapper, geting a FormFile in Constructor. Then you may copy all fields except InputStream (which makes in fact no sense, because it is definetly lost after e.g. restart of App) and let the wrapper implement Serializable. The wrapper can now be stored into

Re: serialization of a FormFile object

2004-05-10 Thread Axel Stahlhut
? Besides the method mentioned above, are there other alternatives to approach the problem? Thanks again! Octavia - Original Message - From: Axel Stahlhut [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, May 10, 2004 2:04 PM Subject: Re: serialization of a FormFile

Re: html:image and pop-ups

2004-05-07 Thread Axel Stahlhut
Sonam Belbase wrote: Hi, I am trying to create a button which invokes an action and then shows the results in a pop-up. How would I do this? For starters, I tried the following, but html:image cannot have a target attribute: html:image src=../../images/ready_to_deploy_button.gif target=_blank/

Re: How can I display a table in two columns?

2004-04-06 Thread Axel Stahlhut
bOOyah wrote: Hi all I have a 2-column table containing 16 row items, each with an associated checkbox. Right now I'm iterating over a List to render each row of the table. Column 1 contains the checkboxes; column 2 contains the items. So my table currently looks like this (x == a