Re: very dynamic forms

2004-08-07 Thread Bryan Hunt
The copy I got back turned out ok. Perhaps your mail admin is using something like the anomy sanitizer and it is stripping it out. I sent the message in plain text format and when I examined the message source it was ok and all the tags were in it. I don't think anyone was very interested in th

POSSIBLE OT: localised hashtable custom tag question

2004-08-01 Thread Bryan Hunt
Ok here's the scenario My (opensource) application is going to be available in the users language. All my struts localisation stuff is working fine, all the labels and stuff are stored in property files etc. I am using hibernate for persistance. JSTL does not allow you to call functions on obj

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

TOTALY OT: Re: HELP Re: Mail Delivery Failure

2004-07-27 Thread Bryan Hunt
Guys you need my email system. I've set up spamassassin and courier imap together + a cron job for training spamassassin. I just dump crud like this in my spamescaped folder and that night it trains my spam filter ... result no more silly notifications. --b Spamassassin/ClamAV/Postfix/Courier-IM

Re: Hibernate

2004-07-27 Thread Bryan Hunt
Hibernate = persistance Struts = presentation This question = Hibernate forums http://www.hibernate.org Your answer = No, the size of tables will not be a problem --b Shailender Jain wrote: Hi, I have just completed my application using Strut. I have gone through some of the e-mails talking about H

Re: JSF vs Struts - Development Process Questions

2004-07-19 Thread Bryan Hunt
JSF with spring and hibernate tutorial. http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-jsf.html <http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-jsf.html> Guess I should read it before I comment again. --b Bryan Hunt wrote: +1 I am sceptical about this technology but potentia

Re: JSF vs Struts - Development Process Questions

2004-07-19 Thread Bryan Hunt
+1 I am sceptical about this technology but potentially it could be good. I'm going to look at JSF in 6 months or a years time when it is clearer if this is going to be another timewaster/project wrecker or something usefull and useable. In the meantime I recomend NitroX as well although I don't

Re: JSF vs Struts

2004-07-18 Thread Bryan Hunt
struts exists and has existed for a long time. jsf is yet another naf sun inspired attempt to mimic microsoft. --b Martin Gainty wrote: Sorry for the simplistic question Starting a new project and trying to get a handle on 2 different approaches What does Struts have to offer over JSF? Thanks, ma

Re: How to Disable "open" button on "File Download" dialogue box....please urgent

2004-07-16 Thread Bryan Hunt
+1 Andrew Hill wrote: Try here: http://www.catb.org/~esr/faqs/smart-questions.html ganesh gadi wrote: Hi Friends, i'm very happy to tell u my problems and get answers. i need a solution how to disable "open" button on "File Download" dialog box.i want control on it. Pls don't say no solution.Bcox

Re: Memory Problem

2004-07-16 Thread Bryan Hunt
This is more for the lists benefit than yours I have found the (CPL licensed) eclipse profiling tool to be absolutely excellent. http://eclipsecolorer.sourceforge.net/index_profiler.html Also as found using google. http://directory.google.com/Top/Computers/Programming/Languages/Java/Developm

Re: Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Bryan Hunt
I do it with a seperate action for each use case. I find it tedious but have not found a better way. --b Josh Holtzman wrote: Hello All, I've tried to search the list archives for previous threads on this topic, but it appears the search feature is not working. We are building a simple website

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
iginal Message - From: "Bryan Hunt" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 15, 2004 2:20 PM Subject: Re: validation wierdness possibly related to multiple struts config files finally solved it. When you hav

Re: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread Bryan Hunt
clients/m7/001/page/demo.asp To be fair, I'm _still_ using Idea (and _still_ lovin' it). Dennis *Bryan Hunt <[EMAIL PROTECTED]>* 07/15/2004 06:53 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To Struts Users Mailing List <[EM

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
ons/dtds/validator_1_1.dtd";> =snip* *It works When you have the following DTD definition in your validation.xml file snip= http://jakarta.apache.org/commons/dtds/validator_1_2_0.dtd";> =snip It works. --b Bryan Hunt wrote: Ok , dunno who to report this to but this validator stuff needs

Re: [OT] Best practice for background service

2004-07-15 Thread Bryan Hunt
better idea , integrate the spring framwork and use the built in support for quartz scheduling. http://www.springframework.org/docs/reference/index.html http://www.springframework.org/docs/reference/scheduling.html --b * * Jan Behrens wrote: Hi list, I am coding an app where I rely on a backgroun

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
ittle look at this. It doesn't seem to know whether to do 1.1 or 1.2 stuff. Some of the behaviour is from one and some from the other. --b Bryan Hunt wrote: Thank you Bill, your answer was correct. I've found that commons-validator as distibuted with the latest 1.2.1 version of struts

Re: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread Bryan Hunt
sorry should have said M7 --b Bryan Hunt wrote: Nitrox from M4 ... best that I've seen (for struts) . Better than MyEclipse but does not support code completion within JSP's or debugging ( from what I can see ) . --b Navjot Singh wrote: hi, I am starting a j2ee app(servlets,jsp.tagli

Re: validation wierdness possibly related to multiple struts config files

2004-07-15 Thread Bryan Hunt
imply change arg0 to arg in your validation.xml. Or you can try using the new position attribute: Bill Siggelkow Bryan Hunt wrote: I have the following jsp page snip= : etc etc etc =snip I have 4 stru

Re: examples of struts??

2004-07-15 Thread Bryan Hunt
http://aerlingus.com The finest of Irish airlines, to be sure , to be sure ! --b Lykins Don H Contr AFSAC/ITS wrote: What real-world web sites are using struts? Can someone point me to some sites and do you know which packages/classes are used? also, which is the most popular

Re: [OT] Editor for Struts/J2ee apps

2004-07-15 Thread Bryan Hunt
Nitrox from M4 ... best that I've seen (for struts) . Better than MyEclipse but does not support code completion within JSP's or debugging ( from what I can see ) . --b Navjot Singh wrote: hi, I am starting a j2ee app(servlets,jsp.taglibs,ejb,jms,jaxp) with struts as web framework and i need to

OT:Re: FW: Lesbian & gays Mpeg

2004-07-13 Thread Bryan Hunt
Well that won the prize for most OT message .. It beat the hibernate/linux/coffee machine questions --b malcolm wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -

validation wierdness possibly related to multiple struts config files

2004-07-13 Thread Bryan Hunt
I have the following jsp page snip= : etc etc etc =snip I have 4 struts config files default.xml,client.xml,admin.xml,sales.xml They are declared as so in my web.xml file. snip= config /WEB-INF/str

OT:SOLUTION:Re: Why Ajp13Connector.class is not found in tomcat-jk.jar inTomca 5.x but in Tomca 4.x

2004-07-10 Thread Bryan Hunt
I know the solution, for u *NIX users vi ~/.procmailrc snip= :0 h *^Subject:.*I can't bother my ass looking on google so I send noise to the list /dev/null =snip --b Robert Taylor wrote: http://jakarta.apache.org/site/mail2.html#Tomcat -Original Message- From: ganesh gadi [ma

Re: using Constants from JSTL .....

2004-07-08 Thread Bryan Hunt
n Wed, 07 Jul 2004 20:12:02 +0200, Bryan Hunt <[EMAIL PROTECTED]> wrote: And it works fine, but really what I am trying to get here is the value of using Constants in both my Actions and my ( JSTL based ) jsp's. You need to have all your Constants in a Map that is in applicati

Re: some best practices questions

2004-07-08 Thread Bryan Hunt
The main arguments that people have against session storage is the following a) Excessive memory consumption limits scallability. True, just don't go crazy storing whole db's and stuff in there. b) Sessions can not be shared by webservers in clustered environment. Clustered webservers with shared s

Re: OT: RE: Spring or Tapestry Framework

2004-07-08 Thread Bryan Hunt
The predecessor is such a cool book that it's probably a collectors item. --b Joe Germuska wrote: At 4:19 PM -0400 7/7/04, [EMAIL PROTECTED] wrote: Also, I'm sure Rod's new book includes solutions that leverage Spring: http://www.bookpool.com/.x/h9a6d8t7p6/ss/1?qs=EJB+without+J2EE&Go.x=0&Go.y=0&G

Re: using Constants from JSTL .....

2004-07-08 Thread Bryan Hunt
umann and then I'm gonna throw my computer out the window. --b Denis Avdic wrote: Have you tried ? On Wed, 07 Jul 2004 20:12:02 +0200, Bryan Hunt <[EMAIL PROTECTED]> wrote: Just as an addition I can do this And it works fine, but really what I am trying to get here i

Re: using Constants from JSTL .....

2004-07-07 Thread Bryan Hunt
Just as an addition I can do this And it works fine, but really what I am trying to get here is the value of using Constants in both my Actions and my ( JSTL based ) jsp's. Perhaps this is just something that never occured to the writers of the JSTL spec ? --b Bryan Hunt wrot

using Constants from JSTL .....

2004-07-07 Thread Bryan Hunt
Ok, tearing my hair out right now and extremely confused. If you look at the Java Technology Forums you will see a rather nice little pattern that someone called evnafets has created, it allows you to use a single Constants class both in your Actions and in your JSP pages ... It uses reflection

Re: some best practices questions

2004-07-07 Thread Bryan Hunt
nt; import java.util.Date; /** * @author Bryan Hunt */ //TODO:Perhaps I should be generating a MD5 or something but I can't see a good reason to use any more CPU public class HashGenerator { private StringBuffer buffer; /** * */ public HashGenerator() { super();

Re: [OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread Bryan Hunt
eployment descripter"? I could not find an example of doing this. Also, is it possible to create a war file that has a "context.xml" file? I hate wasting time on stuff that should be simple. Mike --- Craig McClanahan <[EMAIL PROTECTED]> wrote: Bryan Hunt wrote:

Re: Book recommendations

2004-07-06 Thread Bryan Hunt
I would suggest Struts , the complete reference by James Holmes. It is incredibly clearly laid out and has a section on JSTL as well. It is good as both an introduction and a reference. Out of the last 5 tech books that I have bought ( not including J2EE design and Development by Rod Johnson) it is

Re: why do we need to integrate tomcat with apache webserver and how.pls urgent

2004-07-05 Thread Bryan Hunt
Ganesh, After looking on google for aprox 60 seconds I found this page http://jakarta.apache.org/tomcat/faq/connectors.html Check on google first in future and stop expecting us to do your job for you. This list is run by volunteers, not by your personal assistants. --b McCormack, Chris wrote: Th

Re: Nitrox? Anyone?

2004-07-01 Thread Bryan Hunt
That is so wierd, they don't sell it outside the USA on their website so I had to order it by email. I just got my licence key one second before your email ... Personally I think it's a really good product and that's why I'm buying it. --b John McGrath wrote: Anyone have any experience with the N

Re: unable to set html-el:link parameters

2004-07-01 Thread Bryan Hunt
's a getId() method then add paramProperty="id" On 1 Jul 2004, at 19:17, Mark Lowe wrote: Seeing as you're using jstl, there's more that one way but you might "> or perhaps But i haven't used the htm-el lib in a while so could be wrong. Mark On 24

unable to set html-el:link parameters

2004-07-01 Thread Bryan Hunt
Good evening list users. I have been trying to get html-el to work with JSTL in order to create a hyperlink. I am getting the following error message [ServletException in:/client/basket.jsp] Cannot find bean [EMAIL PROTECTED] in any scope' Here is the code. snip=

Re: returning to the calling page

2004-06-30 Thread Bryan Hunt
sorry i'm irish, we curse a lot. slaps self on wrist --b Michael McGrady wrote: I really hate to have to address this, Brian, but this language is clearly inappropriate for a public forum. Michael At 05:35 AM 6/23/2004, you wrote: Hi , I have the following action http://localhost:8080/jestat

returning to the calling page

2004-06-30 Thread Bryan Hunt
Hi , I have the following action http://localhost:8080/jestate-jsp/client-property-view-for-rent-action.do?id=1 On this page I have a form for adding a house to the shopping basket. The shopping basket is displayed all the time on the left side of the site. When someone calls this action ( client-a

OT:Re: Struts, Dreamweaver, and JSP

2004-06-30 Thread Bryan Hunt
i don't know if this will be usefull to anyone but i do this so that the pages are usually compiled allready by the time I look at them. while [ 1 ]; do wget -r http://localhost:8080/myapplication/; sleep 15; done --bryan McCormack, Chris wrote: use wget -r http://www.site.co.uk to save your ht

Re: Regarding DynaActionForms

2004-06-29 Thread Bryan Hunt
wrote: I never meant to write an application for me. I suppose mailing list are meant for where one can get pin point information. If Google was the only solution then there is no point for the existence of any forum like this. -Original Message- From: Bryan Hunt [mailto:[EMAIL PROTECTED

Re: Regarding DynaActionForms

2004-06-29 Thread Bryan Hunt
This sounds a little like ... please write the application for me there is plenty of stuff that can be found on google that is exactly like this ... --b Ashutosh Satyam wrote: I need a sample jsp page where someone can show me, how i can retrieve the values populated in a dynaactionform. Als

Re: [OT] Anatomy of a long URL

2004-06-28 Thread Bryan Hunt
I know that the sun link does not authenticate your current client session. I know that because I wanted to download the JDK for linux. I wanted to download it directly to the server but they have that stupid web page based download. I got the whole url, ssh'd into my server and used wget to downlo

Re: RE : Struts, XDoclet, and Maven...

2004-06-28 Thread Bryan Hunt
I second that ! --b Navjot Singh wrote: i agree with rick here. I also tried using struts-config.xml using xdoclet. In the end it turns out to be a futile exercise. Moreover, using modules makes working with xdoclet more cumbersome. It's EASY to write the config yourself. Some may say that

Re: EJB + Struts + Hibernate

2004-06-28 Thread Bryan Hunt
004, Mark Lowe wrote: +1 You'll want to look at spring whether you want to use EJB or Hibernate. On 27 Jun 2004, at 16:02, Bryan Hunt wrote: I don't believe it is unless you feel that the application will need to be distributed across a cluster. I use the (excellent) spring framework (

Re: EJB + Struts + Hibernate

2004-06-27 Thread Bryan Hunt
I don't believe it is unless you feel that the application will need to be distributed across a cluster. I use the (excellent) spring framework ( springframework.org ) so that I can plug into a EJB layer if necessary in the future. --b Irfandhy Franciscus wrote: Hi, Does any of you guys has eve

Re: background process

2004-05-03 Thread Bryan Hunt
If it's unix that you are running on you could run a command using "nohup" , the java orthodox way is to use a message driven bean/jms if you are running inside an applicaion server such as JBoss. --B atta-ur rehman wrote: Hello Robert, As far as I know Struts doen't provide anything like thi

Re: struts file upload strange error

2004-05-03 Thread Bryan Hunt
--B Martin Cooper wrote: It's not a Struts bug, and it's not even a Struts-related problem. Any time you need to upload files, you must use a POST request with an 'enctype' of "multipart/form-data". Your form element should look like this: -- Martin Cooper "

struts file upload strange error

2004-05-03 Thread Bryan Hunt
Hi there list, I have been trying to get the most simple file upload example working with and have been receiving a strange error message that I just can't seem to shake. Here is the basics of my action form snip= public class ImageUploadForm extends ActionForm { // ---