RE: Tomcat startup error using struts.

2004-05-24 Thread klute
__ Do you Yahoo!? Yahoo! Domains – Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

{0} when mapping an exception in struts-config.xml

2004-05-24 Thread klute
Hello All, Sorry about the previous email from me--pressed the wrong key before the email was even finished... Anyway, I have a question and was hoping someone can help: I have several Struts Action's whose exectute throw my app-specific ObjectNotFoundException. So basically what'd love to be ab

Re: how to find struts version

2004-06-16 Thread klute
if you have access to the struts.jar being migrated, find manifest.mf file there and open it. Look for Specification-Version and Implementation-Version values. Hope this helps, James ___ http://www.devbistro.com <- web dev jobs --- Eyup TEKIN <[EMAIL PROTECTED]> wrote: > hi > there is a projec

Setting html:hidden property using JSTL

2004-06-23 Thread klute
Hi All, I just started experimenting with jstl and i'd like to set a hidden field on MyActionForm using a value (contentId) available as an attribute on the request. Basically, i'd like to do something like this: "/> Which does not work. Should i be using EL syntax instead? And what would the

Re: Setting html:hidden property using JSTL

2004-06-23 Thread klute
-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %> <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> What am i doing wrong? Thanks a lot, James --- Rick Reumann <

Re: Setting html:hidden property using JSTL

2004-06-23 Thread klute
Yes, the struts-el.jar is in WEB-INF/lib --- Rick Reumann <[EMAIL PROTECTED]> wrote: > klute wrote: > > > > value="${contentId}"> > > > > This are the tagligs i am importing on this page: > > <%@ taglib uri="/WEB-INF/struts-bean.t

Re: Setting html:hidden property using JSTL

2004-06-24 Thread klute
the value of the hidden property was printed out as {$myVar}. And, if i do c:out in the begging of the jsp, i do get an actual int value printed. weird... i definitely need to spend more time doing my homework to understand how it works... All the best, James --- Rick Reumann <[EMAIL PROTECTED]

RE: Setting html:hidden property using JSTL

2004-06-24 Thread klute
> > <%-- JSTL Standard Tags --%> > <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; > prefix="c" %> > <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"; > prefix="fmt" %> > > If your container does not support the 2

RE: Setting html:hidden property using JSTL

2004-06-24 Thread klute
integrated version > of the JSTL which doesn't work the same as the > Jakarta one. If you're > using Resin, make sure the integrated JSTL is not > being used. > > > -Original Message- > > From: klute [mailto:[EMAIL PROTECTED] > > > > R

RE: Setting html:hidden property using JSTL

2004-06-24 Thread klute
is Resin, > this has been known to > cause problems because of the fact that Resin has an > integrated version > of the JSTL which doesn't work the same as the > Jakarta one. If you're > using Resin, make sure the integrated JSTL is not > being used. > > > --

Re: Book Recommendations

2004-07-06 Thread klute
I highly recommend this one: Struts Survival Guide: Basics to Best Practices http://www.programming-reviews.com/Struts_Survival_Guide_Basics_to_Best_Practices_0974848808.html - to the point - practical - advanced stuff-galore HTH, James http://www.devbistro.com -- web dev jobs --- "Davi

OT: exporting data as .csv in Struts webapp

2004-07-07 Thread klute
Hi All, I am looking for some best practices advice on handling this task: I have a web application (written in Struts) that talks to some database. A browser user will be able user to export tabular data from the db in a comma delimited file and get a save as dialog box prompting to name the re

Re: Session facade

2004-07-07 Thread klute
It will make sense. You'd let the j2ee container take care of managing dao manager instances and you'll get transaction support (if you need it). Plus, if you decide to move your persistence layer to another server it will be nicely packaged within the .ear that contains your ejb session facade. B

Re: OT: exporting data as .csv in Struts webapp

2004-07-07 Thread klute
t; > throws ServletException, IOException { > > doPost(request, response); > > } > > protected void doPost(HttpServletRequest > request, > > HttpServletResponse response) > > throws ServletException, IOException { > > response.setContentType(&

Re: [OT] Session facade

2004-07-07 Thread klute
Agree with Bill here. Also... the Constants file is (or can be) quite 'C' as well. There is a temptation to put all of your constants in one place and before you know you end up putting all of your constants encountered within your app there. So totally unrelated stuff gets piled up into one place

Re: [OT] Tomcat MD5 Authentication

2004-08-30 Thread klute
have not done it myself but hopefully this thread is of some help.. James -- http://www.devbistro.com --- Steven Leija <[EMAIL PROTECTED]> wrote: > I'm trying to configure Tomcat to use MD5 encryption > for my JDBCRealm. > > Has anyone successfully gotten this to work? > > Thanks, > > St

Fwd: Re: [OT] Tomcat MD5 Authentication

2004-08-30 Thread klute
forgot to include the link: http://archives.real-time.com/pipermail/tomcat-users/2003-May/111028.html Note: forwarded message attached. __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail--

Re: PDF & Email

2004-09-02 Thread klute
if you are using xsl and your pdf will be mostly data-driven (as opposed to layout-driven), i'd use fop. if you need a pixel perfect document, i'd use iText with an UJAC wrapper. all are open-source. best, james -- http://www.devbistro.com --- "CRANFORD, CHRIS" <[EMAIL PROTECTED]> wrote: > I ne

Re: ApplicationResources.properties vs Validator framework

2005-06-23 Thread klute
Does your web.xml contain the following as part of the action servlet config? application ApplicationResources --- "Gilbert, Antoine" <[EMAIL PROTECTED]> wrote: > Hi > > > > I have a strange problem. > > > > I have an application using validator on server side > and client side >

Re: ApplicationResources.properties vs Validator framework

2005-06-23 Thread klute
btw, where exactly is your ApplicationResources.properties located under WEB_INF/classes? --- "Gilbert, Antoine" <[EMAIL PROTECTED]> wrote: > Hi > > > > I have a strange problem. > > > > I have an application using validator on server side > and client side > (javascript), I have an > App

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread klute
ourdon.com > > > -Original Message- > From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] > Sent: 23 June 2005 14:58 > To: Struts Users Mailing List > Subject: RE: ApplicationResources.properties vs > Validator framework > > yes > > -Original Message

Re: Refresher for newbies...

2005-07-07 Thread klute
Thanks Rick, I'd like to clarify something here. >UserActionForm userForm = (UserActionForm)form; >//userID is set in this form when the user > clicked on the link So, even though the jsp containing the list of users and the links to edit each of them doesnot contain a form tag, your u

Re: Refresher for newbies...

2005-07-07 Thread klute
Rick, Can you clarify how you give the dispatch action default "add" value? Is it meber attribute of "add" on the action itself? Thanks, James --- Rick Reumann <[EMAIL PROTECTED]> wrote: > Rick Reumann wrote the following on 7/7/2005 11:58 > AM: > > >This will have the following methods: >

execute instead of get and post

2005-07-07 Thread klute
Is there a good reason why Struts does not distinguish between GET and POST requests and tunnels both through execute()? It seems like it would make sense to have both so that you can use GET to set up a particular form and POST to process that form. Instead, I'd have to look at the request to se

OT: StringUtil to trim dup subsequent characters

2005-07-22 Thread klute
hello all, my appologies for the OT. before i write this little util, is there such thing already present out there? I need to do something like: MyStringUtil.trimSubsequentOccurrences(String input, String pattern) Example: MyStringUtil.trimSubsequentOccurrences("it's a good day", " ") <- no

Re: OT: StringUtil to trim dup subsequent characters

2005-07-22 Thread klute
Ed, Thanks! i forgot that i could actually use a pattern within the first arg of replaceAll best, James --- Ed Griebel <[EMAIL PROTECTED]> wrote: > Try using String.replaceAll(), e.g., String x = > "helloworld"; > String y = x.replaceAll(" +", " &qu

OT: Good Java host

2005-07-31 Thread klute
Hey all, Can anyone recommend a good Java hosting company? My current one is good when it comes to the features it provides but the "support" is almost insulting. Thanks, James __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protect

Localization of validation.xml

2005-08-17 Thread klute
Hello All, I would love to hear your thoughts on this. I have an app that serves US and Canada. The same form is used to accept shipping address for both. Zip consists of two text fields where the first one is required for US addresses and both are required for Canadian addresses. So far, only US

Re: Help me with connection pool of tomcat

2004-11-04 Thread klute
take a look at http://www.stanford.edu/group/coursework/stanfordoki/javaexchange/com.javaexchange.dbConnectionBroker.DbConnectionBroker.html not sure where it can be downloaded though. look around. james --- Milson Fredy Cardona Echeverri <[EMAIL PROTECTED]> wrote: > hi > > my problem with th

Re: Help me with connection pool of tomcat

2004-11-04 Thread klute
dbConnectionBroker can be downloaded from http://www.javaexchange.com/ --- klute <[EMAIL PROTECTED]> wrote: > take a look at > http://www.stanford.edu/group/coursework/stanfordoki/javaexchange/com.javaexchange.dbConnectionBroker.DbConnectionBroker.html > > not sure where it

QuartzPlugIn for struts manual scheduling

2004-11-12 Thread klute
Hello All, I am using a combination Quartz and QuartzPlugIn to schedule events in my struts app. The two work beautifully together (thanks to the developers responsible for these!) All of my events are scheduled on the app startup and what i wanted to do now is to manually access the scheduler.

QuartzPlugIn for struts manual scheduling

2004-11-12 Thread klute
Hello All, I am using a combination Quartz and QuartzPlugIn to schedule events in my struts app. The two work beautifully together (thanks to the developers responsible for these!) All of my events are scheduled on the app startup and what i wanted to do now is to manually access the scheduler.

Re: QuartzPlugIn for struts manual scheduling

2004-11-12 Thread klute
Ram, Thanks a lot. Dunno how I missed that.. For all of you out there who needs an example of this functionality: QuartzPlugIn qp = (QuartzPlugIn) request.getSession().getServletContext().getAttribute(QuartzPlugIn.PLUGIN_KEY); Scheduler scheduler = qp.getScheduler(); Best, James --- Ram <[E

Re: How can I do this ... ?

2004-11-20 Thread klute
Sounds like you need to implement a list-backed form. http://forum.java.sun.com/thread.jspa?forumID=33&messageID=1952256&threadID=435161 best, james --- Frank Burns <[EMAIL PROTECTED]> wrote: > Hi, > > Although I have been using Struts for a while now, I > have this new requirement and I don'

Re: Setup Action without a form

2004-11-28 Thread klute
Why not use your extend and use your main Action (the one you map to .do in web.xml) class for that? in there you can retrieve user session and do anything with it hth, james --- "Flemming G. Jensen" <[EMAIL PROTECTED]> wrote: > Hi List, > > My project has a frontpage/welcome page. This page

OT: jgsi quartz plugin for struts (JobListener howto)

2004-12-16 Thread klute
Hello All, I have been used jgsi quartz plugin for struts for a while now and it has served me well so far. however, now i realized that it would be nice to define a global JobListener so that all jobs scheduled by my scheduler can use it. however, i don't see the support for listeners in jgsi qu

Re: OT: jgsi quartz plugin for struts (JobListener howto)

2004-12-16 Thread klute
just in case anyone was wondering what happenned to this.. i am adding a global listener to the scheduler within a servlet that loads on startup. this apparently starts after struts plugins which in turn starts up after servet context listeners. james --- klute <[EMAIL PROTECTED]>

Re: Can we create group in Yahoo/MSN messenger to help those who need fast help

2004-12-28 Thread klute
My friend started this a while ago: http://irc-logs.org/ it could be the solution to what's missing here: a searchable irc logs for struts help james --- Don Brown <[EMAIL PROTECTED]> wrote: > While I agree with everything James said, I do find > use in IRC as > sometimes, when working on a ne

OT: preserving bullet symbols

2006-04-08 Thread klute
Hello all, I have a Struts web app with a MySQL database backend (MySQL ver. 4.1.18-standard). I noticed that if I pass a form data that contains bullet symbols (a copy/paste from a Word document which contains bullets), when the data is retrieved later, '?' is displayed in place of each bullet.