Arguments

2003-03-27 Thread Joao Batistella
Hi! I have to convince my boss about using or not Struts in our next project. I really want to use but I have to explain the arguments. Anybody knows any document, presentation or anything else that can help me? Thanks, João Paulo.

RE: Arguments

2003-03-27 Thread Joao Batistella
There is a list of sites (somewhere) that us struts as the framework. You could show them those, some where quite impressive. Just search the archive for sites using struts. Cheers Simon - Original Message - From: Joao Batistella [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED

RE: New to Struts

2003-04-02 Thread Joao Batistella
I would like to use DynaForms. Do you have any tutorial or article about? Thanks, JP -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 2 de Abril de 2003 10:29 To: [EMAIL PROTECTED] Subject: RE: New to Struts I love DynaForms. But you don't _need_

RE: Tiles : menu tile

2003-07-10 Thread Joao Batistella
You must link your menu to a Tiles definition that include your body file. Regard's, João Paulo. -Original Message- From: Alessandro Braghieri [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 8:45 AM To: [EMAIL PROTECTED] Subject: Tiles : menu tile Hi all, I am using the 1.1

Thread Safe Action

2004-03-12 Thread Joao Batistella
Hello. I read that an Action in struts can be shared among another requests. This means that we shouldn't use class attributes in the logic that response a request? Thanks, JP

Switching from HTTPS to HTTP

2004-03-12 Thread Joao Batistella
Hello! In my application the login page uses HTTPS to send username and password to the server. But after that, if login operation succeed, I want to send the user to the main application page using HTTP protocol, not HTTPS. How can I switch? Thanks in advance, JP

RE: Switching from HTTPS to HTTP

2004-03-12 Thread Joao Batistella
SSLCACertificateFile /[apache home]/conf/ssl.crt/intermediate.ca /VirtualHost and requests containing /admin or /checkout will have https scheme forced those that are not wont. On 12 Mar 2004, at 13:59, Joao Batistella wrote: Hello! In my application the login page uses HTTPS to send username and password

RE: [OT] Your Message to struts-user@jakarta.apache.org is Blocke d

2004-03-12 Thread Joao Batistella
I'm getting also. And I don't got a virus... I hope :-) -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 12 de março de 2004 14:43 To: Struts Users Mailing List Subject: [OT] Your Message to [EMAIL PROTECTED] is Blocked Anyone else been getting these when

URL Rewriting

2004-03-12 Thread Joao Batistella
Hello! Why sometimes and I can see the the attribute jsessionid in the URL of my app and sometimes and I can't? Anybody know how to control this behaviour? Thanks, JP

Checking if user has a valida session

2004-03-12 Thread Joao Batistella
Hello. I have to check in my application if the user has a valid session in every page and, if not, redirect him to the login page. What is the best way of doing this? I see 3 options: 1. Put an include or tag in every page that checks this 2. Check this in my struts action 3. Use a servlet

Relative context

2004-03-12 Thread Joao Batistella
Hello. I have an image tag in my HTML and I need to put the SRC attribute in an absolut way. Example: IMG SRC=images/sair.gif border=0 onmouseover=this.src='images/sair-over.gif' onmousedown=this.src='images/sair-down.gif' onmouseout=this.src='images/sair.gif' This is a

Context relative URL

2004-03-15 Thread Joao Batistella
Hello! I have the following HTML img tag: html:img page=/images/inicial.gif border=0 onmouseover=this.src='/images/inicio-over.gif' onmousedown=this.src='/images/inicio-down.gif' onmouseout=this.src='/images/inicio.gif'/ The problem is that the page attribute is ok,

Does Tiles has performance?

2004-03-16 Thread Joao Batistella
Anybody can tell me if using Tiles in an application make it slower? is there a way to make this better? Thanks, JP

The browser cache JS resources?

2004-03-16 Thread Joao Batistella
Hello. I have a doubt. I'm thinking about including in all my pages the same javascrip file with the code: script language=Javascript1.1 src=js/staticJavascript.jsp//script This is because I want this file with all javascript code (or including code) in all pages, even the page doesn't make use

RE: Using tiles

2004-03-17 Thread Joao Batistella
You need to define the laytou of your pages? Did you define where Tiles should put title and content? If not, he can't compose your page. Take a look now in the path attribute. definition name=tiles.view path=myLayout.jsp put name=title value=PAGE TITLE/ put name=content

SSLEXT

2004-03-17 Thread Joao Batistella
Hello. I'm now using the SSLEXT for struts (following some advices frm the list). Now I have my login action protected by HTTPS, but I want the user, after login, being forward to the main page of the application using HTTP protocol. Is this possible? Or I can only change the protocol in

RE: SSLEXT

2004-03-17 Thread Joao Batistella
To: Struts Users Mailing List Subject: RE: SSLEXT Use the sslext:pageScheme secure=false/ on the main page. This should switch it back to HTTP. robert -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 9:58 AM To: 'Struts Users Mailing

RE: SSLEXT

2004-03-17 Thread Joao Batistella
mapping for the main page. set-property property=secure value=false/ robert -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 10:17 AM To: 'Struts Users Mailing List' Subject: RE: SSLEXT I can't. Because my main page

RE: SSLEXT

2004-03-17 Thread Joao Batistella
-Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 11:19 AM To: 'Struts Users Mailing List' Subject: RE: SSLEXT Thanks for your help. Let me just check. You mean, in LoginAction intead of forwarding to my tiles definition, forward to another

RE: SSLEXT

2004-03-17 Thread Joao Batistella
- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 11:51 AM To: 'Struts Users Mailing List' Subject: RE: SSLEXT Thanks again. But now I have this error message: java.lang.IllegalArgumentException: Path tiles.initial does not start with a / character

RE: SSLEXT

2004-03-17 Thread Joao Batistella
-Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 12:10 PM To: 'Struts Users Mailing List' Subject: RE: SSLEXT I've already tried. But this doesn't work... I don't understand why... It seems that I'll have to create a page just to change

RE: SSLEXT

2004-03-17 Thread Joao Batistella
I've already solved this. I just put redirect=true in the forward config and it's ok. Thank you all. -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 17 de março de 2004 18:51 To: 'Struts Users Mailing List' Subject: RE: SSLEXT It works! Thank you

Testing a GLOBAL_ERROR

2004-03-17 Thread Joao Batistella
I'm trying to test if I got an Global Error with the following code in my JSP: logic:present name=org.apache.struts.action.ERROR property=org.apache.struts.action.GLOBAL_ERROR test /logic:present Is this correct? This does not print the test and I'm sure I have a Global Error? Thanks

Way tho highlight error form field

2004-03-18 Thread Joao Batistella
Hello! Is there a way in Struts to highlight the HTML form field that has an error? I mean, changing the style class of the form field, for example. Is there some feature in Struts that can help me? Thanks, JP

RE: Way tho highlight error form field

2004-03-18 Thread Joao Batistella
[field].style.borderColor = #ff; } } } Then you can think about having your compulsary array populated in the same way as the struts validator client-side stuff. In fact you could use the array then it defines. On 18 Mar 2004, at 10:49, Joao Batistella wrote: Hello

An Action that only call a forward

2004-03-18 Thread Joao Batistella
Hello! I have a Global Forward like this: forward name=portal path=/login.jsp redirect=true/ All that I want is to declare an Action Mapping for that only forward the control to the global forward portal. I've tried this: action path=/portal forward=portal/ But it didn't work. Is

[Off-topic] How to invalidate a session when a context is destroy ed?

2004-03-18 Thread Joao Batistella
Hello. Sorry for the off topic question. I'm using Tomcat and all sessions that I have when the server is up are not destroyed when I shutdown te server. I implemented a ServletContextListener to register when the app is going down and a HttpSessionListener to see when a session is destroyed.

Server side Validation

2004-03-23 Thread Joao Batistella
Hello. I'm using the Validator framework to validate user input and I'm having some problems. I've configured my form validation in the correct file. The Javascript validation works fine but when I disable javascript validation to see the server side validation behavior, I have the error

Difference between ValidatorForm and ValidatorActionForm

2004-03-24 Thread Joao Batistella
Hello! I would like to know the difference between ValidatorForm and ValidatorActionForm. I read the API documentation but the descriptions are the same. When should I use each one? Thanks, JP

Struts validator Regular Expressions

2004-03-24 Thread Joao Batistella
Hello! Do you know any document where can I learn how to build regular expressions for Struts Validator? I need to validate an IP address and I don't know how is the syntax in the validator config file. Thanks, JP