Re: pulling dynamic data out of a form...

2004-07-30 Thread Ron Grabowski
I found this post helpful: http://www.mail-archive.com/[EMAIL PROTECTED]/msg96800.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JBuilder X/Struts 1.2 Users heads up

2004-07-30 Thread Vic Cekvenich
That is just one great post. .V Joe Hertz wrote: If youre using JBuilder X (Enterprise or Developer), Struts 1.2.X, and wondering why the "Struts Converter Wizard" for JSP's wasn't working, here's the answer. It's dependent on *all* of the Struts taglibs, which includes the struts-template.tld th

JBuilder X/Struts 1.2 Users heads up

2004-07-30 Thread Joe Hertz
If youre using JBuilder X (Enterprise or Developer), Struts 1.2.X, and wondering why the "Struts Converter Wizard" for JSP's wasn't working, here's the answer. It's dependent on *all* of the Struts taglibs, which includes the struts-template.tld that is no longer distributed with Struts (deprecat

Re: Upgrading a Struts 1.1 app to 1.2.1: any 'gotchas' to watch for?

2004-07-30 Thread Niall Pemberton
* jars - I guess its obvious to say you need to replace the jars, but the one people might forget is the new commons-validator.jar for version 1.1.3 of validator. I'm not sure where you can download this from currently, except the Struts 1.2.1 distro includes it. * tlds - remember to deploy the ne

Re: OT/ Tomcat, Hibernate and MYSQL problem ( byte to blob )

2004-07-30 Thread Mark Lowe
On 30 Jul 2004, at 14:19, bryan wrote: I am using the following mysql driver -rwxr-xr-x1 Administ Aucun 321671 Jul 2 13:47 /c/bryan-website/jakarta -tomcat-5.0.14/common/lib/mysql-connector-java-3.1.1-alpha-bin.jar and it has worked fine for me previously . I would carry out some check

RE: OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread David Friedman
Be careful if you use Hibernate with C3P0. If you're not using the latest Hibernate, the C3P0 connection pools may never be closed if you shut down only your webapp (not your whole Application Server). In early Betas of Hibernate v2.1.3 I had problems where my C3P0 pools weren't closing down when

Re: pulling dynamic data out of a form...

2004-07-30 Thread Hubert Rabago
A couple of brain cells died on me earlier today, so for some reason I couldn't get the solution I already had working before. Here's a quick one that does work, but only if you know the max number of elements your list will have. In your ActionForm, declare your field as an array of String, and

Re: pulling dynamic data out of a form...

2004-07-30 Thread Andrew Close
Hubert, i had previously read the indexprops article in the faq. i think i have that part working. the second article was helpful, but i'm still a bit confused. when submitting my form. does my actionform need to have an array of beans in it for the textfields? or can i just use an array of st

Re: taglibs: how can i rewrite an action uri without rendering a html link tag?

2004-07-30 Thread Erik Weber
If I'm not mistaken, the "action" attribute to html:rewrite is supported in 1.2. Erik Ruth, Brice wrote: alu, artifex wrote: i need to rewrite an action uri for use in a javascript function, something like this: -- function foo() { document.location.href=; } -- however the r

RE: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
Thanks for your note, Subramaniam. I went with K.Citron's suggestion of getting the sessionId from the session and that seems to work great too. It seems (for whatever reason) session.getId() works fine after the session is invalidated though session.getAttribute() bombs... Regards, Geeta > -

Re: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread subramaniam . olaganathan
Hi Geeta, I am using HttpSessionBindingListener and its working fine. Subramaniam Olaganathan Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Geeta Ramani"

RE: GenericDataSource error?

2004-07-30 Thread Geeta Ramani
Hi Carl: Look at this link and follow it to the letter - and you should be fine.. :) http://struts.apache.org/faqs/database.html Good luck, Geeta > -Original Message- > From: Carl T. Dreher [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 10:38 AM > To: [EMAIL PROTECTED] > Subject

GenericDataSource error?

2004-07-30 Thread Carl T. Dreher
I've been trying to follow the examples in a variety of books about using the Struts configuration. Whenever I try access any page in any application that has this in the struts-config.xml, even if the app do

Re: OT/ Tomcat, Hibernate and MYSQL problem ( byte to blob )

2004-07-30 Thread bryan
I am using the following mysql driver -rwxr-xr-x1 Administ Aucun 321671 Jul 2 13:47 /c/bryan-website/jakarta -tomcat-5.0.14/common/lib/mysql-connector-java-3.1.1-alpha-bin.jar and it has worked fine for me previously . I would carry out some checks on the struts action to verify the s

Re: pulling dynamic data out of a form...

2004-07-30 Thread Hubert Rabago
The problem is that Struts tries to populate your form, it starts with an empty collection. Take a look at LazyList (search the mailing list archives), or pre-initialize your form and put it in session scope. For more info, read http://struts.apache.org/faqs/indexedprops.html and http://www.deve

RE: OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread Joe Hertz
+1. Had same behavior with autoReconnect=true > -Original Message- > From: Mark Lowe [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 6:36 AM > To: Struts Users Mailing List > Subject: Re: OT/ Tomcat, Hibernate and MYSQL problem > > > I went down the same road using autoReconnec

RE: release of struts-faces library

2004-07-30 Thread James Holmes
Hi Chris, Please see Craig's response to the timing of the library being finalized. We just need people to use it and report back any issues. If people are using and there are no issues, then we can go ahead and finalize it. As far as modules go, I don't have a lot of experience with integrating

Re: release of struts-faces library

2004-07-30 Thread Craig McClanahan
On Thu, 29 Jul 2004 12:31:21 +0200, Krzysztof Krzak <[EMAIL PROTECTED]> wrote: > > Thanks James for information I am wandering yet, if there is planned > date of release of the struts-face library Could > tell something about the worse case (max date) or estimated date of the > release, please? Th

Re: x:transform

2004-07-30 Thread Kris Schneider
Yup, seen it before but I forget if it's a Tomcat or Xalan bug. Make sure you've got the latest of each (and JSTL for that matter) and try again. I also seem to remember some weird issue with having the stylesheet use: http://www.w3.org/1999/XSL/Transform";> instead of: http://www.w3.org/1999/XS

RE: problems with

2004-07-30 Thread Lister, Tom (AFM)
If this is the code it looks like the logic:equals value should be start <%= not <= :-) Tom Lister * [EMAIL PROTECTED] * 020 775 65014 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 July 2004 10:10 To: Struts Users Mailing List" <[EMAIL PROTECTED]> Subject

RE: Forwarding to another struts application

2004-07-30 Thread Mulligan, Scott H
Thanks for the info. You've confirmed my suspicions, and I appreciate the bullets. I'm sure they will help me greatly. Scott Mulligan -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, July 30, 2004 1:25 PM To: Struts Users Mailing List Subject: Re: Forwar

Re: Upgrading a Struts 1.1 app to 1.2.1: any 'gotchas' to watch for?

2004-07-30 Thread Nathan Maves
Everything worked great! Make sure that you use the new jars supplied in the download. sslext still works fine for me. You will also have to make sure that you are using ActionMessages. Nathan On Jul 28, 2004, at 11:28 AM, Curtis Taylor wrote: Hi everyone, After a cursory check of the Wiki & Struts

Re: Forwarding to another struts application

2004-07-30 Thread Craig McClanahan
On Fri, 30 Jul 2004 08:27:38 -0500, Mulligan, Scott H <[EMAIL PROTECTED]> wrote: > I have two distinct Struts applications running in Tomcat. I would like to > forward a request from one application to the other and still be able to > access the request attributes. Is this possible to do in the Str

x:transform

2004-07-30 Thread Lokanath
hi guys I am trying to transform a xml file using .I my local system it's working fine.But when i moved the war file to the server it gave the following error "javax.servlet.ServletException: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: java.la

Re: release of struts-faces library

2004-07-30 Thread Krzysztof Krzak
Thanks James for information I am wandering yet, if there is planned date of release of the struts-face library Could tell something about the worse case (max date) or estimated date of the release, please? This is rather important iformation for my boss to decide about starting the project. I

Re: concurrency management

2004-07-30 Thread Vic Cekvenich
The connection pools and data sources are more of a container question, since you are using Tomcat ask on Tomcat list, and I will follow up there. .V Jignesh Patel wrote: Hi, How do we will manage concurrency if suppose we have connection pool which is managed with struts1.1 on tomcat. And then w

Upgrading a Struts 1.1 app to 1.2.1: any 'gotchas' to watch for?

2004-07-30 Thread Curtis Taylor
Hi everyone, After a cursory check of the Wiki & Struts site, I have a question for the collective expertise in the group. I'd like to leverage all the new features & fixes available in the 1.2.1 release by upgrading my existing app. Here's what we're running now: Struts/Tiles 1.1 sslext for Str

RE: pulling dynamic data out of a form...

2004-07-30 Thread Paul McCulloch
I'd grab the struts source and use your debugger. Put a breakpoint where you get your NPE. You should then be in a pretty good position to figure what you've done wrong with your code. The Struts source is generally easy to understand and pretty well commented. HTH, Paul > -Original Message

pulling dynamic data out of a form...

2004-07-30 Thread Andrew Close
hi all, i'm having a hard time getting data from multiple textfields with similar names out of a form and into my actionform. in my JSP i'm using a [logic:iterate] tag to display (up to) ten textfields. these textfields are initially empty. the user enters data into the text fields and hits 'add

RE: Help on Validator MASK needed

2004-07-30 Thread Robert Miller
Thomas, I agree with the escaping "+" (without escaping it is interpreted as "must have one or more of the previous"). Also if you wanted you could use "\d" instead of "[0-9]". A modified version that looks good is: ^(\+|-)?\d+$ This will match "x" or "+x" or "-x" (where x is any series of one

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Geeta Ramani
Well, you could put in a check for whether they are already in the login page. You could use methods like getRequestURI() on the request object or something like: if ((request.getParameter("username") != null) && (request.getParameter("passowrd") != null) ) { return true; //ie normal proc

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Gupta, Sahil
Other options besides using the RequestProcessor: SAIF Filters I would suggest the use of filters. In the filters you could check whether the request is for your login resource(assuming thats your first time), and let the user through to the login page w/o the error messages and in case the reque

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Gupta, Sahil
has been working for me for very long now. -Original Message- From: Asim Ghosh [mailto:[EMAIL PROTECTED] Sent: Friday, July 30, 2004 11:33 AM To: Struts Users Mailing List Subject: RE: redirect to login page with error message on the jsp page Are u sure that this will work becaus

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Asim Ghosh
Are u sure that this will work because i have tried this already. Asim "Gupta, Sahil" <[EMAIL PROTECTED]> wrote: If the session object is invalidated(timed out), add the action errors in the request and call the saverequest(errors, req) in the action servlet and do a mapping.findForward to the

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Asim Ghosh
this is what i have done but using ActionServlet class. But how to avoid for the first time. Geeta Ramani <[EMAIL PROTECTED]> wrote: Or you could write a RequestProcessor and override the processPreprocess method with something like this: HttpSession session = request.getSession(); if ( (sessio

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Geeta Ramani
Or you could write a RequestProcessor and override the processPreprocess method with something like this: HttpSession session = request.getSession(); if ( (session == null) || (session.getFavouriteObjectInSession == null) ) { //use Response object to redirect to login page with error set;

RE: jstl indexes within html tags?

2004-07-30 Thread Paul McCulloch
I think that you need to expose the scoped attribute, foobar, as a scripting variable. You will then be able to use this scripting variable as an RT expression in your . Both & will do this for you. Out of interest - why can't you use the Struts EL tags? HTH, Paul > -Original Message-

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Gupta, Sahil
If the session object is invalidated(timed out), add the action errors in the request and call the saverequest(errors, req) in the action servlet and do a mapping.findForward to the login page. The login page should display the errors from the html:errors tag. Pretty straight forward. Sahil

redirect to login page with error message on the jsp page

2004-07-30 Thread Asim Ghosh
hello, can anybody tell me how to redirect to login page with error message on the jsp page. It should display error message "You session has timed out" on the login page. in web.xml 30 - ALL-NEW Yahoo! Messenger - all new features

Re: Indentation using html:messages tag

2004-07-30 Thread Nathan Maves
So you are looking for something like this First Name Required Max Length Last Name Required Hard to help unless we know what you are looking for? Nathan On Jul 30, 2004, at 3:08 AM, Suresh S wrote: Hi, OK, i got what you r trying to say .But the problem is the errors in

jstl indexes within html tags?

2004-07-30 Thread Woodchuck
hello, i don't have the option of using struts-el, nor am i using Tomcat 5. how can i get jstl and struts to work in harmony? i need the ??? to be dynamic using the value of the index "foobar" so the final result seen by the tag is this: ...and so on has anyone hacked a solutio

Re: DAO Resource Suggestions

2004-07-30 Thread Paul Barry
Here is another one: http://www.javapractices.com/Topic66.cjp Bussie, Andre D wrote: Does anyone know of good resources on implementing a DAO and service within a struts application Andre' D. Bussie Sourcing Rotational Program MAC-MAR 532 Fellowship Rd Moorestown, NJ 08057 856.787.3273 856.9

RE: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
Ah. You mean session.getId() would not bomb on me after the session is invalidated, is that right? In which case, that's a good idea too.. Thanks! Geeta > -Original Message- > From: K. Citron [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 10:57 AM > To: Struts Users Mailing List

Re: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread K. Citron
Write any session related info to the DB, using the session id as the primary key to access the info. Geeta Ramani wrote: Hi everyone: I would like some clarification regarding the HttpSessionListener. (We are using servlet spec 2.3) Here's what I want to do: When a session expires, either when

RE: DAO Resource Suggestions

2004-07-30 Thread Geeta Ramani
You mean something like this? http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html Geeta > -Original Message- > From: Bussie, Andre D [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 10:48 AM > To: [EMAIL PROTECTED] > Subject: DAO Resource Suggestions >

DAO Resource Suggestions

2004-07-30 Thread Bussie, Andre D
Does anyone know of good resources on implementing a DAO and service within a struts application Andre' D. Bussie Sourcing Rotational Program MAC-MAR 532 Fellowship Rd Moorestown, NJ 08057 856.787.3273 856.952.7325 - Cell [EMAIL PROTECTED]

RE: concurrency management

2004-07-30 Thread Gupta, Sahil
I would imagine if you set up your server.xml to be cluster aware, it should be able to manage the concurrency issues for you. I have not tried this so will not speak a lot on the subject. Sahil -Original Message- From: Jignesh Patel [mailto:[EMAIL PROTECTED] Sent: Friday, July 30, 2004 8

RE: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
ahh, wait. You are using tomcat 5 which implements servlet 2.4 and the javadocs for 2.4 says under sessionDestroyed() the following: Notification that a session is **about to be** invalidated. They changed the tense on us!! :) ..Explains why your code is working just fine! Also gives me hope th

concurrency management

2004-07-30 Thread Jignesh Patel
Hi, How do we will manage concurrency if suppose we have connection pool which is managed with struts1.1 on tomcat. And then we have two we server now suppose two connection from two server try to access the database at the same time. How we can handle? I know from my previous posting connection

RE: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
Hmm.. Today must be my day to get stumped.. So how do you explain the javadocs which says: Notification that a session **was** invalidated. Geeta > -Original Message- > From: Jignesh Patel [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 8:04 PM > To: Struts Users Mailing List >

Re: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Jignesh Patel
Hi Geeta, What I can say that check again your coding because we have application in place with Servlet2.3, tomcat5.0.19 and struts1.1. And in sessionDestroyed method I am able to trap the attribute which are associated with the session. It just work fine for us. -Jignesh On Fri, 2004-07-30 a

RE: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
Thank you, Sahil. This error kind of threw me - two days ago i would have sworn I knew all I needed to know about the HttpSessionlistener (teach me to be to so sanguine!) - so I am glad to hear confirmation about my proposed solution. Thanks again! Geeta > -Original Message- > From: G

Weblogic 8.1 SP2 + Struts + Internal Servlet Session Process Error Found!

2004-07-30 Thread Oliver Kießler
Hi, I have developed a struts 1.1 based webapplication which runs fine on weblogic 7 (for one year in production), tomcat 4.1,5 and others but refuses to function in weblogic 8.1 sp2! This is the stacktrace I get when I try to call an action via the browser: java.lang.IllegalStateException: Intern

RE: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Gupta, Sahil
Yup. You should be using your session object as implementing the sessionbindinglistener...and from the session binding event, you can find out the session information and for an unbound event, implement your business logic. sahil -Original Message- From: Geeta Ramani [mailto:[EMAIL PR

Re: Newbie - DataBase

2004-07-30 Thread Paul Barry
I think why you would want to do it is pretty obvious, you need to get data from the database to display on your page, such as a list of items. A better question is why would you not want to. That answer to that question is that it would be better to encapsulate your database query in a Data Ac

Re: Newbie - DataBase

2004-07-30 Thread Peng Tuck Kwok
On Fri, 30 Jul 2004 09:07:36 -0400, Bussie, Andre D <[EMAIL PROTECTED]> wrote: > Is there a way in the Jakarta Struts framework to perform a database > query in an Action class w/o using a Action Form Class? It sure is. The next question would be: why would you want to do that in the action ? :D

HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Geeta Ramani
Hi everyone: I would like some clarification regarding the HttpSessionListener. (We are using servlet spec 2.3) Here's what I want to do: When a session expires, either when a user uses the "logout" feature or due to time-out, I want to delete a certain row from the database. The specifics of

Re: taglibs: how can i rewrite an action uri without rendering a html link tag?

2004-07-30 Thread Ruth, Brice
alu, artifex wrote: i need to rewrite an action uri for use in a javascript function, something like this: -- function foo() { document.location.href=; } -- however the renders html code which i can't use in my javascript function. the tag doesnt provide support for the "acti

Forwarding to another struts application

2004-07-30 Thread Mulligan, Scott H
I have two distinct Struts applications running in Tomcat. I would like to forward a request from one application to the other and still be able to access the request attributes. Is this possible to do in the Struts framework without customizing the Controller? It seems that Struts can only forward

Re: [OT] XML Schema for Tiles

2004-07-30 Thread Duncan Mills
Just giving back to the community... Regards Duncan Mills Mark Lowe wrote: sorry i just read the blog and seen that its not what you want at all. In fact you didn't want anything in the first place :) On 30 Jul 2004, at 14:42, Mark Lowe wrote: Is downloading this what you want to do? http://jakar

AW: RE: Help on Validator MASK needed

2004-07-30 Thread Thomas Vogt
Seems like the Slashes got lost, yes I tried that, but merely had any effect, the resulting error was the same. - Original-Nachricht Von: Struts Users Mailing List <[EMAIL PROTECTED]> An: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Betreff: RE: Help on Validator MASK needed D

RE: Help on Validator MASK needed

2004-07-30 Thread Jarnot Voytek Contr AU/SC
have you tried escaping the + and -? [\+\-] > -Original Message- > From: Thomas Vogt [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 8:10 AM > To: [EMAIL PROTECTED] > Subject: Help on Validator MASK needed > > > Hi, I would appreciate some help, > > My DynaValidator Form doesn'

Re: Struts Live Sites

2004-07-30 Thread Vic Cekvenich
Ziff Davis used to be ASP in Jan of this year: http://uptime.netcraft.com/up/graph/?host=1up.com But now 10MM members on 5 magazines are on Struts. .V Chappell, Simon P wrote: Just to let folks know that I have updated the Struts page on my website. Many thanks to the folks that emailed me with ne

Help on Validator MASK needed

2004-07-30 Thread Thomas Vogt
Hi, I would appreciate some help, My DynaValidator Form doesn't get validated, I need a signed value (the field is an Integer). But the Mask doesn't seem to get the meaning in the plus or minus in front. Thats why whenever the form gets validated i get the mask error. Below is my actual validatio

Newbie - DataBase

2004-07-30 Thread Bussie, Andre D
Is there a way in the Jakarta Struts framework to perform a database query in an Action class w/o using a Action Form Class? Scenario: I want the user to click on a link once the link is selected provide an action class to do the database logic and then display result of database function on a

RE: Struts Live Sites

2004-07-30 Thread Chappell, Simon P
Just to let folks know that I have updated the Struts page on my website. Many thanks to the folks that emailed me with new candidates for inclusion. http://www.simonpeter.com/techie/java/struts/sites.html The evidence seems to suggest that Struts is doing fine out in the big wide world! :-) Si

Re: [OT] XML Schema for Tiles

2004-07-30 Thread Duncan Mills
Nope - I needed an XML schema not a DTD to register with JDeveloper's XML editor - The XSD I've created is generated out of the DTD so they are consistent. Regards Duncan Mills Mark Lowe wrote: Is downloading this what you want to do? http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd M

Re: [OT] XML Schema for Tiles

2004-07-30 Thread Mark Lowe
sorry i just read the blog and seen that its not what you want at all. In fact you didn't want anything in the first place :) On 30 Jul 2004, at 14:42, Mark Lowe wrote: Is downloading this what you want to do? http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd Mark On 30 Jul 2004, at 14:18

Re: [OT] XML Schema for Tiles

2004-07-30 Thread Mark Lowe
Is downloading this what you want to do? http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd Mark On 30 Jul 2004, at 14:18, Duncan Mills wrote: I spent a while yesterday Googling around for an XSD for Tiles and simply couldn't find one, so as a result I've generated one up for anyone els

[OT] XML Schema for Tiles

2004-07-30 Thread Duncan Mills
I spent a while yesterday Googling around for an XSD for Tiles and simply couldn't find one, so as a result I've generated one up for anyone else that needs it... http://www.groundside.com/blog/resources/DuncanMills/tiles-config_1_1.xsd Enjoy... (For a discussion on installing this in JDeveloper

taglibs: how can i rewrite an action uri without rendering a html link tag?

2004-07-30 Thread alu, artifex
i need to rewrite an action uri for use in a javascript function, something like this: -- function foo() { document.location.href=; } -- however the renders html code which i can't use in my javascript function. the tag doesnt provide support for the "action" attribute (whic

Asunto: Re: IE5.0 and CSS import

2004-07-30 Thread Guillermo Meyer
In this case, you could create a custom tag extending html:rewrite and generate the tag for you: In your JSP: Cheers. Guillermo. >-- Mensaje original -- >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >From: Mark Lowe <[EMAIL PROTECTED]> >Subject: Re: IE5.0 and CSS import >Date:

Re: bean property copy

2004-07-30 Thread Bogdan Cirstea
the value didn't pass. the name property is exactly the same Erdem Ergin wrote: Did you get an error or just the value did not pass? If it works but you did not get the value check the name property of the html forms and make sure they match with your action mapping attribute. -Original Messag

RE: bean property copy

2004-07-30 Thread Erdem Ergin
Did you get an error or just the value did not pass? If it works but you did not get the value check the name property of the html forms and make sure they match with your action mapping attribute. -Original Message- From: Bogdan Cirstea [mailto:[EMAIL PROTECTED] Sent: Fri 7/30/2004 1:1

Re: OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread Mark Lowe
I went down the same road using autoReconnect="true" to no avail. Had the same thing with tc4 and 5.. And c3po and dcbp.. Turned out to be the driver. I'd try the version 2 driver and then try the version 3 driver with c3po, and test joe's and my competing theories.. On 30 Jul 2004, at 12:24,

Re: OT/ Tomcat, Hibernate and MYSQL problem ( byte to blob )

2004-07-30 Thread Mark Lowe
Hi Bryan Just downloaded the latest, but the action just prints a test message.. System.out.println("at least i managed to get called"); The problem isn't with form file, thats fine.. Its when I try and save to the db //hibernate stuff /** * @hibernate.property column="image" type="blob" */ publ

RE: OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread Marco Mistroni
Hello, >Marco, please tell us what winds up happening with your app. I'm now >very curious. Well, I m using, as I said, mysql connector 3.0.11, with mysql 4.1 alpha & hibernate together. My app is running on tomcat 5.0 I m using hibernate 2.1. I haven't configured any connection pools on Tomc

Re: bean property copy

2004-07-30 Thread Bogdan Cirstea
i tried but didn't work that way Erdem Ergin wrote: Hi, Possibly between pageA and pageB, you have an action. In that action's execute function you get formA as parameter. Then generate a new form with type formB as a local variable and assign your values. Lastly send it to the new page which is

RE: OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread Joe Hertz
> I've had the same thing happen using DBCP and C3PO, I believe its the > driver rather than the pooling. As I said we've a app thats > live, and i > haven't touched it in months using DBCP. Interesting. Going to C3P0 totally fixed this for me, and I'm using the supposedly stable 3.0 driver. I

Re: OT/ Tomcat, Hibernate and MYSQL problem ( byte to blob )

2004-07-30 Thread Bryan Hunt
My app is able to do it no problem, back and forth. You can get the source code from http://jestate.revoltingdigits.com/ ie.jestate.struts.action.ImageUploadAction My code is a mess at the moment but that code is working. --b Mark Lowe wrote: I've had the same thing happen using DBCP and C3PO, I b

Re: IE5.0 and CSS import

2004-07-30 Thread Mark Lowe
Yeah there is a cost.. in which case i'd get the context path and use that, but makes moving a template into the app a little more work. Mark On 30 Jul 2004, at 11:57, Nicolas De Loof wrote: Having this, you need all your action path to have same number of directory levels, so that ../.. points

Re: IE5.0 and CSS import

2004-07-30 Thread Nicolas De Loof
Having this, you need all your action path to have same number of directory levels, so that ../.. points to the application context root. We use modules and structured path with up to 3 levels, so using is usefull to assume URI to static resources (css or images) are valid. Nico. > We tend

Re: IE5.0 and CSS import

2004-07-30 Thread Mark Lowe
We tend to use relative paths to css and other static resources. @import url("../../style/main.css"); 1. Because the session id isn't appended to the path 2. Because static html layouts can be developed separately to the rest of the app. As tiles let you use just 1 or a few templates/layouts for

Re: OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread Mark Lowe
I've had the same thing happen using DBCP and C3PO, I believe its the driver rather than the pooling. As I said we've a app thats live, and i haven't touched it in months using DBCP. [OT] subject change.. Have you had any joy with byte[] to blob mapping for file uploads with hibernate 2.1.4? I

RE: bean property copy

2004-07-30 Thread Erdem Ergin
Hi, Possibly between pageA and pageB, you have an action. In that action's execute function you get formA as parameter. Then generate a new form with type formB as a local variable and assign your values. Lastly send it to the new page which is pageB. Using: public ActionForward execute(Ac

RE: OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread Joe Hertz
I noticed this behavior with 3.0.14. This _really_ sounds like this entry in the Hibernate FAQ to me: http://www.hibernate.org/117.html#A13 I wouldn't use DBCP though as Gavin King is apparently fed up with it, and built-in support for it is being yanked in the next major version of Hibernate.

IE5.0 and CSS import

2004-07-30 Thread Nicolas De Loof
Hi all, just solved a strange problem and would like to share with you if you have some suggestions : My app needs to support IE 5.0 :( We use CSS and I had designed my baseLayout.jsp like this : It works

Re: OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread Mark Lowe
If its a gamma release you can try whatever the most stable one is at the moment.. 3.0.14 i think.. If you want a real-world production example I've had an app running for about 4 months thats not even been restarted using mysql-connector-java-2.0.14-bin.jar I had exactly the same issue. using

RE: problems with

2004-07-30 Thread Jan Behrens
Hi Baris, not sure whether this is a typo but it should be: ^^^ Cheers, Jan > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 11:10 AM > To: Struts.Users.Mailing.List > Subject: problems w

bean property copy

2004-07-30 Thread Bogdan Cirstea
hello i'm using struts1.1 and i have a problem: i am in pageA with formA with property prop1 and prop2 and i want to go in pageB in witch i have formB with properties named prop1 and prop2 also. and i want that in pageB, in property from formB to have value of properties from formA. for this i p

problems with

2004-07-30 Thread bersoy
Hi friends, First of all, I apologize for this long e-mail. I have a problem with the construct logic. If I use for instance this code: <%-%> It doesn't work and I don't know why. I believe

RE: Indentation using html:messages tag

2004-07-30 Thread Suresh S
Hi, OK, i got what you r trying to say .But the problem is the errors in the list are need to be displayed from the bundle whereas the Title is user entered . Thanx Suresh S On Fri, 2004-07-30 at 14:24, Suresh S wrote: > Hi , > Thanks for the quick reply.But still i will be having problem in >

RE: OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread Marco Mistroni
Hello, If I remember correct, mysql connector 3.0.11 Regards marco -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 30 July 2004 09:36 To: Struts Users Mailing List Subject: Re: OT/ Tomcat, Hibernate and MYSQL problem Marco What jdbc driver are you u

RE: Indentation using html:messages tag

2004-07-30 Thread Suresh S
Hi , Thanks for the quick reply.But still i will be having problem in identifying which is Title and Error. i need to achieve something like this Title 1 > * error1 > * error 2 > Title 2 >* error1 >* error2 > > > Title n >* error1 >* error2 Thanx Suresh S On Fr

Re: OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread Mark Lowe
Marco What jdbc driver are you using? They was a shady version 3 behaving like this. On 30 Jul 2004, at 10:05, Joe Hertz wrote: Hibernate's internal connection pooling isn't meant for production because it does things just like that. Suggest you use c3p0 for the pooling. From my hibernate.cfg.xml,

RE: Debugging jsp file in IDE?

2004-07-30 Thread Robert Shields
Hi There are two plugins that I have used. The first is called myeclipse: http://www.myeclipseide.com This is a commercial (but inexpensive) plugin that will allow you to step through JSP files. The second is the Tomcat plugin by Sysdeo: http://www.sysdeo.com/eclipse/tomcatPlugin.html This w

RE: File Upload

2004-07-30 Thread Robert Shields
Hi > Is there any way by which the file is compressed into a zip (or any > other) and then it is uploaded. Yeap, just type: gzip [file] Then upload it. Regards -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: 30 July 2004 05:54 To: [EMAIL PROTECTED] Subject: F

RE: OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread Joe Hertz
Hibernate's internal connection pooling isn't meant for production because it does things just like that. Suggest you use c3p0 for the pooling. >From my hibernate.cfg.xml, I only had to add this: 5 20 1800 50 HTH -Joe > -Original Message- > From: Marco Mi

[OT] New Multiple Image Buttons Code

2004-07-30 Thread Michael McGrady
Spurred on by Larry Young's (www.dalmatian.com) thought that my Button solution at http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript was to heavyweight, I have refactored the code completely. The new code is vastly superior, if you are using the old code, which is

OT/ Tomcat, Hibernate and MYSQL problem

2004-07-30 Thread Marco Mistroni
Hello, First of all, I apologize for the off topic issue.. I know this is not the list, but I tried hibernate forums, and Searched the web with no solution.. hopefully some of u had the Same problem and solved it.. I m experiencing problems with Hibernate in tomcat, talking to mysql. My

  1   2   >