Re: I18N - Currency question

2003-08-09 Thread David Geary
On Friday, August 8, 2003, at 08:08 AM, David Thielen wrote: 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

Re: JSP Exception, HELP!!!

2003-08-09 Thread tim
Samanth Athrey wrote: Hello All, This is a real strange exception am getting. I have a main page which has 6 links. First time I can select any of the link and the page is rendered. Once I come back the main page and select any other link, I get the following message: ===

Model and Business in Struts-Expresso

2003-08-09 Thread Mehdi Bizhani
Hi, I think Expresso uses struts internally, and you should use its own front controller, tag libraries and You can't use struts directly. Mehdi Bizhani writes: Hi, Please introduce me a Struts-compatible and complete framework for the business part and model part of an Sruts

content type header

2003-08-09 Thread Amit Rana
Hi, We display a lot of Japanese content on our pages, we have lots of jsps etc which were initially build for English content only. In order to append the right header I tried following two approaches but failed 1. Passed content parameter to AcionServlet init-param

RE: JSTL ot struts taglibs?

2003-08-09 Thread Stephen Brown
Maybe you could post this to the ECS users group. Scriptlets are fine, but tend to lend themselves to having lots of lines of code in a page that doesn't actually generate html, which is tough to read if you are trying to lay things out. Why do you think Ant is so popular??? It got rid of all

RE: DigestingPlugIn [potential bug]

2003-08-09 Thread James Mitchell
Did my response ever make it? I was using Yahoo web-mail and couldn't remember if I flipped the from selector to use the address I'm subscribed with. If not, then here's basically what I said: In my existing project, I added the complete source (per the cvs commit message). I figured that it

RE: [OT] XForms

2003-08-09 Thread Andrew Hill
Thanks for the reply Simon, I guess my first question for you isn't so much about using XForms as about deploying an XForms based solution: what are you using for an XForms processor on the client side (or on the middle tier)? Fate has consipired against me in my attempts to evaluate plugins (Im

Re: DigestingPlugIn

2003-08-09 Thread Robert Leland
David Graham wrote: --- Robert Leland [EMAIL PROTECTED] wrote: Joe Germuska wrote: At 14:12 -0700 8/7/03, James Mitchell wrote: I noticed the check in of DigestingPlugIn and I want to try it out. Unless I missed it somewhere, it's not clear to me how to use it. If it actually

RE: Nobody know how to replace a struts submit button by an image ?

2003-08-09 Thread Alex Shneyderman
Oops sorry it it is html:image -Original Message- From: Alex Shneyderman [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 7:35 AM To: 'Struts Users Mailing List' Subject: RE: Nobody know how to replace a struts submit button by an image ? Just put html:img tag inside your

Re: RE: DigestingPlugIn [potential bug]

2003-08-09 Thread
ÔÚ 2003-08-09 03:21:00 ÄúдµÀ£º Did my response ever make it? I was using Yahoo web-mail and couldn'tof you ? Could you tell me ? Thanks~~ remember if I flipped the from selector to use the address I'm subscribed with. If not, then here's basically what I said: In my existing project, I

Re: how to use requiredif

2003-08-09 Thread George Hill
I am trying to do a change password action. It has three fields, original password, new password and confirm new password. I want to check the confirm new password if the new password is not null.So i want to use the requiredif. thank you for you answer. - Original Message - From:

Still struggeling: howto get ActionForward to calling page

2003-08-09 Thread asaupp
Hi, i am still looking for a clean way to get an ActionForward to the page that called my current Action. That means e.g. I am a displayListAction and have been called by a selection screen. In case i don't find a result for the selection parameters I would like to bring a specific error to

RE: Bean tag lib help

2003-08-09 Thread Vance Heredia
Ummm don't worry about that last post I re-read it and used the java.lang.String but it didn't work correctly Same error If anyone has encountered this error I would really appreciate any help Vance Vance Heredia Java Wireless Architect Global

Re: RE: [FRIDAY] [JOKE] Here is an old one

2003-08-09 Thread
ÔÚ 2003-08-09 13:13:00 ÄúдµÀ£º so u both are completing last answerof you ? Could you tell me ? Thanks~~ -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Saturday, August 09, 2003 1:09 PM To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] [JOKE] Here is an old

RE: method to get new Id to next action when old Id is in request?

2003-08-09 Thread ansuman_behera
what if there is a restriction that the developers should not be using hidden variables? what do you do in this case? -Original Message- From: Rohit Aeron [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 11:54 AM To: Struts Users Mailing List Subject: RE: method to get new Id to

RE: Cancel Button Not Working in 1.1

2003-08-09 Thread Bradley M. Handy
I don't see anything wrong w/ your tag. However, you're using the bean:message ... / tag in the body of the html:cancel ... / tag, you can get rid of the value attribute. Brad -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 2:51 PM

Re: RE: Chain of Command

2003-08-09 Thread
ÔÚ 2003-08-09 11:20:00 ÄúдµÀ£º Use forwards do the chaining of actionsof you ? Could you tell me ? Thanks~~ Regards, Rohit -Original Message- From: McRobb, John [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 8:31 PM To: '[EMAIL PROTECTED]' Subject: Chain of Command Are

Re: Percieved Performance Issues using MVC

2003-08-09 Thread Ted Husted
Off hand, I'm not sure if you've broken from a pure MVC implementation. If you are using server pages, it's a good idea to keep the model code out of the server page, since you end up mixing concerns within the same component. But if your servlet is designed so that, internally, the model code

RE: [newbie]: forwarding to a URL from Action class

2003-08-09 Thread Sachin
Actually your forwards should be part of your mapping object but you are trying to pass forward with matching of it in struts-config.xml.. So it oyu should define it in global forwards so that mapping will get That URL... Thanks Sachin -Original Message- From: Shyam A [mailto:[EMAIL

RE: Button labels and DispatchActions mix?

2003-08-09 Thread Alex Shneyderman
Woo hoo, I missed that! Thanks. -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 8:39 AM To: 'Struts Users Mailing List' Subject: RE: Button labels and DispatchActions mix? I believe that the solution is to use a

Re: Seven Lessons from the Trenches: 4. Protect JSPs behind WEB-INF

2003-08-09 Thread Laurent PETIT
Can't you be more explicit about the error ? Did you try to view the source of the html produced ? ( And, oh, please, just DON'T CRY ! ) - Original Message - From: Laurent MARQUEZ [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED]; 'Laurent PETIT' [EMAIL PROTECTED]

How to realize forward to the same page?

2003-08-09 Thread Dirk Behrendt
Hello! I want, that the user can switch the language from a drop down menu at runtime. When he chose a language, an action class is called and sets the locale. I want, that there is no forward to another page. The current page should be maintained. When I do it without the forward tag, an empty

RE: DigestingPlugIn [potential bug]

2003-08-09 Thread Joe Germuska
At 3:21 -0400 8/9/03, James Mitchell wrote: Did my response ever make it? I was using Yahoo web-mail and couldn't remember if I flipped the from selector to use the address I'm subscribed with. If not, then here's basically what I said: In my existing project, I added the complete source (per

Struts 1.1: what's the preferred way to use databases?

2003-08-09 Thread Graham Stark
Hi, apologies if this is an obvious question, but I can't work it out. If you're trying to configure a datasource in Struts 1.1, what's the preferred method? The only way I've got this work using the struts-config file is if I force the data source to be

RE: New Bie : org.apache.jasper.JasperException: Cannot retrieve mapping foraction /login

2003-08-09 Thread message message
probably because the error message says login whilst your config says /Login your config should say action path=/login From: Seshadhri Srinivasan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] CC: Balabaskaran,

RE: Bean tag help

2003-08-09 Thread Steve Armstrong
I really don't know how to explain things any more clearly. I suggest you buy a Struts book, and check out the documentation for the tag libraries on the Struts web site. Your bean:define tags make absolutely no sense. Please read the following:

Has anyone used Hibernate with Struts?

2003-08-09 Thread victor gusz
Hi, Guys: I want to learn Hibernate, Hibernate site does not seem to provide good examples. Has anyone have this kind simple running example for starters to follow? regards, __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: JSTL ot struts taglibs?

2003-08-09 Thread Reinhard
So many things are a step backwards like config files for instance. J2EE is supposed to be for the Enterprise which means there is at least a DB and maybe the LDAP at your disposal yet people go back to storing stuff in files. I don't agree. You have to think about the time after the rollout

Re: German Testreaders needed

2003-08-09 Thread Stephan Wiesner
Hi Stefan, hier findest Du die ersten Kapitel und den zugehörigen Source: http://rzserv2.fhnon.de/~lg002556/sbuch/ Sind Worddateien, ist vom Verlag vorgegeben, da kann ich nischts machen .-) Musst Du nach c:\strutsbuch entpacken, sonst werden die Bilder nicht richtig referenziert.

RE: (help!!! plz!!) Select Box and validation (repost)

2003-08-09 Thread Sachin
You should maintain a hiddne variable which will store previous value and if it is not valid then set Your original value and return error back to user with selected Comobo box. I think it should work.. -Original Message- From: Khalid K. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August

Re: JSTL ot struts taglibs?

2003-08-09 Thread David Graham
--- David Thielen [EMAIL PROTECTED] wrote: Hi; For the logic and I18N taglibs - what do you recommend - using the struts taglibs or the JSTL taglibs? Definitely JSTL. They're more powerful, easier to use, potentially faster, and a Java standard. David thanks - dave

RE: DynaActionForm

2003-08-09 Thread Paananen, Tero
Is there a place where the disadvantages of using DynaActionForm is listed? Needed this for a discussion. I haven't found any... They make my life so much easier that even if there was a disadvantage, I'd still continue using them. -TPP - maintains a suite of large Struts based applications

Re: single checkbox - still use html:multibox?

2003-08-09 Thread David Thielen
Thanks - the book I have didn't list it so of course I assumed it didn't exist. Any idea what the something special is? The javadocs don't list anything. thanks - dave - Original Message - From: Yansheng Lin [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent:

Re: Allowing only POST for form submittal ????

2003-08-09 Thread Jason Lea
Adam Hardy wrote: Hi Jason, I've heard of Get, Post, Put and Delete, but what are Head, Options and Trave? Oops, should be Trace. as to what they do... Servlet Spec 2.3, 2.1.2 says: The doHead method in HttpServlet is a specialized form of the doGet method that returns only the headers

Re: RE: Chain of Command

2003-08-09 Thread
ÔÚ 2003-08-09 11:20:00 ÄúдµÀ£º Use forwards do the chaining of actionsof you ? Could you tell me ? Thanks~~ Regards, Rohit -Original Message- From: McRobb, John [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 8:31 PM To: '[EMAIL PROTECTED]' Subject: Chain of Command Are

RE: Button labels and DispatchActions mix?

2003-08-09 Thread Van Riper, Mike
Actually, I think the least amount of work (assuming you don't object to adding a small amount of trivial JavaScript logic to the JSP page) is to change your html:submit to an html:button and then add an onclick JavaScript event handler that sets a hidden form field with the desired submit action

Re: DynaActionForm

2003-08-09 Thread Ted Husted
There are several disadvantages, which may or may not be important to a particular application: * A DynaActionForm can't be instantiated with a zero-argument constructor. To create one yourself, you have to use the Struts utility methods or use the factory method to copy an existing instance.

RE: Update button on a form

2003-08-09 Thread Syed, Nazeer
Writing a javascript on the onclick Event may work. Thanks Nazeer -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 12:44 PM To: Struts-Users Subject: Update button on a form Hi; I have a form with a submit, reset, and update button.

Re: struts problem(Unable to populate the form in the jsp to ActionFormbean)

2003-08-09 Thread Nicholas L Mohler
Sridhar, See the thread from 7/28-7/30 titled inxeded properties. Everything you need is in that thread. The basic problem here is that your Form class properties and your jsp names need to line up properly. The thread I mentioned should help you out. Nick

RE: A Relevant Observation

2003-08-09 Thread rajendra . x . yadav
OK. Thanks :) But i did not get that how you posted the article for Europeans? thanks -raj Mark Galbreath

RE: BeanUtils.Populate exception(Indexed Properties)

2003-08-09 Thread Slattery, Tim - BLS
4)Now Im able to diplay in the jsp page but when I submit this page its throwing javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java :1098) exception. See the response I made a couple of hours ago on this same issue. I just

The Joseph Ottinger Editorial

2003-08-09 Thread Mark Galbreath
As I look over my choices for various tasks, I'm a little unsettled at how many choices I have, what they do, and how they interoperate. I'm not going to be the one to say that innovation is a bad thing, but too much innovation probably is a bad thing. In software design, it usually means the

Re: Has anyone used Hibernate with Struts?

2003-08-09 Thread Dan Tran
Victor, The beauty of Struts (MVC2) is that it does not care on how you persist you model objects. Struts' action object is the place you glue your view and model together. With that, all you need is to learn how to work with Hibernate. The following link will give you a good introduction to

RE : RE : Seven Lessons from the Trenches: 4. Protect JSPs behind WEB-INF

2003-08-09 Thread Laurent MARQUEZ
To access /WEB-INF/common/index.jsp Web.xml: welcome-file-list welcome-file/common/index.jsp/welcome-file /welcome-file-list That does'nt work! How can i do? Best regard, Laurent. - To unsubscribe, e-mail: [EMAIL

RE: [OT] Lightweight weblogger

2003-08-09 Thread Greg Ludington
I am looking for a lightweight, Java based weblogger that can be *easily* integrated into an existing Struts-based web application. I You mentioned that you were looking at MiniBlog, but did not like the scriplet approach. Neil Eyde's PersonalBlog began as a struts-based rewrite of

Re: Apache Tomcat web servers

2003-08-09 Thread message message
Have you considered running tomcat apache on your machine and getting your ISP to redirect to your machine at your premises. From: Adam Hardy [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Apache Tomcat web

Re: RE: [FRIDAY] [JOKE] Here is an old one

2003-08-09 Thread
ÔÚ 2003-08-09 13:13:00 ÄúдµÀ£º so u both are completing last answerof you ? Could you tell me ? Thanks~~ -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Saturday, August 09, 2003 1:09 PM To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] [JOKE] Here is an old

RE: [OFF TOPIC] JavaScript + select tag question

2003-08-09 Thread Mark Galbreath
If you read the API you will see that JavaScript functions are built into the Struts html:select tag: http://jakarta.apache.org/struts/userGuide/struts-html.html#select so you have several event handlers to use for transferring control. E.g., html:select property=myBean onClick=myFunction(

Re: RE: [FRIDAY] [JOKE] Here is an old one

2003-08-09 Thread
ÔÚ 2003-08-09 03:39:00 ÄúдµÀ£º The way I remember that joke, the word wasn't Mating ;)of you ? Could you tell me ? Thanks~~ -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Bailey, Shane C.

RE: Cancel Button Not Working in 1.1

2003-08-09 Thread Bradley M. Handy
Please post the tag you're using to render the cancel button on the page. Brad -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 1:07 PM To: Struts Users Mailing List Subject: Cancel Button Not Working in 1.1 Hi, I am trying to use

RE: [OT] - [TOPIC] - [VOTE]

2003-08-09 Thread Andrew Hill
-1 What James said, with the extra note that you wont get any support from me for a scheme that doesnt include a [FRIDAY] tag, or a [BEER] tag, or a [FRIDAY].[BEER] tag, or a [FRIDAY].[BEER].[42], then again I suppose all those discussions might best be summed up with [FRIDAY].[BEER] == [42] ;- Is

Allowing only POST for form submittal ????

2003-08-09 Thread Bailey, Shane C.
I have worked with Struts at a few different companies now and I noticed none of them try to do any checks to see that only POST methods can successfully make it to Actions which handle forms submittals. Struts allows GETs and POSTs to make it to every Action so it seems like this would

Re: Howto get ActionForward to calling Page?

2003-08-09 Thread Deepak
Try new ActionForward(mapping.getInput()) deepak - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 4:17 PM Subject: Howto get ActionForward to calling Page? Hi, looking for a way to get an ActionForward to the page calling the

How to configure commons-logging on JDK1.4

2003-08-09 Thread Koni
Hello I'm using Struts 1.1 with commons-logging. My 'commons-logging.properties' file is in the CLASSPATH and has the following 2 entries: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog org.apache.commons.logging.simplelog.log.LogonAction=info When I run my

Re: How to configure commons-logging on JDK1.4

2003-08-09 Thread Koni Roth
No answer until now! It looks like nobody is using commons-logging! Very frustrating to be the only one using it... Is there really no useful example or documentation? Cheers and enjoy the Friday Beer. Koni Original Message Subject: How to configure commons-logging on JDK1.4