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: 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

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

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: trhtml:file

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

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: message-resources parameter=com.company.resources.ApplicationResources null=false/ Meaning you should have a file in your source code folder

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

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: code-snippet ul html:messages id=message message=true lic:out value=${message} //li /html:messages /ul /code-snippet I am using Struts 1.1 so I don't have access to addMessages().

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 c:out tag anyway because when I look at what the browser gets I see ul /ul And not ul li /li /ul Anyway, I will get the struts source and step through the html:messages code,

Re: html:messages help

2005-07-12 Thread Ross Gibb
logic:messagesPresent message=true html:messages id=msg message=true header=message.header footer=message.footer lifont color=bluebean:write name=msg //font/li /html:messages /logic:messagesPresent Ross Gibb wrote: Hi, Thanks for the response, but no dice, still doesn't

Re: html:messages help

2005-07-12 Thread Ross Gibb
the forward action was executed, the messages saved in the request 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

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 me

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