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

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

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

Re: URGENT - not finding applications.properties

2003-09-26 Thread David Thielen
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 -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Friday

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

2003-09-24 Thread David Thielen
/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:[EMAIL PROTECTED] Sent: September 23, 2003 9:08 PM To: Struts Users Mailing List Subject

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 24,

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

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

2003-09-23 Thread David Thielen
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. I am using JRun and under a given server it has multiple applications with each application having it's own

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

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 action like

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 Wed, 10 Sep 2003, David Thielen wrote: Date

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

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

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 Feasible

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 need to

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

2003-08-28 Thread David Thielen
: action-mapping forward - how do I use it? David, what happens when you use a form ... ? If the URL is wrong, have you tried html:rewrite... ? Alternatively, don't use a form. Use a button inside a a/a Hope that helps Adam On 08/27/2003 09:56 PM David Thielen wrote: Hi; I have a case

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

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

Re: login test in a jsp page - any suggestions

2003-08-27 Thread David Thielen
HTH, Cezar -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 4:16 PM To: Struts-Users Subject: login test in a jsp page - any suggestions Hi; I want to put a test in every jsp page to see if the user is logged

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

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: action

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 html:check app=MyAction/. (Yes, I can have everything be an

Re: Telling Users to Wait

2003-08-22 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 meta http-equiv=refresh... to the servlet that runs the database work. This way the please wait page is displayed until the database work completes and it's page

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): action path=/Logout type=net.windward.store.LogoutAction forward name=next redirect=true path=/var/login.jsp/ /action It threw an exception. When I added a from like this: action path=/Logout

Why can't I have no form?

2003-08-18 Thread David Thielen
Hi; When I set an action mapping as this (no form): action path=/Logout type=net.windward.store.LogoutAction forward name=next redirect=true path=/var/login.jsp/ /action It threw an exception. When I added a from like this: action path=/Logout

Re: Why can't I have no form?

2003-08-18 Thread David Thielen
I am using: html-el:form action=/Logout styleClass=whiteBkgnd html-el:submit property=submit value=Logout/ /html-el:form - 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

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
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, zipcode based on country? thanks - dave -- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9

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 html-el:form... Any ideas how to get around this? thanks - dave

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

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

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

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: c:forEach html-el:text - it's not working

2003-08-14 Thread David Thielen
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 working Hi; I am trying to use html-el:text inside a c:forEach and according

Re: N form items as fields

2003-08-14 Thread David Thielen
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 the iterate tag. hth Adam David Thielen wrote: Hi; I have

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 html:errors/ for each form? thanks - dave

Two forms on one page - html:errors/

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

Re: action forward - redirect

2003-08-14 Thread David Thielen
. 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: action-mappings actionpath=/OrderSubmit type

really weird - evaluating a comment

2003-08-14 Thread David Thielen
Hi; The following line in my jsp is throwing an exception: !-- html-el:text name=var property=qty indexed=true/ -- Correct me if I'm wrong - but since it's a comment - shouldn't it be left alone? thanks - dave

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

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

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.standard.tag.core.ForEachTag (ie no .el.) Hi

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 Dave:

action forward - redirect

2003-08-14 Thread David Thielen
Hi; I have action forwards in my action mapping as such: action-mappings actionpath=/OrderSubmit type=net.windward.store.OrderAction name=orderForm validate=true input=/order.jsp forward name=success path=/terms.jsp/ forward name=failure path=/order.jsp/ /action

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

2003-08-14 Thread David Thielen
] Sent: Tuesday, August 12, 2003 4:30 PM Subject: Re: c:forEach 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/basicportal/bPproj

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

2003-08-14 Thread David Thielen
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 weirdness with c:forEach html-el:text Hi; I am hitting a major roadblock with this. And it looks like

Re: Code of a method longer than 65535 bytes

2003-08-14 Thread David Thielen
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 bytes I'm using JRun 4 - and need it for the EJB

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

2003-08-14 Thread David Thielen
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 David == David Thielen [EMAIL PROTECTED] writes: David

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: 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 taglibs? If

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: c:forEach items=${orderForm.items} var=orderFormItem varStatus=status input type=text name='items[c:out value=${status.index}/].qty' value='c:out

why no html:option property=...

2003-08-14 Thread David Thielen
Hi; Wouldn't it be useful if you could do: html:option property=value and text/ Instead of: html:option value=todaytoday/html:option

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: taglib taglib-urihttp://java.sun.com/jstl/core/taglib-uri taglib-location/WEB-INF/c.tld/taglib-location

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

2003-08-14 Thread David Thielen
a setQty() setter method. 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; I am trying to use html-el:text inside a c:forEach and according

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

2003-08-14 Thread David Thielen
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; I am trying to use html-el:text inside a c:forEach and according to everything I have

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

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 ... c:forEach items=${orderForm.items} var=orderFormItem varStatus=status trtd html-el:text

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

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

Re: Help please - indexed field in ActionForm

2003-08-14 Thread David Thielen
/html:html Gary Kephart| New Century Mortgage Web-Based Application Developer | http://www.ncen.com [EMAIL PROTECTED] | 340 Commerce 949-797-5660| Irvine, CA 92602-1318 -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED

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

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

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

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-10 Thread David Thielen
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? Thanks - the book I have didn't list it so of course I assumed it didn't

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: Struts-Users [EMAIL PROTECTED] Sent

Re: single checkbox - still use html:multibox?

2003-08-09 Thread David Thielen
: Thursday, August 07, 2003 12:19 PM Subject: RE: single checkbox - still use html:multibox? Um, html:checkbox ? Please read the api carefully if you want to use this tag. There is something you have to do in your form's reset()... -Original Message- From: David Thielen [mailto:[EMAIL

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

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

struts and JSTL

2003-08-08 Thread David Thielen
Hi; (I sure brought up a storm with my last question on this g.) 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

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

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

Re: struts, Dreamweaver, Dreamweaver templates

2003-08-07 Thread David Thielen
, 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 Subject: struts, Dreamweaver, Dreamweaver templates Hi; I created my jsp pages using Dreamweaver and using

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