bye & thank you

2003-10-27 Thread David Thielen
Hi; I'm leaving the list but I wanted to say thank you to all that helped. And a plea to one of the struts experts - the world desperately needs a struts cookbook. ie, if you want to do X, here is how. The top 40 or 50 of those items would be wonderful (and cut down on traffic a lot). thanks -

O.T. Windward Studios offers free award-winning game for trying Windward Reports

2003-10-17 Thread David Thielen
The Offer Enemy Nations is one of the highest rated award winning Real-Time Strategy games ever created. And you can get a copy for free just by trying Windward Reports. The Game Meet interesting people on the Internet, then build big tanks and show the bastards who's boss! The Battle for the

set a relative path instead of absolute for a jsp file

2003-10-07 Thread David Thielen
Hi; I have a situation where I need to have the jsp files with my html files. (I have just 2 of them and they use the same templates as the 100+ html files and they are a simple part of the website.) My J2EE server is configured to look in both the server's web application directory and c:/Inet

HttpSessionBindingListener & struts

2003-09-29 Thread David Thielen
Hi; Is there anything I have to do extra or be careful of if I have a HttpSessionBindingListener implementing class attached to my session? I assume not but figure it's safer to ask. thanks - dave

Re: URGENT - not finding applications.properties

2003-09-26 Thread David Thielen
eptember 26, 2003 11:43 AM Subject: RE: URGENT - not finding applications.properties > Are you struts related .jar files all locally loaded under your application > in WEB-INF/lib or are they in a common shared area for your application > server? > > Regards, > David > &g

URGENT - not finding applications.properties

2003-09-26 Thread David Thielen
Hi; I have had struts working fine in one web application. I then added a second web application - in it's own directory with it's own struts files, web.xml file, etc. Now when I run the new application (which gets loaded first) finds it's application.properties but the second application canno

Re: log4j setup

2003-09-24 Thread David Thielen
I put log4j.jar in the application server lib file - so all web apps are using the same logger. It has worked fine for me in that configuration. - Original Message - From: "Davide Bruzzone" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September

Re: Can I have 1 struts jar file for multiple servers/applications

2003-09-24 Thread David Thielen
t; http://jakarta.apache.org/struts/userGuide/configuration.html#config_a > dd > > For more explanation see: > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.htm > l > > Steve > > > -Original Message- > > From: David Thielen [mailto:[EMA

Re: Can I have 1 struts jar file for multiple servers/applications

2003-09-23 Thread David Thielen
ou have 10 web app > then that's 10 struts.jar. > > David Thielen wrote: > > >Hi; > > > >I thought I read something somewhere that said I need to have a seperate set of struts jar files for each application or server. But I can't find it now. > > &

Can I have 1 struts jar file for multiple servers/applications

2003-09-23 Thread David Thielen
Hi; I thought I read something somewhere that said I need to have a seperate set of struts jar files for each application or server. But I can't find it now. I am using JRun and under a given server it has multiple applications with each application having it's own web.xml and struts-config.xml

How do I mix html & jsp files?

2003-09-22 Thread David Thielen
Hi; I have a large web site that is all html running on IIS. It's all in c:/inetpub/wwwroot/... I need 2 jsp files. And I want the jsp files to use the same DreamWeaver template files with the same menu bars, etc. The problem is my application server wants the jsp files over in it's directorie

Re: Suggested enhancements for next version

2003-09-10 Thread David Thielen
ok - will do - thanks - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September 10, 2003 11:28 AM Subject: Re: Suggested enhancements for next version > On We

Suggested enhancements for next version

2003-09-10 Thread David Thielen
Hi; These are a couple of suggestions I have for the next version of struts: 1.. Can get the session in the ActionForm constructor. This would be very useful for initializing with data attached to the session. 2.. Have a pre-page method in the Action that can be set in an like validate="tru

Help please: Get session in a form ctor?

2003-09-09 Thread David Thielen
Hi; Is there any way inside an ActionForm constructor to get the HttpSession? This would let me set up forms without having to call an action before displaying a page. thanks - dave

Help please: Get session in a form ctor?

2003-09-09 Thread David Thielen
- Original Message - From: David Thielen To: Struts-Users Sent: Monday, September 08, 2003 9:54 PM Subject: Get session in a form ctor? Hi; Is there any way inside an ActionForm constructor to get the HttpSession? This would let me set up forms without having to call

How to pre-populate - Husted post doesn't work (or I'm implementing it wrong)

2003-09-02 Thread David Thielen
Hi; I tried this below but when I did http://localhost/account/setup/pre it created a form but never called the action class. Any ideas? Also, shouldn't the scope below be session so the same form is used? thanks - dave

Re: Struts Taglib + JSTL Feasible ??

2003-09-01 Thread David Thielen
I've been using jstl and html-el and it's working great. I don't use any other struts taglibs. - Original Message - From: "Prasenjit Narwade" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, September 01, 2003 11:39 AM Subject: Struts Taglib + JSTL Fe

CreditCardValidator

2003-08-28 Thread David Thielen
Hi; CreditCardValidator is listed in the common-validator docs - but it's not in the jar file - any ideas where it is? thanks - dave

A new way to handle multi-page entry

2003-08-28 Thread David Thielen
Hi; I have an order system where the user has to enter data on 4 pages, one after the other. I don't want them able to bookmark the 4th page and go back to it later and try to place an order from there - with the previous three pages left empty. So here is what I did. To get each page, I have:

Re: action-mapping forward - how do I use it?

2003-08-28 Thread David Thielen
sday, August 28, 2003 2:51 AM Subject: Re: action-mapping forward - how do I use it? > David, > what happens when you use a ? > > If the URL is wrong, have you tried ? > > Alternatively, don't use a form. Use a button inside a > > Hope that helps > Adam > >

Re: J2EE IDE

2003-08-28 Thread David Thielen
personally I think IntelliJ is wonderful - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, August 27, 2003 6:04 PM Subject: RE: J2EE IDE > --- Paul Jackson <[EMAIL PROTECTED]> wrote: > > Sounds like you ne

action-mapping forward - how do I use it?

2003-08-27 Thread David Thielen
Hi; I have a case where, when the user clicks on a button, I want the action to be to go to a new page. No ActionServlet or ActionForm because the only thing in the form is the button. But I would like to use the action-mapping to determine where to go. I tried to do this with: But if I

one page, multiple forward to's - how do I do that?

2003-08-27 Thread David Thielen
Hi; This has probably been asked a million times. I have several pages where the user can click to go to a login page. I want to use the same page for the login. How can I set it so that after the login it goes back to the page it came from? thanks - dave

Re: login test in a jsp page - any suggestions

2003-08-27 Thread David Thielen
rification at actions? maybe a > common super action could validade it, but I think that the jsp should > be the last place to put it. Ideally, the jsp's are not even exposed to > clients, making the access the view only through actions. > > David Thielen wrote: > > Hi; >

Re: login test in a jsp page - any suggestions

2003-08-27 Thread David Thielen
on. > > These are the methods I found reading posts going back to 2001 in this > mailing list. I use this link to search the mailing list: > http://marc.theaimsgroup.com/?l=struts-user&r;=1&w;=2 > > HTH, > Cezar > > > -Original Message- > > From: David

login test in a jsp page - any suggestions

2003-08-26 Thread David Thielen
Hi; I want to put a test in every jsp page to see if the user is logged in. And if not, to forward them to login.jsp. Is there any way to do this other than putting java code in my jsp? I'm hoping there is some struts system like . (Yes, I can have everything be an action that does this test an

Re: Telling Users to Wait

2003-08-21 Thread David Thielen
Hi; The method I use (which gives no % update) is I forward to a page that says please wait and has an animated gif. That page does a " To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 21, 2003 6:02 PM Subject: Telling Users to Wait Hello Struts Gurus, I am facing an i

Exception if no form in my action mapping - why?

2003-08-19 Thread David Thielen
Hi; When I set an action mapping as this (no form): It threw an exception. When I added a from like this: It worked. Any ideas? In my .jsp I have: thanks - dave

Re: Why can't I have no form?

2003-08-18 Thread David Thielen
I am using: - Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "Struts-Users" <[EMAIL PROTECTED]> Sent: Monday, August 18, 2003 11:58 AM Subject: Why can't I have no form? Hi; When I set an action mapping as this (no f

Why can't I have no form?

2003-08-18 Thread David Thielen
Hi; When I set an action mapping as this (no form): It threw an exception. When I added a from like this: It worked. Any ideas? thanks - dave

Thank you

2003-08-16 Thread David Thielen
Hi; I spent this last week learning struts and implementing my first site using it. And I just wanted to say thank you to everyone who helped me. thanks - dave

Re: validation - phone, state, & zipcode

2003-08-15 Thread David Thielen
number length (which judging by British Telecom > can be random!). Are there any ISO standards for that? > > Adam > > On 08/14/2003 06:52 PM David Thielen wrote: > > Hi; > > > > Is there a standard validation package out there that handles phone number, state, & zipco

validations it would be really nice to have

2003-08-14 Thread David Thielen
It would require using the locale but 3 really nice validations would be: state, zip code, and phone number. - dave

Re: Help please - indexed field in ActionForm

2003-08-14 Thread David Thielen
ion Developer | http://www.ncen.com [EMAIL PROTECTED] | 340 Commerce 949-797-5660| Irvine, CA 92602-1318 > -----Original Message- > From: David Thielen [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 07, 2003 3:46 PM > To: Struts-Users > Su

application.properties question

2003-08-14 Thread David Thielen
Hi; The application.properties file that comes with the blank struts sample has a bunch of strings already in it. Are these strings needed by struts or are they just suggested strings for sample errors I might have in my pages? Also, are these sample files available in languages other than engl

Installing struts-el - questions

2003-08-14 Thread David Thielen
Hi; As I understand it (please correct if I am wrong): 1.. I use the struts-el/lib/* files instead of the struts file 2.. The struts-el/webapps/strutsel-exercise-taglib.war is a sample and can be ignored. 3.. Do I use the JSTL *.tld files in the struts-el/lib directory - or the ones that c

c:forEach & html-el:text - it's not working

2003-08-14 Thread David Thielen
Hi; I am trying to use html-el:text inside a c:forEach and according to everything I have read - this should work. But it doesn't. Any ideas? thanks - dave my jsp ... Where OrderForm.java has: ... public OrderFormItem [] getItems() { return

How to validate page 1 in page 2 action/form (multi-page form)

2003-08-14 Thread David Thielen
Hi; When the user clicks submit on page 2 of a form, I need to check page 1 also because they may have gotten to page 2 with a bookmark. My page 1 validation is with the page 1 form validate. page 2 has a different form. Should I: 1.. Look for the page 1 form attached to the session and if it

Re: forEach & html-el:text - it's not working

2003-08-14 Thread David Thielen
ing like > > > > Hope this helps, > Erez > > -Original Message- > From: David Thielen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 12, 2003 11:03 PM > To: Struts-Users > Subject: c:forEach & html-el:text - it's not working > > Hi; >

Re: forEach & html-el:text - it's not working

2003-08-14 Thread David Thielen
rom the > request to a new fresh form will fail due to the fact that the form > doesn't have a setQty() setter method. > > Erez > > -Original Message- > From: David Thielen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 12, 2003 11:03 PM > To: Struts-Users >

wants org.apache.taglibs.standard.tag.el.core.ForEachTag instead of org.apache.taglibs.standard.tag.core.ForEachTag (ie no .el.)

2003-08-14 Thread David Thielen
Hi; If I have the following in the top of my jsp file: <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%> <%@ taglib prefix="html" uri="/tags/struts-html"%> And this in my web.xml file: http://java.sun.com/jstl/core /WEB-INF/c.tld /tags/struts-html /WEB-INF/strut

Re: Code of a method longer than 65535 bytes

2003-08-14 Thread David Thielen
t use the page directive (@), use and you will find the 64k limitation can be circumvented. Mark -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 9:37 AM To: Struts Users Mailing List Subject: Re: Code of a method longer than 65535 byt

why no

2003-08-14 Thread David Thielen
Hi; Wouldn't it be useful if you could do: Instead of: today

Re: JSTL and struts tag libraries

2003-08-14 Thread David Thielen
yes & yes. - but you still need html-el. - Original Message - From: "Butt, Dudley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 13, 2003 9:30 AM Subject: JSTL and struts tag libraries > Hi, > > Is it true to say that one should use JSTL instead of the struts tagli

Re: c:forEach & html-el:text - it's not working

2003-08-14 Thread David Thielen
html-el:text - it's not working > David Thielen wrote: > "although that doesn't make sense since this is something so basic" > > Here is simlar example that does work. > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicporta

Re: major weirdness with c:forEach & html-el:text

2003-08-14 Thread David Thielen
." I say "KEEL-HAUL THE SCUM!" hm...wait a minute. That was me asking for a clue on the comics thang... never mind... aka dumbass -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 10:08 PM To: Struts-Users Subject: major weird

action forward -> redirect

2003-08-14 Thread David Thielen
Hi; I have action forwards in my action mapping as such: So on a success it forwards to /terms.jsp. However, the browser url is still OrderSubmit.do. This is what a forward is supposed to do. But what if I want the browser to now show /terms.jsp? Is there some way to do an act

validation - phone, state, & zipcode

2003-08-14 Thread David Thielen
Hi; Is there a standard validation package out there that handles phone number, state, & zipcode based on country? thanks - dave

Re: really weird - evaluating a comment

2003-08-14 Thread David Thielen
That makes sense. As long as it doesn't blow up it will still be a comment in the final html. thanks - dave - Original Message - From: "Steve Widmar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 12, 2003 9:09 PM Subject: Re: really weird - evaluating a comment Dav

major weirdness with c:forEach & html-el:text

2003-08-14 Thread David Thielen
Hi; I am hitting a major roadblock with this. And it looks like it is generating bad code from the jsp. Here is the problem very simply. This works: This fails: with the error: 500 Translator.CompilationFailedExceptionCompiler errors: Found 1 semantic error compiling "C:/JRun4/servers/d

Re: wants org.apache.taglibs.standard.tag.el.core.ForEachTag instead of org.apache.taglibs.standard.tag.core.ForEachTag (ie no .el.)

2003-08-14 Thread David Thielen
never mind - Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "Struts-Users" <[EMAIL PROTECTED]> Sent: Tuesday, August 12, 2003 12:00 PM Subject: wants org.apache.taglibs.standard.tag.el.core.ForEachTag instead of org.apache.taglibs.sta

Re: forEach & html-el:text - it's not working

2003-08-14 Thread David Thielen
, I don't see how it can be that. thanks - dave - Original Message - From: "David M. Karr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 12, 2003 8:13 PM Subject: Re: forEach & html-el:text - it's not working > >&

I18N - Currency question

2003-08-14 Thread David Thielen
Hi; I am displaying currency in my website. It is always in U.S. dollars so I am doing: NumberFormat.getCurrencyInstance().format( (float) price / 100f ); Two questions: 1.. I assume I should set the locale for this to en_US since I want to have the dollar sign. 2.. Should it do the comm

Not keeping one value in ActionForm on reload

2003-08-14 Thread David Thielen
Hi; I have an Action & ActionForm where scope is not set (so it's session). After submitting the page and it goes on to the next page, if I do a BACK and RELOAD, then one of the edit fields goes back to null. The other retains the value it was set to. Any idea why that would happen? I log the

really weird - evaluating a comment

2003-08-14 Thread David Thielen
Hi; The following line in my jsp is throwing an exception: Correct me if I'm wrong - but since it's a comment - shouldn't it be left alone? thanks - dave

Re: action forward -> redirect

2003-08-14 Thread David Thielen
form. thanks - dave - Original Message - From: David Thielen To: Struts-Users Sent: Tuesday, August 12, 2003 9:05 PM Subject: action forward -> redirect Hi; I have action forwards in my action mapping as such: So on a success it for

Two forms on one page -

2003-08-14 Thread David Thielen
Hi; I have two forms on one page. In this case, how do I handle for each form? I want to put the errors from each form above that form. thanks - dave

Two forms on one page

2003-08-14 Thread David Thielen
Hi; I have two forms on one page. In this case, how do I handle for each form? thanks - dave

Re: N form items as fields

2003-08-14 Thread David Thielen
- Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 07, 2003 1:56 AM Subject: Re: N form items as fields > Hi Dave, > you should look at indexed or nested tags with th

Re: c:forEach & html-el:text - it's not working

2003-08-14 Thread David Thielen
on Any idea what's going on? thanks - dave - Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "Struts-Users" <[EMAIL PROTECTED]> Sent: Tuesday, August 12, 2003 3:03 PM Subject: c:forEach & html-el:text - it's not workin

struts, Dreamweaver, & Dreamweaver templates

2003-08-14 Thread David Thielen
Hi; I created my jsp pages using Dreamweaver and using the templates feature in Dreamweaver. I'm now incorporating struts and mixing that with Dreamweaver is difficult. Does this work ok or should I give up on templates? thanks - dave

Re: Code of a method longer than 65535 bytes

2003-08-14 Thread David Thielen
I'm using JRun 4 - and need it for the EJB support so Tomcat's out. I also use [EMAIL PROTECTED] file="countries.jsp"% to pull the countries in. But regardless of how they are pulled in, they will be expanded within the form to be the actual select text. I guess I'll push Macromedia to eliminate t

validation philosophical question

2003-08-14 Thread David Thielen
Hi; Everyone who hits my site has a high-speed connection. So I am thinking that it makes sense to do server side validation only as that provides a better method than the javascript pop-ups. And in this case, it seems to me that the logical place for all validation then is inside the ActionFo

Help please - indexed field in ActionForm

2003-08-14 Thread David Thielen
Hi; I've been fighting this all day with no luck. And it has to be a simple thing to do. I have a form where I have N lines in it. Each line needs to have some text displayed and an edit box. How do I set this up in the .jsp file and in the ActionForm? I've found a number of examples on the we

Code of a method longer than 65535 bytes

2003-08-14 Thread David Thielen
Hi; Inside a form I have 2 address blocks - each with a selection of countries. This is more that 64K chars inside the Any ideas how to get around this? thanks - dave

Asking again - basic design question

2003-08-11 Thread David Thielen
Hi; I am designing a store check-out process. The old software (pre-struts) had a check at the top of each page to make sure the information from the previous page had been entered. And if not, forwarded to that page. So if you bookmarked the last page and went there, you would get forward

Design question

2003-08-11 Thread David Thielen
Hi; I am designing a store check-out process. The old software (pre-struts) had a check at the top of each page to make sure the information from the previous page had been entered. And if not, forwarded to that page. So if you bookmarked the last page and went there, you would get forwarded ba

Re: initializing ActionForm from a session bean

2003-08-10 Thread David Thielen
I'm a moron - I found the overloaded method with HttpServletRequest. So, is the way to tie to a session bean to do a HttpServletRequest.getSession().get/setAttribute()? thanks - dave - Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "Strut

Re: single checkbox - still use html:multibox?

2003-08-10 Thread David Thielen
this form must include a statement setting the > corresponding boolean property to false in the reset() method. > > -Original Message- > From: David Thielen [mailto:[EMAIL PROTECTED] > Sent: August 7, 2003 12:26 PM > To: 'Struts Users Mailing List' > Subject: Re:

single checkbox - still use html:multibox?

2003-08-10 Thread David Thielen
Hi; If I have a single checkbox on my page, should I still use multibox? And if not, what do I use? thanks - dave

Re: single checkbox - still use html:multibox?

2003-08-09 Thread David Thielen
ts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, August 07, 2003 12:19 PM Subject: RE: single checkbox - still use html:multibox? Um, ? Please read the api carefully if you want to use this tag. There is something you have to do in your form's reset()... -Orig

JSTL ot struts taglibs?

2003-08-08 Thread David Thielen
Hi; For the logic and I18N taglibs - what do you recommend - using the struts taglibs or the JSTL taglibs? thanks - dave

struts and JSTL

2003-08-08 Thread David Thielen
Hi; (I sure brought up a storm with my last question on this .) Is there a set of struts taglibs that have removed all of the tags that should be JSTL instead? It's easy to just delete struts-logic.tld and struts-nested.tld. But beand & html both appear to have a couple of tags that should be r

Update button on a form

2003-08-08 Thread David Thielen
Hi; I have a form with a submit, reset, and update button. How do I handle control of the update button (go to a different action)? thanks - dave

N form items as fields

2003-08-08 Thread David Thielen
Hi; I have a jsp page where I want to display N items where I get the N items from the database. I need to have an edit field with each item. Whats the best way to do this in struts? thanks - dave

Re: struts, Dreamweaver, & Dreamweaver templates

2003-08-07 Thread David Thielen
> technical aptitude of the HTML folks when deciding which way to go, but both > work. What problem are you seeing? > > > -Original Message- > > From: David Thielen [mailto:[EMAIL PROTECTED] > > Sent: August 7, 2003 12:42 PM > > To: Struts-Users > >

initializing ActionForm from a session bean

2003-08-07 Thread David Thielen
Hi; If I want to initialize an ActionForm from a session bean, what's the correct way. Looking at it it seems to me that I want to tie the session bean to the session. However, reset passes a ServletRequest instead of a HttpServletRequest so there is no way to get the session to do a getAttribu

sample struts w/ I18N and validator

2003-08-06 Thread David Thielen
Hi; Does anyone know of a simple sample struts page (like logon) that includes Internationalization and validators so it shows how to use everything? thanks - dave