Re:data in session affecting performance ?

2006-01-27 Thread starki78
Ciao, I was it who received the answer, well I didn't find this performance gap then the session object contained for a short time 1MB but I didn't test it in a distributed environment. A session-scoped Acion Form shouldn't harm the performance. I cannot immagine. Nice greetings --

[Shale] Error in remoting

2006-01-27 Thread hermod.opstvedt
Hi I have noticed the following errors in my Tomcat logs: java.lang.IllegalArgumentException: fr, 27 jan 2006 08:45:27 GMT at org.apache.coyote.tomcat5.CoyoteRequest.getDateHeader(CoyoteRequest.java:1887) at

Re: data in session affecting performance ?

2006-01-27 Thread David Delbecq
Hello, I think i read (probably on tomcat mailing list), that clustering should ensure (in specs) that a session is not spread across cluster (once session is started, user always speak with same jvm which started the session). Size of objects contained inside a session might however be a

Secure - Non Secure problem (http-https)

2006-01-27 Thread Dinesh Mehra
Hi, I have a shipping/billing page (secure page - https) in a shopping cart application. If there is any error then I am redirecting to home page that is non-secure(http). The problem is that after error in the secure pages its redirecting to home page but in the same secure https mode. Is

Re: Validation problems

2006-01-27 Thread Niall Pemberton
On 1/26/06, Daniel Kies [EMAIL PROTECTED] wrote: Hello. I am trying to do some standard validations, but I am failing. Any ideas why? I know the errors are getting raised as the request is forwarding back to the initial page making the request, but the error messages are not showing on the

RE: Refreshing a JSP from Action class

2006-01-27 Thread Vidya \(Suvarna\) Mahavadi
Hi Deepa, You can do it like this.. In Struts-config.xml.. action name=currentNotifForm path=/loadNotificationsAction scope=session type=pkg. LoadNotificationsAction/ action name=currentNotifForm path=/updateNotificationsAction scope=session type=pkg. UpdateNotificationsAction

Re: HttpServletRequest.getParameterNames()

2006-01-27 Thread Shadi Rifai
Hello Carl, you can work with the MultipartRequestWrapper. I hope you will reach your goal :-) Shadi Rifai [EMAIL PROTECTED] Software Technology Group Phone: ++49 (0) 6151-16-3608 Darmstadt University of Technology Fax:++49 (0)

RequestProcessor and multiples configuration files

2006-01-27 Thread Jérémie GARROT
Hello, I have a problem with my struts configuration file. I use a specific RequestProcessor class that extends RequestProcessor. but since I cut my struts configuration file in multiples files, it doesn't work anymore : the standard processor class is invoked instead of mine.

Validating a subset of the form element in validation.xml file

2006-01-27 Thread Yasser Al Masri
Hi, I have configured my form which contains 70 elements for validation using validation.xml file, and in many cases I needed to reuse the same exact definitions of the field's available within my form for validation of subsets of that form, e.g., I need to enable the user to fill in fields

[FRIDAY] You might be a pointy-haired-boss if ...

2006-01-27 Thread Ted Husted
... you think blogs are a breakfast treat. Engineer: I like to start each day with a cup of coffee and a couple of blogs. PHB: ... H ... A cream-filled blog would hit the spot ... -Ted. ** http://husted.com/ted/blog/ - To

Re: [FRIDAY] You might be a pointy-haired-boss if ...

2006-01-27 Thread Simon Chappell
Errr, depending on what sort of blogs you like to visit, that might just be possible! There's all sorts on the Internet you know! On 1/27/06, Ted Husted [EMAIL PROTECTED] wrote: ... you think blogs are a breakfast treat. Engineer: I like to start each day with a cup of coffee and a couple of

[ANN] Struts-Dev Forum Available

2006-01-27 Thread Ted Husted
If you'd like to peek on the Struts Developers list, and maybe even post a message, but don't want to actually subscribe to yet-another-list, then the OpenSymphony Struts Developers Forum may be for you. * http://forums.opensymphony.com/forum.jspa?forumID=34 Using this Jive forum, you can review

Re: [FRIDAY] You might be a pointy-haired-boss if ...

2006-01-27 Thread Emmanouil Batsis
... you want a clever reply to this thread yesterday. Ted Husted wrote: ... you think blogs are a breakfast treat. Engineer: I like to start each day with a cup of coffee and a couple of blogs. PHB: ... H ... A cream-filled blog would hit the spot ... -Ted. **

Re: [FRIDAY] You might be a pointy-haired-boss if ...

2006-01-27 Thread Dave Newton
Ted Husted wrote: ... you think blogs are a breakfast treat. They're not?! - Turn on task lamps at unoccupied desks when clients come in for a meeting so it looks like you have employees - Puts trash back on a cleaned-off shelf when a network technician comes in so it looks like... uh... you

RE: [FRIDAY] You might be a pointy-haired-boss if ...

2006-01-27 Thread David G. Friedman
- You used to use grep to change strings in a file... 'back in the day' (seriously, he thinks he did) sed 's/grep/sed/g' sed 's/back in the day/when we had punch cards/g' -D - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [FRIDAY] You might be a pointy-haired-boss if ...

2006-01-27 Thread Dave Newton
David G. Friedman wrote: - You used to use grep to change strings in a file... 'back in the day' (seriously, he thinks he did) sed 's/grep/sed/g' sed 's/back in the day/when we had punch cards/g' I tried to convince him it was sed (or possibly awk, but that's... unlikely) but he

RE: [FRIDAY] You might be a pointy-haired-boss if ...

2006-01-27 Thread [EMAIL PROTECTED]
. . . if you believe all the things that come out of your mouth. --- On Fri 01/27, Ted Husted [EMAIL PROTECTED] wrote: From: Ted Husted [mailto: [EMAIL PROTECTED] To: user@struts.apache.org Date: Fri, 27 Jan 2006 08:54:40 -0500 Subject: [FRIDAY] You might be a pointy-haired-boss if ...

RE: [FRIDAY] You might be a pointy-haired-boss if ...

2006-01-27 Thread [EMAIL PROTECTED]
. . . you want to know whether that feature is 90% done or 95% done. --- On Fri 01/27, Ted Husted [EMAIL PROTECTED] wrote: From: Ted Husted [mailto: [EMAIL PROTECTED] To: user@struts.apache.org Date: Fri, 27 Jan 2006 08:54:40 -0500 Subject: [FRIDAY] You might be a pointy-haired-boss if

Re: LDAP Authentication

2006-01-27 Thread Marcelo Morales
Helo On Jan 27, 2006, at 11:05 AM, Buntin, Seth - KATE wrote: First off, let me say that I am fairly new to Struts. I am pretty efficient with Coldfusion and thought I would expand my horizons with JSP and Struts. welcome Now that being said I have a question. I work for a University

Re: LDAP Authentication

2006-01-27 Thread Torgeir Veimo
On Fri, 2006-01-27 at 09:05 -0600, Buntin, Seth - KATE wrote: t off, let me say that I am fairly new to Struts. I am pretty efficient with Coldfusion and thought I would expand my horizons with JSP and Struts. Now that being said I have a question. I work for a University and most

Re: [shale] Some Clay oddities

2006-01-27 Thread Richard Wallace
Tried it. Same result. I'll file a bug report. [EMAIL PROTECTED] wrote: Hi Try and clean out your Tomcat work directory prior to restart after you have made your changes. Hermod -Original Message- From: Richard Wallace [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 12:14

Re: LDAP Authentication

2006-01-27 Thread Buntin, Seth - KATE
So if I am using JBoss I should look at the container (Tomcat) information on how to implement this through it? Seth Buntin

Re: data in session affecting performance ?

2006-01-27 Thread Frank W. Zammetti
On Fri, January 27, 2006 4:30 am, David Delbecq said: Hello, I think i read (probably on tomcat mailing list), that clustering should ensure (in specs) that a session is not spread across cluster (once session is started, user always speak with same jvm which started the session). That's

Re: Secure - Non Secure problem (http-https)

2006-01-27 Thread Dave Newton
Nick Sophinos wrote: Although there probably is, I am old-fashioned and implement that in a Servlet Filter. Even old-fashioned programmers can use a configuration file of some sort ;) One nice thing about sslext is that it's integrated into the struts config file, so there's one less place to

RE: Action Form error.

2006-01-27 Thread Garner, Shawn
action path=/sectorSetUp name=sectorForm Is sectorForm declared in the top of your struts-config file? Make sure the type is valid. form-bean name=sectorForm type=web.form.SectorForm / Also check that your JSP has htm:form action=/sectorSetUp.do... Shawn

RE: [HELP] Can't not get parameter when submit a form form metho d=POST enctype=multipart/form-data

2006-01-27 Thread Garner, Shawn
Put it in the session and then retrieve it from there. Shawn -Original Message- From: Pham Anh Tuan [mailto:[EMAIL PROTECTED] Sent: Thursday, January 26, 2006 9:43 PM To: Struts Users Mailing List Subject: Re: [HELP] Can't not get parameter when submit a form form method=POST

Re: LDAP Authentication

2006-01-27 Thread Marcelo Morales
On Jan 27, 2006, at 11:51 AM, Buntin, Seth - KATE wrote: So if I am using JBoss I should look at the container (Tomcat) information on how to implement this through it? Yes. The main references: http://java.sun.com/products/servlet/index.jsp

RE: Action Form error.

2006-01-27 Thread Garner, Shawn
I think there is a ConsoleAppender for log4j. Otherwise I believe you can do a System.out.println. Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 7:22 AM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: Re:

design question

2006-01-27 Thread fea jabi
For all the tables in the JSP, I am using displaytag. For each row in the table I created an Object. I am creating instances of this Object and making a List which is getting displayed in the JSP. I was told that instead of creating Object and creating instances, one can directly use the

Re: [shale] Tomahawk components

2006-01-27 Thread Richard Wallace
Ryan Wynn wrote: I would recommend that the ticket on shale bugzilla be closed in favor of the ticket on myfaces jira ticket http://issues.apache.org/jira/browse/MYFACES-806 because I think it was agreed that this file would reside inside tomahawk.jar instead of within shale. The concensus on

Re: [Shale] Error in remoting

2006-01-27 Thread Craig McClanahan
On 1/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I have noticed the following errors in my Tomcat logs: java.lang.IllegalArgumentException: fr, 27 jan 2006 08:45:27 GMT at org.apache.coyote.tomcat5.CoyoteRequest.getDateHeader( CoyoteRequest.java:1887) at

Re: [Shale] Error in remoting

2006-01-27 Thread Craig McClanahan
(Memo to self -- don't let your cat hit the Send button before you are done ... :-) On 1/27/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 1/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I have noticed the following errors in my Tomcat logs:

order in which filters are executed in web.xml

2006-01-27 Thread temp temp
I written two filters for my web application. One filter is to check whether session has userId called SecurityFilter.(This filter is applied to all *.do) Second filter to check if login user has access to a particular page called AccessControlFilter .(This filter only to some .do) in

Re: Validation problems

2006-01-27 Thread Daniel Kies
Niall: I took your recommendation and removed the action chaning from my struts config. I am still not seeing any error text. Here is my new action mapping: action path=/Search name=searchForm type= com.actions.SearchAction input=home.jsp validate=true

Re: order in which filters are executed in web.xml

2006-01-27 Thread Frank W. Zammetti
They are executed in the order they appear in web.xml, subject to the mapping rules (i.e., if you have 4 filters, filter 2 and 3 might be skipped for a given request depending on how they are mapped, but filter 1 and 4 will fire in that order, assuming they are listed 1, 2, 3, 4). So, in your

[shale] Images and css being rejected

2006-01-27 Thread Richard Wallace
I'm having a problem with pages loading images and css files. I turned up the debugging on log4j and when the css files and images are requested by the browser nothing is returned. I checked the logs and they're saying: 2006-01-27 10:31:20,241 54531 DEBUG [http-8080-Processor24]

Re: [shale] Tomahawk components

2006-01-27 Thread Gary VanMatre
From: Richard Wallace [EMAIL PROTECTED] Ryan Wynn wrote: I would recommend that the ticket on shale bugzilla be closed in favor of the ticket on myfaces jira ticket http://issues.apache.org/jira/browse/MYFACES-806 because I think it was agreed that this file would reside

Authentication problem

2006-01-27 Thread Luis Gervaso
Hello all, I need help about authentication problem The scenario is: When user login is necessary consult database to obtain user information in order to store this in the HttpSession I hope to integrate this with container based security in order to use getUserPrincipal, etc if we use

Re: [OT] Authentication problem

2006-01-27 Thread Marcelo Morales
Helo On Jan 27, 2006, at 2:44 PM, Luis Gervaso wrote: Hello all, I need help about authentication problem The scenario is: When user login is necessary consult database to obtain user information in order to store this in the HttpSession I hope to integrate this with container based

Re: Authentication problem

2006-01-27 Thread Prashanth.S
whats your appserver?? Iam working on a project using websphere app server and it has admin configurations wherein you can set websphere to authenticate using different authentication mechanisms[ex:Basic,Form,client-cert etc] aganist different user information repository[Ex:windows/solaris

using an action form if no input from page

2006-01-27 Thread [EMAIL PROTECTED]
My question concerns jsp pages that provide a read only view of data. In other words, there won't be a form submitted from the page. Is there a compelling reason to use an action form in these cases. I've just been using tags such as c:out with my own beans put in scope. I've noticed

Re: Authentication problem

2006-01-27 Thread Luis Gervaso
Hello again, Mi purpose is establish this in order to call ejb in jboss from tomcat For user authentication i need user + password + country user and password come from de login page and country form de last from www.google (.es | us | fr ) and so (http header host) gracias :)

Re: using an action form if no input from page

2006-01-27 Thread Michael Jouravlev
Struts best practices suggest that an action handles a request (with or without input data), while a JSP page is simply a data-aware HTML. Look at it this way: by calling an action instead of calling JSP directly you are asking for a resource to render itself according to its current state. If you

Re: using an action form if no input from page

2006-01-27 Thread Craig McClanahan
On 1/27/06, Michael Jouravlev [EMAIL PROTECTED] wrote: Struts best practices suggest that an action handles a request (with or without input data), while a JSP page is simply a data-aware HTML. Look at it this way: by calling an action instead of calling JSP directly you are asking for a

Re: using an action form if no input from page

2006-01-27 Thread Hubert Rabago
If the request being submitted doesn't include form values, I'd say skip the ActionForm. Hubert On 1/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: My question concerns jsp pages that provide a read only view of data. In other words, there won't be a form submitted from the page. Is

forward using RequestDispatcher

2006-01-27 Thread temp temp
I using ServletFilter to check whether the user is authenticated or has permissions to access resource. In case of not authenticated or not authorized I must redirect user to some page (Error Page ) . For this I must use RequestDispatcher to forward him to error page. If I do this I

Authentication crisis

2006-01-27 Thread Luis Gervaso
Hello I need how to put subject information returned of lc.login() in webapp context int order to invoke getUserPrincipal and not retur null LoginServlet.java protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { String username =

insert dynamic jsp codes in Tiles

2006-01-27 Thread kai
Hi, I need to insert some dynamic jsp codes into my pages using tiles with Struts 1.2.4. The following examples don't seem to insert really dynamic jsp. It's for illustration purpose. tiles-defs.xml: in my jsp page, using tiles:insert or tiles:getAsString doesn't work as an exception occurs. It

insert dynamic jsp codes in Tiles

2006-01-27 Thread Kai Mai
Hi, Sorry, my previous posting was messed up by Roomity. I need to insert some dynamic jsp codes into my pages using tiles with Struts 1.2.4. The following examples don't seem to insert really dynamic jsp. It's for illustration purpose. tiles-defs.xml: definition extends=logindefault

Re: data in session affecting performance ?

2006-01-27 Thread Frank W. Zammetti
Yes, that would be my advice. Further, I would try and architect your solutions in such a way as to not even require session as much as that is possible. Clearly it won't always be, but every little bit helps :) Frank Lixin Chu wrote: thank you very much - my memory is not too rusty then

Re: One Pass JSP Parsing Woes! - how to generate Dynamic JSP and enforce those tags get parsed/translated?

2006-01-27 Thread Raghu Kanchustambham
Hi, I solved the problem by playing the container. I called the tag functions that the container would have called in the same sequence. This surely is a hack, but works for me right now. If you guys have a better way to solve this issue, I would be glad to hear it. Regards, Raghu On 1/25/06,

Exception Handling in struts - Sitemesh messes it up! :(

2006-01-27 Thread Raghu Kanchustambham
Hi, Before I introduced Sitemesh into my ecosystem, I used to handle exceptions in a declarative fashion in the struts-config.xml. For example, an entry in struts-config.xml like: exception type=org.hibernate.exception.GenericJDBCException key=exceptions.database path=/Exceptions.jsp/ would

Form pre-fill issue

2006-01-27 Thread Karthik Manimaran
Hi, Form data is not getting pre-filled on submission. Can anyone tell me the reason? JSP - included from def.jsp - %@ page language=java % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % html:form