Install Struts

2005-01-05 Thread Vijaya S
Hello, I downloaded the source version of the Struts software. How do I start the Struts application. Thanks, Vijaya - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts Jar file error

2005-01-05 Thread Vijaya S
Hi, I downloaded the struts source version. When I extracted the file, I got the following folder structure. --Jakarta-struts-1.2.4 --Contrib. --Struts-el --Lib --Webapps --Lib --Webapps Struts.jar file exist

RE: HTTP Status 404 - Servlet action is not available

2005-01-18 Thread Vijaya S
Look at the source code in our browser for your test1.abc jsp file. See what is the extension it has generated for the Action attribute of the form tag? The normal extension is "do" and in your case you have given as "abc". Vijaya -Original Message- From: Kalluru Uma. Maheswar [mailto:[EM

RE: url in address bar

2005-01-19 Thread Vijaya S
What is the tomcat version you are using. if it is 5.x then automatically all the applications under webapps context are created provided you followed the folder structure. If it is a earlier version, then you can manually add the context in server.xml located in \conf\ folder. Vijaya -Origina

Need guidance in the presentation layer

2005-02-11 Thread Vijaya S
Hi, I am having the problem of designing my main menu. My main menu (or at least I have designed like this) has two frames. left frame has all the options for the application. The options need to look like a tree structure where only the top level nodes are displayed. When the user clicks on a no

Play an audio file

2005-11-29 Thread Vijaya S
Hi, I have a situation where I need to open a file (File can be text, Audio/ or video). All kinds of text files are opening up okay(Image, PowerPoint, Word etc). If the file is an audio instead of opening the file using Windows Media Player, it is throwing up some junk. Can anyone help me how do I

RE: Returning ResultSet

2006-02-20 Thread Vijaya S
You have to copy the resultset to an arraylist and return the arraylist. Vijaya -Original Message- From: chuanjiang lo [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 6:22 PM To: user@struts.apache.org Subject: Returning ResultSet Hi guys, I have this DBConnectionManager cla

[OT - Tomcat] War file mismatch

2006-03-17 Thread Vijaya S
Hi, I have Tomcat 5.0.28 as the development version and the production version is 5.5. I created the war file using Net Beans IDE and somewhere it is hard coding the complete tomcat path (in my case it is c:\tomcat-5.0.28\...) and while deploying in the production version I get an error as 'c:\t

Message Resources error

2005-03-10 Thread Vijaya S
Hi, I am getting an exception error when I try to display error messages from my jsp file. The error I get is, 'Cannot find message resources under key org.apache.struts.action.MESSAGE'. What is this error mean? In my action, I have saveMessages(request, messages) where 'messages' is an object of

Struts Menu

2005-03-13 Thread Vijaya S
Hi, Has anyone successfully implemented Struts Menu in your application? I am getting an error as 'The displayer mapping for the specified MenuDisplayer does not exist'. I have done the following 1. In my struts-config I have included the plugin 2. I have placed my menu-config.xml under WEB-INF.

RE: Struts Menu

2005-03-14 Thread Vijaya S
https://workeffort.dev.java.net . It uses struts-menu. > > - Original Message - > From: "Vijaya S" <[EMAIL PROTECTED]> > To: "Struts User mailing List" > Subject: Struts Menu > Date: Mon, 14 Mar 2005 10:47:58 +0530 > >> >> Hi, >> &g

RE: Struts Menu

2005-03-18 Thread Vijaya S
re still having problems, check out the application > https://workeffort.dev.java.net . It uses struts-menu. > > - Original Message - > From: "Vijaya S" <[EMAIL PROTECTED]> > To: "Struts User mailing List" > Subject: Struts Menu > Date: Mo

RE: Any way to retrieve the index of html:select?

2005-05-08 Thread Vijaya S
You can create a bean using LabelValueBean in which the label will be male, female and the value will be 1, 2. In your jsp you do the following On submit, your form-property-name will have the values 1 or 2 depending on the selection. Vijaya -Original Message- From: news [mai

RE: Regarding All

2005-06-05 Thread Vijaya S
In your action, store the result set in a bean of request or session scope depending on your requirement. Use the bean in your jsp to display the results using tag. Vijaya -Original Message- From: raja buddha [mailto:[EMAIL PROTECTED] Sent: Sunday, June 05, 2005 9:38 AM To: user@struts.a

RE: Which button was pressed?

2005-07-26 Thread Vijaya S
I have many situations like this in my application. This is what I have done. Have a hidden field at the top of the form as 'btnpressed' and on onclick event of each of the buttons, set a unique value to the hidden field ("this.form.btnpressed.value='value1'"). In your action, check the value of th

DownloadAction Question

2005-08-02 Thread Vijaya S
Hi, I have the following code that works okay partially. I want the user to select an image (html:file property) and display the image (html:img) the user selected. This works fine for the first time when the user selects a file. But if I click on the 'Browse' (from html:file option)

RE: Please help! I have been looling at this problem for two days

2005-09-21 Thread Vijaya S
Hi, In your code "mailto:[EMAIL PROTECTED] Sent: Wednesday, September 21, 2005 5:06 AM To: Struts Users Mailing List Subject: Please help! I have been looling at this problem for two days Importance: High Hi, I have a class named UserLoginForm that extend ActionForm. I also have a UserL

RE: retaining multi select options with hidden fields

2005-09-23 Thread Vijaya S
If you use the same form bean for the second page and if you do not initialize the String[] property in your form bean reset method, the form bean values are available to the second page also. Vijaya -Original Message- From: Tim Dudgeon [mailto:[EMAIL PROTECTED] Sent: Friday, September 23

JSTL Error

2005-09-28 Thread Vijaya S
Hello, I am struggling with the JSTL error for the past two days. Can someone help me in this? In my JSP, I have the following code to populate bean array properties. Route Disp Err :

RE: prepopulating jsp page

2005-09-29 Thread Vijaya S
In your struts-config.xml, add a section Then in your action, if (form != null) { localvariable = (CreateClientForm)form } now you can build your form bean properties as localvariable.set metods. Vijaya -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: