Re: FormFile getPath() ?

2006-10-02 Thread Laurent Duparchy
Hi, thanks but the reply but I think it does exactly what I want to avoid (and what I'm currenlty doing) : Create a second temp file by reading the inputsream into a new FileOutputStream. I'm looking into the possibility to get the filepath (when exist) of the FormFile, not the inpustream.

Calling an action from the view (from JSP)

2006-10-02 Thread Alex Shneyderman
I have a view that has a few different losely related subviews. I have actions that can generate each subview independently. I also have a view where few of those little subviews are bunched together. And sometimes, I would need to display several sub-views while displaying the form to edit data f

Re: Calling an action from the view (from JSP)

2006-10-02 Thread Antonio Petrelli
Alex Shneyderman ha scritto: I have a view that has a few different losely related subviews. It seems that's a job for Tiles: http://struts.apache.org/1.x/struts-tiles/index.html (for Struts-Tiles) http://struts.apache.org/struts-sandbox/tiles/index.html (for Tiles 2) I have actions that can g

Re: cannot get parameter value in action class passed using html:link

2006-10-02 Thread Antonio Petrelli
Vinod Kumar ha scritto: this is the way I try to get value in aciton class System.out.println("PRINT VALUE = "+request.getParameter( "print" )); Sometime, the printable link looks like http://localhost:81/myapp/setup.do;jsessionid=xrlq86pj71?print=YES even if i trim it to http://localhost:81/o

RE: cannot get parameter value in action class passed using html:link

2006-10-02 Thread David Pinho (Hexadecimal)
The fact that you have myapp on the first link and orion on the second, is intencional right? Obrigado, David Pinho DAN/DIS -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 2 de Outubro de 2006 11:14 To: Struts Users Mailing List Subject: Re: can

Iterating over Hashtable in jsp - wrong sort order

2006-10-02 Thread Andreas . Hartmann
Hello! I've got a Hashtable Hashtable > mytable; The keys of this Hashtables are Integers, which are added in ascending order. In the jsp, I'm doing the following: The keys are now listed in descending order - but I need ascending order. How can I change this behaviour? Thanks for any hi

Re: Calling an action from the view (from JSP)

2006-10-02 Thread Antonio Petrelli
[EMAIL PROTECTED] ha scritto: Hello! I've got a Hashtable Hashtable > mytable; Hashtable does not guarantee anything about order! The keys are now listed in descending order Really? I think it's a lucky behaviour! - but I need ascending order. How can I change this behaviour?

Re: Iterating over Hashtable in jsp - wrong sort order

2006-10-02 Thread Andreas . Hartmann
Hello Antonio, thanks for your hint! Kind regards, Andreas Hartmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JspException: null in doStartTag() of form tag

2006-10-02 Thread Jennifer Jacobs
Hello, I've created struts forms before with no problems, and have been working with them for over a year, and I'm suddenly having a horrible time creating a small test form, and I have no idea what I'm missing. The error that I'm getting is completely unhelpful: javax.servlet.jsp.JspException:

RE: JspException: null in doStartTag() of form tag

2006-10-02 Thread David Pinho (Hexadecimal)
Hi Jennifer, You can try to put a log4j.properties with something like: log4j.rootCategory=DEBUG, console log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.layout=org.apache.log4j.PatternLayout log4j.appender.console.layout.ConversionPattern=%d - %5p [%t] (%l) - %m%n

Re: cannot get parameter value in action class passed using html:link

2006-10-02 Thread Vinod Kumar
Hi Antonio, When I Printed getQueryString in the action class using the below stmt System.out.println("request.getQueryString() = "+request.getQueryString()); Result was request.getQueryString() = print=1 So it means, Query string has print parameter but request.getParameter("print") is return

RE: cannot get parameter value in action class passed using html:link

2006-10-02 Thread Vinod Kumar
yes,,its intentional. --- "David Pinho (Hexadecimal)" <[EMAIL PROTECTED]> wrote: > The fact that you have myapp on the first link and > orion on the second, > is intencional right? > > Obrigado, > > David Pinho > DAN/DIS > > -Original Message- > From: Antonio Petrelli [mailto:[EMAIL P

RE: JspException: null in doStartTag() of form tag

2006-10-02 Thread Samere, Adam J
Can you post the stack trace from your application log along with the version of struts you are using and the class ContactUsTestForm inherits from? Adam -Original Message- From: Jennifer Jacobs [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 1:44 PM To: user@struts.apache.org

RE: JspException: null in doStartTag() of form tag

2006-10-02 Thread Jennifer Jacobs
David, Thanks so much! You wouldn't believe it, but I already HAD log4j in there and totally missed the error message that was causing me problems. Your response made me recheck it, though, and I caught it - my local engine couldn't connect to the location I had for my dtd file in my web.xml.

utf-8 a strange problem

2006-10-02 Thread Nathan Coast
Hi, utf-8 seems to be working fine in my apps for internationalised messages, unfortunately it seems to break whenever I use In other words, if I'm attempting to render 'Aşterge' from a resource bundle using a property of a bean and I attempt to render it using Interestingly, if I set How

how to avoid action chaining

2006-10-02 Thread Lixin Chu
hi, I am hearing that action chaining is something we should avoid, however, I am not sure what's the common practice for this use case: given User and Department, we need to list User/Department, view User/Department; when listing User, we also show their department. When listing Users, we may

Re: cannot get parameter value in action class passed using html:link

2006-10-02 Thread Antonio Petrelli
Vinod Kumar ha scritto: Hi Antonio, When I Printed getQueryString in the action class using the below stmt System.out.println("request.getQueryString() = "+request.getQueryString()); Result was request.getQueryString() = print=1 So it means, Query string has print parameter but request.getP