Re: error page

2001-08-09 Thread Pham Thanh Quan
You could declare your error page inside an action mapping in the file struts-config.xml as follow and it will forward to Your_error_page_here when encouter error Quan - Original Message - From: Stefan Faist <[EMAIL PROTECTED]> To: Struts <[EMAIL PROTECTED]> Sent: Friday, Aug

Re: Struts & Tomcat 4.0

2001-08-09 Thread Ajay Chitre
Thank you everybody for sparing time to answer my questions. It is support like this that makes me want to use all the Jakarta products more and more. Thanks (a lot) again! - Ajay -- Original Message -- >Keeping in mind that my "day job" is building Tomcat 4, I will add a few >comments and a

RE: JBuilder 5, Struts 1.0 & WebLogic 6.0, a Tutorial

2001-08-09 Thread markus . colombo
Thanks for everybody giving me feedback. I'll try to keep the Tutorial updated (if I find some spare time...) Markus -Original Message- From: Anthony Martin [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 9. August 2001 20:32 To: '[EMAIL PROTECTED]' Subject: RE: JBuilder 5, Struts 1.0 & We

Re: Cannot retrieve mapping for action

2001-08-09 Thread Thomas Quas
Brian, Do you have this servlet mapping in your web.xml? action *.do Also, is there a particular reason why you override the mapping parameter with your custom.CustomMapping class? Does it work if you switch back to the default/comment this setting out? Hope this he

error page

2001-08-09 Thread Stefan Faist
Hello all, I want call a error page when an error happend. In the xxAction it works fine, but how can I do this in the xxForm? There I cant't call an forward to call my error page. Can someone help me? Thanks in advanced STEFAN -- hmi-Informatik GmbH Ze

Re: New To Struts

2001-08-09 Thread Craig R. McClanahan
On Fri, 10 Aug 2001, Nitu Singh wrote: > Hi, > I downloaded jakarta-struts-1.0.zip file and extracted the files in > c:\jakarta-struts-1.0. But I think lib/commons-*.jar file is missing in my > installation? Are those files important or can I do without them? > The installation process still sa

Re: New To Struts

2001-08-09 Thread Rama Krishna
WEB-INF/ is created when an application is deployed/created in the app-server. any app-server which follows j2ee standard will create this. the WEB-INF/ folder will be created under the appname folder. this app name can point to any physical folder on your hard drive, although usually it is a conv

Re: New To Struts

2001-08-09 Thread Nitu Singh
Hi, I downloaded jakarta-struts-1.0.zip file and extracted the files in c:\jakarta-struts-1.0. But I think lib/commons-*.jar file is missing in my installation? Are those files important or can I do without them? The installation process still says I should copy the jars in WEB-INF directory. Wher

Re: Kick start to Struts

2001-08-09 Thread Fiona Thorne
I'd like to second much of what Ted said. I've just completed my first project using struts - I was building and learning at the same time. I had a series of about 10 screens, with some reasonably complicated jumping backwards and forwards between screens. This is how I ended up doing things: 1

NullPointerException

2001-08-09 Thread Efrain Gutierrez
What it means..?? Struts v1.0 w/Apache-Tomcat 3.2.1 TIA Error: 500 Location: /logon/logon.do Internal Servlet Error: java.lang.NullPointerException at org.apache.tomcat.facade.ServletContextFacade.getResourceAsStream(ServletContextFacade.java:143) at org.apache.struts.action.Ac

Re: Iterate with offset=parameter

2001-08-09 Thread Rama Krishna
probably, it should be like this,, hope this helps, rama. - Original Message - From: "MacKellar, Kimberly" <[EMAIL PROTECTED]> To: "Struts-User (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 12:43 PM Subject: Iterate with offset=parameter > I am trying to iterate over

Iterate with offset=parameter

2001-08-09 Thread MacKellar, Kimberly
I am trying to iterate over a Vector using the logic:iterate tag. Everything works fine until I try to set an offset. The offset for where I need to start iterating from is passed in as a parameter to the page and I retrieve it using when I try to use fromRecord in the iterate tag I get t

Re: newbie question

2001-08-09 Thread Debasish Ghosh
Dear All - There was a problem in the deployment of the application in the container. I re-deployed the application by creating a war file, and it worked. Thanks for all the help. I am now getting the prompts that u are getting and which should be the case. Cheers. - Debasish --- Rama Krishna <

Re: Tomcat/Apache/mod_jk

2001-08-09 Thread Eduardo Fujii
Theo, I think that tomcat-apache.conf is for jserv only. You don't want to use that. I've included the following lines to my httpd.conf and it works for me: # # The following include is generated automatically by Tomcat at every startup # Include /usr1/opt/apache/tomcat/conf/mod_jk.conf-auto # #

Re: newbie question

2001-08-09 Thread Bill Clinton
Debasish, Everyone seems to be focusing on your action or extension mappings, but most of my 404s are caused by missing JSP files. What directory is your logon.jsp in? I keep my JSPs in a /jsp directory in the main application directory, so my forward would be: I think that your forwa

Re: newbie question

2001-08-09 Thread Debasish Ghosh
No ... doesn't work .. --- Rama Krishna <[EMAIL PROTECTED]> wrote: > try this. > > > > login.do > > > > rama. > > - Original Message - > From: "Debasish Ghosh" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, August 09, 2001 1:09

Re: newbie question

2001-08-09 Thread Rama Krishna
try this.         login.do      rama.   - Original Message - From: "Debasish Ghosh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 1:09 PM Subject: RE: newbie question > Actually I have the extension mapping set up as well.> Th

RE: newbie question

2001-08-09 Thread Debasish Ghosh
Actually I have the extension mapping set up as well. The following is the web.xml file that I am using from WEB-INF : http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> action org.apache.struts.action.ActionServlet application ApplicationResources

docs in a single file for printing?

2001-08-09 Thread Peter Bismuti
  Hi, where can I get the users guide and tags documentation that I can print out?  I downloaded the source and found it for version 0.5, but cannot find the updated version.  It is a nice day, I want to take my hardcopy out in the sun and read it, please help!

RE: newbie question

2001-08-09 Thread Martin Cooper
This is not related to the form. It looks like you may not have extension mapping set up for your application. My guess is that if you type this in your browser: http://yourHost/pathToYourApp/login.do you will also see a 404. That suggests that you need to add something like this:

Re: Tabs on a Struts Page

2001-08-09 Thread Brian . Duchouquette
Nevermind... Framework was calling reset on my bean. I'm such a newbie... Brian.Duchouquette@tran

RE: newbie question

2001-08-09 Thread Debasish Ghosh
Hi - I tried these and still no luck ... I am enclosing the code for the Form. package com.anshin; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apac

RE: jbuilder5

2001-08-09 Thread Bill G
Thanks Anthony!!! -Original Message- From: Anthony Martin [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 10:50 AM To: '[EMAIL PROTECTED]' Subject: RE: jbuilder5 Here are my revised steps for starting a Struts Project in JBuilder5. I'd appreciate any comments. If something

RE: Enabling/Disabling of form fields on page load

2001-08-09 Thread Bajaj, Simrandeep
i was doing the same thing. I am doing this way. I am adding attributes in formbean respective to fields which has boolean values that it is read only or not.I am setting the values in the action depending on user role. Then i enable and disable the fields in jsp through javascript and getting t

RE: Retrieving property fields in Action Class

2001-08-09 Thread Jon Crater
i've never done this myself, but just from looking at the API docs, it looks like you can do something like the following from within your action class: public class SomeAction extends Action { ServletContext ctx = servlet.getServletContext(); MessageResources msgResources = (MessageR

RE: JBuilder 5, Struts 1.0 & WebLogic 6.0, a Tutorial

2001-08-09 Thread Anthony Martin
By the way, another good session I sat in on can be found at http://www.borland.com/conf2001/updates/, 3004, Building Extensible Web Frameworks Using XML, XSL-T, and Java by Richard Vowles. Trouble is, they put the wrong slide show into the archive. The code examples are correct and include Stru

RE: JBuilder 5, Struts 1.0 & WebLogic 6.0, a Tutorial

2001-08-09 Thread Anthony Martin
Hehe, that's fine if you want to download 4megs. It does come with a project example, and instructions for JBuilder 4 and 5. Ken's great, I met him at Borcon and I attended the session on Struts. In fact, besides Ken's session, three other sessions that I attended mentioned Struts (more in favo

Tabs on a Struts Page

2001-08-09 Thread Brian . Duchouquette
This is a follow-up to my Wizard question... If I have three tabs that are included at the top of each of the three body pages by a template, then what is the best way to make sure information is stored between requests for the different pages? Even though all three pages use the same ActionFor

RE: JBuilder 5, Struts 1.0 & WebLogic 6.0, a Tutorial

2001-08-09 Thread Bill G
Markus, Nice Work! You should check out Ken Sipe's presentation of Struts at Borcon. The slides and all required resources are at http://www.borland.com/conf2001/updates/ look for presentation 3148. Bill Gfroehrer... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

RE: jbuilder5

2001-08-09 Thread Rajan Gupta
Has anyone used JBUilder5 with Tomcat4.0? --- Anthony Martin <[EMAIL PROTECTED]> wrote: > Here are my revised steps for starting a Struts Project in JBuilder5. > I'd > appreciate any comments. If something is unclear or incorrect, I'm open > to > any suggestions: > > Go to http://www1.tramsasp.

Re: Struts & Tomcat 4.0

2001-08-09 Thread Ted Husted
Steve Wilkenson's shopping cart example from JSP Professional JSP 2 (Wrox) is available at < http://www.newparticles.com/struts/ > He has also mentioned refactoring it for jBoss as an EJB example. There are some other projects listed here: < http://husted.com/about/struts/resources.htm#proje

Enabling/Disabling of form fields on page load

2001-08-09 Thread B Manikandan
Hi, I have a requirement where I need to enable/disable form fields on page load up.The enabling/disabling depends on user access and I have the access rights as on object in context. How do I use this object ? I do not want to resort to as my code will become big. Mani The Informati

Re: Struts with TOMCAT 3.3

2001-08-09 Thread Rajan Gupta
Tomcat 4.0 rocks, it is faster than 3.3 & auto class loading feature is great. Great work Craig! --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > > > On Sun, 5 Aug 2001, Rajan Gupta wrote: > > > So then TOMCAT 4.0 it is, I hope u were serious :) > > > Oh, yes ... Building Tomcat 4 is my

Re: Struts & Tomcat 4.0

2001-08-09 Thread Nicky Eshkenazi
Ted, Thank you for all the details on the Hop project. Do you know where I could take a look at Struts implementation of a sophisticated shopping card ( if any is available to your knowledge )? thanks, Nicky Ted Husted wrote: > Nicky Eshkenazi wrote: > > > > Ted, > > > > What is the architectu

Re: Struts & Tomcat 4.0

2001-08-09 Thread Ted Husted
Nicky Eshkenazi wrote: > > Ted, > > What is the architecture behind the auction site? Is Struts a part of it? > > ~Nicky The HOP site, and a larger auction site that ran before it, are powered by Struts, MySQL, Resin, over Red Hat Linux on a single processor (p2 350), 128kb machine (did actual

RE: jbuilder5

2001-08-09 Thread Anthony Martin
Here are my revised steps for starting a Struts Project in JBuilder5. I'd appreciate any comments. If something is unclear or incorrect, I'm open to any suggestions: Go to http://www1.tramsasp.com/?section=dev then click on the JBuilder5/Struts link. Anthony -Original Message- From:

Re: Construct context-relative URL in Javascript?

2001-08-09 Thread Randall Parker
On Wed, 8 Aug 2001 17:47:22 -0500, [EMAIL PROTECTED] wrote: > >Did you try ? How can that help? I don't want the result in an a href. I want to do a POST and I want to be able to set the TARGET attribute for the FORM before posting as well. I want to set the form's ACTION attribute to that

Struts and Forte

2001-08-09 Thread Dan . C . Wieschhaus
Do any of you use Struts inside of FFJ 3.0 EE (EA)? Since the tomcat-apache.conf file gets created everytime you run FFJ's internal Tomcat, is it impossible to register the Handler for the ".do" actions coming from the client JSPs? Dan

Wizard Form Authoring..

2001-08-09 Thread Brian . Duchouquette
All, What is the best design practice that you have found for creating Wizard entry forms in the Struts framework? Thanks, Brian

Re: BeanUtils.java & PropertyUtils.java in Version 1.1-dev

2001-08-09 Thread Craig R. McClanahan
On Thu, 9 Aug 2001, Marcel Andres wrote: > Hi, > > I downloaded the latest nightly built to take advantage of new > features. Now, I figured out, that the two classes BeanUtils.java and > PropertyUtils.java are not in anymore. I checked if this two classes > are deprecated, but I could not f

RE: "TILES" template with STRUTS problem

2001-08-09 Thread Craig R. McClanahan
On Thu, 9 Aug 2001, Jain, Shipra wrote: > Can any one please let me know what "Tiles" is ? Is it related to Templates > ? Is it another open source project ? Can you please send to URL for getting > more information. > "Tiles" is the new name for Cedric Dumoulin's "Components" add-on that is

RE: please unsubscribe me

2001-08-09 Thread Fletcher, Ken
To remove your address from the list, send a message to: [EMAIL PROTECTED] -Original Message- From: Jacky Lam [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 11:33 AM To: '[EMAIL PROTECTED]' Subject: RE: please unsubscribe me please unsubscribe

RE: error running struts examples.war

2001-08-09 Thread Mills, Theo
g binaries: jakarta-tomcat-3.2.3.zip jakarta-struts-20010809.zip i have no problems starting up tomcat, but when i copied the struts-example.war into my \webapps, tomcat would not start. according to the INSTALL, i should not have to do anything else to run the strut examples. any ideas? thanks

RE: New Release

2001-08-09 Thread Assenza, Chris
Hehe, that's good because I didn't know what else to tell you. ^_^ Chris -Original Message- From: MacKellar, Kimberly [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 12:08 PM To: '[EMAIL PROTECTED]' Subject: RE: New Release Well if I move the jar file to the correct directo

Re: Struts & Tomcat 4.0

2001-08-09 Thread Craig R. McClanahan
Keeping in mind that my "day job" is building Tomcat 4, I will add a few comments and answers below. On Wed, 8 Aug 2001, Ajay Chitre wrote: > Hello, > > I have been "playing" with struts for the past couple of months and I have > had fun playing with it. Time has come now to stop playing and g

RE: please unsubscribe me

2001-08-09 Thread Jacky Lam
please unsubscribe me -Original Message-From: debu [mailto:[EMAIL PROTECTED]]Sent: Thursday, August 09, 2001 12:03 AMTo: [EMAIL PROTECTED]Subject: please unsubscribe me please unsubscribe me

RE: jbuilder5

2001-08-09 Thread Marcel Andres
I'm not sure if Mike means the "Struts Support Addin" from http://codecentral.borland.com/. But if your application is built as a WAR archive, this could help. Marcel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 5:54 PM To: [EMA

Re: WebLogic related question- javax.servlet.jsp.JspException:No get ter method for property...

2001-08-09 Thread Martin Cooper
This is a consequence of the JavaBeans introspection mechanism. The getter and setter must be getting and setting the same type for them to be recognized as property accessors. See the Introspection chapter of the JavaBeans spec for more details. -- Martin Cooper - Original Message - Fr

RE: newbie question

2001-08-09 Thread Rick Hightower
On your form make sure you have ... Then define the following forward in your struts-config ... If this does not work, try including your form code so people can help you better. Rick Hightower Director of Development eBlox, Inc. Check out our new website! www.eblox.com Contact Info:

RE: New Release

2001-08-09 Thread MacKellar, Kimberly
Well if I move the jar file to the correct directory, it all seems to work... Amazing :"> -Original Message- From: MacKellar, Kimberly Sent: Thursday, August 09, 2001 10:39 AM To: '[EMAIL PROTECTED]' Subject: RE: New Release Chris, This isn't exactly struts related... How did

RE: Scalability

2001-08-09 Thread Craig R. McClanahan
On Thu, 9 Aug 2001, Kevin McLain wrote: > The only thing I would add to your argument is the fact that Struts relies > fairly heavily on Reflection to set attributes on beans. Since Reflection > incurs a much higher overhead than a straight method call (although I have > heard that JDK 1.4 impr

Radio-Button Tag

2001-08-09 Thread Metehan Selvi
Hi, one question about Radio-Input Fields, which are implemented by the RadioTag-class: How to set an 'element' as checked e.g. as a default value? I haven't found a hint or an property for the radio-field, where i can set the property checked=true or something like that.   cheers mete

Re: Struts & Tomcat 4.0

2001-08-09 Thread Thomas Quas
ROTFL. Isn't the world beautiful when we have a chance to find out how highly sopisticated technical solutions are being applied to satisfy all kinds of, ahem, human needs? Have a nice one, tom ;-) Ted Husted wrote: > > Actually, I work on things like this: > > < http://data.wxxi.org/hop >

Re: Struts & Tomcat 4.0

2001-08-09 Thread Nicky Eshkenazi
Ted, What is the architecture behind the auction site? Is Struts a part of it? ~Nicky Ted Husted wrote: > Actually, I work on things like this: > > < http://data.wxxi.org/hop > > > ;-) > > -Ted. > > Thomas Quas wrote: > > I guess you're working on the struts framework itself. In this case I >

RE: data beans and ActionForm

2001-08-09 Thread Daniel Steinberg
In the constructor of your ActionForm, you can say someBean = new SomeBean(); Or you can just initialize the bean in its declaration, i.e. private SomeBean someBean = new SomeBean(); This will work fine, unless SomeBean is an interface. It would be nice to be able to dynamically configu

RE: Scalability

2001-08-09 Thread Kevin McLain
The only thing I would add to your argument is the fact that Struts relies fairly heavily on Reflection to set attributes on beans. Since Reflection incurs a much higher overhead than a straight method call (although I have heard that JDK 1.4 improves this performance considerably) - I did a rough

Re: Struts & Tomcat 4.0

2001-08-09 Thread Ted Husted
Actually, I work on things like this: < http://data.wxxi.org/hop > ;-) -Ted. Thomas Quas wrote: > I guess you're working on the struts framework itself. In this case I > totally agree with you.

RE: data beans and ActionForm

2001-08-09 Thread Jan Fredrik Overaasen
Hi Mike To initialize attributes in your formbean you implement the reset method. See below: ActionForm someActFrm { public void reset(ActionMapping mapping, HttpServletRequest request){ this.someBean = new SomeBean(); } private SomeBean someBean = null; public SomeBean g

Re: Struts & Tomcat 4.0

2001-08-09 Thread Thomas Quas
I guess you're working on the struts framework itself. In this case I totally agree with you. For developers using struts for their applications, however, it's a completely different story, especially since the specification changed between Tomcat version 3 and 4; for them I'd still recommend wh

RE: jbuilder5

2001-08-09 Thread Marcel Andres
Hallo Nicole When you run your project with "Start Tomcat...", did you check in the message viewer, if the classpath is set right? Gruss und viel Glück / Cheers Marcel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 4:52 PM To: [

data beans and ActionForm

2001-08-09 Thread Mike D
if I have a separate data bean, which is a property in the ActionForm, how do I initialise that bean? I.e.: ActionForm someActFrm { private SomeBean someBean = null; public SomeBean getSomeBean () { ... } public void setSomeBean (SomeBean someBean) { this.someBean = someBean;

jbuilder5

2001-08-09 Thread Karmalita, Nicole
ive got problems with jbuilder5 and struts! javax.servlet.ServletException: Exception creating bean of class de.bnext.portal.ch.AcknowledgementForm: java.lang.ClassNotFoundException: de.bnext.portal.ch.AcknowledgementForm at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCont

RE: Scalability

2001-08-09 Thread devon . bowen
> but I'm getting feedback from other developers that don't > feel that Struts is a very scaleable framework. What exactly are they saying? I don't have any personal experience in this area but it seems to me that Struts is a rather thin layer on top of normal Java Servlets. All it really changes

Tomcat/Apache/mod_jk

2001-08-09 Thread Mills, Theo
I'm running: Win2k Tomcat 3.2.2 Apache using mod_jk The instructions for setting up Struts on Tomcat using Apache state that you need to add AddHandler jserv-servlet .do to your tomcat-apache.conf. However, this doesn't seem to apply to mod_jk, and I don't know how to add the .do directive.

RE: RE: RE: dynamically setting the html:select property

2001-08-09 Thread JRender
thanks again arnaud.. still no joy property="<%= coverDetailsForm.getSequence() %>" picks up the dynamic value I set on the form, but it checks for the evaluated value on the form and complains that it can't find it.. e.g. (just using the scriptlet here for ease of use) <% String dynamicValue

RE: "TILES" template with STRUTS problem

2001-08-09 Thread Jain, Shipra
Can any one please let me know what "Tiles" is ? Is it related to Templates ? Is it another open source project ? Can you please send to URL for getting more information. Also, Is Struts 1.1 beta out ? If yes, where can I can a copy of it. Thanks Shipra Jain -Original Message- From: Ce

Cannot retrieve mapping for action

2001-08-09 Thread Brian K. Buckley
Hi, I'm a brand new Struts user. I installed the struts 1.0 binary and I'm attempting to work through a struts trailmap tutorial (the one at bluestone.com). I am getting a Servlet Exception with the message "Cannot retrieve mapping for action /custom" when I call a simple input.jsp. My input.j

Re: Struts & Tomcat 4.0

2001-08-09 Thread Ted Husted
Sorry, Tom. I should have said, "I now develop under Tomcat 4 on my own station, and then beta test the deployment on the remote server, which is usually either TC3 or Resin. This ensures that I am in compliance with the latest reference specifications, and not relying on legacy or proprietary beh

show errors on a new page then back bat fields empty

2001-08-09 Thread Stefan Faist
Hi all, I have a logon page and when a error happend , then I load a new page with the error messages and a ok button. When I click on this button I forward back to the logon page. But the fields are empty and the user must fill out the fields repeatly. And another problem, how can I load another

AW: ComboBox

2001-08-09 Thread Bernhard J. Hirschmann
This wasn't the solution of my problem, thanks anyway. I found it accidently: switching from a list to a comboBox is done by setting the attribute "size" of the tag to "1" > -Ursprüngliche Nachricht- > Von: Gus Delgado [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 9. August 2001 1

Re: Struts & Tomcat 4.0

2001-08-09 Thread Thomas Quas
Ted Husted wrote: > > Ajay Chitre wrote: > > 1) From one of Craig's emails it sounds like I should be using Tomcat 4.0, > > not 3.2. Is that right? But Tomcat 4.0 is a beta release. Is it reliable? > > The only "not" is DO NOT USE TOMCAT 3.1 with Struts. Verson 3.2.3 is > fine. Jakarta betas

RE: WebLogic related question- javax.servlet.jsp.JspException: No get ter method for property...

2001-08-09 Thread rhayden
No, but this is not the problem. I discovered last night that the setter and getter must match precisely- not only the name must correspond with the property (obviously) but the object type of the property must be the same as well. i.e.: String getProperty() setProperty( String str ) can't be

Re: Beans In Form Tags

2001-08-09 Thread Calvin Lau
Good call. Thanks =) I was wondering what the point of the form tags were...I guess they're a nice in that it's much easier to include bean values with them. --- William Jaynes <[EMAIL PROTECTED]> wrote: > I believe this should be: > > property="clientSingleQueryList"> > ... > size="10" /> >

Re: Struts & Tomcat 4.0

2001-08-09 Thread Ted Husted
Ajay Chitre wrote: > 1) From one of Craig's emails it sounds like I should be using Tomcat 4.0, > not 3.2. Is that right? But Tomcat 4.0 is a beta release. Is it reliable? The only "not" is DO NOT USE TOMCAT 3.1 with Struts. Verson 3.2.3 is fine. Jakarta betas tend to more reliable that some

RE: ComboBox

2001-08-09 Thread Gus Delgado
create a collection an set it in the session: session.setAttribute("myCollection", myCollection) -Original Message- From: Bernhard J. Hirschmann [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 7:53 AM To: Struts-User Subject: ComboBox My only displays a list of options

java.util.Date properties

2001-08-09 Thread Nathan Coast
Hi, We've got a number of forms in which it would be useful to have java.util.Date properties. Is there any plan to have conversions for data types other than the standard java.lang basic type wrappers? from Convert Utils if (clazz == stringClass) { if (value == null)

RE: New Release

2001-08-09 Thread Assenza, Chris
Just to confirm what Craig said, back-porting them to 1.0 appears to be 100% problem-free. Once I saw those tags and was informed they were in the nightly build, I grabbed them (along with TLD stuff, etc.) and dropped them in our existing struts.jar (1.0); the tags work flawlessly and are quite us

ComboBox

2001-08-09 Thread Bernhard J. Hirschmann
My only displays a list of options, but how can I get something like a ComboBox instead of this list? Greetings

Re: AW: recognizing a button

2001-08-09 Thread Terence Jacyno
Hi Bernhard. Personally, I use two additional methods within the ActionForm: public void setLoadPressed(boolean loadPressed) { m_loadPressed = loadPressed; } public void setSubmitPressed(boolean submitPressed) {

Re: Struts & Tomcat 4.0

2001-08-09 Thread Nicky Eshkenazi
Ajay, I have tried to use Struts with Tomcat 4.0 beta 6 and still have some configuration problems. I guess the stuff needs to be configured differently under Catalina. If you have success with it please let me know. thanks, Nicky Ajay Chitre wrote: > Hello, > > I have been "playing" with stru

Re: Exception: Cannot find message resources under key org.apache.struts.action.MESSAGE

2001-08-09 Thread Will Jaynes
I don't understand the details, but it fixed the same problem for me. - Original Message - From: "Thomas Quas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 8:11 AM Subject: Re: Exception: Cannot find message resources under key org.apache.struts.action.MESSA

weblogic and struts

2001-08-09 Thread baris.guzelordu
I thin k the problem is xerces.jar while using struts with weblogic. Whichxerces.jar can I use? any idea acceptable... -Original Message- From: Ben Gill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 6:50 PM To: BARIS GUZELORDU (TC-IT) Subject: RE: weblogic and struts the

JBuilder 5, Struts 1.0 & WebLogic 6.0, a Tutorial

2001-08-09 Thread markus . colombo
A small Tutorial can be found at: http://www.netstore.ch/mesi/strutsTutorial/ Even if it is weblogic specific, it might be interresting for everybody who develops with JBuilder. Thanks to Anthony, Bill and everybody else in this list for the tips ! Markus Colombo, Consultant

RE: RE: dynamically setting the html:select property

2001-08-09 Thread Heritier Arnaud
Hello ! 1st problem : You shouln't write : " />" > but " />" > because the Tag interpretor shouldn't see double quotes on both sides of the "lookup#" String. Another solution that I didn't test is to use simple quotes like this. " > 2nd problem : The attribute "property" oh the h

Re: the complete picture

2001-08-09 Thread Ted Husted
The best place to ask a question like this is the USER list, so I will copy them in on the reply. I believe you will want the flow to go first to your Action. The mapping for the Action will include a reference to your ActionForm, which has your data bean as a property. Struts will instantiate t

AW: recognizing a button

2001-08-09 Thread Bernhard J. Hirschmann
Hello Terence, thanks for that, that's great. > Don't forget to reset the boolean values when you redisplay the form! How do I do this the best way? Simply calling "form.reset(mapping, request)" in my action class doesn't work. I shouldn't call the setters directly, right? Best regards, Bernha

Re: Exception: Cannot find message resources under key org.apache.struts.action.MESSAGE

2001-08-09 Thread Thomas Quas
William, thanks for your response. However, I don't see how XML can have an impact in the context of this particalur problem. The resource file is java.util.ResourceBundle-compliant, and it does not facilitate XML at all. Do I miss something? tom William Jaynes wrote: > > I believe this pro

Re: Beans In Form Tags

2001-08-09 Thread William Jaynes
I believe this should be: ... - Original Message - From: "Calvin Lau" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 7:24 AM Subject: Beans In Form Tags For some reason I get the following error when I try to access a bean from within a form tag: "Att

GenericDataSource Exception when starting tomcat

2001-08-09 Thread Nimphy, Thomas
Hi all, whenever I have a definition included in my struts-config.xml, when starting tomcat I get this exception: ... New org.apache.struts.util.GenericDataSource Set org.apache.struts.util.GenericDataSource properties Begin event threw exception java.lang.ClassCastException java.lang.Th

Re: Exception: Cannot find message resources under key org.apache.struts.action.MESSAGE

2001-08-09 Thread William Jaynes
I believe this problem relates to some changes in tomcat4 and xml parsing. Here's the relevant portion of the Release Notes: -- Tomcat 4.0 and XML Parsers: -- Previous versions of Tomcat 4.0 exposed the XML parser used by Jasper (the JAXP/1.1 refer

Re: Kick start to Struts

2001-08-09 Thread Ted Husted
Ted Husted wrote: > [Upfront planning] is generally the first third of a project. At least if you're smart ;-), otherwise you end up doing the planning during the construction phase, which leads to a lot of reconstruction (built the wrong thing, so now we need to build it again), and the infamous

Re: Kick start to Struts

2001-08-09 Thread Ted Husted
As Will says, there's more than one approach, but here's what works for me: 1. Write a specification, even if it's for yourself and just a paragraph long. I started a sample outline for one th example at < http://husted.com/about/struts/example-spec.html >, but never finished it. 2. Storyboard

select tag and indexed properties

2001-08-09 Thread Beuck, Torsten
Hi. i have an ActionForm: public class MyForm extends ActionForm { ... public Collection getOptions(int index) { ... } public Collection getLabels(int index) { ... } public String[] getSelection(int index) { ... } public void setSelection(int index, String[] value) { ... } ... } and

Beans In Form Tags

2001-08-09 Thread Calvin Lau
For some reason I get the following error when I try to access a bean from within a form tag: "Attribute entry has no value..." When I use the regular HTML textbox instead of the Struts Form tag for a textbox, it works. Anyone know why? Thanks. This works: ... "> This does NOT work: ... "

Struts with weblogic

2001-08-09 Thread baris.guzelordu
Hi all, I want to struggle with Struts with Weblogic 5.01...Does anyone have any experience with Visual Age 3.5 -Original Message- From: Terence Jacyno [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 2:11 PM To: [EMAIL PROTECTED] Subject: Re: recognizing a button Hi. If

Re: recognizing a button

2001-08-09 Thread Terence Jacyno
Hi. If you want to figure out which button was pressed directly within your ActionForm, try this. Within the ActionForm that you associated with your HTML form, place the following: public void MyActionForm extends ActionForm { protected boolean m_loadPressed = false;

Re: the complete picture

2001-08-09 Thread William Jaynes
I can't really understand what you are saying, but if you haven't yet worked through the struts-example, I think you should do that. Will - Original Message - From: "kaka wika" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 6:36 AM Subject: the complete pictu

AW: recognizing a button

2001-08-09 Thread Stefan Faist
Hallo Bernhard, with String property = request.getParameter("load") you save "Load" in the String property Stefan > -Ursprüngliche Nachricht- > Von: Bernhard J. Hirschmann [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 9. August 2001 12:26 > An: Struts-User > Betreff: recognizing a b

Exception: Cannot find message resources under key org.apache.struts.action.MESSAGE

2001-08-09 Thread Thomas Quas
Allright, I guess this has been discussed before, but google.com didn't give me any concrete results. Neither did I find something browsing the mailing list archive. I'm using Tomcat 4.0b6 and struts 1.0final on a Linux box. When trying to go to http://localhost:8080/struts-example/index.jsp I g

ResponseUtils.filter

2001-08-09 Thread Beuck, Torsten
Hi. The html:options tag handler (and other html tag handlers) uses ResponseUtils.filter to replace the characters '&', '>', '<' and '='. This filter method changes the string 'Ändern' to 'Ändern'. For english text this may be a nice feature, but it prevents developers to use text in language

  1   2   >