Re: Log4j with Struts

2003-12-05 Thread Rahul Mohan
hi nick, thanks for responding...its the logger class thats missing ithink... this is the exception i get when i try to view the page: java.lang.NoClassDefFoundError: org/apache/log4j/Logger at app.LogonAction.perform(Unknown Source) what

RE: Log4j with Struts

2003-12-05 Thread Nick Faiz
Hey Rahul, Ensure that log4j is included on the classpath of your server. If you get stuck, simply punch ` java.lang.NoClassDefFoundError: org/apache/log4j/Logger' into a google search or read through the doc.s. Nick. -Original Message- From: Rahul Mohan [mailto:[EMAIL

tags for Map creation for the html:link tag

2003-12-05 Thread Jesse Alexander (KADA 11)
I have created two tga-prototypes that permit to construct a Map-object that can be used to pass multiple link-parameters to the html:link tag. Instead of having to use scriptlets to build the Map like: . . . % java.util.HashMap linkParmMap =

from sathish

2003-12-05 Thread Sathish Babu K R
hi david i get session using request.getSession()?y whats in it?tell me. sathish __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ - To unsubscribe, e-mail: [EMAIL

Re: FormBean error using Struts 1.1 and Tomcat 5

2003-12-05 Thread John Ferguson Smart
Forget it, guys, I called an exorsist and a vodoo-specialist, who told me to install Tomcat 5.0.16, and now it works. John Ferguson Smart wrote: Anyone got any ideas ? John Ferguson Smart wrote: Hi, I've run into a strange problem using Struts 1.1 with Tomcat 5.0.14 . In a page that

Server and Client side Validation at only once

2003-12-05 Thread VENKATESH GANGAL
Hi , I have requirement where I want to validate the form using javascript ( using Struts Validator Framework) . The form is like this. Basically the view has two panes, left hand side a tabs A,B,C,D,E and right hand side will display the current page.say if you click tab A, you will see

Re: Log4j with Struts

2003-12-05 Thread Pedro Salgado
Do you have the log4j jar on the WEB-INF/lib? Do you have the log4j.properties on the WEB-INF/classes? You have: String str = new String(LogonAction.class.getName()); Logger logger = Logger.getLogger(str); Shouldn't it be: Logger logger = Logger.getLogger(LogonAction.class); Pedro Salgado On

JspParseException !!

2003-12-05 Thread EL AKARI Mehdi
Hi, I recieve the following error and i don't know how to manage with it. I'm actually using Oracle Jdevelopper 9.0.3.3 The error : OracleJSP: oracle.jsp.parse.JspParseException: Ligne n° 2, %@ taglib uri=/WEB-INF/struts-bean-el.tld prefix=bean % Erreur :

Problems with modules

2003-12-05 Thread Lawrence Williams
Hi, In my web.xml I have defined a default and named module as follows: init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-nameconfig/admin/param-name

Re: Problems with modules

2003-12-05 Thread amans
Hi, Make the following changes in ur web.xml to ur specific configuration file servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameapplication/param-name

[OT] Athentication filter doesn't filter actions

2003-12-05 Thread Arne Brutschy
Hi all, I'm using an authentication filter to control the access to several .jsp pages. At the moment, I'm using the mapping filter-mapping filter-nameauthenticationFilter/filter-name url-pattern/*/url-pattern /filter-mapping to do this. But this doesn't filter any access to the

Re: dynaActionForm,JSTL, and indexed properties

2003-12-05 Thread Charles GAY
my Arraylist has got a variable size. so, i've put in the required action declarations(in struts-config.xml), the DynaActionForm in session scope, and it works! thanks a lot richard for your help! best regards, charles. Message original Sujet: Re: dynaActionForm,JSTL,

iterate over one collection two times in a jsp

2003-12-05 Thread Ralf Rapude
Hi, with a logic:iterate tag I run over a Collection: logic:present name=%=Constants.SUBJECTS % scope=session logic:iterate id=subjects name=%=Constants.SUBJECTS % ...output /logic:iterate /logic:present It works well but if I try to iterate over the same collection after changing the

Stupid Bean tricks

2003-12-05 Thread Joe Hertz
Probably a very basic question, and infinitely dealableI hope. I have a User object, which itself contains a Set of UserData objects (the UserData is stuff that needs to be multilingual. Each instance has the part of the user's data that would vary when presented in each language). So, in my

Re: [OT] Athentication filter doesn't filter actions

2003-12-05 Thread Ralf Rapude
Hi, just repeat the filter-mapping tag like: filter-mapping filter-nameauthenticationFilter/filter-name url-pattern/*/url-pattern /filter-mapping filter-mapping filter-nameauthenticationFilter/filter-name url-pattern/*.do/url-pattern /filter-mapping Ralf

RE: [OT] Athentication filter doesn't filter actions

2003-12-05 Thread Joe Hertz
Why is this necessary? Isn't /*.do a subset of /* ??? -Original Message- From: Ralf Rapude [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 6:28 AM To: Struts Users Mailing List Subject: Re: [OT] Athentication filter doesn't filter actions Hi, just repeat the

RES: Subclassing ActionServlet

2003-12-05 Thread Felipe Nascimento
A simple way that I use do go: Super Action class, like: UserMustBeLoggedAction{ execute(attribs){ verify session stuff if ok - myExecute(attribs); else return ActionForward; } abstract myExecute(attribs); } NewAction extends UserMustBeLoggedAction{

Re: Positional problem?

2003-12-05 Thread Bjørn T Johansen
Well, it kind of works... The focus is being set on the correct field, but the browser doesn't scroll the page down to that field. Is it something I am missing? BTJ On Thu, 2003-12-04 at 08:01, John Ferguson Smart wrote: When we submit the form, we call a Javascript function to set a hidden

Re: RES: Subclassing ActionServlet

2003-12-05 Thread Guido Garca Bernardo
This way you can't extend other 'struts core actions' (Dispatch, Lookup...). I think a better way may be: - Using a filter (servlet 2.3) in order to pre and post process the request - Extending RequestDispatcher Regards, Guido. PD. I am not sure, but i think you can find a discussion about that

Re: [OT] Athentication filter doesn't filter actions

2003-12-05 Thread Arne Brutschy
Ralf Rapude wrote: url-pattern/*/url-pattern I already tried that, but this doesn't work, it's not even a valid filter mapping (Tomcat gets an Parse Error exception on this mapping). Any ideas? Arne - To unsubscribe,

Logic:iterateTag

2003-12-05 Thread Tommy Holm - TELMORE
Hi. I have created a html td tr tag which can used neted inside the struts iterate tag. The idea is that the tag will generate the surrounding TR and TD tags, so that the data exposed from the iterate tag can be properly displayed in several columns for each row. Now the problem is that my tag

RE: Problems with modules

2003-12-05 Thread Lawrence Williams
Aman, Thanks for your reply, However I cant see what you are suggesting here? Can you describe what you are meaning? - btw I dont use the application param because as far as im aware it is deprecated in favour of the message-resources element. The crux of my problem is that my index.jsp

Re: iterate over one collection two times in a jsp

2003-12-05 Thread Gurpreet Dhanoa
hi Ralf I am facing the same trouble. If u come to know the answer Please let me know as well Thanks in Advance Gary - Original Message - From: Ralf Rapude [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 05, 2003 4:49 PM Subject: iterate over one collection two times in a

dynamic number of lines - Indexed properties ?

2003-12-05 Thread Caroline Lauferon
Hello! up to now I had used quite simple forms... and now I need some more complicated fields, and don't know where to start from Here is what I want to do, with a simple example: I want to describe a family, with all its members: - to describe the family common properties: Last name:

RE: [OT] Athentication filter doesn't filter actions

2003-12-05 Thread Ralf Rapude
Why is this necessary? Isn't /*.do a subset of /* ??? Oops. I'm sorry because it is the same (it might be better to think before writing). So you should better try this: filter-mapping filter-nameCheckUser Authentication Filter/filter-name !-- If Auth. is not required pages will be

Re: [OT] Athentication filter doesn't filter actions

2003-12-05 Thread Arne Brutschy
Ralf Rapude wrote: So you should better try this: [..] I tried this: filter-mapping filter-nameauthenticationFilter/filter-name url-pattern/*/url-pattern /filter-mapping filter-mapping filter-nameauthenticationFilter/filter-name servlet-nameaction/servlet-name

RES: RES: Subclassing ActionServlet

2003-12-05 Thread Felipe Nascimento
Ok. Nice to know about filters. I have found this SecurityFilter Projetct at sourceforge. http://securityfilter.sourceforge.net/ Has anyone used it? Tks Felipe -Mensagem original- De: Guido García Bernardo [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 5 de dezembro de 2003 08:42

Re: [OT] Athentication filter doesn't filter actions

2003-12-05 Thread Ralf Rapude
Hello Arne, ABfilter-mapping AB filter-nameauthenticationFilter/filter-name AB url-pattern/*/url-pattern AB/filter-mapping ABfilter-mapping AB filter-nameauthenticationFilter/filter-name AB servlet-nameaction/servlet-name AB/filter-mapping I've checked it out

session taglib

2003-12-05 Thread struts
In the Jsp i have: sess:attribute name=userName/ witch prints the username. Now i want something like: % String username= sess:attribute name=userName/; % but that doesn't work. How can i assign the session variable to the String username ? Thanks !

Re: session taglib

2003-12-05 Thread John Ferguson Smart
Try something like String username = session.getAttribute(username); or String username = request.getSession(à.getAttribute(username); struts wrote: In the Jsp i have: sess:attribute name=userName/ witch prints the username. Now i want something like: % String username= sess:attribute

Re: session taglib

2003-12-05 Thread Oron Gill Haus
You can use JSTL to accomplish this using the: c:set var=username value=${username} / You can also specify the scope within the value expression. This is if you wish to use JSTL. Only a suggestion. Hope it helps you out! --- struts [EMAIL PROTECTED] wrote: In the Jsp i have:

Re: session taglib

2003-12-05 Thread Gurpreet Dhanoa
hi Try String username=(String)session.getAttribute(username); You have explicitly cast it into String as it is Serialized. Regards Gary - Original Message - From: John Ferguson Smart [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, December 05, 2003

using ApplicationResources in jsp...

2003-12-05 Thread AMIR-TAHMASSEB Marc
Hi, i wonder to know if it's possible to use a property in ApplciationResources in the jsp code. I want to do something like this : !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"%@ page language="java" %%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %%@ taglib

RE: using ApplicationResources in jsp...

2003-12-05 Thread Hunziker Dennis
why not try the following: bean:message key=title.from.ressources/ -Original Message- From: AMIR-TAHMASSEB Marc [mailto:[EMAIL PROTECTED] Sent: Freitag, 5. Dezember 2003 15:01 To: [EMAIL PROTECTED] Subject: using ApplicationResources in jsp... Hi, i wonder to know if it's possible to

RE: using ApplicationResources in jsp...

2003-12-05 Thread AMIR-TAHMASSEB Marc
because i need to get the value of my property inside a % ... % -Message d'origine- De : Hunziker Dennis [mailto:[EMAIL PROTECTED] Envoyé : vendredi 5 décembre 2003 15:03 À : 'Struts Users Mailing List' Objet : RE: using ApplicationResources in jsp... why not try the following:

RE: using ApplicationResources in jsp...

2003-12-05 Thread Jimmy Emmanual
why do you need to? why not just: html:html body bean:message key=title.from.ressources/ /body /html:html -Original Message- From: AMIR-TAHMASSEB Marc [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 9:07 AM To: Struts Users Mailing List Subject: RE: using ApplicationResources

RE: using ApplicationResources in jsp...

2003-12-05 Thread AMIR-TAHMASSEB Marc
because i have to put it on an array of String and then i use this array in the code by a generic code. -Message d'origine- De : Jimmy Emmanual [mailto:[EMAIL PROTECTED] Envoyé : vendredi 5 décembre 2003 15:10 À : 'Struts Users Mailing List' Objet : RE: using ApplicationResources in

RE: Advantages of Struts?

2003-12-05 Thread John . Pitchko
BDY.RTF Description: RTF file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help Migrating from WebTier to Struts

2003-12-05 Thread Jonathan . Crain
I am trying to migrate a 3ed party application from Macromedia's Jrun platform to Tomcat. The developers used a WebTier framework to create the app. I cannot reach the developers and was wondering if anyone has had experience in switching form WebTier to Struts. I am a complete newbie to Tomcat

ibm ws portal V5 Struts Integration

2003-12-05 Thread Olaf Kittelmann
Hi, has anyone tried the struts integration with portal V5? the strutsportal folder under dev contains a StrutsBlank.war that is a J2EE 1.2 webApp. If I want to use the StrutsPortlet with 1.3-features like ejb2.0, what do I have to do? regards, Olaf

RE: using ApplicationResources in jsp...

2003-12-05 Thread AMIR-TAHMASSEB Marc
I want to do something like this in my jsp : % XXX.getRessources().getMessage(title.from.ressources); % but i don't know what to put instead of XXX. -Message d'origine- De : Hunziker Dennis [mailto:[EMAIL PROTECTED] Envoyé : vendredi 5 décembre 2003 15:03 À : 'Struts Users

Re: using ApplicationResources in jsp...

2003-12-05 Thread Ralf Rapude
Hi Gary, I am facing the same trouble. If u come to know the answer Please let me know as well Thanks in Advance I havn't been able to find a solution yet though asking in several ngs and forums. I will post to the list if the problem is solved (but I still hope, that someone of the listmembers

RE: tags for Map creation for the html:link tag

2003-12-05 Thread Appel, Jeremy D
I for one have had to do this as well and this is quite a beneficial feature. I would maybe suggest using JSTL instead of the STRUTS taglibs(logic, bean) since current opinion is to move to JSTL. Jeremy -Original Message- From: Jesse Alexander (KADA 11) [mailto:[EMAIL PROTECTED] Sent:

Re: iterate over one collection two times in a jsp

2003-12-05 Thread James Mitchell
On Fri, 5 Dec 2003, Gurpreet Dhanoa wrote: hi Ralf I am facing the same trouble. If u come to know the answer Please let me know as well Not sure if this helps, but I do this in several places on my app. However, I use JSTL c:forEach tag. Thanks in Advance Gary - Original Message

using Dyna Beans outside Struts, to process generic DTO-s in AP P layer

2003-12-05 Thread Voinea, Marina
Hi everybody, here is a question for the more experienced, and thank you for the fact that you are there to advice the rest of us : In our APP layer we have to support calls from different client types (HTTP requests, XML Rpc etc) and we decided to have our internal data object (DTO) (used

Re: Log4j with Struts

2003-12-05 Thread James Mitchell
On Fri, 5 Dec 2003, Pedro Salgado wrote: Do you have the log4j jar on the WEB-INF/lib? Do you have the log4j.properties on the WEB-INF/classes? You have: String str = new String(LogonAction.class.getName()); Logger logger = Logger.getLogger(str); Shouldn't it be: Logger logger =

Re: session taglib

2003-12-05 Thread Scott Reisdorf
You are using a Tag Lib within a Scriptlet. You can assign the variable using the scriplet by the following: % String username = (String) session.getAttribute(userName); % hope that helps. -scott At 02:40 PM 12/5/2003 +0100, you wrote: In the Jsp i have: sess:attribute name=userName/ witch

Re: ibm ws portal V5 Struts Integration

2003-12-05 Thread ian_d_stewart
According to our contacts, WebSphere 5.1 (scheduled to be released 12/19) will offer full server-side support for J2EE 1.4. Not sure if 5.0.2 supports J2EE 1.3 or not. HTH, Ian

RE: Problems with modules

2003-12-05 Thread James Mitchell
On Fri, 5 Dec 2003, Lawrence Williams wrote: Aman, Thanks for your reply, However I cant see what you are suggesting here? Can you describe what you are meaning? - btw I don’t use the application param because as far as im aware it is deprecated in favour of the message-resources

Re: session taglib

2003-12-05 Thread James Mitchell
On Fri, 5 Dec 2003, struts wrote: In the Jsp i have: sess:attribute name=userName/ witch prints the username. Now i want something like: % String username= sess:attribute name=userName/; % but that doesn't work. How can i assign the session variable to the String username ? A

Re: session taglib

2003-12-05 Thread Oron Gill Haus
James, Isn't there a drive to move to JSTL vs. the Struts tag library? I'm curious as we've been pushing JSTL for this reason (though it rather flexible). Thank you. --- James Mitchell [EMAIL PROTECTED] wrote: On Fri, 5 Dec 2003, struts wrote: In the Jsp i have: sess:attribute

Re: using ApplicationResources in jsp...

2003-12-05 Thread James Mitchell
On Fri, 5 Dec 2003, Ralf Rapude wrote: Hi Gary, I am facing the same trouble. If u come to know the answer Please let me know as well Thanks in Advance I havn't been able to find a solution yet though asking in several ngs and forums. I will post to the list if the problem is solved (but I

Re: session taglib

2003-12-05 Thread James Mitchell
On Fri, 5 Dec 2003, Oron Gill Haus wrote: James, Isn't there a drive to move to JSTL vs. the Struts tag library? I'm curious as we've been pushing JSTL for this reason (though it rather flexible). Yes, you are absolutely correct. Use c:set if you can (given the min spec requ). Have a

Re: Problems with modules

2003-12-05 Thread Henrique VIECILI
Hi, I have the same situation, and it only changes the default configuration to module specific one if the request is to an action wich is declared inside the struts-module-config.xml. So, i think you must have an index.jsp page in the default module that calls some action in the admin module

RT expr value in custom tag

2003-12-05 Thread Eric SCHULTZ
Good morning... I'm trying to write my own custom tag library for Struts. I've had some initial success, but now I'm having some trouble. I want to set an attribute value from the value of a bean get. But what I end up with in my tag is JSP code, not the value in the bean. I.e.: v:properties

RE: Advantages of Struts?

2003-12-05 Thread McClung, Brian
The property file usage works well if you have an application that is deployed once and doesn't change that often. Also if there aren't several apps running off the same domain. In my case it doesn't work well because there is so much information that changes, potentially from day to day, that

RE: Server and Client side Validation at only once

2003-12-05 Thread Andy Schmidgall
You would have to submit the form when you change tabs. You can do this with the form.submit() method. You might need to set a field in the form to tell the submission result page where to redirect the user once the submission is finished (i.e. send them to B.jsp if everything is ok) -Andy

Re: using ApplicationResources in jsp...

2003-12-05 Thread EL AKARI Mehdi
try this: bean:define id=var bean:message key=title.from.ressources / /bean:define % String var2 = var % !-- or what ever you want -- There is certainly a way of doing it with jstl, nut i don't know it now. Mehdi - Original Message - From: AMIR-TAHMASSEB Marc [EMAIL PROTECTED]

[OT] iPlanet and Tibco question

2003-12-05 Thread Nail, Evan Burke
Sorry for the very off topic post, just got dumped onto another project and am not familiar very iPlanet or Tibco. I have a managed web server on iPlanet 4.1 that is using tibco. I get different behavior when I start the server from the command line verses the console. the command line

Re: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Shakti
RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(Hi Nick, Sorry buddy i was busy with other stuff so cudn't reply to ur mails ... boss i am still facing the same problem .. i checked the logs even its showing that my new application

Re: iterate over one collection two times in a jsp

2003-12-05 Thread Lynn Guy
I've done this and I just repeat exactly the same iterate with different output and it works fine. Gurpreet Dhanoa [EMAIL PROTECTED] wrote:hi Ralf I am facing the same trouble. If u come to know the answer Please let me know as well Thanks in Advance Gary - Original Message - From: Ralf

Re: Log4j with Struts

2003-12-05 Thread Joe Germuska
On Dec 5, 2003, at 9:03 AM, James Mitchell wrote: Not sure if this was mentioned, but you should configure your app to use commons-logging and then specify in its configuration to use Log4j. That way you can swap out logging implementations by simple configuration and library addtions/removal

Re: dynamic number of lines - Indexed properties ?

2003-12-05 Thread Shantanu Deo
One way to deal with this is to break it up into two parts, in the first step ask the user to specify the number of family members and then create the record and appropriately display the correct number of family members. Another would be to put a Add Member button on the page and essentially in

RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Dalmia, Swati
check in weblogic.cmd file if the weblogic is set in production environment ? I am using weblogic 8.1 and I never restart my server after compiling a single class file or jsp change if changes in struts config file or web.xml then u might need to bounce your server -Original Message-

Re: White Space

2003-12-05 Thread Martin Cooper
The catch with this is that you have to take account of things like pre tags and JavaScript string literals. A naive whitespace collapsing filter is likely to be a buggy one. ;-) -- Martin Cooper Wendy Smoak [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Derek Clarkson wrote: Is

Re: Stupid Bean tricks

2003-12-05 Thread Martin Cooper
Why not convert your Set into a Map keyed by language / locale? Then get(locale) is effectively provided for you. -- Martin Cooper Joe Hertz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Probably a very basic question, and infinitely dealableI hope. I have a User object,

[OT] Log4J raw vs. commons-logging/Log4J (was Re: Log4j with Struts)

2003-12-05 Thread Kirk Wylie
Joe Germuska wrote: At the risk of quibbling, I would dispute this as a general rule; commons-logging is great for library packages which may be used in a variety of contexts, but unless you're writing a Struts application for general distribution and re-use, there's less justification for

Validators

2003-12-05 Thread McRobb, John
Has anyone used validators with anything other than JavaBeans. I am lookig to use it to validate paramaters on fn calls to remote systems. Ta John Tesco Personal Finance Limited is a joint venture between The Royal Bank of Scotland plc and Tesco PLC. Tesco Personal Finance Limited is

RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Shakti Simanta
Hi Swati, I have already checked it .. yaar . its in development mode .. can anyone help me out of this damn trouble .. i am getting pissed up working .. day and night .. and restarting this weblogic again and again each time i debug .. :-( ... stil waiting for a solution ... chao ..

[OT] RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Wendy Smoak
and restarting this weblogic again and again each time i debug .. :-( ... stil waiting for a solution ... Trim your posts! Not only was it off topic, it was 400 lines long. How about doing your development work on Tomcat, then deploying to Weblogic? This has the added advantage of forcing

RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Richard Yee
Shakti, Have you consulted BEA support with this problem? It seems to me that they or their website should provide a direct response to your question. Regards, Richard --- Shakti Simanta [EMAIL PROTECTED] wrote: Hi Swati, I have already checked it .. yaar . its in development

dynamic generation of select fields problem

2003-12-05 Thread Ruben Pardo
Hi everybody! This is my problem, i've to generate a variable quantity of select fields. The solution i thougth was a map backed form, that dynamically generate the names of this fields with JSTL, something like this: c:forEach items=${sessionScope} var =farmacia varStatus=st .

RE: Stupid Bean tricks

2003-12-05 Thread Joe Hertz
I considered that, but (and I'm an utter newbie so I apologize here) How would I refer to an element of UserData in a bean:message tag? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Martin Cooper Sent: Friday, December 05, 2003 12:32 PM To: [EMAIL PROTECTED]

Re: dynamic generation of select fields problem

2003-12-05 Thread [EMAIL PROTECTED]
Ruben, I guess that you can't access a property using a sintax of function in: html-el:select property=value(campos${st.count}) Maybe you need to use the sintax of array: html-el:select property=value[campos${st.count}] Certo? Paulo Marcio - Original Message

.do's come back as 404 file not found

2003-12-05 Thread Dhaliwal, Pritpal (HQP)
Hello Everyone, I am using: Struts and Resin 2.1.11 All of sudden my index.do, or any other .do is not being recognized by resin anymore. It was working fine two days ago, all of sudden I am getting 404s In the logs I see that its picking up the correct struts-config.xml and it is that

[OT] IE problem. stumped

2003-12-05 Thread Prabhat Kumar (IT)
I'm wondering if anyone has come across this. We have this struts application that is about to be deployed and it works fine, shows all the HTML pages as expected in IE 6.0. As part of our final tests, we began testing the application on IE 5.01 SP1. This is where the application gets all

RE: [OT] IE problem. stumped

2003-12-05 Thread Jarnot Voytek Contr AU HQ/SC
-Original Message- From: Prabhat Kumar (IT) [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 12:57 PM To: [EMAIL PROTECTED] Subject: [OT] IE problem. stumped I'm wondering if anyone has come across this. We have this struts application that is about to be deployed and

Re: [OT] RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Vic Cekvenich
Wendy Smoak wrote: and restarting this weblogic again and again each time i debug .. :-( ... stil waiting for a solution ... Trim your posts! Not only was it off topic, it was 400 lines long. How about doing your development work on Tomcat, then deploying to Weblogic? This has the added

RE: .do's come back as 404 file not found

2003-12-05 Thread Joe Hertz
What's the url pattern for your action servlet defined in web.xml? -Original Message- From: Dhaliwal, Pritpal (HQP) [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 1:48 PM To: Struts Users Mailing List Subject: .do's come back as 404 file not found Hello Everyone,

RE: [OT] IE problem. stumped

2003-12-05 Thread Joe Hertz
IE 5.X and 6.0 are very different beasts. 6.0 in some ways is *less* compliant with the specs then 5.2. -Original Message- From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 1:59 PM To: 'Struts Users Mailing List' Subject: RE: [OT] IE

Re: [OT] Log4J raw vs. commons-logging/Log4J (was Re: Log4j with Struts)

2003-12-05 Thread Joe Germuska
Are you talking about the code-level interface (i.e. Log versus Logger) or in terms of the configuration? Because in our applications, we've taken the commons-logging approach, though we initialize the commons-logging package with a complex Log4J configuration, so that we have in essence the

RE: [OT] IE problem. stumped

2003-12-05 Thread Prabhat Kumar (IT)
I just ran the validator as was suggested by Jarnot... The HTML validates fine. What happens is sometimes, a heading from the middle of the page for some reason shifts to the top. And it is very random. Text beside a check-box doesn't show... and then when that region is highlighted it

RE: [OT] IE problem. stumped

2003-12-05 Thread Mahesh Joshi
This could be a display driver problem related to IE. I have the same issue sporadically on my machine (WinNT 4.0, IE 5.5 sp2) Our IT folks said its a driver problem and an upgrade could fix it. I am supposed to upgrade to Win2K one of these days. Mahesh -Original Message- From:

RE: Log4j with Struts

2003-12-05 Thread Daniel Lipofsky
String str = new String(LogonAction.class.getName()); This is completely off-topic, but using new String(String) is almost always wasteful. Strings are immutable, so there is no need to copy them. - Dan - To

Re: Stupid Bean tricks

2003-12-05 Thread Martin Cooper
Assuming your User object is stored in the request under the key user, the language you want is en (English), and the UserData property you want is message, you would do: bean:message name=user property=en.message/ -- Martin Cooper Joe Hertz [EMAIL PROTECTED] wrote in message news:[EMAIL

RE: RT expr value in custom tag

2003-12-05 Thread Van Riper, Mike
Eric, What you are trying to do doesn't really require the JSTL expression language. All you need to do is specify that runtime expressions are to be evaluated for the parameter attribute of your custom tag in your TLD file. If you were to look at any of the TLD files that come with Struts, you

RE: .do's come back as 404 file not found

2003-12-05 Thread Dhaliwal, Pritpal (HQP)
Hello Joe, Its maps to *.do Remember that same conf worked like a charm two days ago :) Same conf is also working in another setting. TIA, Paul -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 11:46 AM To: 'Struts Users Mailing List'

RE: from sathish

2003-12-05 Thread David Friedman
Sathish, So, you're using Struts (version 1.0?) and your method signature wasn't working. When you changed it to the one I pulled off the struts web site's api, did it work? Regards, David -Original Message- From: Sathish Babu K R [mailto:[EMAIL PROTECTED] Sent: Friday, December 05,

RE: using ApplicationResources in jsp...

2003-12-05 Thread Daniel Lipofsky
Struts has a class called RequestUtils and you can call RequestUtils.message(pageContext, bundle, locale, key); But maybe you should be creating your array in the Action and passing storing it in the Form for the JSP to grab. Then you can get messages in an action like this: // default

RE: RT expr value in custom tag

2003-12-05 Thread Eric SCHULTZ
Good evening... Thanks for the reponse, I realised this shortly after I posted my question and figured asbestos underpants would soon be required. Shame on me not carrying my research just a little further. Although your final note on RT expression evaluation is something I had not yet

Using A DynaActionForm To Populate A Collection In The Object It Represents

2003-12-05 Thread Jame Lathren
Is it possible to use the DynaActionForm to populate a collection (an ArrayList of other objects, for example) in the object it represents? For example: An object (That is represented on a form by the DynaActionForm) that holds an arrayList of other objects; Values from each arrayList are

RE: Tomcat 4.1.29 Struts

2003-12-05 Thread Mukund Ramadoss
I removed the key in the struts_config. But still the result is the same. My struts-config looks like this: -- ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd;

Re: Using A DynaActionForm To Populate A Collection In The Object It Represents

2003-12-05 Thread Richard Yee
Toby, Yes, you can have Struts populate a DynaActionForm with a complex datatype. You need to use indexed properties and put the form in Session scope. Check out these articles by James Turner: http://www.developer.com/java/other/article.php/2214681

RE: Tomcat 4.1.29 Struts

2003-12-05 Thread Richard Yee
Mukund, If you are running on Windows, have you ever edited the ApplicationProperties.properties file with notepad? Could it possibly have a .txt extension after the .properties extension? If you are running on Unix, is the case correct on the file name? -Richard --- Mukund Ramadoss [EMAIL

RE: Tomcat 4.1.29 Struts

2003-12-05 Thread Mukund Ramadoss
Hi Richard, Thanks for your mail. Actually I am running on windows and there is not .txt extenstion. The filename is ApplicationResources.properties. (not ApplicationProperties.properties). Could this be a classpath issue? How do I check. Thanks again. Mukund -Original Message- From:

RE: Tomcat 4.1.29 Struts

2003-12-05 Thread Yee, Richard K,,DMDCWEST
Mukund, Are there any messages in the log file? Are you using log4j and did you set the logging level to debug? It shouldn't be a Classpath issue if the file is located in your webapp's WEB-INF/classes directory. That is automatically put in your apps classpath. -Richard -Original

RE: Tomcat 4.1.29 Struts

2003-12-05 Thread David Friedman
Psst. I think you have the wrong DTD: http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd Won't resolve for me (I use 1.1 anyway) but this does: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd Regards, David -Original Message- From: Yee, Richard K,,DMDCWEST

messages tag not displaying messages

2003-12-05 Thread Frank Calfo
The messages tag supposed to display all the messages automatically ? When I place this on the JSP, the messages do not display: [EMAIL PROTECTED] prefix=html uri=/struts-html% html:messages id=resultMsg name=ATTR_ACTION_MESSAGES/ I know that the message key is correct, the message

Re: messages tag not displaying messages

2003-12-05 Thread Richard Yee
Frank, I believe you want to use the bean:messages ./ tag. There isn't an html:messages tag. -Richard At 06:18 PM 12/5/2003, you wrote: The messages tag supposed to display all the messages automatically ? When I place this on the JSP, the messages do not display: [EMAIL PROTECTED]

Re: messages tag not displaying messages

2003-12-05 Thread Richard Yee
Frank, Please disregard the last message. I wasn't paying attention and was looking at the Struts 1.0 docs instead of Struts 1.1. If you are using ActionMessages, then in your action, you'd have something like this: ActionMessages messages = new ActionMessages(); ActionMessage msg = new

  1   2   >