Re: [again] how to disable browser's back button after logout ?

2006-06-25 Thread Paul Benedict
Lixin, you have your needs reversed: you need those directives on every page that's secure. The pages your users see only when they log in should not be written to the browser's cache; the log out page is benign. -- Paul Lixin Chu [EMAIL PROTECTED] wrote: this may be posted before though i can

address book

2006-06-25 Thread Hillel
Dear Struts Gurus, We are looking for an open source address book that we can integrate into our application. Our application uses Jboss 4.x, Mysql and part of it uses Hibernate and runs Linux. Thanks - To unsubscribe,

Re: address book

2006-06-25 Thread Martin Gainty
If your goal is to have a client request data from an AddressBook Published service (where service provides the WSDL) I would suggest implementing the AddressBook sample from AXIS

Unable to Load html-el Tags

2006-06-25 Thread Caroline Jen
Hello, I downloaded the struts-html-el-1.2.8.tld and dropped it in my Elipse workspace under the WebContent/WEB-INF/tld directory where other struts-html.tld, struts-logic.tld, etc. are. In my JSP, I have %@ taglib uri=http://struts.apache.org/tags-html-el; prefix=html-el% where

Re: Unable to Load html-el Tags

2006-06-25 Thread Wendy Smoak
On 6/25/06, Caroline Jen [EMAIL PROTECTED] wrote: I think that I should find the JAR for loading the html-el tags, and put the JAR in the WEB_INF\lib directory. Where can I find the JAR for the html-el tags? From memory, look under the 'contrib' directory in your Struts distribution. (And

Possible to programmatically create and use tags?

2006-06-25 Thread Bob Carpenter
Hi, Is it possible to programmatically create HTML blocks that include struts tags and include them in a JSP? Here's a simple example which fails to produce the text field defined by the html:text tag: %@ page language=java errorPage=ErrorPage.jsp contentType=text/html % %@ taglib

Re: Possible to programmatically create and use tags?

2006-06-25 Thread Paul Benedict
No, that is not possible. This is not a limitation of Struts, but because of the way JSP is constructed. JSP Engines scan the swiping % % as real code, and invoking JSP tags -- the rest is simply out.println() statements. You cannot do what your saying because the JSP Engine would have to

Re: [again] how to disable browser's back button after logout ?

2006-06-25 Thread Lixin Chu
I see. thanks so much. was really confused. On 6/25/06, Paul Benedict [EMAIL PROTECTED] wrote: Lixin, you have your needs reversed: you need those directives on every page that's secure. The pages your users see only when they log in should not be written to the browser's cache; the log out

Re: [again] how to disable browser's back button after logout ?

2006-06-25 Thread Lixin Chu
is there a clearner way of doing this if I want to protect every page except the login/out ?

Re: [again] how to disable browser's back button after logout ?

2006-06-25 Thread Wendy Smoak
On 6/25/06, Lixin Chu [EMAIL PROTECTED] wrote: is there a clearner way of doing this if I want to protect every page except the login/out ? What about the 'nocache' attribute of controller in struts-config.xml? I haven't used it, just had occasion to be reading the DTD the other day... :)

Re: [again] how to disable browser's back button after logout ?

2006-06-25 Thread Paul Benedict
Wendy, is the link to the live dtd on the site? i think it should be a first-level item on the Struts site, or at least in Action 1. Looking at DTD's online is very valuable and something I need often. Wendy Smoak [EMAIL PROTECTED] wrote: On 6/25/06, Lixin Chu wrote: is there a clearner way

Re: [again] how to disable browser's back button after logout ?

2006-06-25 Thread Paul Benedict
You can also write yourself a Servlet Filter. You could say for all pages under /directoryofyourchoosing/*, add these elements. Lixin Chu [EMAIL PROTECTED] wrote: this may be posted before though i can not find any in the archive: how to make sure that browser's back button will bring back

Re: [again] how to disable browser's back button after logout ?

2006-06-25 Thread Wendy Smoak
On 6/25/06, Paul Benedict [EMAIL PROTECTED] wrote: Wendy, is the link to the live dtd on the site? i think it should be a first-level item on the Struts site, or at least in Action 1. Looking at DTD's online is very valuable and something I need often. It's linked from Section 4.8 at the

Re: Struts 1.3.x snapshot is not available

2006-06-25 Thread James Mitchell
Thanks Wendy, I'm sorting through hardware issues and hopefully I'll make some more headway on this by the end of the week. -- James Mitchell On Jun 23, 2006, at 6:04 AM, Wendy Smoak wrote: On 6/22/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 6/22/06, Michael Jouravlev [EMAIL PROTECTED]

RE: [again] how to disable browser's back button after logout ?

2006-06-25 Thread Mukta
If you can use javascript, just add following code to all your pages. Whenever anyone will click browser back on any page, that page itself will get reloaded rather than going back to the previous page. SCRIPT LANGUAGE=JavaScript !--

Re: [again] how to disable browser's back button after logout ?

2006-06-25 Thread Lixin Chu
yes, it works. thanks. this should be the simplest way of supporting this. On 6/26/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 6/25/06, Lixin Chu [EMAIL PROTECTED] wrote: is there a clearner way of doing this if I want to protect every page except the login/out ? What about the 'nocache'