RE: [ANNOUNCE] Struts Console v0.2

2001-09-14 Thread markus.colombo
Good Job, if you put: SET CONSOLE_HOME=../ into the console.bat, the path does not need to be explicitly specified in the batch file. Regards Markus -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Freitag, 14. September 2001 05:04 To: [EMAIL PROTECTED] Subject:

AW: AW: Bug in Struts validator !

2001-09-14 Thread juraj Lenharcik
no problem ;-) -Ursprüngliche Nachricht- Von: David Winterfeldt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 13. September 2001 17:58 An: [EMAIL PROTECTED] Betreff: Re: AW: Bug in Struts validator ! My bad. I'm blind. I'll fix it and check it into CVS. David --- juraj Lenharcik

Using indexes in tags

2001-09-14 Thread Sean Gollschewsky
Hi all, I'm relatively new to struts, but I've managed to get a simple application going. I am passing an 'index' request parameter to a simple jsp H3 View a Task /H3BR bean:parameter id=index name=index/ % int ind = Integer.parseInt(request.getParameter(index)); %

Re: [ANNOUNCE] Struts Console

2001-09-14 Thread Jishan Li
Hi, James! It is fine. I have a suggestion, it would be nice if you can make it sort the actions. Because the actions may be a good many, to find an action in a disorder list is difficult. :) Regards. Jishan. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Image Handling through Struts.

2001-09-14 Thread Balasubrahmanyam Pasumarthy
Hi Everybody, I've got an application, using struts, which has the following requirement: It needs to upload an a image file from the user and should display on the same page. One constraint is it should not store the file in servers directory temporarily. Of course it can be store in any

PropertyMessageResources Err

2001-09-14 Thread Parag Sagar
HI all, I am getting PropertyMessageResources error. can anybody tell me why it is happening i m using Tomcat 3.2.3 struts 1.0 without any patch. Thanks in advance, Parag. Error: 500 Location: /LSPDev/jsp/index.jsp Internal Servlet Error: javax.servlet.ServletException:

Implement menu into Struts ( Newbie question )

2001-09-14 Thread Claudio Parnenzini
Hi all, I would like to know how is the best way to implement a standard menu wrote in Javascript with Struts. My web application have a top frame that contains my menu, when you click on to an item, I would like to call a jsp page ( Targeted into the body frame ) that display data from a DB.

ActionForm question

2001-09-14 Thread Filippo Fratoni
Title: ActionForm question I'm used to work with struts end to handle form's field value I usually build an ActionForm with the corrisponding getters and setters.. But this time I have a form to wich the user can add new fields on line, for example.. [xxx] [yy] [+] - - - - - - - - - -

AW: Implement menu into Struts ( Newbie question )

2001-09-14 Thread juraj Lenharcik
hi claudio, i think it is of course the best way to do it with your ActionBean. it exists a struts based taglib collection named struts light http://struts.application-servers.com/ . theres a menu implemented in struts and jsp. i think it is exactly tat, what you need. i tried the menu some time

Re: AW: Implement menu into Struts ( Newbie question )

2001-09-14 Thread Claudio Parnenzini
Thanks, I will have a look. Regards Original Message On 9/14/01, 1:59:14 PM, juraj Lenharcik [EMAIL PROTECTED] wrote regarding AW: Implement menu into Struts ( Newbie question ): hi claudio, i think it is of course the best way to do it with your ActionBean. it exists a struts based

multiple html:image tags how to differentiate?

2001-09-14 Thread Dirk Jaeckel
Hi! What are the names of the Methods in the ActionForm that are called if I have more than one html:image in my form. I know that setX() and setY() are called if I set the property of the html:image-tag to . But how can I detect which button was hit? Example: html:form action=/map

Pro-Active Response For Our Nations Youth

2001-09-14 Thread customerservice
Dear Educator, Columbine (Littleton, CO)Jonesboro, ARWest Paducah, KYPearl, MS... Immediately, you know why these places are linked together. The names of these schools are forever burned into our memories and the national conscience... Are you concerned about the rising number of

Re: [ANNOUNCE] Struts Console

2001-09-14 Thread James Holmes
Good morning Jishan. Great suggestion. In fact, I am working on this functionality today and this weekend. Hopefully I will have a new release out Monday or sooner with this in it. Stay tuned. Thanks, -james --- Jishan Li [EMAIL PROTECTED] wrote: Hi, James! It is fine. I have a

AW: [ANNOUNCE] Struts Console

2001-09-14 Thread D. Veniseleas
Hi, nice tool. but some questions: 1. the struts-GUI, how does it get the meta-information about my personal mystruts-myconfig.xml? If I extend the basic Struts-classes and make my own struts-config-file, with more kinds of parameters, then this GUI would be a help? Or would I have to extend

multibox and reset()

2001-09-14 Thread Dirk Jaeckel
Hi! I am having trouble resetting a StringArray that is connected to a html:multibox-tag. HTML-Example: html:form action=/map method=GET html:multibox value=parking property=layer/ html:multibox value=petrol property=layer/ html:image property=layers

Re: AW: [ANNOUNCE] Struts Console

2001-09-14 Thread James Holmes
The Struts Console currently only works with the standard Struts distribution code and the struts-config_1_0.dtd. You are correct in assuming that it will not work if you make your own DTD and add your own tags. I would have to think this scenario is rare, but I have been wrong in the past. I

Re: html:img question

2001-09-14 Thread Erik Hatcher
I've subclassed the ImgTag from Struts and created my own custom tag for doing this kind of thing. I gave some code examples of it in a past message to this list that you could find in the archives. Erik - Original Message - From: Thierry Cools [EMAIL PROTECTED] To: [EMAIL

Re: html:img question

2001-09-14 Thread Erik Hatcher
I've subclassed the ImgTag from Struts and created my own custom tag for doing this kind of thing. I gave some code examples of it in a past message to this list that you could find in the archives. Erik - Original Message - From: Thierry Cools [EMAIL PROTECTED] To: [EMAIL

Struts ok in VAJ but not working in WAS 3.5.4

2001-09-14 Thread Henry Tong
Hello: please can somebody tell me how to make a struts application work in Websphere Application Server 3.5.4? I created a web application with Struts in VAJ 3.5.3, and it works fine there with Websphere Test Environmet... so now I want to move it to production (WAS) but all I

Re: [ANNOUNCE] Struts Console

2001-09-14 Thread Ted Husted
James Holmes wrote: Maybe the tool will be of more use to you when I add some more functionality. Ideally I'd like to have wizards for common tasks. For instance a Wizard to create a new form bean class from a JSP, etc. Perhaps you could join this idea with the Struts CodeMaker. Ravi has

RE: Struts ok in VAJ but not working in WAS 3.5.4

2001-09-14 Thread Adam Smith
It looks like the following page might address your problem: http://jakarta.apache.org/struts/installation-was352-x.html -Original Message-From: Henry Tong [mailto:[EMAIL PROTECTED]]Sent: Friday, September 14, 2001 10:24 AMTo: [EMAIL PROTECTED]Subject: Struts ok in VAJ

Hello..

2001-09-14 Thread Rathikindi, Venkata
Hi Marcel, This is Venkat,I got you mail id from the Struts user subscription. I need some help regarding startus tutorials. I just started working on Struts framework.I a trying to find out a tutorial for this frame work.I couldn't find it out. If you have any idea could you plese help me

RE: Struts ok in VAJ but not working in WAS 3.5.4

2001-09-14 Thread Partovi, Fari STASCO-OTO/72
also have a look at this http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocumentSubMast= 1 Fari Partovi -- From: Adam Smith[SMTP:[EMAIL PROTECTED]] Sent: 14 September 2001 16:09 To: [EMAIL PROTECTED] Subject: RE: Struts ok in VAJ but not working

Re: [ANNOUNCE] Struts Console

2001-09-14 Thread James Holmes
I plan to use existing code/technology such as CodeMaker to implement the wizard type functionality. I have started to venture down these paths yet as I am working on trying to get what I would consider core functionality working. I would very much like to see a wizard that uses CodeMaker and

logic:iterator Class cast exception

2001-09-14 Thread Claudio Parnenzini
Hi all, I'm trying to iterate a Vector into a JSP page and I have an Class cast exception. My vector contains an Hashtable that contains String object. Here my ActionBean code for the iteration: while(rs.next()) { Hashtable table = new Hashtable();

HTTP Reply Already Emitted - File Upload - ActionServlet - Exception Handling

2001-09-14 Thread Ricky Frank
I am having a problem with the FileUpload provided with Struts. You can set a maximum size for the file being uploaded. The problem occurs when the FileUpload process reaches the maximum file size. A ServletException is thrown stating that the max size limit has been reached (and the upload

Re: html:img question

2001-09-14 Thread Peter Pilgrim
Agreed I had a similar problem with bean:write tag and looked at the source code for WriteTag. It turns out that I could write a simple custom action tags to handle DateFormat and NumberFormat of java.util.Date and java.lang.Number objects. I think they call it Helper View objects in that

Re: [ANNOUNCE] Struts Console

2001-09-14 Thread Ted Husted
James Holmes wrote: Any ideas on what might be added/changed in the Struts 1.1 DTD? After having spent much time working with the DTD now I can see there are some changes that would be nice. There's nothing specific on the list now http://jakarta.apache.org/struts/todo-1.1.html (and this

Re: Hello..

2001-09-14 Thread Ted Husted
http://husted.com/about/struts/resources.htm#tutorials Rathikindi, Venkata wrote: Hi Marcel, This is Venkat,I got you mail id from the Struts user subscription. I need some help regarding startus tutorials. I just started working on Struts framework.I a trying to find out a tutorial for

Re: [ANNOUNCE] Struts Console

2001-09-14 Thread Rakesh
Hi James, Here is my struts-config and this is the mismatch I was talking 'bout yesterday. In Action mappings, choose 1. /AddUserForm : form bean name is set to AddUserForm 2. /changePassword : form bean name remains at AddUserForm Regards, Rakesh ?xml version=1.0

Error parsing struts-config.xml

2001-09-14 Thread lan vo
Hello All, I am new to struts, and I am trying to setup the framework in JBuilder5 with a simple login test. I have my struts-config in the WEB-INF directory. Here is my struts-config xml file. Please give my some hints. Thank you so much, Lan Vo. struts-config form-beans form-bean

Re: Error parsing struts-config.xml

2001-09-14 Thread James Holmes
This is most likely happening because you don't have a DOCTYPE specified in your config file. This is necessary because Struts uses a validating xml parser. Put the following line at the top of your config file and you should be all set. !DOCTYPE struts-config PUBLIC -//Apache Software

RE: Error parsing struts-config.xml

2001-09-14 Thread Thibaud CHEVALIER
Did you look at this page: http://www1.tramsasp.com/?section=dev Normally it should help you ton configure struts with jbuilder... -Message d'origine- De: lan vo [SMTP:[EMAIL PROTECTED]] Date: vendredi 14 septembre 2001 18:33 À:[EMAIL PROTECTED] Objet:Error parsing

why 404 error?

2001-09-14 Thread Adam Smith
This is probably a very simple problem, but I can't seem to figure it out. I am trying to run a minimal struts example to become familiar with it: I have an action class called loginPatron that simply forwards to a jsp without doing anything else. My web.xml, struts-config.xml and action class

Re: multibox and reset()

2001-09-14 Thread Renaud Waldura
The signature for reset() is the following: void reset(ActionMapping, HttpServletRequest) I don't know whether setting the array reference is null is enough, or you truly need to create a zero-length array like in your example below. I set mine to null, it seemed to work. - Original

Re: Error parsing struts-config.xml

2001-09-14 Thread lan vo
Thank you for a fast response. Thibaud, I did look at that web site but it seems like the link is broken for the addin. Do you have the addin downloaded? And James, Yes it solves that problem, but there is another error that I still don't know why. The form bean cannot be found. I don't

HTML Tags indexed

2001-09-14 Thread Candiloro, Heidi
I was reading through the Tag Reference on the site and it says that struts supports an indexed property for HTML tags such as select. I haven't been able to make this work using the standard jar. Do I need to download the Index addition and recompile struts, or is there another jar version that

Re: Serializing form beans

2001-09-14 Thread Renaud Waldura
Answering my own question, I found out the correct way of serializing a form bean. Here is code that works for me: /** * Serialize the form bean and return it as a string suited to * be written into a Web page. * * @param form the form bean instance * @return the serialized bean

Xerces and Xalan versions

2001-09-14 Thread Phillips, George H.
Group, Can anyone tell me the correct versions of Xerces and Xalan to use with Struts and VAJ 4.0? Should the IBM xml parser be in the classpath for the WTE? I'm getting a sax parse exception on the DTD for struts-config.xml using Steven Brand's recent instructions for struts and VAJ. Can't

rowtag taglib

2001-09-14 Thread Greg Lehane
Folks, I recently downloaded the rowtag taglibrary from husted.com, I need it for displaying alternating colors in a table. However, I'm having lots of trouble deploying it. Weblogic throws up a XML parse exception saying it cannot parse the deployment descriptor. The download was not

Nested set-property elements

2001-09-14 Thread Frederick N. Brier
I've read the several excellent messages describing deriving classes from ActionMapping and using the set-property element in struts-config.xml. One in particular was: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg08755.html What I would like to do is have a sequence of

Re: multibox and reset()

2001-09-14 Thread Erik Hatcher
reset is currently not called if html:form creates the form bean, which happens if you go to the JSP page directly without hitting ActionServlet first. I've submitted a patch to fix this, but it has not been committed yet. Erik - Original Message - From: Renaud Waldura [EMAIL

Re: Serializing form beans

2001-09-14 Thread Erik Hatcher
Just out of curiosity, what is the purpose of serializing and encoding the form bean? - Original Message - From: Renaud Waldura [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 14, 2001 2:28 PM Subject: Re: Serializing form beans Take that back. There's still an issue

Multiple Submit Buttons per Form

2001-09-14 Thread Shehryar Khan
I'm pretty new to struts so please forgive me if this question been asked before (I searched the archives and didn't find anything like it). I have an OPENSTEP / WebObjects background. Is it possible to have 2 submit buttons (or image buttons) within the same form that route to different