many methods in Action

2004-01-08 Thread Otávio Augusto
Does anybody have a tutorial/howto on how to have many different tasks implemented in a single Action class? I mean,many execute methods (of course, different signatures) in the same Action class. Thanks a lot. Otávio Augusto

RE: many methods in Action

2004-01-08 Thread Richard Hightower
Check out http://doc.advisor.com/Articles.nsf/nl/13372 (I wrote it) snippet below the above tutorial covers dispatch action and lookup disptacth action i am not a fan of lookup dispatch action. i like dispatch action. (i created my own dispatch action called

RE: passing request parameter to mapping.findForward(alias)

2004-01-08 Thread Richard Hightower
there are at least two ways static parameter? forward path=foo.jsp?foo=bar/ dynamic? (in execute method) ActionForward forward = mapping.findForward(success); return new ActionForward(forward.getPath() + ?foo= + bar); [check the java docs on the second one... i am doing it from memory,

RE: passing request parameter to mapping.findForward(alias)

2004-01-08 Thread Richard Hightower
I am sure there are more than two ways... but those are the two I could think of. Rick Hightower Developer Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm Struts/J2EE consulting -- http://www.arc-mind.com/consulting.htm#StrutsMentoring -Original Message- From: Richard

R: Wrapping request - OT

2004-01-08 Thread Grassi Fabio
The wrapped request should augment the parameters of the original request adding some Displaytag parameters (this tag does some things only if it finds his parameters in the request, no way to pass this information via attributes). I managed to do this extending HttpServletRequestWrapper and it

building struts from source

2004-01-08 Thread lixin chu
hi, i am trying to build struts from source (1.1), got 4 error messages: (1) [javac] D:\JAKART~1.1-S\src\share\org\apache\struts\action\ActionServlet.java:443: release() in org.apache.commons.logging.LogFactory cannot be applied to (java.lang.ClassLoader) [javac]

Re: building struts from source

2004-01-08 Thread lixin chu
problem found: 1. I copied some new version of jar files into j2sdk folder. 2. those jar files are used even though I have pointed to a special folder which contains the right version of jar files in the build.properties file. --- lixin chu [EMAIL PROTECTED] wrote: hi, i am trying to build

Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread Nicolas De Loof
Hy all, I would like Struts NOT to create a session for an unauthentified user. As far as I understand Struts code, I need to set locale=false in struts-config.xml controller. Is they're any ohter Struts mecanism that can create a session (excluding action-mapping declared as scope=session) ?

Re: BeanUtils.copyProperties()

2004-01-08 Thread Mark Lowe
You could just set that property by hand after most of you properties are copied BeanUtils.copyProperties( fooBean, barBean); fooBean.setDate(barBean.getDate()); beanutils would still be doing most the work for you. On 7 Jan 2004, at 23:32, Larry Meadors wrote: Yeah, beanutils is a pain that

Re: muli box\check box checked by default

2004-01-08 Thread Mark Lowe
You need to use the value attribute to whatever value you wish to match to tick the box. String foo = bar; theForm.setFoo(foo); html:checkbox property=foo value=bar / Also you use the eval method in javascript, which I don't believe anyone ever needs. It was in vogue a few years back when

Re: dynamically add action ?

2004-01-08 Thread lixin chu
Thanks for all your input, and Manfred's doc. I have checked the list archive, and found the similar discussion (looking for Dynamic configuration). I think my question is similar. let me explain a bit more on what I am doing: 1. I am building a portal type web application, and I want to use

RE: One action per request, or chaining two?

2004-01-08 Thread shirishchandra.sakhare
We also have used the same approach where data retrieval and data update is taken care of by different actions...We call them open action and save actions.. And This has really served us well.I mean you may want to to show the same page after some other action..So in that case you just forward

RE: [OT] Canoe Webtest / HttpUnit

2004-01-08 Thread Edgar P Dollin
Thanks for the article. Something about the update from 4.1.18 to 4.1.29 caused my cookie test javascript to give inconsistent feedback in the HttpUnit javascript. I tried another algorithm and worked past the error. BTW for you test junkies, if you used web.xml error-pageerror-code to trap

Re: dynamically add action ?

2004-01-08 Thread Mark Lowe
I would approach this (i haven't tried this) as i said before, by having an app that modifies the dynamic apps and lets you reload them. This way you can build it for different containers and if the reload fails you can manage it. I know there were some postings yesterday that sounded very

Re: How to reset properties of a DynaValidatorForm

2004-01-08 Thread Sheldon Hearn
On (2004/01/08 01:00), Matthias Wessendorf wrote: i dind´t say, that is reset==initialize() I wasn't disagreeing with you. I meant oh, you're right, reset() isn't what I want, but initialize() is. :-) Thanks, Sheldon. - To

Re: server hangs after finite number of requests

2004-01-08 Thread Heather Marie Buch
On Wed, 7 Jan 2004, Craig R. McClanahan wrote: Quoting Heather Marie Buch [EMAIL PROTECTED]: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html Thanks very much for pointing me here. This is a good explanation of where the dbcp configuration goes. I

RE: How to reset properties of a DynaValidatorForm

2004-01-08 Thread Matthias Wessendorf
oh. sorry for that. it was late..., when i answerd on your mail... :-) greetings Matthias -Original Message- From: Sheldon Hearn [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 11:38 AM To: Struts Users Mailing List Subject: Re: How to reset properties of a DynaValidatorForm

Re: server hangs after finite number of requests

2004-01-08 Thread Heather Marie Buch
I solved the problem, thanks to all the helpful advice I received. Now I can submit an ActionForm, whether my submission is valid and the Action servlet forwards me to the success jsp page from my action-mapping, or invalid, in which case the Action servlet saves some errors into my ActionErrors

AW: ServletMapping for ActionServlet and firewalls

2004-01-08 Thread Oliver Thiel
Hi Matthias, Book: Struts Fast Track Major contributions by: Vic Cekvenich Copyright: 2002 BaseBeans Engineering Page: 74 NOTE: Noticed that I modified the url-pattern for the “action” servlet-name to “/do/*”. Struts normally has the “/*.do” pattern for the action servlet but I’ve had

RE: ServletMapping for ActionServlet and firewalls

2004-01-08 Thread Matthias Wessendorf
Yes! right, that what i had in mind! but didn´t know where i had read this! thank you very much! -Original Message- From: Oliver Thiel [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 12:25 PM To: [EMAIL PROTECTED] Subject: AW: ServletMapping for ActionServlet and firewalls

RE: Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread Duggal, Sanjay
Hi All, I have a somewhat similar problem. In my application,I have a UserSessionListener class that implements the HttpSessionListener interface. I have to create a stateful session EJB in the sessionCreated() method of my UserSessionListener remove() the same stateful session EJB in the

RE: BeanUtils use in struts

2004-01-08 Thread Marco Mistroni
Hi Craig, Thanx for your comments. It uses reflection on POJOs (plain old Java objects) but not on DynaBeans -- the implementation inside DynaActionForm is a HashMap with typesafe getters and setters. In my case I have a Custom DTO with setter/getters and a Form bean that extends

RE: All The Bean Properties Are Null in the Business Tier!!! (Used BeanUtils to Convert DynaValidatorForm)

2004-01-08 Thread Robert Taylor
Your code seems a bit confusing based upon what you want to achieve. If indeed you want ThreadHandler to inherit from ThreadBean, you should be able to do something like this: DynaActionForm postForm = ( DynaActionForm )form; ThreadHander = new ThreadHandler(); BeanUtils.copyProperties(

RE: Handling Missing Message Key

2004-01-08 Thread Brian Styles
Thank you very much to Daniel and Kris for their help on this. Definately, extending the PropertyMessageResources and PropertyMessageResources factory is the way to go. Unfortunately, I've changed this and come up against a really nasty error that I didn't have before! If anyone can help me

format tag in bean:write - was :RE: Handling Missing Message Key

2004-01-08 Thread Brian Styles
Ah, ha! I am an idiot. I think this has to do with the format tag in bean:write. Could someone tell me how to set this up? I think you can put the formats into the application properties file, correct? Does someone have an example of what to put in? thanks, Brian From: Brian Styles [EMAIL

Re: format tag in bean:write - was :RE: Handling Missing Message Key

2004-01-08 Thread Kris Schneider
Use the formatKey attribute if you want to pull it from message resources. Have a look at java.text.DecimalFormat for an explanation of formatting patterns for decimal numbers. Quoting Brian Styles [EMAIL PROTECTED]: Ah, ha! I am an idiot. I think this has to do with the format tag in

Re: format tag in bean:write - was :RE: Handling Missing Message Key

2004-01-08 Thread Brian Styles
Thanks Kris, you've been a great help. Is there any example of default formats for all the types I might need that I can just copy into the resource bundle? From: Kris Schneider [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: How to create pop ups in struts

2004-01-08 Thread Raphaël di Cicco
This has nothing to do with struts but with javascript you have to use window.open - Original Message - From: Kamal Gupta [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 7:19 PM Subject: How to create pop ups in struts Hi, I am

Re: format tag in bean:write - was :RE: Handling Missing Message Key

2004-01-08 Thread Kris Schneider
Not that I'm aware of. However, you can play around with the various factory methods of NumberFormat and DateFormat to get what you want: DecimalFormat decFormat = (DecimalFormat)NumberFormat.getInstance(); System.out.println(decFormat.toPattern()); SimpleDateFormat dateFormat =

forwarding request from select tag

2004-01-08 Thread Namasivayam, Sudhakar (Cognizant)
Hi all, Ihave a list page which has a combobox to select the filter.html:select property="statusfilter" option value = "All"All/option option value = "Completed"Completed/option option value = "In process"In process/option/html:selectThe page loads with the value "all" as default. Now

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread Manfred Wolff
Nicolas. I perhaps don't understand you. but (!) The locale attribut has nothing to do with creating sessions! The locale attribute tells struts to save a Locale-Object in the session, if there is nothing stored. Manfred Nicolas De Loof wrote: Hy all, I would like Struts NOT to create a

AppException

2004-01-08 Thread cnd
Hi, What class do I need to subclass instead of the depreciated org.apache.struts.util.AppException? Thanks Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AppException

2004-01-08 Thread Joe Germuska
At 10:33 PM +1030 1/8/04, [EMAIL PROTECTED] wrote: Hi, What class do I need to subclass instead of the depreciated org.apache.struts.util.AppException? org.apache.struts.util.ModuleException This reflects a general change in the naming: what was referred to as sub-application is now referred to

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread HG
Hi Manfred I think Nicolas is trying to find all places where Struts manipulates the session in some way.. Locale=True does indeed manipulate the session..thus resulting in the session being created, if not already there. When no one (action, object, tag, whatever) has requested attributes to

released xmoon 0.3

2004-01-08 Thread Mario
XObj can instance external class XMoon properties added some bug fix http://www.xmoon.it http://www.xmoon.it/

RE: forwarding request from select tag

2004-01-08 Thread Robert Taylor
If you use html:option .../ then the selected value should show as being selected when the page is reloaded. robert -Original Message- From: Namasivayam, Sudhakar (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 9:15 AM To: Struts Users Mailing List

RE: forwarding request from select tag

2004-01-08 Thread Namasivayam, Sudhakar (Cognizant)
thanks robert... but what i wanted is to reload the page automatically like select_Onchange() { reload the page with the new filter... == should i load the jsp file ??? } Instead of this java script... can i do with struts itself hope i m clear. thanks, sudhakar

Re: forwarding request from select tag

2004-01-08 Thread HG
Hi there... JavaScript is your friend (or enemy !) here. Struts has no way to detect what is going on at the client (ie. the browser) Regards Henrik - Original Message - From: Namasivayam, Sudhakar (Cognizant) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent:

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread Manfred Wolff
HG. I _don't_ think you are right. A session object exsists with and without struts. The documentation says: -- The Hypertext Transfer Protocol (HTTP) is by design a stateless protocol. To build effective web applications, it is imperative that requests from a particular client be associated

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread Nicolas De Loof
This is exactly what I'm looking for. For some of the applications I'm working on, my customers are paranoiac about security. I think that if a unauthentified user is able to create a session on the server, it can expose the server to DOS attack, because every created session will use some

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread Nicolas De Loof
A session CONTEXT is created when some code uses request.getSession() or request.getSession(true) session tracking (using coockie or URL rewriting) is used keep association between user and contexte. Session tracking mecanism use a random number generator but doesn't use memory to store some

Re: forwarding request from select tag

2004-01-08 Thread Raphaël di Cicco
No you can't, you need to use javascript : html:select property=statusfilter onChange=javascript:doSomething(this); option value = AllAll/option option value = CompletedCompleted/option option value = In processIn process/option /html:select doSomething will

Re: format tag in bean:write - was :RE: Handling Missing Message Key

2004-01-08 Thread Brian Styles
thanks again for all your help on this Kris! Invaluable! From: Kris Schneider [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: format tag in bean:write - was :RE: Handling Missing Message Key Date: Thu, 8 Jan

Re: forwarding request from select tag

2004-01-08 Thread Raphaël di Cicco
my bad the function should return selectBox.options[i].value; - Original Message - From: Raphaël di Cicco [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, January 08, 2004 4:04 PM Subject: Re: forwarding request from select tag No you can't, you need to

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread Nicolas De Loof
I've made a grep on Struts 1.1 sources. I noticed some case where a session is created that seems to me 'uncontroled' : RequestProcessor uses request.getSession() : - in processLocale if controller is configured to use Locale (default = true) HTMLTag uses request.getSession() : - in

Re: Handling Missing Message Key

2004-01-08 Thread Manfred Wolff
Yes: Set null to false in the message-resources tag: message-resources parameter=resources.application null=false/ Then you get something like this ???database_property??? by a missing key. Manfred Brian Styles wrote: Hi all, I'm using the i8ln features in the struts bean tag library I

Re: Summary - server hangs after finite number of requests

2004-01-08 Thread Hubert Rabago
Wow, I hope most other people conclude with a summary like this after a problem is resolved. This surely makes it easier for people who do the right thing by scouring the archives before posting to the mailing list. --- Heather Marie Buch [EMAIL PROTECTED] wrote: I solved the problem, thanks to

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread Kris Schneider
How are you performing authentication? Depending on the process you're using, it may be possible to avoid hitting any of those conditions until after it's successful. P.S. By default, a JSP will create a session if one doesn't already exist (nothing to do with Struts), so any pages that can be

Re: dynamically add action ?

2004-01-08 Thread lixin chu
I am thinking of another solution - saw people talking about action chain but do not really understand: in the page, I use url encoding to differentiate applications: html:link page=/appl.do?applname=app1Application 1/html:link In the struts-config.xml, i define a stub

Re: many methods in Action

2004-01-08 Thread Otávio Augusto
Thanks. That is going to be of great use for me. I imagine that way i can call the same Action class from different jsp pages, and, if desired, each jsp page is going to execute a different method in Action class. Right? The main purpose of this is: I have to know the jsp page I was before

RE: mapped address

2004-01-08 Thread Yee, Richard K,,DMDCWEST
Otávio, You could 1) put the info in a hidden variable which would be less secure or 2) put the info in your session. Regards, Richard -Original Message- From: Otávio Augusto [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 7:33 PM To: [EMAIL PROTECTED] Subject: mapped

RE: Summary - server hangs after finite number of requests

2004-01-08 Thread Andrew Hill
+1 Thanks Heather! -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Thursday, 8 January 2004 23:55 To: Struts Users Mailing List Subject: Re: Summary - server hangs after finite number of requests Wow, I hope most other people conclude with a summary like this

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread Nicolas De Loof
I would like to set my login JSP to have this directive (%@ page session=false %) and others ones to be in WEB-INF (not visible to users) I use an application specific authentification. I would like any user (friend or hacker) to get access to the (internationalized) login page, be able commit

RE: All The Bean Properties Are Null in the Business Tier!!! (Used BeanUtils to Convert DynaValidatorForm)

2004-01-08 Thread Caroline Jen
Thank you for your comment, which is very helpful. Instead of extends ThreadBean, I now import the ThreadBean into my ThreadHandler class (see the code below). I am still getting all null or zero values from the bean. What is the proper way to do it? I simply want to insert the value of all the

Re: mapped address

2004-01-08 Thread Otávio Augusto
Yeah,putting it in a hidden field is insecure (and impossible: it is not a form, it is a simple link.). I'm trying to run away from the struts way to generate more than one parameter, specialy inside a logic:iterate tag. I think having an Action class with many methods each regarding to a an

RE: All The Bean Properties Are Null in the Business Tier!!! (Use d BeanUtils to Convert DynaValidatorForm)

2004-01-08 Thread Yee, Richard K,,DMDCWEST
Caroline, May I ask why you are performing your database updates through a separate thread? It seems to be complicating your code. Creating lots of threads from within your web application is not a good practice if you want your app to scale well. Also, what happens if the update doesn't succeed?

RE: All The Bean Properties Are Null in the Business Tier!!! (Used BeanUtils to Convert DynaValidatorForm)

2004-01-08 Thread Robert Taylor
The same problem exists, you are calling getters on a ThreadBean instance which has not yet been populated. Below three ways to accomplish your goal: METHOD 1: Try this (proxy): public final class ThreadHandler { MessageDAO md = new MySQLMessageDAO(); public int

RE: All The Bean Properties Are Null in the Business Tier!!! (Used BeanUtils to Convert DynaValidatorForm)

2004-01-08 Thread Robert Taylor
I don't think ThreadHandler represents a java.lang.Thread handler. I think it more or less is a business object to facilitate persistance. I think the use of the word Thread here is more representative of a forum discussion thread. I could be wrong though. robert -Original Message-

To Ted Husted: struts-hibernate problem

2004-01-08 Thread Sergei P. Volin
Hello Ted- I'm a newb w/ Hibernate and not Struts. With some difficulties but i've managed to install struts-hibernate example on Tomcat-4.1.24 and Firebird-1.0. And have a lot of questions. What should this example show? I mean how to play with this example? I did not find

RE: mapped address

2004-01-08 Thread Brian Barnett
Maybe you could add a URL parameter to the link on each of the three pages identifying which page it is. Then in the action class, get the request object, get the URL parameter from the request object, and based on the parameter, you should know where to return to. -Original Message-

Re: mapped address

2004-01-08 Thread Otávio Augusto
Yeah, that is a nice idea. But I already have a parameter being sent by this link: it is the id of a certain element. So, i have to add a second parameter. That is the case. Adding two parameters is still confusing to me. thanks Otávio Augusto On Thu, 8 Jan 2004 10:14:21 -0700 Brian Barnett

RE: mapped address

2004-01-08 Thread Brian Barnett
Can you show me the code where you add the one parameter? -Original Message- From: Otávio Augusto [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 10:19 AM To: Struts Users Mailing List Subject: Re: mapped address Yeah, that is a nice idea. But I already have a parameter being

Re: mapped address

2004-01-08 Thread Brice Ruth
Pretty easy. !-- assume someELvalue is my2ndTopic -- jsp:useBean id=linkParams class=java.util.HashMap/ c:set target=${linkParams} property=topic value=somevalue/ c:set target=${linkParams} property=topic2 value=${someELvalue}/ html:link action=/myAction name=linkParamsmy link/html:link will

html:text and converter

2004-01-08 Thread Giovani Salvador
Hi all... Is there a way to force that html:text call a converter? My problem is that i am trying to format a date before showing it with html:text tag and a possible way is to pass by the StringConverter class, for example. By debugging the jakarta commons beans i perceveid that this call is

RE: mapped address

2004-01-08 Thread Yee, Richard K,,DMDCWEST
Otávio, Depending on how the previous page is displayed, you might be able to check the Referer header in the request. -Richard -Original Message- From: Otávio Augusto [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 9:19 AM To: Struts Users Mailing List Subject: Re: mapped

RE: Uploading in Struts !!!

2004-01-08 Thread Andrew Hill
Hi Kari, [nb: This question should be asked on the struts-user list and not the developer list, so Im posting my response there instead.] Uploading files in struts is relatively straightforward. (Compared to not using struts! ;- ) Theres an upload example you can look at to get some

dynamic parameters to DynaActionForm

2004-01-08 Thread Nathan Maves
is it possible to have dynamic parameters sent to to a dyna form? I do not know how many or the name of the parameters that are being sent? Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

html link to a action with parameters

2004-01-08 Thread Nathan Maves
how do you create html links to an action that uses a dyna action form? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: dynamically add action ?

2004-01-08 Thread Sifuentes, Ben
Based on the code snippet you provided you could just define forwards on the action which match the possable values of procname. -Original Message- From: lixin chu [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 11:03 AM To: [EMAIL PROTECTED] Subject: Re: dynamically add

RE: Multiple file uploads (was: Uploading in Struts !!!)

2004-01-08 Thread Hubert Rabago
Karikalan, there has been several discussions about uploading files on the user list, some I think even from the past couple of days. The example Andrew mentioned is struts-upload.war in the webapps directory of the Struts distribution. It comes with source code. This may not apply to you, but

RE: html link to a action with parameters

2004-01-08 Thread Robert Taylor
html:link action=/myDynaActionFormActionNameInvoke my action which uses a dyna action form/html:link Please do some research before posting. robert -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 1:03 PM To: Struts Users Mailing List

RE: dynamic parameters to DynaActionForm

2004-01-08 Thread Robert Taylor
Look at IndexedProperties: http://jakarta.apache.org/struts/faqs/indexedprops.html robert -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 1:02 PM To: Struts Users Mailing List Subject: dynamic parameters to DynaActionForm is it

Re: html:text and converter

2004-01-08 Thread Hubert Rabago
You'll have to format the data that you're passing to your ActionForm. If you're extending from ActionForm (but not using a Dyna form), perhaps you can format the data in your setField() method, or before returning from a getField() method. --- Giovani Salvador [EMAIL PROTECTED] wrote: Hi

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread Kris Schneider
It sounds like the real issue is validator usage (I'm assuming you can avoid the other features that cause session creation). How difficult would it be to do the login validation by hand? I expect you're just verifying that something like a user and password have been submitted (and maybe that

Re: html:text and converter

2004-01-08 Thread Giovani Salvador
The problem is that i am not showing the data with the action form. I use the html:text to read directly from my DTO and, unfortunatly, no conversion is made. :( Giovani Salvador - Original Message - From: Hubert Rabago [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

403 error page not being displayed

2004-01-08 Thread Matt Raible
I have roles configured on my /editUser action mapping so that only administrator can access it. When I try to request the page as a user, I get the default 403 page from Tomcat, rather than my app's configured one. In web.xml, I have a number of error pages defined, and 404 works OK:

Re: mapped address

2004-01-08 Thread Otávio Augusto
Yeah, here is the code Brian requested: logic:iterate id=lotes name=meusLotes tr tdNome: bean:write name=lotes property=nome //tdbr tdComentário: bean:write name=lotes property=comentario //tdbr bean:define id=idLote name=lotes property=id / tdhtml:link action=/remove

Re: mapped address

2004-01-08 Thread Otávio Augusto
Hmmm, that is realy very simple. As I am pretty new to struts: are these tags easyly recognized or do I have to add some additional declaration? no matter what i have to add to make this work, I got the point and it is really simple.Reminds me of Ant :) Thanks very much Otávio Augusto On Thu,

Re: 403 error page not being displayed

2004-01-08 Thread Kris Schneider
Looks like Struts 1.1 sends a 400 and the current nightly sends a 403. Maybe it's a TC bug. Which version are you using? Quoting Matt Raible [EMAIL PROTECTED]: I have roles configured on my /editUser action mapping so that only administrator can access it. When I try to request the page as a

XML and dynabean

2004-01-08 Thread Jeb Scarbrough
I have a form where a user will upload an xml document or xml string. I want to convert that xml doc or string into a javabean. The XML documents could vary each post. Does struts provide a way to convert this to a bean on the fly? I think that I essentially I want to emulate the way

Re: mapped address

2004-01-08 Thread Brice Ruth
I'm glad you like it :) I won't take credit for it, though - someone else on the list passed it along to me when I had similar issues!! The jsp:useBean tag is standard in your JSP container, nothing needed for that. For the c:set tags, you'll need the JSTL core tag library. You can get this

Re: mapped address

2004-01-08 Thread Brice Ruth
I assume you'll know how to use expression language to get the values you want into your parameters ... if you don't, post again and we'll help ya out :) Otávio Augusto wrote: Hmmm, that is realy very simple. As I am pretty new to struts: are these tags easyly recognized or do I have to add

[OT] Oldest Language

2004-01-08 Thread Ramadoss Chinnakuzhandai
Hi, If anyone of you might be wizard of liguistics facts...may I know the worlds oldest language? my apology for posting other topic..thought some one is out there to answer. -R - To unsubscribe, e-mail: [EMAIL

Re: 403 error page not being displayed

2004-01-08 Thread Kris Schneider
Huh. Both 4.1.29 and 5.0.16 seem to work for 400 and 403 with a simple error-page test (no Struts involved). AFAIK, the roles check is performed within RequestProcessor.processRoles which just does an HttpServletResponse.sendError if the user in not in the required role. At that point, the

RE: [OT] Oldest Language

2004-01-08 Thread Tim Kettering
You'd probably be best off asking Google (the one true Oracle). This is what turned up on world's oldest language, but probably not the answer you were looking for. http://www.linguistlist.org/~ask-ling/archive-most-recent/msg01880.html -Original Message- From: Ramadoss

Re: Summary - server hangs after finite number of requests

2004-01-08 Thread Heather Marie Buch
That was to ease my guilt complex about always asking for help, but never answering help questions...I figure if I can't answer questions, at least I can write a summary of the answers I got! (when I have time). Heather On Thu, 8 Jan 2004, Hubert Rabago wrote: Wow, I hope most other people

RE: [OT] Oldest Language

2004-01-08 Thread Ramadoss Chinnakuzhandai
yeah Tim I googled but was getting pages like the one you mentioned :-) but not what I wantedand so thought any of you might be better than google ;-) -R -Original Message- From: Tim Kettering [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 2:13 PM To: 'Struts Users

Re: html:text and converter

2004-01-08 Thread Hubert Rabago
Perhaps it's time to consider using AFs. :) --- Giovani Salvador [EMAIL PROTECTED] wrote: The problem is that i am not showing the data with the action form. I use the html:text to read directly from my DTO and, unfortunatly, no conversion is made. :( Giovani Salvador -

Dynamic Tiles?

2004-01-08 Thread Anderson, James H [IT]
I'm wondering if Tiles provides support for choosing a Tile dynamically, i.e., programatically at runtime. Our business users have the capability to not only modify include files, but to create new include file directories based on client defined data. We're looking for a way to support this in

tree representation using html links

2004-01-08 Thread Nathan Maves
Here is the situation... I have a first list of items. If the used chooses to expand on any of these I need to pull the children of that element and so on. The amount of level varies on how many nodes the user expands. I think that I somehow need to keep track of what the user has clicked

Re: [OT] Oldest Language

2004-01-08 Thread David Erickson
If your religious its Ademic, the language spoken by adam. -David - Original Message - From: Ramadoss Chinnakuzhandai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 08, 2004 11:49 AM Subject: [OT] Oldest Language Hi, If anyone of you might be wizard of

Re: [OT] Oldest Language

2004-01-08 Thread Heather Marie Buch
I thought it was COBOL. Heather On Thu, 8 Jan 2004, David Erickson wrote: If your religious its Ademic, the language spoken by adam. -David - Original Message - From: Ramadoss Chinnakuzhandai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 08, 2004 11:49 AM

RE: [OT] Oldest Language

2004-01-08 Thread Joshi, Naveen
FORTRAN - November 1954 Naveen -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 1:50 PM To: [EMAIL PROTECTED] Subject: [OT] Oldest Language Hi, If anyone of you might be wizard of liguistics facts...may I know the

Re: html:text and converter

2004-01-08 Thread Hubert Rabago
Yes, that last msg wasn't much help. Maybe if you provide a bigger picture of the situation, other folks can give you alternatives. Or at least help convince you of the advantages to using AFs. --- Hubert Rabago [EMAIL PROTECTED] wrote: Perhaps it's time to consider using AFs. :) ---

ApplicationResources_pt.properties is not recognized?!

2004-01-08 Thread Robert Augustyn
Hi, My Struts based app uses ApplicationResources.properties files for other languages with no problems ( french, germen ... ) but has problem with Portuguese. ApplicationResources_pt.properties is not being recognized when I set my IE to Portuguese. The interesting part is that if I set IE to

Re: [OT] Oldest Language

2004-01-08 Thread Melissa L Kelley
On Thu, 8 Jan 2004, Heather Marie Buch wrote: I think it's mathematics. -- Melissa L Kelley [EMAIL PROTECTED] www.stuology.net -- I thought it was COBOL. Heather On Thu, 8 Jan 2004, David Erickson wrote: If your religious its

RE: [OT] Oldest Language

2004-01-08 Thread Tim Kettering
I have to agree with those people, it is hard to nail down a oldest language because the question itself is too general. What do you define as language to start with. At what point do you stop calling it simple communication, and call it a language? And the second difficulty is that many of

RE: [OT] Oldest Language

2004-01-08 Thread Joshi, Naveen
No- COBOL was introduced in 1959 at that time Fortran had released its 3rd version(FORTRAN III). Between FORTRAN and COBOL there was BO, FLO-MATIC, IAL, ALGOL introduced. COBOL was released at the same time JAVIAL was released. Thanks -Nav -Original Message- From: Heather Marie Buch

RE: [OT] Oldest Language

2004-01-08 Thread Ramadoss Chinnakuzhandai
yeah I agree too.if you say so then the oldest civilzation of Egyptian,Persian,Indues Valley,Greek are again debatable?. or I can ask more tangible like you mentioned language which hot got oldest literature or history or whatever -Original Message- From: Tim Kettering

Re: XML and dynabean

2004-01-08 Thread Brice Ruth
I think you *might* be looking for something like betwixt. See here: http://jakarta.apache.org/commons/betwixt/ Jeb Scarbrough wrote: I have a form where a user will upload an xml document or xml string. I want to convert that xml doc or string into a javabean. The XML documents could vary

  1   2   >