Re: its very strange.

2001-04-24 Thread Jean-Noel Ribette
This is due to the javabean convention. If the method name begins with two uppercase letters, the property name is the same as the method name. For example getXXX() = property XXX. getXxX() = xxX There are more messages about this problem on the mail archives. Jean-Noël

RE: Load Testing

2001-04-24 Thread Ulrich Winter
We used that, too. Accessing the http server at a different port is no problem. Uli -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Montag, 23. April 2001 22:28 To: [EMAIL PROTECTED] Subject: Re: Load Testing Were you able to get that running with an

Re: Error while overriding parameters in instances - components over struts

2001-04-24 Thread Cedric Dumoulin
Hi, There is no problem with components, just a syntax error in your jsp overiding parameter : you have ended comp:insert ... tag while you still using it. Remove the '/', and all will work fine. I agree that returned error is not accurate : I think that jsp preprocessor should detect the

RE: Packaging Question - Include Source in Binary Distributions?

2001-04-24 Thread Gael Laurans
From: Iraklis Kourtidis [EMAIL PROTECTED] 2) The source for the struts-example sample application (although not part of the source code you're likely talking about) was to me the most useful resource in understanding Struts. Any other example I found on the web was highly confusing and/or

Simple Iterate Question

2001-04-24 Thread Kristopher Brown
I'm using logic:iterate and I want to know the index on each iteration. Is there a tag I can use - I've looked but I can't find one. Cheers Kris.

Session invalidate()

2001-04-24 Thread Darryl
Hi all, Quick question about session.invalidate(). I created a login management framework that works fine but for one problem. When I introduce the session.invalidate() command for when the user logs out, naturally, all the Struts-required beans in the session are destroyed so a

Re: Session invalidate()

2001-04-24 Thread Darryl
Sorry all. Please ignore my previous post. My assumptions were completely wrong. You can use invalidate() since mapping variables are in application scope, and in fact I had already put an invalidate() in my code which was why the second invalidate() I added was throwing an exception. Sorry

Hierarchical menus

2001-04-24 Thread B Manikandan
Can DHTML Lab's Hierarchical menu be implemented using Struts ? Mani

findForward() returning a blank page

2001-04-24 Thread Michael Gluckman
Hi all After my action class is instantiated the method findForward(admin) returns a blank html page instead of the admin-frame page. If I type the full URL path to the admin-frame it works. I have included the html:base/ in the admin-frame page. Any ideas Thanks Michael !-- Process a user

Re: Packaging Question - Include Source in Binary Distributions?

2001-04-24 Thread Wong Kok Wai
Just the binary with docs and examples (with sources). Thanks! --- Craig R. McClanahan [EMAIL PROTECTED] wrote: As we move towards a 1.0 release of Struts (really! :-), one of the things I am cleaning up is the way that binary distributions are packaged. Currently, we follow the typical

RE: Packaging Question - Include Source in Binary Distributions?

2001-04-24 Thread Nanduri, Amarnath
binaries including source is perfect. I can get everything in one download instead of multiple downloads. Thanks, Amar.. -Original Message- From: Wong Kok Wai [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 9:30 AM To: [EMAIL PROTECTED] Subject: Re: Packaging Question -

forwarding to itself

2001-04-24 Thread Marcin Baj
Hello, I want to organize one action bean for changing language (there is very similar form on several pages for such action). How can I forward request to the page which from this request comes? Please help, Bajo

Re: Packaging Question - Include Source in Binary Distributions?

2001-04-24 Thread Calvin Yu
I would prefer to have the source available. I like the ease doing an installation without having to run a build, and the ability to look at the source if anything goes wrong. I'd suggest jaring up the source in a src.jar, like the JDK. Calvin --- Wong Kok Wai [EMAIL PROTECTED] wrote: Just

RE: forwarding to itself

2001-04-24 Thread Nanduri, Amarnath
mapping.findForward(mapping.getInput() ) where 'input' is specified in the struts_config.xml action mapping cheers, Amar.. -Original Message-From: Marcin Baj [mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 24, 2001 9:40 AMTo: [EMAIL PROTECTED]Subject: forwarding to itself

wizard style example, anywhere?

2001-04-24 Thread iwanek
Hello struts-users, I am very new to Struts (or JSP for that matter), and in need of some examples that I can get my hands on. Specifically, an application that uses "wizard" style, multiple-page input forms would be very nice. Couple of Struts documents I looked mention that Struts works well

Re: forwarding to itself

2001-04-24 Thread Marcin Baj
Yes, but I want to have only one (not about 50) section action in struts.config and singleformaction bean... - Original Message - From: Nanduri, Amarnath To: '[EMAIL PROTECTED]' Sent: Tuesday, April 24, 2001 3:46 PM Subject: RE: forwarding to itself

RE: FW: Session scope

2001-04-24 Thread Calvin Yu
Here's my experience with this issue. We used in-memory session failover in WL, but due to problems with the WL proxy we switched to JDBC session persistence. We then dropped clustering and session persistence altogether because of performance reasons and used switches to make sure that users

RE: forwarding to itself

2001-04-24 Thread Nanduri, Amarnath
In that case use a meta tag which contains the name of the page . Whenever you want the action to forward to the input page, use the mapping.findForward( "jsp page name") . The name of the page will be got from the meta tag. If you search the archives you will find something similar like

Re: Interm page

2001-04-24 Thread Calvin Yu
Here are your options: You can deliver the interim page but hold the connection until the action finishes. The interim page should have javascript that onload will redirect to a resolution page. The resolution page will look into the session for errors and redirect to the error page if an

Re: findForward() returning a blank page

2001-04-24 Thread Michael Gluckman
Sorry, i was using the deprecated perform method and it was not being called. Michael Gluckman wrote: Hi all After my action class is instantiated the method findForward(admin) returns a blank html page instead of the admin-frame page. If I type the full URL path to the admin-frame it

RE: wizard style example, anywhere?

2001-04-24 Thread Marouane Louah
you can try the example provided with the installation -Message d'origine- De?: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoye?: mardi 24 avril 2001 15:51 A?: [EMAIL PROTECTED] Objet?: wizard style example, anywhere? Hello struts-users, I am very new to Struts (or JSP for that

RE: forwarding to itself

2001-04-24 Thread Sundaram Ramasamy
If your calling this funcation mapping.findForward(mapping.getInput() ) How to you pass the argument to that input page, -Original Message- From: Nanduri, Amarnath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 9:47 AM To: '[EMAIL PROTECTED]'

Re: Packaging Question - Include Source in Binary Distributions?

2001-04-24 Thread sampath kanakaraju
Hi i am getting the following error using the Resource file. Has anyone come across this error. Missing message for key hello.title: My JSp file uses the bean.tld and is as follows: html head title struts-bean:message key=hello.title/

struts resource file error

2001-04-24 Thread sampath kanakaraju
Hi i am getting the following error using the Resource file. Has anyone come across this error. Missing message for key hello.title: My JSp file uses the bean.tld and is as follows: html head title struts-bean:message key=hello.title/

Testing Xalan prior to STRUTS build

2001-04-24 Thread Galon, Mary-Jay
I am getting this problem when testing to make sure Xalan works by using the SimpleTranform sample. I've checked the classpath already. Whatelse can I check. CLASSPATH: d:\Program Files\jdk1.3;d:\Program Files\jsdkee1.3;d:\ant\lib;D:\Program Files\junit3.6;d:\xalan;d:\xalan\samples COMMAND

RE: struts resource file error

2001-04-24 Thread Marouane Louah
the syntaxd is wrong struts-bean:message key=hello.title/ try this bean:message key=hello.title/ -Message d'origine- De: sampath kanakaraju [mailto:[EMAIL PROTECTED]] Envoye: mardi 24 avril 2001 18:17 A: [EMAIL PROTECTED] Objet: struts resource file error Hi i am getting the

Submitting from one webapp to another

2001-04-24 Thread Scott Cressler
We're trying to separate the pages in our app into secure and non-secure. As part of that, we would like to have situations like the login page, the one that displays the form for getting your username and password, to be in the non-secure section and the Action that receives the submit from the

Re: Testing Xalan prior to STRUTS build

2001-04-24 Thread chris brown
You need to add the .jar files for Xalan to your classpath, not just the folders (you only add folders to your classpath when they contain unarchived .class files). This means including at least xalan.jar and xerces.jar (the XML parser which Xerces requires) in your classpath (see the bin folder

RE: Testing Xalan prior to STRUTS build

2001-04-24 Thread Galon, Mary-Jay
HELP!! Does anyone have a suggestion! -Original Message- From: Galon, Mary-Jay [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 12:22 PM To: Struts-User@Jakarta. Apache. Org (E-mail) Subject: Testing Xalan prior to STRUTS build I am getting this problem when testing to make

here is my properties file

2001-04-24 Thread sampath kanakaraju
Here is the content of my properties file: * prompt.hello=Message from Session Bean prompt.hello.heading=h1Sample page just to see the working of session with struts/h1 errors.footer=/ulhr errors.header=h3font color=redPage Validation/font/h3Please

please help me with ActionForm

2001-04-24 Thread See Yam Lim
Title: please help me with ActionForm Hi all, Is anybody knows how Struts clean up object like ActionForm? can we program to control the clean up this object explicitly? also, can i put ActionForm into the session container that i create where i uses it to store proxies to session, mean

RE: iteration enhancement?

2001-04-24 Thread Tim Moore
We may be able to steal an idea here from Zope (which is a Python-based application server). The built-in templating language (called DTML) has a tag to iterate over a sequence much like logic:iterate. Within the scope of that tag, it defines several variables that can be used in each

RE: forwarding to itself

2001-04-24 Thread Nanduri, Amarnath
Use a bean (filled with the arguments / parameters to be used in the input page) and do request.setAttribute("mybean", mybean) ; mapping.findForward() ; -Original Message-From: Sundaram Ramasamy [mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 24, 2001 11:43 AMTo:

RE: please help me with ActionForm

2001-04-24 Thread Nanduri, Amarnath
Title: please help me with ActionForm Everything depends on the scope your ActionForm is in If it is request scope, after a response was submitted, the bean gets destroyed. If in session scope, once the session gets invalidated. If in application scope then when the server goes down.

RE: here is my properties file

2001-04-24 Thread Marouane Louah
everything seems to be allright but what's the name of you .properties file and is it in the classes folder ?? -Message d'origine- De: sampath kanakaraju [mailto:[EMAIL PROTECTED]] Envoye: mardi 24 avril 2001 18:56 A: [EMAIL PROTECTED] Objet: here is my properties file Here is the

Error of Missing message for key in VAJ-Tomcat environment

2001-04-24 Thread Fei Xie
Hi, I can run the struts-example sucessfully in VAJ 3.5.2-Tomcat environment, however, I got a error of missing message for key when I load my own project. I placed properties file under myproject\Web-inf\classes\, and it is specified correctly in the web.xml. The project containing java

Re: Submitting from one webapp to another

2001-04-24 Thread Ted Husted
In general, people expect the page that receives their password to be secure. When that is the case, the Struts forms operate properly, and maintains the secure connection. I believe that if you do this any other way, the password will not be transmitted by SSL. The trouble I'm having is

Re: POSTing arrays in struts

2001-04-24 Thread Uwe Pleyer
Hallo Niall, during my first steps in Struts I walked straight into the same Problem and get arround with ugly indizes in the JSP. As my solution works fine, it's not very elegant. So could you please send me your modified Taglib-Code or a download address? Thanks in advance Uwe Niall

RE: Testing Xalan prior to STRUTS build

2001-04-24 Thread Owen Taylor
Chris Brown was correct. You need to understand how the Classpath works. Instead of CLASSPATH: d:\Program Files\jdk1.3;d:\Program Files\jsdkee1.3;d:\ant\lib;D:\Program Files\junit3.6;d:\xalan;d:\xalan\samples 1) Locate the xalan.jar and ensure that it is in your classpath: You will have to

Re: Thread error....WHY?

2001-04-24 Thread TODD HARNEY
Do you need . in your CLASSPATH also? Just a thought? Todd [EMAIL PROTECTED] 4/24/01 2:14 Im sending to both groups for maximized feedback. I am executing a compiled Xalan sample and getting an error. Does anyone know why I could be getting thread issues.

Re: Thread error....WHY?

2001-04-24 Thread TODD HARNEY
Also, do you need the package information on the SimpleTransform class? Does it have a package? Or is this a class that you wrote? HTH, Todd [EMAIL PROTECTED] 4/24/01 2:14 Im sending to both groups for maximized feedback. I am executing a compiled Xalan sample and getting an error. Does

Re: Thread error....WHY?

2001-04-24 Thread Scott Walter
You aren't having thread errors, Java just can't find your class. If the SimpleTransform class is in current directory make sure . is in your classpath. scott. --- TODD HARNEY [EMAIL PROTECTED] wrote: Also, do you need the package information on the SimpleTransform class? Does it have a

** CAN SOMEONE PLEASE ANSWER MY QUESTIONS BELOW **

2001-04-24 Thread Jonathan

Can someone explain the path attribute in action-mappings

2001-04-24 Thread Jonathan
How exactly do I implement it? The doc say "The application context-relative path to the action", but this is not clear to me. I am having the same trouble implementing the "input" attribute. Can anyone make this clear for me: What should the value

RE: Thread error....WHY?

2001-04-24 Thread Galon, Mary-Jay
thanks. solved it already. we had 2 pairs of eyes looking at the classpath and still missed it. -Original Message- From: Scott Walter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 3:29 PM To: [EMAIL PROTECTED] Subject: Re: Thread errorWHY? You aren't having thread

RE: Can someone explain the path attribute in action-mappings

2001-04-24 Thread Nanduri, Amarnath
something like /menu.jsp instead of menu.jsp -Original Message-From: Jonathan [mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 24, 2001 3:35 PMTo: [EMAIL PROTECTED]Subject: Can someone explain the "path" attribute in action-mappings How

RE: *** implementing consecutive form validation? ***

2001-04-24 Thread Nanduri, Amarnath
Try using a single Form but 3 different Actions (for flexibility). The form is send from page to page. Set a dirtyflag in the form which checks what page the user is in. Based on that value, do the corresponding validation in the Form. Amar.. -Original Message-From: Jonathan

RE: struts accessing bean:message tags from somewheres

2001-04-24 Thread Abraham Kang
Hi G.L., I don't know if this helps but can you do a global search for all *.properties files on the classpath (including your web-app classpaths) and put main.title in them. I have a feeling Orion is reading the wrong *.properties file on your system. Good Luck, Abraham -Original

JSPC compilation in ANT?

2001-04-24 Thread dhay
Hi everyone. Just wondering if anyone is compiling their Struts pages using Ant? Is there a built in task that will work with Struts tags etc? Thanks, Dave

RE: *** implementing consecutive form validation? ***

2001-04-24 Thread David Winterfeldt
I have an example doing multi-page validation, but you need to define what field is on what page in the xml. I'm working on a more MVC'ish multi-page design, but that isn't done yet. http://home.earthlink.net/~dwinterfeldt/ David --- Nanduri, Amarnath [EMAIL PROTECTED] wrote: Try using a

jsp:useBean -vs- DefineTag

2001-04-24 Thread Peter Alfors
Hello all, Sorry this is a bit off topic...I posted this on the taglibs-user list but haven't had any luck. How do you make an object available to the page as a script variable in a taglib without having to use a getAttribute() method to retrieve it? The jsp:useBean taglib allows you to

Re: *** implementing consecutive form validation? ***

2001-04-24 Thread Jonathan
Can you elaborate? Are you saying1 ActionForm and3 Action objects? Do you validate in the ActionForm or in the Action? Can you please explain the "dirty flags" technique? - Original Message - From: Nanduri, Amarnath To: '[EMAIL PROTECTED]' Sent: Tuesday, April 24,

*** Can someone please elaborate on multi form validation ***

2001-04-24 Thread Jonathan
Please share some techniques guys.

Is the Local object a given in Struts ?

2001-04-24 Thread Jonathan
Do we get a Local object when we use struts, or do we have to implement it? It look like I get a default Local object for free, but if I want to be able to change languages on the fly I have to implement more Local objects. The documentation says: "When the user logs on, the application can

Re: Is the Local object a given in Struts ?

2001-04-24 Thread David Winterfeldt
If a Locale object isn't in scope, the ActionServlet will make one based on Locale.getDefault(). You can change it like this. session.setAttribute(org.apache.struts.action.Action.LOCALE_KEY, new java.util.Locale(fr, )); David --- Jonathan [EMAIL PROTECTED] wrote: Do we get a Local object

RE: *** implementing consecutive form validation? ***

2001-04-24 Thread Nanduri, Amarnath
1 ActionForm and 3 Action objects. The reason for the 3 actions is it gives you flexibility in your business implementation. I personally would not do any business logic till i have all values in hand. So ActionObject1 and ActionObject2 will just send the user to the correct next pages. It

RE: Is the Local object a given in Struts ?

2001-04-24 Thread Nanduri, Amarnath
I believe Locale Object (or) Local object is stored under a key in session. All you have got to do is create a new Local Object and put it under this key. In this way struts will be easily able to pickup the new locale. Somebody in the mailing list has asked for this before. If you check

Help. Stuts + iPlanet Webserver

2001-04-24 Thread Jivan, Rajiv
I have followed the instruction on configuring iPlanet but I am still getting no where. I have unzipped the struts example war file. [24/Apr/2001:17:54:57] warning ( 1152): Internal error: Failed to get GenericServlet. (uri=/strut/index.jsp,SCRIPT_NAME=/strut/index.jsp) [24/Apr/2001:17:55:56]

multiple select: pulling from the database and populating the select listbox in a form with multiple selections

2001-04-24 Thread Joel Schmidt
I've looked through the mail list but still don't quite get it. I'm working on a form that can create or edit a particular role and it's functions I want to (in create mode) select multiple functions and then in edit mode display those multiple functions selected in a multiple select listbox. Do

ActionForwards / validation control flow questions

2001-04-24 Thread Roxie Rochat
I'm getting a javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:449) when I try to do validation, so I went back to the basic struts example and tried to dissect it. I've ended up being even more confused about how

needed taglibs

2001-04-24 Thread G.L. Grobe
Someone told me they thought some of my tag-libs were depricated and that I shouldn't be using them anymore. From the examples at Bluestone, I added these to my web.xml file. The web site only shows four that look to be needed. template, logic, form, bean. Are these correct? If anyone

RE: needed taglibs

2001-04-24 Thread Iraklis Kourtidis
Gary, I believe the form taglibs are deprecated. Instead, the 'html' taglib is used. Iraklis -Original Message-From: G.L. Grobe [mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 24, 2001 8:14 PMTo: [EMAIL PROTECTED]Subject: needed taglibs Someone told me they thought

why does struts use forward instead of redirect

2001-04-24 Thread Jonathan Asbell
Anyone know why struts uses forward instead of redirect?

Re: why does struts use forward instead of redirect

2001-04-24 Thread Jim Richards
At 11:13 PM 24/04/01 -0400, you wrote: Anyone know why struts uses forward instead of redirect? A redirect sends a request back to the browser, thus generating another connection between the client and server. Forward keeps it internal to the server, which also means you can re-use the request

Thread error....WHY?

2001-04-24 Thread Galon, Mary-Jay
Im sending to both groups for maximized feedback. I am executing a compiled Xalan sample and getting an error. Does anyone know why I could be getting thread issues. -- REVISED CLASSPATH (i re-installed jdk to root