Re: Storing data in session scope

2005-06-21 Thread Ross Gibb
Hi, To get stuff in the application scope at startup we extended org.apache.struts.action.Plugin and overrode the init method put what we want in the application scope. We then load the plugin in struts-config.xml. The plugin gets loaded when struts starts. Since no one else mentioned this

html:messages help

2005-07-12 Thread Ross Gibb
Hi, I am having trouble getting messages to display using the html:messages tag. I have tried to help myself and followed the struts docs but I can't seem to get this to work. The html:errors tag works fine. Here's what I am trying to do: I have an action that is trying to add a global me

Re: html:messages help

2005-07-12 Thread Ross Gibb
Hi, Thanks for the response, but no dice, still doesn't work. I changed the jsp to the following: I am using Struts 1.1 so I don't have access to addMessages(). Any other suggestions? Thanks, Ross Yan Hu wrote: if (!messages.isEmpty()) saveMessages(request, messa

Re: html:messages help

2005-07-12 Thread Ross Gibb
Hi, Thanks again but still not working. I tried as you suggested. I don't think it is a problem with the tag anyway because when I look at what the browser gets I see And not Anyway, I will get the struts source and step through the html:messages code, perhaps there is som

Re: html:messages help

2005-07-12 Thread Ross Gibb
es and errors: footer="message.footer"> Ross Gibb wrote: Hi, Thanks for the response, but no dice, still doesn't work. I changed the jsp to the following: I am using Struts 1.1 so I don't have access to addMess

Re: html:messages help

2005-07-12 Thread Ross Gibb
were lost, resulting in no error messages rendered in my jsp page. May this be your situation? Hope that helped. Cheers, Daniel Silva. On 7/12/05, Ross Gibb <[EMAIL PROTECTED]> wrote: This could be something. I do have the taglib definition but I am using the el version, so mine

Re: html:messages help

2005-07-12 Thread Ross Gibb
To answer my own question, in this case I was able to remove the redirect attribute and everything works. If I couldn't do that I would have had to stick the messages in the session. Thanks, Ross Ross Gibb wrote: Hi Daniel, Ah yes, that was exactly it, thanks. It may have taken

Re: Exception on deployment

2005-07-29 Thread Ross Gibb
Hi Chuck, Not really sure. However, in your struts-config.xml I assume you have an entry for your message resources. Something like: Meaning you should have a file in your source code folder called com/company/resources/ApplicationResources.properties. This file also needs to exist insi

Re: City Info

2005-08-03 Thread Ross Gibb
javabuddy, Check this link, http://struts.apache.org/mail.html, and read the Guidelines section. Ross javabuddy wrote: Can you provide the city details??? - Javabuddy People are conversing... without posting their email or filling

Re: question about Struts html tags and Javascript getElementById

2005-08-22 Thread Ross Gibb
According to the docs, http://struts.apache.org/userGuide/struts-html.html#file, the html:file tag will render and id tag with the attribute styleId. Also, when I use getElementById I just call it on the document. So what I think you are trying to do is so: styleId="uploadedFiles1" accept="

Re: Stress Load AJAX web application

2006-02-02 Thread Ross Gibb
Take a look at http://wtr.rubyforge.org/. I use it a little bit, might do what you want. Ross Stas Ostapenko wrote: Hi ! I have a Struts based web application where we using a lot of AJAX things. I want to test application under load - for example 100 concurrent users. Standard tools is not

Re: writing images from a database

2005-09-27 Thread Ross Gibb
I'm using DB2 with pictures stored as blobs. We have a system similar to what Wendy suggested. When the image is retrieved from the database it is sent to an image servlet that will cache the image. The browser then asks the image servlet for the image. The image servlet is also smart enoug

Implementing Wizards

2005-10-27 Thread Ross Gibb
I know this comes up from time to time and yes I have read the previous posts on implementing wizard like interfaces. As a result of previous posts I decided to give Struts Workflow Extension a shot, http://www.livinglogic.de/Struts/. I implemented a simple five screen wizard like interface f

Re: Session problem

2005-12-06 Thread Ross Gibb
What server are you using? Baker, Russ A wrote: Hello, I am trying to figure out how to stop Struts from creating a session. What seems to happen is that once I call an action, a session is created. This is a problem because when I want to gracefully shut down my server, it complains that I

Re: Session problem

2005-12-06 Thread Ross Gibb
Your second post seems to contradict your first post. The users are going to more mad at losing their session or the application entirely? Do you mean you want the sessions to persist through server restart? I have no idea if Weblogic supports that. A hacky solution off the top of my head w