Re: [OT] Java Hosting Providers, yes, I know it's been brought up before on the list.

2006-03-02 Thread Bryan LaPlante
s and space. My 2 cents Bryan LaPlante - Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 01, 2006 11:28 PM Subject: Re: [OT] Java Hosting Providers, yes, I know it's been brought up before

Re: passing objects from one request to another

2006-02-25 Thread Bryan LaPlante
my output stream has to be controlled by my action class. It is an ajax integration for http://www.xoscript.org where you can invoke methods on a POJO class and in turn that class can include the output of another action as it's return value. - Original Message - From: "Rick Reumann" <[EMA

Re: Hosting problem , the Host provider tomcat does not understand .do

2006-02-20 Thread Bryan LaPlante
Have a look at this example web.xml file. You will see what you need in the *.dohttp://www.javaranch.com/newsletter/Mar2002/l isting1.htmlBryan LaPlante- Original Message - From: "Legolas Woodland" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, February 20, 2006 4:20 PM

Re: Problem about first page.

2006-02-20 Thread Bryan LaPlante
think it is a good idea. but I don't know to do it. I can make > a jsp page as welcome page, but how could I make it can forward to > Login.jsp automatically. user don't need to click a link or a button. > > On 2/21/06, Bryan LaPlante <[EMAIL PROTECTED]> wrote: > &g

Re: Problem about first page.

2006-02-20 Thread Bryan LaPlante
Could you make you welcome page different than login.jsp and have it forward to login.jsp? If login is your front door, maybe all of your welcome pages could forward to it. - Original Message - From: "Joey Watson" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, February

Re: Cancel button and security

2005-07-15 Thread Bryan Hanks
s the final validation check by the model/business logic layer (with the appropriate exception thrown if invalid). Cheers, Bryan Hanks -- Original Message -- From: "Przemyslaw Lupinski" <[EMAIL PROTECTED]> Subject:Cancel button and security Date: Fri, 15 Jul 2005

Re: [OT] Convert Java Object into XML. Is there a simple tool in Jakarta projects or elsewere

2005-06-20 Thread Bryan Henson
Don't know if you got much response on this, but I would suggest looking at Castor. Quoting David Gagnon <[EMAIL PROTECTED]>: > Hi all, > > Sorry for this OT. I'm looking for a way to output an object into XML > for debugging purpose. > I'm pretty sure I can do it myself with beanUtils and xm

Re: of a header gives an SSL exception?

2005-02-23 Thread Bryan and Angela
some understanding of your PKI setup to fix the issue. I didn't see what version of Tomcat you are using, but here is a guide: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html Hope that helps. Bryan Simple. But when it loads as part of my 'ui&#

Re: XDoclet

2005-02-01 Thread bryan ( [EMAIL PROTECTED] )
my personal opinion XDoclet is on the way out and 1.5 anotations will replace it. I never liked it anyway. It does not work in a pleasant fashion with struts config files. Their is no real advantage in learning it as ejb and hibernate will both use anotations. I don't know why someone wo

Re: OT and not URGENT : CMS Driven static site and Struts

2005-01-18 Thread bryan
erm I suppose except for gmail that is ... --b >> My definition of a good web site includes "No Javascript". On Tue, 18 Jan 2005 13:28:21 -0600, Vic <[EMAIL PROTECTED]> wrote: > http://www.opensourcecms.com > I use Drupal. > hth, > .V > > Jim Barrows wrote: > > >On Tue, 18 Jan 2005 13:49:11

Re: New to Struts & seeking advice

2005-01-05 Thread bryan
Hibernate is mature because it works, unlike "mature" EJB, --b On Tue, 4 Jan 2005 09:55:34 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Mark McWiggins [mailto:[EMAIL PROTECTED] > > Sent: Monday, January 03, 2005 6:19 PM > > To: user@struts.apache.o

Re: Preview of an Image and text

2004-12-18 Thread bryan
Works good with firefox as well , seems like a damned good simple solution to me. Hey did you see Brady Hegberg's post for dynamic dropdown list's, I reckon you'll like it as well, also cross platform. If you wanted to be a bit more ambitious you could also try implimenting this: http://develope

Re: Preview of an Image and text

2004-12-17 Thread bryan
hey ! cool solution !! Works on Firefox as well ! --b On Fri, 17 Dec 2004 12:14:06 -0500, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > You might consider doing it all on the client... > > > > test > > function preview() { > lyrPreview.innerHTML = ""; > lyrPreview.innerHTML += "Some message

Re: OJB && struts

2004-12-17 Thread bryan
you will sooner or later start asking yourself another question ... I'll leave it up to you to figure out what it is. Bonne Chance Bryan > To bryan : spring/hibernate > What's the added value with spring? Have you

Re: Localize a dropdown select list

2004-12-16 Thread bryan
Thank you Jack, that's very kind of you, I will take a look at modifying the taglib this afternoon. --b On Wed, 15 Dec 2004 15:46:09 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote: > Hi, Bryan, > > I could not agree more. But, you might as well bang your head agains

Re: Annotations and Struts

2004-12-15 Thread bryan
yet 99.% of the time all that people want to do are CRUD actions .. --b On Wed, 15 Dec 2004 14:20:23 +0800, Andrew Hill <[EMAIL PROTECTED]> wrote: > Im not so sure that would work too well as the actionforms are > representations of the view state, and whats in a form on the view > d

Re: OJB && struts

2004-12-15 Thread bryan
If you have a choice I recommend you use spring/hibernate before you go any further. --b On Wed, 15 Dec 2004 09:41:51 GMT, liooil <[EMAIL PROTECTED]> wrote: > Hello world, > > I'm trying to connect my web to my db through OJB ... > I found many threads relative to this topic (persistence, ...,

Re: Localize a dropdown select list

2004-12-15 Thread bryan
7600 > > but it hasn't been implemented in Struts > > Niall > > - Original Message - > From: "bryan" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Tuesday, December 14, 2004 8:10 PM > Su

Localize a dropdown select list

2004-12-14 Thread bryan
Is this possible with struts ? i don't find a mention of it but can't imagine it hasn't been implemented. For example in the jsp Which generates the following ... type.yes type.no type.option_to_build type.undefined Is it possible to map type.no to a value in the r

Re: Where to store and how to retrieve Images for web app

2004-12-07 Thread bryan
/displayImage.do 4) Now you have relational database storage, all the fun, and none of the pain. 5) You can configure oscache in a variety of ways, check out opensymphony website/google for more. Bryan -- http://www.revoltingdigits.com https://jestate.dev.java.net

Re: [OT]Threads and Servlets Question

2004-12-07 Thread bryan
te resources. Does this mean that instantiating new objects is a Bad > >Thing within an action? > > > >Dennis > > > > > > > > > >bryan <[EMAIL PROTECTED]> > >12/06/2004 03:14 PM > >Please respond to > >"Struts Users Mailing

Re: [OT]Threads and Servlets Question

2004-12-07 Thread bryan
> Threads rule! > > Seriously though... only use threads if you know how they work :) Or if your using a modern linux kernel . + 2.6 Otherwise you can say bye bye to your server . --b - To unsubscribe, e-mail: [EMAIL P

Re: [OT]Threads and Servlets Question

2004-12-07 Thread bryan
ating new objects is a Bad > Thing within an action? > > Dennis > > bryan <[EMAIL PROTECTED]> > 12/06/2004 03:14 PM > Please respond to > "Struts Users Mailing List" <[EMAIL PROTECTED]> > > To > Struts Users Mailing List <[EMAIL PROTECTED]&

Re: [OT]Threads and Servlets Question

2004-12-06 Thread bryan
threads are also a finite resource ( particularly on Linux ). --b On Mon, 6 Dec 2004 21:13:57 +0100, bryan <[EMAIL PROTECTED]> wrote: > because you should use a message driven bean to do something like that. > > --b > > > > > On Mon, 6 Dec 2004 11:48

Re: [OT]Threads and Servlets Question

2004-12-06 Thread bryan
because you should use a message driven bean to do something like that. --b On Mon, 6 Dec 2004 11:48:15 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > Okay... I know I've read this somewhere, but can't remember. > Why is it recommended you NOT start a thread inside a servlet, which would > tra

Re: Way OT: Win a free Sony Portable PlayStation

2004-12-06 Thread bryan
someone unsubscribe this muppet. --b On Sat, 04 Dec 2004 10:33:50 -0600, Vic <[EMAIL PROTECTED]> wrote: > http://contests.1up.com > > All you have to do is: > #1: register > #2: invite most other people to register > So if you have free time and a fast conection . . . > > I love MLM. > > All

Re: Automatic logging

2004-11-30 Thread bryan
Incidentally I use a HUGE amount of AOP stuff and logging is the only thing I am not using with it. I use AOP for the following Declarative security management ( down to filtering returned Collections by an ACL ) Declarative transaction management ( so that I don't have any transaction manageme

Re: Automatic logging

2004-11-30 Thread bryan
to summarise ... use spring or use log4j with eclipse plugin. --b On Mon, 29 Nov 2004 17:34:29 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > >>Would there be a simpler way of enabling automatic logging across > >>entire application so that I do not have to modify all of my classes > >>and JSP

Re: Searching pattern/best-practise for forms

2004-11-29 Thread bryan
And if actionForms just used reflection ( to detect if there was a validate method ) or had to implement an interface rather than having to inherit from a base class you and everyone else wouldn't have to do this ... --b > Then lookin into the DispatchAction class of struts, and you'll need

Re: Problem with Tomcat 5.5

2004-11-22 Thread bryan
you probably just had a messed up web.xml. here is a working one from my project. On Fri, 19 Nov 2004 18:57:59 +0100, Peter Neu <[EMAIL PROTECTED]> wrote: > Hello Bryan, > > this is what I did in the first place. Any chance that my changes > didn't have

Re: Problem with Tomcat 5.5

2004-11-19 Thread bryan
unless you download the compat package it will not run under jre less than 1.5/5 --b On Thu, 18 Nov 2004 09:59:01 -0600, Vic <[EMAIL PROTECTED]> wrote: > 5.5 needs JDK1.5 Afaik. > .V > > > > Peter Neu wrote: > > Hello everybody, > > > > I just switched to Tomcat 5.5 while still using the old

Re: [OT] User Preference System Design

2004-11-17 Thread bryan
g security all the way down to method invokations and object collection filtering. It is 1000 times better than CMS ( although it does allow you to use CMS as well ). http://acegisecurity.sourceforge.net/ Yours Bryan Hunt On Wed, 17 Nov 2004 10:44:04 +, Adam Hardy <[EMAIL PROTECTED]

Re: OT: hosting recommendations?

2004-11-15 Thread bryan
to be very economical hosting for php. why > is that? i don't know anything about php, can it do everything that > struts can? is it difficult to learn? what is the differences, pros > and cons between php and struts? (other than i can get php hosting > plans for less than $10/month

Re: OT: hosting recommendations?

2004-11-12 Thread bryan
Get some friends together and get yourselves a linux box hosted on rackspace, jave is too resource hungry to get cheap virtual server type offerings for it. That is why the world uses php or if you just wanna demo your stuff why not get ADSL --b On Fri, 12 Nov 2004 11:34:52 -0800 (PST), Woodchuc

using Pojo as actionForm

2004-11-09 Thread bryan
the right path here ? I want to pass the POJO straight to my service layer after struts validation. I know this stuff has just been added in so I'm not really finding much documentation on it. If anyone can point me in the right direction I would be happy to add a page to the wiki. Thanks

Re: very dynamic forms

2004-08-07 Thread Bryan Hunt
ed in the idea anyway :-) --b Michael McGrady wrote: Bryan your html did not appear on the emails. At 12:09 PM 8/6/2004, you wrote: Wouldn't it be so cool if you could take something like a graph of hibernate objects and have a form dynamically generated for u. With dhtml or something so that

Re: very dynamic forms

2004-08-06 Thread bryan
d then you had a method that you could call ArbitraryForm arbitraryForm = (ArbitraryForm) form; House house = arbitraryForm.deserialise(); // or whatever houseDAO.storeNewHouse(house); I guess I just am in *love* with hibenate at the moment --b On Fri, 6 Aug 2004 21:09:14 +0200, bry

Re: very dynamic forms

2004-08-06 Thread bryan
Wouldn't it be so cool if you could take something like a graph of hibernate objects and have a form dynamically generated for u. With dhtml or something so that you could populate the whole graph in one user form ? For example a House object that had a set of rooms, each room with it's own descr

Re: Tool to convert HTML to Struts JSP's?

2004-08-06 Thread bryan
Your methodology is wrong. You should create the pages etc and the logic flow yourself throughout the application. Use css for everything so that the designer can just give u a stylesheet. Use the tiles framework to use global templates. --b On Fri, 6 Aug 2004 15:17:15 +0100, Adam Lipscombe

Re: [OT] Re: HTTP Compression

2004-08-06 Thread bryan
If only someone would do such a thing ! They would be rich beyond their wildest dreams. And they would probably use clustered linux servers in such a way that they could retrieve such information in a fraction of a second. Results 1 - 10 of about 7,410 for compression servlet filter. (0.40 secon

Re: eclipse3.0 struts plugin

2004-08-04 Thread bryan
I've used them all , nitrox is the best but costs 399 On Wed, 4 Aug 2004 00:55:47 +0800, char <[EMAIL PROTECTED]> wrote: > thanks all . > thanks Erez and James > > but Which is the better between myEclipse and Struts Console > > and which can support jstl better? > > > > > - Original M

POSSIBLE OT: localised hashtable custom tag question

2004-08-01 Thread Bryan Hunt
trying to decide the best approach for about 2 weeks. I don't really think this belongs in the DAO or hibernate layers as it is kinda a presentation issue. Is anyone else working with something similar ? Or do I have to build up a tag l

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

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

Re: Re: validation wierdness possibly related to multiple struts config files

2004-07-14 Thread bryan
: > > > > Bill Siggelkow > > > > > Bryan Hunt wrote: > > I have the following jsp page > > snip= > > > > > > > > > > > > > > > > > key="label.oldPassword&

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: some best practices questions

2004-07-07 Thread bryan
session variable. > > > >For instance if I want to page through it ( using displaytags.org (10 out > >of 10)) or simply if I don't want to fetch > >from the database time and time again. > >By default the data expires on an hourly basis. And if

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

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 { // ---