Re: Tiles with XML and XSL

2004-01-09 Thread Craig R. McClanahan
Quoting Tin Pham [EMAIL PROTECTED]: Wow that great Craig. Thanks for taking the time to give me some hints. I did not know that the servlets 2.4 would let me do that. I really like that one. I can then have pockets of xml on my page. I will check this option out first. Filters on request

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-09 Thread Nicolas De Loof
Here is what I need to do to avoid creating session before the user has been authentificated : . add %@ page session=false % to the JSP used by my login tile definition (layout tiles) = requesting login.jsp doesn't create a session . set controller locale=false in struts-config.xml . set

RE: [OT] Oldest Language

2004-01-09 Thread Jesse Alexander (KAID 11)
nope... - Bytecode (also maschine code) Assembler is already an abstraction on that... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 8. Januar 2004 20:45 To: Struts Users Mailing List Subject: Re: [OT] Oldest Language Wouldnt it be assembly for

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-09 Thread HG
Hi Nicolas Glad you figured it out, and thanks for sharing it, with the rest of us. Peace, Henrik - Original Message - From: Nicolas De Loof [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, January 09, 2004 9:41 AM Subject: Re: Configuring Struts NOT to

FW: Exception creating bean of class null

2004-01-09 Thread Namasivayam, Sudhakar (Cognizant)
Title: FW: Exception creating bean of class null hi.. I created a simple app but i got a error like this.. org.apache.jasper.JasperException: Exception creating bean of class null: {1} Could you pls explain where it comes from? Also i would like to know how to trace where the

Re: Exception creating bean of class null

2004-01-09 Thread Mark Lowe
Its a jsp error, somethin is wrong with your jsp. The bean you are referencing in your jsp cant be found or is null (probably both). On 9 Jan 2004, at 09:08, Namasivayam, Sudhakar (Cognizant) wrote: hi..  I created a simple app but   i got a error like this..

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-09 Thread Nicolas De Loof
I just woud have some more info from Struts/J2EE masters : Is this on-unauthentified-uri-session-is-created scenario a possible DOS attack ? Nico. Hi Nicolas Glad you figured it out, and thanks for sharing it, with the rest of us. Peace, Henrik - Original Message -

[OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Raphaël di Cicco
Hi, I know this is a little off topic but this has to do with J2EE deployment so it might be useful for some people. In my environment, I use Eclipse with Struts 1.1, Tomcat 4.1 and Sun JDK 1.4. Eclipse makes it possible to recompile and redeploy my classes every time I change them. This is

Re: html:text and converter

2004-01-09 Thread Giovani Salvador
I understand what you say...my DTO model is too complex, i know. Well, i will have to consider these things... thanks Giovani Salvador - Original Message - From: Hookom, Jacob [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, January 08, 2004 5:28 PM

Re: html:text and converter

2004-01-09 Thread Giovani Salvador
Hi Brad, i would not like to write a getter specific for formatting or conversion purposes if i already have one getter. I think it´s hard to maintain and may result in unexpected results. But i thank you for the opinion, i confess you i thought in doing this but have left the idea. thanks

Re: html:text and converter

2004-01-09 Thread Giovani Salvador
Hubert, what´s the status of this component? Is it only under development or are you testing it in a real application? Another question, once it´s finished, what about sending your component? Thanks Giovani Salvador - Original Message - From: Hubert Rabago [EMAIL PROTECTED] To: Struts

including multiple *.do actions into a jsp page

2004-01-09 Thread Silviu Marcu
Hi, I try to include more than one struts action in a jsp page ... and it does not work. (the error is : cannot forward after response has been commited) Also I found in the archive a statement like: ## So something like: ## jsp:include page=thing.do / ## jsp:inlcude page=thing-success.jsp

How to avoid Warning: Page has Expired ?

2004-01-09 Thread Anindito De
Hi folks, In our website we need to have the new page, that is generated on a form submission, to be overlaid on the old page. Objective is to avoid the Warning: Page has Expired error when the user presses the browser back button on the new page. Redirecting to a separate error page and

RE: html:text and converter

2004-01-09 Thread Mike Jasnowski
I believe, the point at which commons converters are implemented in Struts won't help you here, judging by the way you're passing data to the view. But if all you're trying to do is format the string into a date and you have to stick with the DTO directly to view approach, you could try a

RE: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Mainguy, Mike
If that class never changes just deploy it in a jar... No matter what we use today, sooner or later I'm sure we'll be using something else -Ted Husted -Original Message- From: Raphaël di Cicco [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 5:11 AM To: Struts Mailing List

Re: html:text and converter

2004-01-09 Thread Hubert Rabago
Giovani, Unfortunately, it's still under development. I'll let you know once it's ready. Hubert --- Giovani Salvador [EMAIL PROTECTED] wrote: Hubert, what´s the status of this component? Is it only under development or are you testing it in a real application? Another question, once it´s

Answer

2004-01-09 Thread Martin Gainty
Bernard: Did you configure $TOMCAT_HOME/conf/tomcat-apache.conf ? (tomcat-apache.conf might be hiding in /usr/local/apache/conf) Take a look at configuring Struts for Tomcat at http://jakarta.apache.org/struts/userGuide/installation-tc.html Let me know how you make out, Martin

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Brice Ruth
I'm not sure you'll ever entirely get away from Tomcat generating an OutOfMemory exception ... I have a very similar development environment and I use the catalina-ant tasks for removing my context from Tomcat and re-installing my context to Tomcat and I've found that after I do that a few

Re: including multiple *.do actions into a jsp page

2004-01-09 Thread Brice Ruth
Maybe you might be better off explaining to us exactly what you're trying to achieve, with what you're trying to do. As I'm not clear on that, I'm not sure what you've just explained and what it means. Silviu Marcu wrote: Hi, I try to include more than one struts action in a jsp page ... and

RE: Three JSPs in one

2004-01-09 Thread Hooper, Brian
Here is an example of what I have done: One page contains 5 pages - a list of users, click on a user and you get their details, add a user, update a user, and delete a user. To do this, all initial requests go to usersAction.do. Here is the main page (ideally use forward mappings instead): a

RE: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Guillermo Meyer
Try marking yout context with reloadable=false in server.xml or if using the eclipse plugin, uncheck the reloadable chechbox (project - Properties - Tomcat - General - marck this context as reloadable) In this way, when you change a class implementation, only this class is changed and Tomcat won't

Re: To Ted Husted: struts-hibernate problem

2004-01-09 Thread Sergei P. Volin
To whom it is interested: it's a FB specific problem. to correct the problem just enclose a word user in double qoutes in all HQL queries. Thanks to all ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

popups with action forwarding

2004-01-09 Thread ngonqua
I have a jsp page that when I click on the button it calls a javascript method to opens a popups windows. The popus should return some information about the user base on their id which I pass it but I'm having trouble getting it to work. I'm keep getting message from my weblogic terminal like

Solution: Subcall and Back in Struts

2004-01-09 Thread Manfred Wolff
Hi. At several projects I needed a struts based browser back mechanism or a subcall mechanism. In both cases you have to store the last request (with request parameter) an restores it. Subcall means: From different contextes I navigate to the same site. To increse usability I will the user

Problem displaying ActionMessages in JSP

2004-01-09 Thread Ciaran Hanley
Hello Can anybody help me? I am trying to display messages on my JSP based on whether an insertion to the DB was successful or not. Properties file: dbsuccess.add = Database Success: Details Added dberror.add = Database Error: Unable To Add Details At This Time Action Class: /* create

EJB Tier

2004-01-09 Thread Ricardo de Souza Moura
I wish a advice. I have been using struts and I use DAO and JDBC to access my Database. I am not using EJB, but I am wanting use it. The Struts framework doesn't have anything about EJB. Will I need to do my own framework to treat with EJB or there are a best option ? thanks

Re: EJB Tier

2004-01-09 Thread Hubert Rabago
Ideally, you should call your EJBs in your Action objects in response to requests. Struts doesn't have anything about EJBs because you are free to decide how to perform your business logic, although the recommendation is to not do them inside an Action object, but rather in another conceptual

Re: Problem displaying ActionMessages in JSP

2004-01-09 Thread Hubert Rabago
try calling saveMessages(request,messages) in your action class. --- Ciaran Hanley [EMAIL PROTECTED] wrote: Hello Can anybody help me? I am trying to display messages on my JSP based on whether an insertion to the DB was successful or not. Properties file: dbsuccess.add = Database

Re: EJB Tier

2004-01-09 Thread Manfred Wolff
Recardo. In my opinion you don't need a framework at first but an architecture and a programming model to access your business logic out of struts actions. There are several things you have to think about: - I use struts only for the presentation layer. There is no businsess logic in the

Tree Table

2004-01-09 Thread Yajamanyam Venugopal
Hi, I would like to develope Tree Table structure using struts framework. Tree Table I mean with each Node or folder I need to display in the same row some data like quantity and user etc which should align with child data. I have been thru some structure on web.I am able to generate cascade

RE: Problem displaying ActionMessages in JSP

2004-01-09 Thread Ciaran Hanley
Thanks Hubert, That has me going in the right direction, however only the hr element is printing at the top of the page now. The message elements aren't getting printed as they should. Can anybody spot the problem, I cant Thanks, Ciaran -Original Message- From: Hubert Rabago

Is it possible to nest Tiles layouts?

2004-01-09 Thread Anderson, James H [IT]
For example, I'd like to be able to reformat the content tile into a number of different layouts... Thanks, jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Mix protocols transparently in Struts

2004-01-09 Thread Alain Van Vyve
thank you to Manfred and Robert ... and to sslext developpers of course ... sslext is THE response of all my needs Alain At 16:48 6/01/2004 +0100, you wrote: I would like to mix HTTP et HTTPS ... A very intersting article http://www.javaworld.com/javaworld/jw-05-2002/jw-0510-struts_p.html

RE: Problem displaying ActionMessages in JSP

2004-01-09 Thread Hubert Rabago
also, add message=true to your html:messages: html:messages id=messages message=true bean:write name=messages/br /html:messages While your at it, you can use id=message and name=message because AFAIK, that identifier will be used to refer to a single message. --- Ciaran Hanley [EMAIL

FW: Tree Table continuation for better under standing

2004-01-09 Thread Yajamanyam Venugopal
Hi, As I Mentioned in my earlier mail working on a tree table generation using your code. I have to generate a Tree each of the folder with some information in the same row which is common for all of the folder elements. I could do that the problem is when I expand the child the

RE: EJB Tier

2004-01-09 Thread Matthias Wessendorf
hi Ricardo, here you have a nice diagramm which showes J2EE-Patterns for Web-based applications http://java.sun.com/blueprints/corej2eepatterns/Patterns/ struts is doing, like Manfred told you, only the presentation. (e.g FrontController is the ActionServlet or the composite view can be done

Seeking multipart-form advise

2004-01-09 Thread Gary VanMatre
We are working on an application that has several pages that require file upload capabilities. Currently, our main tiles layout contains our html form tag and we are considering adding the enctype=multipart/form-data attribute to the form tag in our main layout but we are uncertain as to the

Re: popups with action forwarding

2004-01-09 Thread Domingo A. Rodriguez S.
This double dotted package string looks weird to me.. What if it is not using the type you are providing? type=com.gcw.aid.controller..UserActions Regards, Domingo A. Rodriguez S. --- ngonqua [EMAIL PROTECTED] escribió: I have a jsp page that when I click on the button it calls a javascript

RE: Problem displaying ActionMessages in JSP

2004-01-09 Thread Ciaran Hanley
I already had the message=true part in the JSP code. I changed the id and name value to message as you said but I get the same result, just the hr is produced Ciaran -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: 09 January 2004 17:16 To: Struts Users Mailing

Re: Dependent Drop Down Boxes

2004-01-09 Thread Curtis Taylor
Hi David, I'm in process of cobbling together something like this using Tiles. I've defined a generic selector widget as a jsp, then subclassed it in the tiles-defs.xml n times, with each new definition having its own controller which is responsible for populating the selector with

Re: Mix protocols transparently in Struts

2004-01-09 Thread Mark Lowe
I'm not sure if i'm missing something or whether this approach has any shortcomings but I prefer using mod_rewrite in apache and not dealing with this in the webapp. This way you don't have to worry about configuring your development environment to serve over https. If you have this in your

Re: Seeking multipart-form advise

2004-01-09 Thread Martin Gainty
Drop all the logos convert html (or any markup language) to text compress (total savings can be 95% or the resultant compressed file is 5% of the file's original size) then upload http://www.brownsbox.com/site.php?pn=compress Does this help? -Martin - Original Message - From: Gary

Re: Is it possible to nest Tiles layouts?

2004-01-09 Thread Domingo A. Rodriguez S.
Something like this?? definition name=common.pagina page=/layouts/classicLayout.jsp put name=title value=Tiles 1.1 Dynamic Portal Example / put name=header value=/tiles/header.jsp / put name=menu value=common.pagina.menu / put name=footer value=/tiles/footer.jsp / put name=body

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Raphaël di Cicco
Thanks for your answer Mike. I should include my .class file inside a jar and get rid of the original class file in the project. I hope this is going to work I'm gonna give feedback on that soon. Raphaël. - Original Message - From: Mainguy, Mike [EMAIL PROTECTED] To: 'Struts Users

Re: Is it possible to nest Tiles layouts?

2004-01-09 Thread Raphaël di Cicco
I have tried this myself before...couldn't make it work. Nested tiles don't seem to work at all. - Original Message - From: Domingo A. Rodriguez S. [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, January 09, 2004 6:49 PM Subject: Re: Is it possible to nest

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Brice Ruth
This won't help me, as the memory leak appears to be in the fact that when a context is removed from Tomcat, all memory allocated for that context is not released. Guillermo Meyer wrote: Try marking yout context with reloadable=false in server.xml or if using the eclipse plugin, uncheck the

RE: Seeking multipart-form advise

2004-01-09 Thread Daniel Rabe
When using multipart/form-data, the data that's posted from the browser up to the webapp WILL be larger. It might even be larger by a significant percentage (2x? 5x? 10x?). In my opinion, however, I don't think sending 200 bytes instead of 20 bytes will be significant. If you want to see exactly

RE: Seeking multipart-form advise

2004-01-09 Thread Gary VanMatre
I guess I should have been more specific, I was looking for advice as to if the enctype attribute of the form tag introduces significant overhead in struts. I know that the struts request processor has to do some extra work to handle a multipart form. Is this overhead enough to imply that only

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Mark Lowe
I haven't used it yet put I believe that tomcat 5 has improved garbage collection. Not sure what this means as I'd have thought the JVM would deal with it but I guess it means this will be less likely to happen. I've found that after so many reloads that tomcat 4.1 runs out of memory, whether

Struts beginner

2004-01-09 Thread Vanessa Monteiro
Hello list members, I'm new at struts list and to using the framework. I'm starting my first web app and I got to map the actions just fine but when reach the action in my appl I get the following error msg: java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester Here is the

Re: EJB Tier

2004-01-09 Thread Ricardo de Souza Moura
OK. I understand what you said. Have you ever read about petstore sample ? It use the WAF (a framework done to petstore sample). This framework use a Event concept to Business Tier. From: Hubert Rabago [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users

Re: Struts beginner

2004-01-09 Thread Martin Gainty
http://jakarta.apache.org/site/binindex.cgi and get commons-digester.jar Saludos, -M - Original Message - From: Vanessa Monteiro [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 09, 2004 1:10 PM Subject: Struts beginner Hello list members, I'm new at struts list and to

Re: Struts beginner

2004-01-09 Thread Vanessa Monteiro
I've already have it on my /WEB-INF/lib but the app doesn't seem to find it Here is the listing for my WEB-INF/lib commons-beanutils.jar commons-collections.jar commons-digester.jar commons-lang.jar commons-logging.jar commons-pool-1.1.jar commons-validator.jar jstl.jar standard.jar

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Brice Ruth
Cool, something else to look forward to when tomcat 5 is finally out of development :) Mark Lowe wrote: I haven't used it yet put I believe that tomcat 5 has improved garbage collection. Not sure what this means as I'd have thought the JVM would deal with it but I guess it means this will be

RE: Is it possible to nest Tiles layouts?

2004-01-09 Thread Anderson, James H [IT]
Thanks, I'll try that. -Original Message- From: Domingo A. Rodriguez S. [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 12:49 PM To: Struts Users Mailing List Subject: Re: Is it possible to nest Tiles layouts? Something like this?? definition name=common.pagina

RE: EJB Tier

2004-01-09 Thread Matthias Wessendorf
Hi, yes it has an Controller in EJB-Tier. But i didn´t realy use it - or seen a solution, which use this. for plain EJBs you can watch http://xpetstore.sf.net it uses Xdoclet for generating ejbs, struts and so on. nice :-) greetings -Original Message- From: Ricardo de Souza Moura

Re: Is it possible to nest Tiles layouts?

2004-01-09 Thread Marino A. Jonsson
they certainly do work ... i use them all the time :) cheers, Marinó Raphaël di Cicco [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have tried this myself before...couldn't make it work. Nested tiles don't seem to work at all. - Original Message - From: Domingo A.

RE: EJB Tier

2004-01-09 Thread Ricardo de Souza Moura
What do you think about this Controller ? Why don't Struts incorporate something like this in your framework ? Not with EJB particularly, but with a abstract class for sample From: Matthias Wessendorf [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users

Re: Struts beginner

2004-01-09 Thread Geeta Ramani
Vanessa: Not sure how much help thsi is, but the NoClassDefFoundError is different from the ClassNotFoundError. I have had this error happen when I have *more* than one (conflicting) copy of a jar/class. I *think* what happens is that one jar is used during compile time (depending on the order

RE: Three JSPs in one

2004-01-09 Thread Wiebe de Jong
Here is a repost (from Oct 22) of some example code I developed that does exactly this. --- Or you could have multiple mappings pointing to one action and one jsp. Each mapping would set a different value for the parameter, the action would use the parameter to set some beans, and the jsp would

RE: Struts Question.

2004-01-09 Thread Pingili, Madhupal
Hi Leonard, For your question, When it forwards to a tile what should happen and is there any linkage you can think I may be missing. You can associate a controller(Java code or Action) to your tile, which will run immediately before your Tile JSP page and put some debug statements to

RE: EJB Tier

2004-01-09 Thread Matthias Wessendorf
Hi again, here is something perhaps you are searching for: http://developers.sun.com/dev/edu/camps/demos/j2eestruts/download.html it is an example-app with struts, delegate and so on! greetings, matthias -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED] Sent:

RE: Struts beginner

2004-01-09 Thread Witt, Mike (OH35)
Seems like some versions of Tomcat (don't know if he is using Tomcat) have had some class loading problems that have required some things get put into the container's common/lib directory. I don't really have the facts here, but it's worth a try for debugging purposes. Mike -Original

RE: Seeking multipart-form advise

2004-01-09 Thread Gary VanMatre
Thanks. Good point. -Original Message- From: Daniel Rabe [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 11:03 AM To: 'Struts Users Mailing List' Subject: RE: Seeking multipart-form advise When using multipart/form-data, the data that's posted from the browser up to the webapp

RE: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread List Mailbox
Tomcat 5.0.16 has been out for a while - works great. Cal www.calandva.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brice Ruth Sent: Friday, January 09, 2004 1:20 PM To: Struts Users Mailing List Subject: Re: [OT] Eclipse/Tomcat WebappLoader Cool,

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Brice Ruth
I just checked a little bit ago and noticed that myself ... I'll have to put a Tomcat 4 - Tomcat 5, JSTL 1.0 - JSTL 1.1 project on my todo list :) List Mailbox wrote: Tomcat 5.0.16 has been out for a while - works great. Cal www.calandva.com -Original Message- From: [EMAIL PROTECTED]

RE: configuration is frozen

2004-01-09 Thread Lucas Halim
Craig, thanks for the clarification. It helps. * We'd have to synchronize around all accesses to the HashMap instances inside the configuration beans that are accessed on every request, causing a performance hit. I assume this means Struts 1.1 has significant performance improvement

Re: Struts beginner

2004-01-09 Thread Otávio Augusto
Take a look at my configuration. i'm also pretty new to struts, so I use this: tomcat 4.27 sdk 1.4.1 Also check out if you have the files in lib provenient from the same struts distribution. Take a look at the permission the files assumed. For instance, I have the following jar files in my

RE: Is it possible to nest Tiles layouts?

2004-01-09 Thread List Mailbox
Yes - can you be more specific - give an example of what you are trying to do? Cal www.calandva.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anderson, James H [IT] Sent: Friday, January 09, 2004 12:09 PM To: Struts User Mailing List Subject: Is it

Action to JSP

2004-01-09 Thread Mauricio T. Ferraz
There are a way to: When a click in a link in my jsp page, in address bar in my browser dont write the name of the action, and go direct to the jsp page (defined in action forward) ??? Thanks. Mauricio

[OT] Question about CSS inheritance/cascading

2004-01-09 Thread David Erickson
Hey I am using CSS like most everyone, I was wondering if its possible to apply multiple styles to a single element? IE I have a table cell, in my CSS it automatically receives this style: TD { color : #00; font-family: Arial, Verdana, Times; font-size: 10pt; } and by specifying

RE: Action to JSP

2004-01-09 Thread Wendy Smoak
There are a way to: When a click in a link in my jsp page, in address bar in my browser dont write the name of the action, and go direct to the jsp page (defined in action forward) ??? Most of us go to great lengths to prevent users from accessing the JSPs directly, including putting them

Re: Action to JSP

2004-01-09 Thread Vanessa Monteiro
Hi Mauricio can you send your caller jsp, the mapping and the action class? Vanessa [EMAIL PROTECTED] 09/01/2004 17:51:46 There are a way to: When a click in a link in my jsp page, in address bar in my browser dont write the name of the action, and go direct to the jsp page (defined in

Re: [OT] Question about CSS inheritance/cascading

2004-01-09 Thread David Erickson
Answered my own question... class=Blue BlueThinBorder =) -David - Original Message - From: David Erickson [EMAIL PROTECTED] To: Struts Mailing List [EMAIL PROTECTED] Sent: Friday, January 09, 2004 12:54 PM Subject: [OT] Question about CSS inheritance/cascading Hey I am using CSS like

TILES_PROCESSOR - couldn't deserialize - NullPointerException

2004-01-09 Thread Gopalakrishnan, Jayesh
hello all, I am running into these intermittent exceptions with Struts 1.1 on Linux with weblogic 8.1 server. The application works fine 95% of the time.but then this exception shows up is a show-stopper. We haven't been able to establish a pattern to this.. yet.

Re: Struts beginner

2004-01-09 Thread Vanessa Monteiro
My project is a little bit different but I do have all struts dependencies in it. I'm using WebLogic 8.1. I compiled another war and deployed it. When I ran the application I used a different web browser window and the action worked just fine. I believe the error message was cached by the

Re: Action to JSP

2004-01-09 Thread Geeta Ramani
The easiest way is perhaps to simply add a redirect=true in your action mapping. However, be aware that this will kill your request attributes (since your request object is no longer forwarded..) Regards, Geeta Mauricio T. Ferraz wrote: There are a way to: When a click in a link in my jsp

RE: Is it possible to nest Tiles layouts?

2004-01-09 Thread Anderson, James H [IT]
Sure. Suppose I create a Tiles definition with header, footer, menu, and body components. As it happens, many (but not all) of the body component overlays are not single tiles but a composition of multiple tiles. So, in many cases I want to be able to replace the body with multiple tiles (i.e.,

Action to JSP

2004-01-09 Thread Mauricio T. Ferraz
Thanks Smoak, but I have do execute a Action and go to a jsp page, but I dont want to show the name of the action in my address bar (htt://www.domain.com/someaction.do) I dont want this. When I execute the action I want to show the jsp, p.e. (htt://www.domain.com/mypage.jsp) thanks Message

Re: Action to JSP

2004-01-09 Thread Mauricio T. Ferraz
Sorry Vanessa, I didn´t undestand. I just want to execute the action e show the jsp, but in my address bar I want to show the jsp page not the action (action.do) []´s Hi Mauricio can you send your caller jsp, the mapping and the action class? Vanessa [EMAIL PROTECTED] 09/01/2004

RE: Action to JSP

2004-01-09 Thread Wendy Smoak
From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] I have do execute a Action and go to a jsp page, but I dont want to show the name of the action in my address bar (htt://www.domain.com/someaction.do) I dont want this. When I execute the action I want to show the jsp, p.e.

Re: Action to JSP - Works!!!

2004-01-09 Thread Mauricio T. Ferraz
Thanks People Works!!! Thanks Geeta for the solution []´s Mauricio - Original Message - From: Geeta Ramani [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, January 09, 2004 6:06 PM Subject: Re: Action to JSP The easiest way is perhaps to simply add a

Re: Action to JSP

2004-01-09 Thread Vanessa Monteiro
Guess there was a two sided misunderstanding ;) I'm new at struts but I don't think you can do that. What you can do is change your url-pattern to something like *.jspa and name you action with the same name as your jsp and the browser will show (ex.) index.jspa Vanessa [EMAIL PROTECTED]

Re: Action to JSP - Works!!!

2004-01-09 Thread Brice Ruth
be aware that this is not a good thing to do in general ... as you'll never be able to make use of the request scope for variables which *will* bite you at some point down the road. If someone doesn't like the *.do at the end of the action name, then you really need to address a solution other

RE: Is it possible to nest Tiles layouts?

2004-01-09 Thread List Mailbox
You can specify another definition as a put attribute for the content i.e definition name=doc.mainLayout path=/layouts/classicLayout.jsp put name=title value=Tiles Library Documentation / put name=header value=/common/header.jsp / put name=menu value=doc.menu.main / put name=footer

RE: Is it possible to nest Tiles layouts?

2004-01-09 Thread Anderson, James H [IT]
Thanks! -Original Message- From: List Mailbox [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 3:43 PM To: Struts Users Mailing List Subject: RE: Is it possible to nest Tiles layouts? You can specify another definition as a put attribute for the content i.e definition

Using ArrayList instead of String[] properties

2004-01-09 Thread Wendy Smoak
I have a String[] property in a DynaValidatorForm. It works fine with multiple checkboxes and accepts multiple selections. Now I need to do an advanced user interface, where the user can enter the information in text boxes and click 'Add'. Behind the scenes I need to populate that String[]

Re: Using ArrayList instead of String[] properties

2004-01-09 Thread Mark Lowe
I think your multibox needs to be index=true or be a checkbox with index=true. On 9 Jan 2004, at 21:46, Wendy Smoak wrote: I have a String[] property in a DynaValidatorForm. It works fine with multiple checkboxes and accepts multiple selections. Now I need to do an advanced user interface,

[OT] Java printf, fprintf and sprintf classes

2004-01-09 Thread Sean Radford
Hi, Anyone know of some (preferably open source) Java implementations of the good-old C functions printf, fprintf and sprintf? Regards, Sean -- Dr. Sean Radford, MBBS, MSc [EMAIL PROTECTED] http://bladesys.demon.co.uk/ - To

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

2004-01-09 Thread Caroline Jen
Robert, I followed your advices. Your code works very well. I have successfully inserted all the values of my bean properties into the database. Thank you very much. --- Robert Taylor [EMAIL PROTECTED] wrote: The same problem exists, you are calling getters on a ThreadBean instance which

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

2004-01-09 Thread Robert Taylor
Glad it worked for you. robert -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 5:12 PM To: Struts Users Mailing List Subject: RE: All The Bean Properties Are Null in the Business Tier!!! (Used BeanUtils to Convert DynaValidatorForm)

RE: Using ArrayList instead of String[] properties

2004-01-09 Thread Wendy Smoak
From: Mark Lowe [mailto:[EMAIL PROTECTED] I think your multibox needs to be index=true or be a checkbox with index=true. Thanks for the hint. It looks like it's indexed=true and only valid on checkbox (not multibox). But the docs say indexed can only be used inside a logic:iterate, and

RE: Using ArrayList instead of String[] properties

2004-01-09 Thread Wendy Smoak
From: Wendy Smoak Is it true that I must use logic-el:iterate instead of c:forEach, if I want indexed properties? Oh, it figures. Something else was wrong, and of COURSE I discovered it right after hitting send. Apparently you don't have to use logic-el:iterate with html-el:checkbox

Re: Using ArrayList instead of String[] properties

2004-01-09 Thread Michael McGrady
I would personally suggest that you rethink your design. If you want an advanced user interface that does that, then I would use a ListHandler implementation of a ListIterator interface that is so popular with the J2EE pattern people. The ListIterator interface is something like the

Re: Using ArrayList instead of String[] properties

2004-01-09 Thread Mark Lowe
Reckon that looks complex to me although i tend to use action forms not dynaaction forms. public class Account { private String name; private String number; private String description; ..bla bla } may as will use dynaactionform for this example as just an

expiring time

2004-01-09 Thread Otávio Augusto
How to I set the expiring time for a session (or the sessions)? Thanks in advance Otávio Augusto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: expiring time

2004-01-09 Thread Geeta Ramani
Otávio: To set session timeout to 60 minutes, add this to your web.xml: session-config session-timeout60/session-timeout /session-config Regards, Geeta Otávio Augusto wrote: How to I set the expiring time for a session (or the sessions)? Thanks in advance Otávio Augusto

Re: [OT] Java printf, fprintf and sprintf classes

2004-01-09 Thread Martin Gainty
Would be faster to have java call the original 'C' code Here is how.. http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/index.html Regards, -Martin - Original Message - From: Sean Radford [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 09, 2004 5:09 PM Subject:

Detecting PDF plugin on users browser

2004-01-09 Thread Prashanth.S
Hi all, I need to detect weather pdf plugin is installed on users browser or not??? I have used Accept header from request to get all the mime types but it is not giving application/pdf as one of mime types and its giving rest of mime types along with */* Than i used java script which creates

Re: expiring time

2004-01-09 Thread cnd
Or you can do it programatically: request.getSession().setMaxInactiveInterval(1200); Set timeout to 20 minutes. The parameter is defined in seconds. Chris On Fri, 9 Jan 2004, Geeta Ramani wrote: Otávio: To set session timeout to 60 minutes, add this to your web.xml: session-config

  1   2   >