nested dynaforms possible?

2003-04-05 Thread Dan Allen
In several books, the nested tag library is introduced with struts action forms using the following example: Assume you have a personal information form which includes a person object and a nested address object. The form would contain a single object, the Person object and that person object

Re: [OT] Documenting projects

2003-04-05 Thread Jose Gonzalez Gomez
Jason, Thanks for your response. I'am already using Poseidon for the UML part, and after searching and reading a while I think I'll adopt DocBook. What software do you use to author DocBook documents? A plain XML editor with DTD validation or do you use anything else? Regards Jose

Re: [OT] Documenting projects

2003-04-05 Thread Jose Gonzalez Gomez
Mick, Thanks for your response, but I cannot take that approach because of control version. I think there are some products that lets you control versioning of Word documents but they are not free/open source. About free tools for UML, there are a few, in case you are interested. I'm

RE: another site using struts

2003-04-05 Thread Steve Raeburn
Doesn't look like struts as all URLS use the same path /store/main?cmd=... Though it is using the Front Controller pattern, there's no evidence that this is even running Java. But of course that's a good thing because it's implementation independent. Steve -Original Message- From: Dan

RE: another site using struts

2003-04-05 Thread Jacob Hookom
That's a good comment about URLs. I'm using Struts to develop an informational site, but I'm using filters for URL rewriting to whatever controller I may use. http://www.alistapart.com/stories/urls/index.html A very good read. -Jacob | -Original Message- | From: Steve Raeburn

Re: [OT] Documenting projects

2003-04-05 Thread Jason Lea
Jose Gonzalez Gomez wrote: Jason, Thanks for your response. I'am already using Poseidon for the UML part, and after searching and reading a while I think I'll adopt DocBook. What software do you use to author DocBook documents? A plain XML editor with DTD validation or do you use

Re: Where to catch/throw Exceptions in Struts Tiered Architecture

2003-04-05 Thread Navjot Singh
hi andrew and list, I have another small Q on nested exception. Consoder a nomal web scenario, where a request comes to Action, delegated to Business logic class, that class queries database and follows the path back. CustomerAction - Customer -- JDO etc. |

Re: nested dynaforms possible?

2003-04-05 Thread Dan Allen
Dan Allen ([EMAIL PROTECTED]) wrote: In several books, the nested tag library is introduced with struts action forms using the following example: Assume you have a personal information form which includes a person object and a nested address object. The form would contain a single object,

Re: another site using struts

2003-04-05 Thread Dan Allen
Steve Raeburn ([EMAIL PROTECTED]) wrote: Doesn't look like struts as all URLS use the same path /store/main?cmd=... Though it is using the Front Controller pattern, there's no evidence that this is even running Java. Actually there is a jsessionid in the j2ee format, so I know it is at least

Re: JAXB vs Digester

2003-04-05 Thread Arron Bates
Subject: JAXB vs Digester Hi, From what I have seen of JAXB and Digester, both fecilitate xml- java class/object conversion and vice-versa. So what is the difference? When to use what? A couple of very incomplete thoughts: * Digester is one way (XML-Java), JAXB is two way

Re: Array of Beans used in an ActionForm

2003-04-05 Thread shashikant nagthan
Hi I have tried the same thing as Arne did in his example. (http://www.mail-archive.com/[EMAIL PROTECTED]/msg65826.html) But i get the following error - - Root Cause - java.lang.reflect.InvocationTargetException: java.lang.NullPointerException at

Best way for Database Exception Handling

2003-04-05 Thread Navjot Singh
hi gurus, I have some facade layer for my database. That every method in that facade layer, naturally, *catches* SQLException and in return throw new DBException( sqlexception); My DBException is extending java.lang.Exception. So, I have to explicity throw it and later catch it in my business

[OT] My Struts webapp and hosting

2003-04-05 Thread Guido
Hola! I only want to show you my first Struts app. http://sharedfilms.no-ip.com Problems i've found: - My database (mySQL) pool connections seem to crash when they are idle for some time (6-10 hours?) I have the autoReconnect parameter in the connection url. - i18n is not working for me (now

Re: [OT] My Struts webapp and hosting

2003-04-05 Thread Adolfo Miguelez
Guido, I had the same issue with MySQL connection. I solved by adding to the URL : ?autoReconnect=true Hope it helps, adolfo From: Guido [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [OT] My Struts webapp and hosting Date: Sat, 5 Apr

RE: JAXB vs Digester

2003-04-05 Thread Edgar Dollin
I don't know why this discussion is happening here but I'll throw in my two cents. Hands down the best one or two way xml-java system is Castor. Edgar -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 7:15 PM To: Struts Users

Re: [OT] Documenting projects

2003-04-05 Thread Paul Thomas
On 04/04/2003 13:19 Jose Gonzalez Gomez wrote: Sorry, I wasn't explicit... I was thinking about other kind of documentation, like requirements capture with use cases, analysis and design with UML, etc There's an open source diagramming program called dia which does UML and might be worth

RE: [OT] JAXB vs Digester

2003-04-05 Thread Arron Bates
I don't know why this discussion is happening here but I'll throw in my two cents. Hands down the best one or two way xml-java system is Castor. Wont argue with that. Very fine piece of work. But the JAXB r.i. is quite comparable. Only thing Castor does much better is that you can get the

OT: Cool Link XForms repost

2003-04-05 Thread Vic Cekvenich
XForms is new w3.org forms tag, a nice link: (old XForms link is http://www.novell.com/xforms - Original Message - To: [EMAIL PROTECTED] Sent: Saturday, April 05, 2003 9:58 AM Subject: [XForms] XMLForm 0.9.5 released This release features a new home site powered by XMLForm itself.

RE: [OT] My Struts webapp and hosting

2003-04-05 Thread Steve Armstrong
Quick plug for inexpensive Java web app hosting: http://www.kgbinternet.com/ Cheers, -Steve -Original Message- From: Guido [mailto:[EMAIL PROTECTED] Sent: Saturday, April 05, 2003 7:19 AM To: [EMAIL PROTECTED] Subject: [OT] My Struts webapp and hosting ... Now the application is in my

RE: MVC - not!

2003-04-05 Thread Christian Cryder
Hi Micael, I tend to agree with your assessment. Barracuda tries to distinguish between MVC and MVC-ish (Model 2). There's a discussion that tries to elucidate some of the differences here: http://barracudamvc.org/Barracuda/docs/barracuda_vs_struts.html#CC_Flow_MVC

RE: [OT] My Struts webapp and hosting

2003-04-05 Thread Raible, Matt
I *highly* recommend KGB Internet. I've been using them for almost a year and they've got the best customer support I've ever seen from an ISP. Keith responds within 5 minutes (via e-mail) usually to requests. They also give you your own Tomcat instance that you can stop/restart and do whatever

Re: Best way for Database Exception Handling

2003-04-05 Thread Harish Krishnaswamy
If your business logic cannot do anything with your DBException, what is the need for defining one such exception? Why not just throw the SQLException and handle it in the controller? -Harish --- Navjot Singh [EMAIL PROTECTED] wrote: hi gurus, I have some facade layer for my database.

Re: another site using struts

2003-04-05 Thread louis majanja
www.enterprise.com On Fri, 2003-04-04 at 23:05, Dan Allen wrote: I believe that punchstock.com is using struts, and the action mapping prefix they are using is /store rather than /do or *.do Search for an image and look at the source. I could be wrong of course, but it looks and feels like

RE: Re: Which is the best Struts or Expresso ?

2003-04-05 Thread Steve Parker
Peter, You seem to know Struts Expresso well.. I am definitely using Struts in this application we're starting to build. And, I *think* I want to use Expresso as well to take advantage of all those extra steps it takes for you.. There is one question. We are currently implementing Model

RE: another site using struts

2003-04-05 Thread Steve Raeburn
Good point. I didn't check my cookies. Further inspection reveals ... 404 Not Found /store/servlets/com.test.Hello: allaire.jrun.JRunServletException: not found So now we know. But sadly not struts. From a security perspective if they had used a custom error page It would not have been so

Re: [OT] My Struts webapp and hosting

2003-04-05 Thread Dan Allen
Guido ([EMAIL PROTECTED]) wrote: Hola! I only want to show you my first Struts app. http://sharedfilms.no-ip.com Problems i've found: - My database (mySQL) pool connections seem to crash when they are idle for some time (6-10 hours?) I have the autoReconnect parameter in the

Re: Please help a Tiles problem

2003-04-05 Thread Vernon
I start getting quite frustrated on this issue after a few days of researching on the Tiles home page, Tiles Struts home page, Struts email archive, the tiles-documentation.war, and google on Tiles. The whole development is stop at this point. I have read somewhere at the email archive: it is

Re: Please help a Tiles problem

2003-04-05 Thread David Graham
I noticed in your debug output that you're using TilesServlet. Are you using Struts 1.1? You don't need the TilesServlet; all you need is to configure the TilesPlugin. plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config

RE: [OT] My Struts webapp and hosting

2003-04-05 Thread Arron Bates
Yeah, well *I've* been using KGB for longer! :D Seriously, the service is very good. In all the curly ones I've thrown him, I've never had an issue not resolved. Including having X service support for dynamically generated images wasn't a problem. And if you take on more sites, he'll also thrown

Re: Please help a Tiles problem

2003-04-05 Thread Vernon
Where the plug-in configuration shall go? I don't use Struts, but Tiles only. According to the document on tiles-documentation.war, the TilesServlet shall be used, if my understanding is correct. On Sat, 05 Apr 2003 16:45:59 -0700, David Graham [EMAIL PROTECTED] wrote: I noticed in your debug