RE: Struts Productivity Survey

2003-01-10 Thread Manomohan K Kalathil
Greg, Agree completely with what Jaaron has to say. Your best bet is to divide up the work. There could be people who are good at JSPs, taglibraries, HTML. Few others who have exposure to web development using servlets etc should be trained indepth on struts and be asked to develop all actions and

Re: Session Management

2003-01-10 Thread Phil Steitz
Puneet Agarwal wrote: Session Management is required to achieve persistence. there are two manner in which persistence can be achieved. 1. storing the information in HTTP session (possibly in session scope) 2. Storing the information using stateful session beans. You can also use hidden fields

Re: Security Filter and ActionForm

2003-01-10 Thread Max Cooper
You might not want to tell users what was wrong for security reasons. If they type a username/password and can get a "username invalid" or "password invalid" error, they will know when they have guessed a good username. "passwords can only contain letters and digits", etc. also give away informatio

Re: Too much log info in b3

2003-01-10 Thread Brian Alexander Lee
Thanks for the response. This is what we're doing now. I was just wondering if there was a better way. BAL - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 7:00 PM Subject: Re: Too much l

Re: Logic Equals and Interface Constants

2003-01-10 Thread David M. Karr
> "Sean" == Sean Cohan writes: Sean> I'd like to somehow use some final static int's defined in an interface Sean> within tags. Something like: Sean> Sean> Can I do this or something like it (e.g., using chars instead of int's)? You'll have to use expression scriptlets f

Re: Too much log info in b3

2003-01-10 Thread Craig R. McClanahan
On Fri, 10 Jan 2003, Brian Lee wrote: > Date: Fri, 10 Jan 2003 18:23:37 -0500 > From: Brian Lee <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Too much log info in b3 > > I just upgraded my app to the latest 1.1b3 release of strut

RE: Struts Productivity Survey

2003-01-10 Thread Andreas Mack
On Fri, 2003-01-10 at 16:39, [EMAIL PROTECTED] wrote: > Ok, so let me pose it a different way. Put yourself in this position: > > You're a consultant or an architect who has been tasked with building a Struts >application with 100 screens. You're actually migrating an application which was >or

Re: Too much log info in b3

2003-01-10 Thread Hemanth Setty
Struts uses log4j for logging..put these statements in your log4j.properties..to increase the logging log4j.category.org.apache.commons=WARN, dest1, dest2 log4j.category.org.apache.struts=WARN, dest1, dest2 -h Brian Lee wrote: I just upgraded my app to the latest 1.1b3 release of struts. Now I

Too much log info in b3

2003-01-10 Thread Brian Lee
I just upgraded my app to the latest 1.1b3 release of struts. Now I am getting insane logging regardless of what I set ActionServlet's debug init param to in the web.xml. I've tried 0 yet I still get tons of debugging. One possibility is that my app does set up a root hierarchy in log4j with a

Security Filter and ActionForm

2003-01-10 Thread Curtney Jacobs
Greetings!! I have a login ActionForm (LogInForm) and a associated login Action class (LogInAction). When the form is submitted, the request is intercepted by a Security Filter. The Security filter authenticates and perform necessary authorization checks on the user via a ldap server. If the u

Re: Struts Productivity Survey

2003-01-10 Thread J Aaron Farr
Greg, I had a similar situation recently, although not nearly at the scope you're currently facing. I'm not sure if it was an advantage, but I had a handful of developers who were completely new to java, object-oriented programming, everything. One had some COBOL experience, the rest were databa

Logic Equals and Interface Constants

2003-01-10 Thread Cohan, Sean
I'd like to somehow use some final static int's defined in an interface within tags. Something like: Can I do this or something like it (e.g., using chars instead of int's)? Thanks. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: JList

2003-01-10 Thread Eric C. Hein
getItem() should take a String[]. - Original Message - From: "Gus Delgado" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 2:10 PM Subject: Re: JList > will the getItem() in the Form take a Collection as suppose of a String? > > Eri

Re: JList

2003-01-10 Thread Gus Delgado
will the getItem() in the Form take a Collection as suppose of a String? Eric C. Hein wrote: labelProperty="label"/> - Original Message - From: "Gus Delgado" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 12:31 PM Subject:

Re: Struts Productivity Survey

2003-01-10 Thread Johan
Greg, You have a big problem. The hardest thing is not learning new stuff but estimating the learning curve for others. Personally it took me about 2 weeks to grasp the concepts and getting up to speed. Why two weeks, because people are banging on my door waiting for me when I have finished the

RE: context relative image reference in a CSS file

2003-01-10 Thread Joe Barefoot
No problem. I think the Chinese call it "putting legs on the snake". :) Happens to everybody at some point or the other. peace, Joe > -Original Message- > From: Dan Payne [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 10, 2003 12:42 PM > To: Struts Users Mailing List > Subject: RE

Re: JList

2003-01-10 Thread Gus Delgado
it works fine Thank you Eric C. Hein wrote: labelProperty="label"/> - Original Message - From: "Gus Delgado" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 12:31 PM Subject: JList On Struts and jsp tags, what is the alt

RE: ActionErrors question

2003-01-10 Thread pqin
Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED]] Sent: January 10, 2003 3:51 PM To: Struts Users Mailing List Subject: RE: ActionErrors question So the bundle that holds t

RE: ActionErrors question

2003-01-10 Thread Alvarado, Juan (c)
I am not aware of any way to do what you propose. As far as I know all an ActionError object does is hold the key you want to use. If bundle is not specified in your JSP, then it defaults to the default resource bundle. In this case that key has to exist in that bundle. Otherwise you have to speci

Re: JList

2003-01-10 Thread Eric C. Hein
- Original Message - From: "Gus Delgado" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 12:31 PM Subject: JList > On Struts and jsp tags, what is the alternative to a JList. Where a user > can select multiple items from tha

JList

2003-01-10 Thread Gus Delgado
On Struts and jsp tags, what is the alternative to a JList. Where a user can select multiple items from that list? -thanks Gus -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: ActionErrors question

2003-01-10 Thread Andy Kriger
(oops - sloppy fingers on a friday afternoon - ignore that last message) So the bundle that holds the errors depends on the bundle that the keys come from? Is there any way to separate this so that all errors always go to one bundle regardless of where the message keys are stored? (that design see

RE: context relative image reference in a CSS file

2003-01-10 Thread Dan Payne
Duh. I forget what it's called when you develop an overly complex solution to a *very* simple problem but that's exactly what I was doing. Thanks Joe and Craig and all others who replied. I was thinking the path would be resolved from the file that contained the stylsheet link, not from the stylesh

RE: ActionErrors question

2003-01-10 Thread Andy Kriger
So the bundle that holds the errors depends on the bundle that the keys come from? Is there any way to separate this so that all errors always go to one bundle regardless of where the message keys are stored? (that design seems out-of-line with the rest of Struts which usually has good -Origin

RE: ActionErrors question

2003-01-10 Thread Alvarado, Juan (c)
It sounds to me like the keys that you are using in your action errors are in the non-default message resource file in your application; the one with the key defined. If you don't want to use the bundle attribute in your call to mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 3:34 PM To:

ActionErrors question

2003-01-10 Thread Andy Kriger
I have 2 message-resources defined in my webapp (one has a key defined the other does not). In one action, I am getting messages from the non-default message-resource (the one with a key defined). In that action I also create an errors object and add errors to it... getResource(request, key) Actio

RE: Validator and LookupDispatchAction

2003-01-10 Thread Alvarado, Juan (c)
What exactly is your problem??? -Original Message- From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 1:05 PM To: Struts User List Subject: Validator and LookupDispatchAction Has anyone got Validator to work with LookupDispatchActions? I don't see ho

RE: Validator and LookupDispatchAction

2003-01-10 Thread René Eigenheer
yes it works, what is the problem? I have: public class Action extends LookupDispatchAction public class Form extends ValidatorForm > -Original Message- > From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] > Sent: Freitag, 10. Januar 2003 19:05 > To: Struts User List > Subject: Val

Re: Session Management

2003-01-10 Thread Puneet Agarwal
Session Management is required to achieve persistence. there are two manner in which persistence can be achieved. 1. storing the information in HTTP session (possibly in session scope) 2. Storing the information using stateful session beans. You have to take the decision based on your application

Re: first action

2003-01-10 Thread Yan Zhu
thank you. :) Emmanuel Bridonneau wrote: Well, I suppose you do nothing more than what the specs states in most cases. Here's a snippet of such a init webapp definition with two servlets ie. Struts controller and your init servlet. Your initServlet can cache some app scope parameters or whateve

RE: first action

2003-01-10 Thread Emmanuel Bridonneau
Well, I suppose you do nothing more than what the specs states in most cases. Here's a snippet of such a init webapp definition with two servlets ie. Struts controller and your init servlet. Your initServlet can cache some app scope parameters or whatever else. Enjoy. -Original Message

how do i validate number of check box selected by user in DynaValidatorForm

2003-01-10 Thread Ashish Kulkarni
Hi, I am using DynaValidatorForm, and i want to validate number of check boxes selected by the user, for example to display details, user must select atleast one checkbox on the the main page before clicking display details button, or user must select only one check box for specific operation.. H

RE: turning form parameters into queries

2003-01-10 Thread keithBacon
Below is a class of mine that is a bit primitive but does the job. There's probably plenty wrong (like using integer constants instead of type safe enum) with it as I'm a bit of an amateur. With queries I reckon the usual rules of MVC go out the window & you design for 1 - performance 2 - minimum

Validator and LookupDispatchAction

2003-01-10 Thread Phase Web and Multimedia
Has anyone got Validator to work with LookupDispatchActions? I don't see how it can be done. Is this possible? Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -- To unsubscribe, e-mail: For additional c

RE: Struts Productivity Survey

2003-01-10 Thread Greg.Reddin
Well, the question was somewhat, but not entirely hypothetical. The 50 is probably more like 30. The problem is really another "my framework is better than yours" debate and we're pushing to use a Struts-based framework going forward instead of a home-grown. One of my tasks is to quantify how

Re: Error in testing a Custom Tag

2003-01-10 Thread CFineman
Hi Elma, You probably need to give folks more background then this (e.g. we are running under weblogic). From what I can tell it looks like your application is not properly deployed. If you are still having problems, stop by and we can chat about it. Charles Fineman Systems Architect Princeton e

Upload problem: Stream ended unexpectedly

2003-01-10 Thread Peter Severin
Hi, One of our customers has a problem when trying to upload a large file. We are using struts1.1-b2 with "Apache Tomcat/4.1.12-LE-jdk14" with IIS in front of it. We use CommonsMultipartRequestHandler class. The upload works as expected for others. Have anyone experienced something like that ?

Re: Struts Productivity Survey

2003-01-10 Thread V. Cekvenich
In this case, does the consultant/architect: a. have previous deployed Struts applications, b. or does the consultant "know of" Struts? In case a. one should have an idea of how long it takes to train and develop. One opinion for time frame range is newbie developers take about a few days per MV

repost about problem with Declarative Exception in DispatchAction

2003-01-10 Thread Rick Reumann
Sorry for this repost, but I'm still pretty stuck. Hope someone could help with this.. If I use a normal Action and declare an exception in the action configuration in the config file, everything works perfectly if that Exception is thrown. However, when normally I like to use DispatchAction and

Taglib with Dynaforms

2003-01-10 Thread LT Yield
Hello all, I just started using DynaValidatorForms for my form beans instead of the traditional way. But I am having problems retrieving the bean elements in html/bean/logic tags. Do these tags support the Dynaforms or do I need to alter the tags on my own to do the appropriate getters and sette

RE: html:link tag

2003-01-10 Thread Damm, Gary
I agree, the Map method isn't very straight forward for simply adding 2-3 params to the link. The only thing to remember with the traditional method is to encode the parameters. Thanks, Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10,

Re: Validator Question

2003-01-10 Thread Dan Tran
I have not done this but I do believe you can write your own masking rule to check for this condition. -Dan - Original Message - From: "Siggelkow, Bill" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 5:49 AM Subject: RE: Validator

Re: Session Management

2003-01-10 Thread Puneet Agarwal
Session Management is required to achieve persistence. there are two manner in which persistence can be achieved. 1. storing the information in HTTP session (possibly in session scope) 2. Storing the information using stateful session beans. You have to take the decision based on your application

Re: Session Management

2003-01-10 Thread David Graham
Either way is fine. It's highly unlikely that choice 2 would have any noticable performance problems. David From: "JONATHAN PHILIP HOLLOWAY" <[EMAIL PROTECTED]> Reply-To: "JONATHAN PHILIP HOLLOWAY" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Session Man

Re: JSTL in Struts

2003-01-10 Thread Craig R. McClanahan
On Fri, 10 Jan 2003, Mouratidis, Georg wrote: > Date: Fri, 10 Jan 2003 12:29:50 +0100 > From: "Mouratidis, Georg" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: JSTL in Struts > > Hi, > > im using JSTL

Where to do the "request.setAttribute"code for iterate, select collectionbean (with correct code)

2003-01-10 Thread Jean-Pierre Romeyer
Hello, To use the iterate, select, ... I want to put a collection bean in the request scope so the java code is "request.setAttribute("intArray",intArray);" OK I make it works, but I've got a newbie architecture question Accordind to struts philosophy but where to put this java code ??? - i

RE: Where to do the "request.setAttribute"code for iterate, select collection bean

2003-01-10 Thread Siggelkow, Bill
Actually, "request.getSession().setAttribute("intArray",intArray);" will place the object in Session scope, not request scope. As far as where to load the collection into the request scope -- I would say either do in in the Action that forwards to the JSP -- if you have one. Or use a standard

RE: Session Management

2003-01-10 Thread Nelson, Laird
> -Original Message- > From: JONATHAN PHILIP HOLLOWAY [mailto:[EMAIL PROTECTED]] > 1. Storing things within the standard servlet session > > 2. Using a UserWrapper object and storing that within the session. > > Is the second way more preformance intensive or not and which is best > pract

RE: Struts Productivity Survey

2003-01-10 Thread Haseltine, Celeste
Greg, Wow, I don't envy your assignment. There is one thing that I have learned over the years as both a developer and project manager, people learn at different rates, and pick up new skills very differently. In the case of the people who only know C++, the transition to Java will not be diffi

Session Management

2003-01-10 Thread JONATHAN PHILIP HOLLOWAY
Hi everyone, I'm wondering about the ways of managing sessions in Struts and wanted to know out of these two ways which was the better way of doing things: 1. Storing things within the standard servlet session 2. Using a UserWrapper object and storing that within the session. Is the second way

RE: Getting the full path of the context from within an Action class

2003-01-10 Thread Siggelkow, Bill
In answer to your first question, you do not have to write your own ClassLoader -- the Class object will load the resource using its ClassLoader -- in other words in your Action you would have ... InputStream xmlStream = this.getClass().getResourceAsStream("/resources/xyz.xml"); I don't know th

Where to do the "request.setAttribute"code for iterate, select collectionbean

2003-01-10 Thread Jean-Pierre Romeyer
Hello, To use the iterate, select, ... I want to put a collection bean in the request scope so the java code is "request.getSession().setAttribute("intArray",intArray);" OK I make it works, but I've got a newbie architecture question Accordind to struts philosophy but where to put this java

RE: Struts Productivity Survey

2003-01-10 Thread Jarnot Voytek Contr AU HQ/SC
Holy smokes! You've got 50 people just to do the web layer??? There's 2.5 of us (only one - me - with Java experience) doing a ~75 screens migration (all layers - but under the constraint to keep the database unchanged as much as possible) from a 4GL. Two weeks to get up to speed on struts, then

Re: Getting the full path of the context from within an Action class

2003-01-10 Thread Simon Kelly
Cool. Looks like the thing I'm after. But I have a couple of questions. Will I have to write the ClassLoader for this? If so, do you know of any examples I could have a look at? Will the fact that the .xml file has recursive tags ( ie I can have ) in the structure cause any major headaches in tu

RE: Struts Productivity Survey

2003-01-10 Thread Greg.Reddin
Ok, so let me pose it a different way. Put yourself in this position: You're a consultant or an architect who has been tasked with building a Struts application with 100 screens. You're actually migrating an application which was originally written as a fat client app in VB and the server was

RE: Struts Productivity Survey

2003-01-10 Thread Greg.Reddin
Good point. I agree. > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 10, 2003 12:58 AM > To: Struts Users Mailing List > Subject: Re: Struts Productivity Survey > > > The problem with this survey is that the results you would > get would not

RE: Getting the full path of the context from within an Action class

2003-01-10 Thread Siggelkow, Bill
Simon, You should load this resource using the Class object. Take a look at the following: http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Class.html#getResourceAsStream(java.lang.String) -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003

Re: Getting the full path of the context from within an Action class

2003-01-10 Thread Simon Kelly
Thanks Geir, that was quite useful to know. What I am trying to do is read in a .xml file from the classes/resources directory in an Action class and then to load a bean with it's contents. I have had a look at the ResourceBundle class, but I can't see if that would be of any use to me. Any tho

Re: Checking for the existence of errors

2003-01-10 Thread Justin Ashworth
Thank you so much Kris and Bill - the answer was right under my nose. Thanks, Justin - Original Message - From: "Kris Schneider" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 9:42 AM Subject: Re: Checking for the existence of error

SV: Getting the full path of the context from within an Action class

2003-01-10 Thread Arnesen, Geir
If you ned the path for the WEB-INF, - use a servlet, - which is loaded before the struts, by configuring it in the WEB.XML. In the servlet you execute... public static String directory = getServletContext().getRealPath("conf"); This returns the physical location of the WEB-INF. You get the locat

Re: Checking for the existence of errors

2003-01-10 Thread Kris Schneider
http://jakarta.apache.org/struts/userGuide/struts-logic.html#messagesPresent Quoting Justin Ashworth <[EMAIL PROTECTED]>: > Hi all, > > Is there an elegant way using Struts / JSTL tags to tell if any errors are > stored in the ActionErrors object before calling or even > ? If is going to > di

RE: Struts application on jboss/jetty

2003-01-10 Thread Siggelkow, Bill
It looks like JBoss has already loaded an old Digester or you have an old copy of Commons in your WEB-INF. -Original Message- From: Danilo Luiz Rheinheimer [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 10:26 AM To: Struts Users Mailing List Subject: Struts application on jboss

RE: Checking for the existence of errors

2003-01-10 Thread Siggelkow, Bill
If you are Struts 1.1 you can use the tag. -Original Message- From: Justin Ashworth [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 9:37 AM To: Struts Users Mailing List Subject: Checking for the existence of errors Hi all, Is there an elegant way using Struts / JSTL tags to

Checking for the existence of errors

2003-01-10 Thread Justin Ashworth
Hi all, Is there an elegant way using Struts / JSTL tags to tell if any errors are stored in the ActionErrors object before calling or even ? If is going to display something, then I want to put a special header on it. The default errors.header is insufficient for what I'm doing. I could writ

RE: turning form parameters into queries

2003-01-10 Thread Siggelkow, Bill
Heather, In my opinion, the approach you are taking is not separating out your logic appropriately. In fact, it sounds like your are binding your persistence layer (database columns) all the way up to the presentation layer (your action forms). A better approach is to separate the mode

Struts application on jboss/jetty

2003-01-10 Thread Danilo Luiz Rheinheimer
Hello, I have a struts working fine on tomcat standalone. But when I try to deploy it to JBoss 3.2 with integrated Jetty it fails. This is the error log : 2003-01-10 12:17:43,595 ERROR [org.apache.struts.action.ActionServlet] Parsing error processing resource path /WEB-INF/struts-config.xm

Getting the full path of the context from within an Action class

2003-01-10 Thread Simon Kelly
Hi, Which would be the better and more portable solution for getting the actual path of the API context from within a org.apache.struts.action.Action class? I am looking at either using mapping.getPath() or request.getContextPath() Are either of these going to give me an absolute (ie C:\xxx\yyy\

Re: can we have only one tiles_def.xml?

2003-01-10 Thread dmz
That's great, because that way only one file needs to be sent for translation. Cedric Dumoulin <[EMAIL PROTECTED]> wrote: Hi, Yes, it is possible. In your tiles-config.xml file, you use the property keys: and in your jsp pages you use the key to retrieve the property from the application.pr

RE: Accessing .properties resources from within an action class.

2003-01-10 Thread Siggelkow, Bill
Can you give more details on what you are trying to do and why? Java classes can certainly read in property files during runtime. Read the JavaDocs on the java.util.Properties class for details on how to load properties. -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED]] S

RE: first action

2003-01-10 Thread Sangeetha Nagarjunan
Am not able to resolve this error - could anyone pls help me thru: No Action Instance for path / could be created The entry in Struts - config.xml is: Please respond... Sangeetha Nagarjunan IT Solutions India Pvt. Ltd. Bangalore 0

RE: Dynamic Forms Problem

2003-01-10 Thread Siggelkow, Bill
Use square brackets '[' instead of parenthesis when you build the 'name' like: <% for (int i=0; i<10; i++) { String name = "value(" + i + ")"; %> <% } %> -Original Message- From: ashokd [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 5:37 PM To: Struts Users Mailing List Subj

RE: Validator Question

2003-01-10 Thread Siggelkow, Bill
Doesn't the 'required' validation rule do this? -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 12:37 AM To: [EMAIL PROTECTED] Subject: Validator Question Hi, I need to validate that the user does not enter only spaces in a particular

RE: Struts forwards requests as http when jsp page was invoked as https

2003-01-10 Thread pantichd
Steve, I did see that in my search for a solution to my problem. However, I haven't been able to find any documentation and examples on how to use it. I've poked around the site and downloaded the sslext-struts1.0-src.zip file (I'm using struts 1.0). It has source code but no examples or document

RE: Help:: Indexed properties and form

2003-01-10 Thread shirishchandra . sakhare
just change u r indexed method getPermissionLanguage as follows... public PermissionLanguageData getPermissionLanguage(int index) { while(index >=records().size() ){ this.records.add(new PermissionLanguageData()); } return (PermissionLanguageDat

RE: Detailed error log - Urgent

2003-01-10 Thread Krishnakumar N
Never mind. The answer is that we test it without tiles, so that the stack trace is available on the console, sort out the errors and then change the action path to a tiles definition. This particular error was a NoClassDefFoundError, actually. Cheers, Krishna -Original Message- From: K

DynaActionForm.reset and booleans

2003-01-10 Thread Gemes Tibor
I am hesitating updating to beta3 I see in beta3 changelog that the reset behaviour has changed. I extended the DynaActionBean to choose which bean properties should be reseted (with the help os set-property tag in struts-config). Afaik the boolean properties (assigned to a checkbox) should be

Declarative Exception Handling

2003-01-10 Thread Suresh Addagalla
Title: Message Hi,   If I am using Declarative exception handling, is it possible to extract some information from the exception object and display the same on the browser? Or is it that I need to use programmatic exception handling if I have such requirements?   Thanks, Suresh *

Detailed error log - Urgent

2003-01-10 Thread Krishnakumar N
I am using Struts, tiles and JSTL in our web layer. Whenever there is an error in the jsp component, the error message is usually very cryptic, for example, "[ServletException in:/JSPcode/directory/viewDirectoryEntry.jsp] javax/servlet/jsp/jstl/core/Config'" How can I get detailed error informat

JSTL in Struts

2003-01-10 Thread Mouratidis, Georg
Hi, im using JSTL with Struts. And some tags are working and some do not. i have no idea. works the following error appears: org.apache.jasper.JasperException: /web/views/shared/Organization/OrganizationData.jsp(241,0) Unable to load class import or org.apache.jasper.JasperException: /we

Help:: Indexed properties and form

2003-01-10 Thread Jordan Thomas
Hi, I have successfully created a JSP to output a collection that looks like this: %%% Which will in turn generate:

[FRIDAY][OT] Driving on the wrong side of the road...

2003-01-10 Thread Andrew Hill
While looking for some info on i18n I came across this. Quite an amusing distraction. Ive always wondered why Americans drive on the wrong side of the road. Now I know... ;-) http://www.i18nguy.com/driver-side.html (This is part of the i18nGuy website at http://www.i18nguy.com/ ) -- To unsubscr

Multiple apps and class loaders

2003-01-10 Thread Kevin A. Palfreyman
Hi folks, I have been having some problems developing multiple similar applications with regards to classloaders. I'm using Tomcat 4.1.18, and struts 1.1b3 (b2 was the same). What I have discovered is that everything is fine if I package all of the struts Jars in each of my applications, but

RE: first action

2003-01-10 Thread Mouratidis, Georg
to extend the RequestProcessor class something like this: public class PcxRequestProcessor extends RequestProcessor { protected void processLocale(HttpServletRequest request, HttpServletResponse response) you have to have processLocale method. i use this way

Re: tiles scope

2003-01-10 Thread Cedric Dumoulin
Hi, The "Cannot find bean org.apache.struts.taglib.html.BEAN in any scope' error is usually caused by a struts tag which doesn't find its needed bean. For example it can be caused by a tag. Do you have such tag in "c_search_form.jsp" ? I suppose the answer is yes. The beans needed by stru

tiles scope

2003-01-10 Thread Juri Smarschevski
hi all, have a problem with tile's scopes. (struts-1.1-b2) my simple tiles structure looks as follows: [tiles-defs.xml] [layout_search_alb_body.jsp] <%@ taglib uri="/tags/struts-tiles" prefix="tiles" %> [c_search_form.jsp] <%@ taglib uri="/tags/struts-tiles" prefix="

turning form parameters into queries

2003-01-10 Thread Heather Buch
Hi all, Finding a good method to create SQL queries out of html form parameters is something I've struggled with for some time now. Is there a good or recommended way of doing this? For that matter, is there a "best practice" for making SQL queries in struts? I use a mysql database backend for

Re: Tiles and tab like style

2003-01-10 Thread Cedric Dumoulin
Hi, It is possible to use action URLs in the tiles tabs. Simply specify the action url as link. Your action's forward should NOT do a redirect. If this doesn't work, you have to modify the tabsLayout.jsp. Open tabsLayout.jsp and locate the following lines: String href = request.getRequestU

Re: can we have only one tiles_def.xml?

2003-01-10 Thread Cedric Dumoulin
Hi, Yes, it is possible. In your tiles-config.xml file, you use the property keys: and in your jsp pages you use the key to retrieve the property from the application.properties file: or : Check tiles tags syntax to know more about (http://jakarta.apache.org/struts/userGuide/st

RE: value="" question

2003-01-10 Thread Mouratidis, Georg
>property="section.name"/>. >But this code doesn't work: > > >property="section.name"/>" /> of course not. writes an output in the http-stream. but you want to give the attribute value a value. so you can define with a variable and use this variable to assign to the value-attribut. i dont kn

RE: html:link tag

2003-01-10 Thread shirishchandra . sakhare
Easiest way to pass multiple parameters on a html link. Use the standard anchor tag. eg: "/>&salary nce="/>"> Here the myForm should have indexed getters for empBean Clas MyForm(){ List empList = new ArrayList(); getEmp(int index){ while(empList.size< inde

[info] Ignore mail : Accessing .properties resources from within an action class.

2003-01-10 Thread Simon Kelly
Hi all, Sorry about the last mail. It's too early in the morning. Got a bit confused with the question I wanted to ask, I actually had the example code infront of my face while writing the mail. I hang my head in shame. Cheers Simon Institut fuer Prozessdatenverarbeitung und Elektronik, Fors

Accessing .properties resources from within an action class.

2003-01-10 Thread Simon Kelly
Hi, I have had a look through as much of the examples as I can find on the web but I have not seen anywhere where the information for a bean is kept in a resource file and then loaded in using an action class. Is it possible within struts to do this, or is there another better method, and does an