RE: JSP's in WEB-INF and action forward

2002-07-01 Thread Joe Latty
This wont work because the actual link should be href="/WEB-INF/jsp/company.do?action=... which is not allowed. -Original Message- From: Amir Nashat [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 2 July 2002 6:07 PM To: [EMAIL PROTECTED] Subject: Re: JSP's in WEB-INF and action forward Joe

Re: JSP's in WEB-INF and action forward

2002-07-01 Thread Amir Nashat
Joe, Seems like a simple solution to me but I might be over looking something. With what you have done as long as you forward to company.do then all the request parameters will be there. It is important to forward and not redirect. Thus, when you do forward all the query string parameters will

JSP's in WEB-INF and action forward

2002-07-01 Thread Joe Latty
Ok I am trying to tow the party line here... Firstly, I have put all my JSP's in the WEB-INF directory. Now the only way to get to these pages is by action forwards. If I have an iterator which produces a grid which I would have previously coded like this e.g. bean:write name="comp

RE: i18n Gets Even Weirder: It is Reading from the File, but Only Certain Languages and a Mystery Value

2002-07-01 Thread Jesse Alexander (KADA 11)
Hi, have you specified the correct charset in the html-header? Well it will not be ISO-8859-1, but something different. This website should tell you which (in case...): http://www.iana.org/assignments/character-sets hope this helps Alexander -Original Message- From: micael [mailto:[EM

RE: datasource classpath issue with MySQL driver

2002-07-01 Thread Jesse Alexander (KADA 11)
Hi, at some time I had problems with MySQl-driver when I used the compressed jar-file. Try to use the uncompressed jar-file. hope this helps Alexander -Original Message- From: matt_raible [mailto:[EMAIL PROTECTED]] Sent: Montag, 1. Juli 2002 06:08 To: [EMAIL PROTECTED] Subject: Re: data

Security Roles

2002-07-01 Thread Andrew Myers
Hi all, I've seen in the Struts documentation that the logic:present tag has a role attribute. Can anyone point me in the right direction to find out more information about how this works, and where these roles are defined? Thanks, Andrew. -- To unsubscribe, e-mail:

[IGNORE!] Re: Anyone else with the ctrl-s switching buffer problem?

2002-07-01 Thread Rick Reumann
Oops...SO SORRY:) Meant to send this to the JEdit list. I apologize. Been doing so much Struts stuff lately, becoming a habit posting to this list. I apologize. Moderators feel free to delete this thread from the archives if possible. On Tuesday, July 2, 2002, 12:14:00 AM, Rick Reumann wrote: R

Anyone else with the ctrl-s switching buffer problem?

2002-07-01 Thread Rick Reumann
I know Slava said he was going to work on this when he gets all settled into Canada, but in the meantime, I'm curious if anyone else is running into this problem and if so have they found a solution?... It's becoming more common now that when I hit ctrl-s to save my buffer it ends up switching to

Re[2]: How to avoid a scriplet and make this cleaner?

2002-07-01 Thread Rick Reumann
Thanks for trying to help Kevin..comments below... On Monday, July 1, 2002, 10:46:05 PM, Kevin Henrikson wrote: KH> > The above wouldn't work since I can't cast a primitive int to a String like that, but even <%= Integer.parseInt( ((CarBean)element).getId() ) %> wouldn't work. It's

I'm Lost - How to display ArrayList of Hashtables

2002-07-01 Thread Matt Barnicle
Hey all... I've done this in many languages including Java, but I can't seem to figure out how to do it in struts. For some reason the struts paradigm is very difficult for me. Enough whining though. My situation is that I have a search page. I search a directory given a person's name. I ret

RE: How to avoid a scriplet and make this cleaner?

2002-07-01 Thread Kevin Henrikson
Try to cast the value to a string. Also you might want to check out multibox... Like this: -kevin > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 01, 2002 7:22 PM > To: Struts Users Mailing List > Subject: How to avoid

How to avoid a scriplet and make this cleaner?

2002-07-01 Thread Rick Reumann
For this example I have an ArrayList of "cars" (which are CarBeans with String carName, int id ). I want to iterate over this ArrayList and set up each car name with a checbox next to it with the id as the value. My FormBean has the property String[] carID to get the cars selected. The problem is

[Off Topic] Iterating through Parents/children help

2002-07-01 Thread @Basebeans.com
Subject: [Off Topic] Iterating through Parents/children help From: "Matt Raible" <[EMAIL PROTECTED]> === I have an difficult architecture problem. Please help if you can. Below are two tables that are linked by catalog_id. catalog -- catalog_id catalog_name parent_id catalog_detai

Re: dynamic forward?

2002-07-01 Thread @Basebeans.com
Subject: Re: dynamic forward? From: "Matt Raible" <[EMAIL PROTECTED]> === If you use container-managed authentication - "bookmarking" per se will work just great. When a user tries to access a "protected" url, they are forwarded to the login page, and then back to the URL they requested. Works

Problem with Struts 1.1b1 and Log4J 1.2.4

2002-07-01 Thread Hemanth Setty
Hello, I have included both the Struts and Log4J packages in a webapp. Things worked fine when I was using Struts 1.0.2. After I got the latest beta realease of struts(1.1b1)..I get this error log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester). log4j:WARN Pl

Re: Struts 1.1b1 HTML:Form

2002-07-01 Thread Ted Husted
The change you are running into is that in 1.1 the html:form tag now calls the reset() method. That was not the case in 1.0 so the bean type wasn't as important. But, if your "legacy" JavaBeans and ActionForms share the same property names (or "protocol"), you can use those beans to write the fo

Re: getting link parameters from a bean

2002-07-01 Thread micael
I don't know about others, but I don't know what you mean by "into the link: ")">. I also do not know what you mean by "a and a". Micael At 09:55 AM 7/1/2002 +0200, you wrote: >Hi all, >I posted this question before, but no one answered - >Doesn't anyone understand my problem or >Does no one k

ActionForm initialization

2002-07-01 Thread struts-user
I have a simple ActionForm with one property: a reference to a value object. I'd like to initialize that reference to point to the value object previously fetched by the Action. An Action typically takes form data passed to it in order to fetch (and perhaps update) an object from the model. F

Its back -> RE: Problem with Populate the way I want to use it...

2002-07-01 Thread wbchmura
Okay, I cleared all my compiled files and everything and now the problem is back... Here is the error that is displayed: javax.servlet.ServletException at org.apache.struts.action.RequestProcessor.processException(RequestProces sor.java:499) at org.apache.struts.action.Request

Tiles DTD Not Found?

2002-07-01 Thread Jerry Jalenak
I just brought down the latest nightly build of Struts 1.1b. I'm now getting the following error when I try to access my struts-tiles definitions. Did something change? Thanks. Jerry 2002-07-01 13:50:04 - Ctx(/MemberSolutions) : Exception in R( /MemberSolutions + /login.as + null) - javax.ser

RE: Logic Iterate not finding my bean

2002-07-01 Thread wbchmura
You mean this one: <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> Nope, got that in there... -Original Message- From: Chris.Treglio [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 2:27 PM To: struts-user Subject: Re: Logic Iterate not finding my bean I just got

Re: DynaBeans, DynaClass, DynaMen

2002-07-01 Thread Craig R. McClanahan
On Mon, 1 Jul 2002, Cliff Rowley wrote: > Date: Mon, 01 Jul 2002 18:42:24 +0100 > From: Cliff Rowley <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: DynaBeans, DynaClass, DynaMen > > Craig R. McClan

Re: Logic Iterate not finding my bean

2002-07-01 Thread Chris_Treglio
I just got over a bout with this same error, and after a day of tail-chasing and not a little profanity I realized that I had not defined the logic taglib. That error was coming from the write tag, because the iterate tag was being ignored entirely. [EMAIL PROTECTED] 07/01/02 02:25 PM Pleas

RE: Struts 1.1b1 HTML:Form

2002-07-01 Thread Craig R. McClanahan
On Mon, 1 Jul 2002, Jacob Hookom wrote: > Date: Mon, 1 Jul 2002 12:32:11 -0500 > From: Jacob Hookom <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Struts 1.1b1 HTML:Form > > Thanks for the clarif

Logic Iterate not finding my bean

2002-07-01 Thread wbchmura
[ServletException in:/WEB-INF/jsp/projects/mainmenu.jsp] Cannot find bean rowset in scope session' These are for DynaBeans incidentally... I am stuffing an array list and then setting it like so: --- System.out.println("Name is: " + ((BasicDynaBean) results.get(0)).get("name")); ses

RE: Login process

2002-07-01 Thread James Mitchell
> -Original Message- > From: Heligon Sandra [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 01, 2002 1:09 PM > To: 'Struts Users Mailing List' > Subject: RE: Login process > > > I am new with Web and Struts and some items escape me. > I don't understand how the user can reach a page withou

Does anyone have any good examples of recursion using tags ?

2002-07-01 Thread richard
Does anyone have any good examples of recursion using tags ? Not the monkey-tree example, as I can't seem to get that to work :( Unless someone has a good idead as to why it (and my own attempts) might be throwing this exception: java.lang.NullPointerException at org.apache.struts.tag

RE: DynaBeans, DynaClass, DynaMen

2002-07-01 Thread wbchmura
I should be able to do bean write on them, but I would lose the pretty functionality I get with the taglib... -Original Message- From: cliff [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 1:42 PM To: struts-user Subject: Re: DynaBeans, DynaClass, DynaMen Craig R. McClanahan

Re: DynaBeans, DynaClass, DynaMen

2002-07-01 Thread Cliff Rowley
Craig R. McClanahan wrote: > The standard methods in BeanUtils and PropertyUtils know how to deal with > DynaBeans already (essentially your option (B)). That is why all of the > Struts tags can deal with DynaBeans or standard JavaBeans with no changes. > Is there a reason you can't use things l

Re: HttpSession initialisation

2002-07-01 Thread Craig R. McClanahan
On Mon, 1 Jul 2002, Heligon Sandra wrote: > Date: Mon, 1 Jul 2002 18:58:07 +0200 > From: Heligon Sandra <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: HttpSession initialisation > > > Hi, > > S

RE: Struts 1.1b1 HTML:Form

2002-07-01 Thread Jacob Hookom
Thanks for the clarification. My thought was that struts w/should be able to accommodate pre-existing beans on the system for ease of generating jsp's-- without generating new beans that contain the same object definition and just extend from a different class. -Jake -Original Message-

dynamic forward?

2002-07-01 Thread Reinhard
Hi all, I'm new in struts and need help. How can I define a dynamic forward. A user calls an ViewCompanyAction (/action/viewcompany?id=10) stored in his Favorites. The Action checks that the user is not logged in right now and forwards him to login page. Til there its not a problem. ViewComp

Re: DynaBeans, DynaClass, DynaMen

2002-07-01 Thread Craig R. McClanahan
On Mon, 1 Jul 2002 [EMAIL PROTECTED] wrote: > Date: Mon, 1 Jul 2002 10:39:46 -0400 > From: [EMAIL PROTECTED] > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: DynaBeans, DynaClass, DynaMen > > > ...anyone remember DynaMen? > > Anyhow... I got a Dynabe

Re: (newbie) using JAR files vs. explicit package classes

2002-07-01 Thread Craig R. McClanahan
On Mon, 1 Jul 2002, Glen Mazza wrote: > Date: Mon, 1 Jul 2002 08:29:56 -0500 (CDT) > From: Glen Mazza <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: (newbie) using JAR files vs. explicit package classes > > Hello, > > I'm looking

Re: Communication/Relation between Struts controller and HTTP server/Servlet engine

2002-07-01 Thread Craig R. McClanahan
On Mon, 1 Jul 2002, Heligon Sandra wrote: > Date: Mon, 1 Jul 2002 15:12:59 +0200 > From: Heligon Sandra <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: Communication/Relation between Struts controller and H

Re: Login process

2002-07-01 Thread Cliff Rowley
Heligon Sandra wrote: > I don't understand how the user can reach a page without > using action forwarding. I thought that all JSP pages had > to be associated with an action. You would access the JSP page indirectly through an action. Whether that is an actual action, or a simple forwarding ac

RE: DynaBeans, DynaClass, DynaMen

2002-07-01 Thread Adolfo Miguelez
By using dynabeans should not need to modify the custom tags at all. BeansUtils package is able to inspect dynabeans itself. The advantage is that you have not to worry about making your modified custom tags for each new release. Adolfo >From: [EMAIL PROTECTED] >Reply-To: "Struts Users Maili

Re: Struts ActionForm InstantiationException...? New Question

2002-07-01 Thread Craig R. McClanahan
On Mon, 1 Jul 2002, Struts Newsgroup wrote: > Date: Mon, 1 Jul 2002 05:25:03 -0700 > From: Struts Newsgroup <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Struts ActionForm InstantiationException...? New Question > > Subject:

finding key in message resource problem

2002-07-01 Thread fabrice dewasmes
Hi, My development environment is JBuilder5 + tomcat 4.0.3 + Struts 1.1 While working there evrything is ok but when i copy and paste my war in tomcat 4 and try to launch tomcat stand alone(this means without jbuilder) the messages can't be found and a servlet exception is thrown which message i

RE: Login process

2002-07-01 Thread Heligon Sandra
I am new with Web and Struts and some items escape me. I don't understand how the user can reach a page without using action forwarding. I thought that all JSP pages had to be associated with an action. If the JSP page is not in the WEB-INF directory the user can reach it with a simple URL ? How

Re: Struts vs Jsp/javascript..

2002-07-01 Thread Craig R. McClanahan
The validator framework can be used to generate client-side validation JavaScript for Struts forms. However, you should *always* redo the validations at the server side -- it is not safe programming to assume that the user has JavaScript enabled. The way I look at it, client-side validation is t

Re: Struts 1.1b1 HTML:Form

2002-07-01 Thread Craig R. McClanahan
It is correct to say that all of the automatic Struts machinery for form beans only works if your bean is a subclass of ActionForm. (In Struts 1.1, that includes the DynaActionForm class as well.) Craig On Mon, 1 Jul 2002, Jacob Hookom wrote: > Date: Mon, 1 Jul 2002 01:23:40 -0500 > From: Jac

RE: Digester?

2002-07-01 Thread Craig R. McClanahan
Digester, and all the other commons packages, are developed on the COMMONS-DEV mailing list. There's also bugzilla categories to report any problems that you have. It's also important to be specific about *which* version of digester you are talking about, because it's gone through several releas

Re: Struts vs Jsp/javascript..

2002-07-01 Thread Cliff Rowley
[EMAIL PROTECTED] wrote: > Along this topic... > > I've used tools like JOptimize and other java profilers in the past on > straight Java applications... Is there a way to do this against a web > server? With my limited experience with that kind of thing I can't see any technical reason why

RE: Struts vs Jsp/javascript..

2002-07-01 Thread wbchmura
Along this topic... I've used tools like JOptimize and other java profilers in the past on straight Java applications... Is there a way to do this against a web server? -Original Message- From: cliff [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 12:45 PM To: struts-user S

HttpSession initialisation

2002-07-01 Thread Heligon Sandra
Hi, Sorry to question about this newbie point but I don't find answer in the Struts documentation. I don't understand how the sessions are created in Struts ? Which component is responsible of this task ? I think that it is the controller but each

Re: Struts vs Jsp/javascript..

2002-07-01 Thread Cliff Rowley
If your forms are relatively well designed (see other threads in this list for more info) then page reloads will not be a problem anyway. In my experience trying to avoid page reloads opens a whole new can of worms. If the content surrounding your forms is the problem, then perhaps you shoul

RE: Validator and loading a form the first time

2002-07-01 Thread wbchmura
Cool - thats what I thought -Original Message- From: kevin.henrikson [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 12:30 PM To: struts-user Subject: RE: Validator and loading a form the first time Actually you create two action mappings in your struts-config.xml One with valid

RE: Validator and loading a form the first time

2002-07-01 Thread Kevin Henrikson
Actually you create two action mappings in your struts-config.xml One with validate="true" and one with validate="false". Both pointing to the same Action sub-class -kevin > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 01, 2002 9:31 AM >

Validator and loading a form the first time

2002-07-01 Thread wbchmura
Hi All, I have several forms that I are getting checked by Validator before the user fills out the form. This is because I used to load the forms by calling the action servlet and seeing that it is a first load, skipping validation and forwarding the form back... Kind of a self check... Wi

RE: DynaBeans, DynaClass, DynaMen

2002-07-01 Thread wbchmura
definatly will submit them... Tried contacting the author but no response... I'll post patches or something... I am going to take that approach methinks! -Original Message- From: cliff [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 12:17 PM To: struts-user Subject: Re: DynaBea

Re: DynaBeans, DynaClass, DynaMen

2002-07-01 Thread Cliff Rowley
I'll answer both mails at the same time .. [EMAIL PROTECTED] wrote: > If I followed this approach and wanted to implement it across many > pages, would I just code the interface for every possible field that > could be returned? I am not sure and I left my patterns book at home > today (serio

RE: DynaBeans, DynaClass, DynaMen

2002-07-01 Thread wbchmura
Yep, the display tag library... I spent some time looking at the source last night, and modifying it should not be that bad... Thanks for the feedback! -Original Message- From: pelly69 [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 11:05 AM To: struts-user Subject: Re: DynaBea

RE: DynaBeans, DynaClass, DynaMen

2002-07-01 Thread wbchmura
If I followed this approach and wanted to implement it across many pages, would I just code the interface for every possible field that could be returned? I am not sure and I left my patterns book at home today (seriously). -Original Message- From: cliff [mailto:[EMAIL PROTECTED]]

Trouble getting .pdf into the URL

2002-07-01 Thread mike . witt
Hello, I'm trying to get a parameter (dummy=.pdf) into my URL in order for IE to realize that it should display the pdf with Acrobat. Unfortunately, I'm hitting dead-ends. I'm running the action which generates the pdf via a form submit in order to handle some input fields for the search criter

RE: Login process

2002-07-01 Thread James Mitchell
There are varied opinions on doing as Andrew suggests. I, personally, recommend that approach as it: a) forces the users to go through index.jsp or an action b) allows you to put your session validation/redirection in one place (the action or base action class) c) forces your developers to

Re: DynaBeans, DynaClass, DynaMen

2002-07-01 Thread Cliff Rowley
[EMAIL PROTECTED] wrote: > Anyhow... I got a Dynabean mechanism working that builds a DynaBean > based on the metadata of a SQL result set, populates and array of the > little buggers and passes it back to me. For displaying I have a tag > library that does not like a call to get('name') as

Re: html:form help

2002-07-01 Thread Lolik Tum
Why don't you use Integer Objects as wrap arounds your integeres? This way you can have nulls which will be blank on you form. - Original Message - From: "Pete Serafin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 28, 2002 8:07 AM Subject: html:form help > OK ... I hav

RE: getting link parameters from a bean

2002-07-01 Thread James Mitchell
Hi Nina-Annick, There was a custom tag written by Phase Web that can do what you need. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Original Message- > From: Nina-Annick Stranze

RE: missing key handling problem

2002-07-01 Thread fabrice dewasmes
OK this time i got it. But i'm really disappointed that the framework doesn't handle this. It's easy to do and i think i'm going to write a wrapper for this... Too bad ! Fabrice > -Message d'origine- > De : Nina-Annick Stranzenbach [mailto:[EMAIL PROTECTED]] > Envoye : lundi 1 juillet 2

Re: DynaBeans, DynaClass, DynaMen

2002-07-01 Thread Adolfo Miguelez
I have implemented the same approach: getting results from a database query and wrap them in an ArrayList of dynabeans. In that way I can use the Struts Customs tags in order to render the dynabeans content in the JSP. Custom Tags rely on Commons BeanUtils package which is able to inspect any

DynaBeans, DynaClass, DynaMen

2002-07-01 Thread wbchmura
...anyone remember DynaMen? Anyhow... I got a Dynabean mechanism working that builds a DynaBean based on the metadata of a SQL result set, populates and array of the little buggers and passes it back to me. For displaying I have a tag library that does not like a call to get('name') as th

Re: missing key handling problem

2002-07-01 Thread Nina-Annick Stranzenbach
Hi Fabrice, what I meant is: if you don't have the errors.header/errors.footer specified, a null value is returned for them. If ANY other key is not specified (in your case mytest.test), the servlet throws an exception - so you got the correct response. -- To unsubscribe, e-mail:

RE: (newbie) using JAR files vs. explicit package classes

2002-07-01 Thread Rahul Kumar Saxena
Hi Glen, This convention is followed to identify the third party or external jars from the ones, which you had developed for your application - project. This gives clear picture of external resources being used in the project. There is absolutely no probs in putting all files in a single jar, as

different actions in one form

2002-07-01 Thread Mariusz TumiƂowicz
my problem is: on one page i generate content from db depending on parameters and in the same page i save the results(send by mail) so i have that way 2 actions to do in my submit button (generate content and save results) The content may be also edited by user(and need validation) What is the bes

(newbie) using JAR files vs. explicit package classes

2002-07-01 Thread Glen Mazza
Hello, I'm looking at how the example .WAR applications supplied by Struts 1.1 Beta release are expanded by Tomcat. Common/Shared packages, such as "struts.jar", "commons-digester.jar", etc. are kept unexpanded in the web-inf\lib directory. However, classes specific to the application were e

Communication/Relation between Struts controller and HTTP server/Servlet engine

2002-07-01 Thread Heligon Sandra
Hi, I have to write a document about Struts implementation in my project. Now I understand the Struts components well but I have problems in explaining the request flow between the web browser and Struts. More precisely the relation between the HTTP Serve

RE: missing key handling problem

2002-07-01 Thread fabrice dewasmes
OOps sorry i didn't read your answer the right way. So i've removed both errors.header and errors.footer and it still doesn't work... So the question is still asked... Fabrice > -Message d'origine- > De : Nina-Annick Stranzenbach [mailto:[EMAIL PROTECTED]] > Envoye : lundi 1 juillet 200

RE: missing key handling problem

2002-07-01 Thread fabrice dewasmes
thanks for your reply but i've got both header and footer and it does nothing more... Any other idea ? Fabrice > -Message d'origine- > De : Nina-Annick Stranzenbach [mailto:[EMAIL PROTECTED]] > Envoye : lundi 1 juillet 2002 13:40 > A : Struts Users Mailing List > Objet : Re: missing key

Re: missing key handling problem

2002-07-01 Thread Nina-Annick Stranzenbach
Hi, if you don't specify errors.header and/or errors.footer, a null string is returned, in all other cases, you get the servlet exception. fabrice dewasmes wrote: >Hi ! > >I'm wondering if someone has ever tested to ask for a message that is not >present in the resource bundle. I'm using Stru

Re: Struts ActionForm InstantiationException...? New Question

2002-07-01 Thread @Basebeans.com
Subject: Re: Struts ActionForm InstantiationException...? New Question From: "Scott Curtis" <[EMAIL PROTECTED]> === It turns out that the problem was caused by my Form class having a constructor with two parameters of type String. As soon as I removed this constructor the code worked. Therefore,

Please help

2002-07-01 Thread Byomakesh Parida
hi, i installed the nighly version of of Struts 1.0.2, and accordingly i set the classpath. and put the .jar, .dtd files according to the instruction. the problem i am facing now is MessageResourcesFactory.createFactory java.lang.ClassNotFoundException: org.apache.struts.util.PropertyMessageRes

Re: Struts Examples

2002-07-01 Thread Chuck Cavaness
Glen, Thanks for mentioning my example in chapter 3. In the chapter on packaging, I mention the different ways that you might want to package your classes and the pros and cons of each way. That chapter is finished, just not posted yet. I wanted to provide an example of each way. As you said, t

missing key handling problem

2002-07-01 Thread fabrice dewasmes
Hi ! I'm wondering if someone has ever tested to ask for a message that is not present in the resource bundle. I'm using Struts 1.1 and configured null parameter of the message resource to true. However i receive a Sevlet exception which message is : Missing message for key mytest.test. Reading

Struts ActionForm InstantiationException...?

2002-07-01 Thread @Basebeans.com
Subject: Struts ActionForm InstantiationException...? From: "Scott Curtis" <[EMAIL PROTECTED]> === Hi, I have written a Form class that extends ActionForm, called LoginForm.java I have also written an Action class called LoginAction.java I have written an ActionMapping as follows:

Re: formating

2002-07-01 Thread @Basebeans.com
Subject: Re: formating From: "David Bolsover" <[EMAIL PROTECTED]> === Hi Matthias You don't say in what form your Objects store the datevalue but I'm assuming that you are using java.sql.Date this being the class most easily used for database update/retrieve methods. If you access a from a 'str

Re: Struts Examples

2002-07-01 Thread Glen Mazza
The Struts book being reviewed at the ServerSide (http://www.theserverside.com/resources/strutsreview.jsp) has a good example using Struts V1.1 in Chapter 3. Sample code is given to work with. I'm looking at it now. Only issue is that they've divided the Java packages not by functionality (logi

Re: Graphics Objects

2002-07-01 Thread @Basebeans.com
Subject: Re: Graphics Objects From: "David Bolsover" <[EMAIL PROTECTED]> === Hi again My thanks to all - a number of excellent suggestions - just need to decide which one... David [EMAIL PROTECTED] -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Login process

2002-07-01 Thread Andrew Hill
Apart from the index.jsp, you would probably be best served by putting all your other jsps (that require authentication) in the WEB-INF directory. This way they can only be reached by an action forwarding to them and not directly. -Original Message- From: Heligon Sandra [mailto:[EMAIL PRO

Login process

2002-07-01 Thread Heligon Sandra
Hi, I am trying to use the method processPreprocess of the RequestProcessor in order to authenticate web clients in my struts application. I am some doubt about the flow, when the index.jsp page is displayed this method is called, isn't it ? How

getting link parameters from a bean

2002-07-01 Thread Nina-Annick Stranzenbach
Hi all, I posted this question before, but no one answered - Doesn't anyone understand my problem or Does no one know any answer??? Here it is: Hi, I am trying to open a new window via javascript command that submits command to an action path. As this action path needs a request parameter, it'

RE: Struts vs Jsp/javascript..

2002-07-01 Thread Emerson Cargnin
and if I use js ans struts to populate comboboxes?? the users can't even use the system if they have js disabled... and that's the way ti avoid entire pages relaoads Emerson Cargnin SICREDI _ POA -Original Message- From: Vincent Aumont To: Struts Users Mailing List Sent: 01/07/02 04:2

formating

2002-07-01 Thread mhanel
I've got a Bean which contains an array of Objects. Each of the containing objects has a datevalue. In the JSP I want to display the date localized. How do you solve this problem? Thanks in advance. Matthias

RE: Struts and Velocity (FOR TED)

2002-07-01 Thread Andrew Hill
Or you can even be wierd like me and use your own techniques. I for example am manipulating xhtml DOMs at the server side to insert dynamic data from the beans (and other bean-like things that don't quite follow the bean rules but look bean-ish (naughty naughty! ;->)). Im getting to the stage whe

RE: Struts vs Jsp/javascript..

2002-07-01 Thread Andrew Hill
Are Oranges better than fruit? ;-) My understanding was that struts (ValidatorPlugIn actually) provided a means (JavascriptValidatorTag) for generating javascript to do initial client side validation based on rules you specify in an xml file. These rules may also be used on the server side (I thi