Re: Accessing query string parameter

2003-03-28 Thread julian green
Try this String productName = request.getParameter("reportType"); Julian Pat Young wrote: I need to be able to access a parameter from a query string. My url looks like... http://localhost:8080/myApp/reports/summaryReport.jsp?reportType=print I need to be able to access the reportType parame

Form property values

2003-03-27 Thread julian green
I want to be able to do this: ... but without specifying the form name. Is this possible? Julian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTML Tags proposal

2003-03-21 Thread julian green
how about this?? " flush="true" /> Julian Jeff Smith wrote: I have been following the thread on Country Selection Pull-down and it addresses an issue that has bothered me as well - how do we create localizable forms from bean data? The suggestion of putting localized versions of the various fiel

Re: switching from non SSL to SSL in struts..

2003-03-11 Thread julian green
Tiz the url that the browser requests. http or https usually: http is on port 80 https is on port 443 julian James wrote: I've got my SSL connector configured in tomcat.. what i want to know is what do i need to do to change to secure page from non secure pages in struts... an example of this w

Re: How do you keep your session junk free?

2003-03-07 Thread julian green
It would be neat if you could group a bunch of action definitions together and have the form bean persist while the group remianed active. Julian David Graham wrote: Explain how some other approach handles it in any better way? Use of token to prevent duplicate submissions works for me. And wha

How do you keep your session junk free?

2003-03-07 Thread julian green
How do you prevent the session from filling up with junk from previous screens? Or to put it another way: I have written some screens that have to store the form bean in the session scope as each screen is interconnected and uses the same instance of the form bean. If I change the scope to r

Re: How do you display action error messages in jsp?

2003-02-28 Thread julian green
. -- James Mitchell Web Developer/Struts Evangelist -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 9:53 AM To: Struts Users Mailing List Subject: Re: How do you display action error messages in jsp? julian green wrote: Done all of your

Re: How do you display action error messages in jsp?

2003-02-28 Thread julian green
Forward("fail"); } return mapping.findForward("success"); } and here is a snippet from struts-config.xml ... and finally I have in error.jsp which renders nothing. Still confused Julian Gemes Tibor wrote: julian green

How do you display action error messages in jsp?

2003-02-28 Thread julian green
I have a jsp page that is being pre-populated by the action, the action is writing values directly into the form bean. But I also want to display error messages generated by the action. I am doing a: saveErrors(request, errors); return mapping.findForward("success"); at the end

Re: Simple question

2003-02-12 Thread julian green
Sorry, from within a jsp. Julian David Graham wrote: From where? David From: julian green <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Simple question Date: Wed, 12

Simple question

2003-02-12 Thread julian green
Is there a nifty way of accessing attributes of the form bean? Julian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Automatic refresh - IS THIS POSSIBLE?

2003-01-31 Thread julian green
Read this message with you eyes shut and wearing dark glasses. Ooops did you intend the list to have your credit card details? Jagdish Arora wrote: Visa: --x Exp. Date: 10/2005 Can you send the code please? - Original Message - From: "Mark Galbreath" <[EMAIL PROTECTED]> To

Re: To check if user is logged in

2003-01-22 Thread julian green
have a look at the struts example that comes with struts. It has an example of what you are doing in there. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: perform method deprecated??

2003-01-22 Thread julian green
Andrew Hill wrote: Your upgrading from 1.02 Yes, and until the next non beta release is made that is where I will be staying. Just wanted to know what I am in for when I upgrade. In 1.1 you use the execute() method. Thankyou. Julian -Original Message- From: julian green

perform method deprecated??

2003-01-22 Thread julian green
Ive downloaded struts 1.1b3 and im being told that all the perform methods I developed are deprecated. What is the new method? Ive got alot of code to refactor. Julian -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Where are stdout in Tomcat/4.1.18

2003-01-22 Thread julian green
have you tried logs/catalina.out? Julian Softwareentwicklung Hauschel wrote: Hey all, i want to understand what my Action do. So i want to add the new java Logger. It doesn't work ! Now i want to find the bug with System.out's. In older Versions of Tomcat stdout was the tomcat console, but whe

Re: Struts-blank (1.1b3) error "Missing message for key welcome.title "

2003-01-20 Thread julian green
Eclipse zaps everything in your classes folder when you rebiuld the project. If you have your properties file in the classes folder it gets zapped. Is that what is happening? Julian Brown, Melonie S. - Contractor wrote: I downloaded struts 1.1b3 and expanded the struts-blank.war file in Tom

html:text tags are slightly broken.

2003-01-15 Thread julian green
The html generated by the html:text tag is html compliant, but not XML compliant. It is missing a closing . This does not pose a problem if the output of the jsp is rendered by a browser, but I am using XSLT to decorate the page before the browser sees it. This tag therefore generates XML er