How to use struts in the weblogic5.1

2001-06-09 Thread zhongqing
can somebody share some experiences in using struts in the weblogic5.1?

RE: Can you do this with internationalisation.

2001-06-09 Thread Valery Kocubinsky
Hello My boss wants to haveeach web page with link of language choose. Now each page have 2 link : french and english.I define link as a href="%= request.getContextPath() %?locale=en_CA" bean:message key="language.english"/aand a href="%= request.getContextPath() %?locale=fr_CA"

Re[2]: Can you do this with internationalisation.

2001-06-09 Thread Oleg V Alexeev
Hello Valery, Saturday, June 09, 2001, 11:42:43 AM, you wrote: VK Hello VK My boss wants to have each web page with link of language choose. VK Now each page have 2 link : french and english.I define link as VK a href=%= request.getContextPath() %?locale=en_CA bean:message

Re: Re[2]: Can you do this with internationalisation.

2001-06-09 Thread Valery Kocubinsky
Thank you for your response. I try do your solution with only litle change (I'm beginer in struts .May be I understand you) actionpath=/language type=some.package.LanguageAction !--type=some.package.LanguageForm -- name=languageForm /action It's

uploading file requires immediate serialization location?

2001-06-09 Thread Jonathan Asbell
Hello all. I am just trying to understand an aspect of a multipart request. When you submit after using an input of type "file", do you have to provide an immediate location for the file to be serialized to, or can you store it in a java object (in a bean's field) as a binary object until

Re: Problem With Struts and Tomcat

2001-06-09 Thread Dan Miser
You don't *need* VAJ 3.5.3 to run 3.2.1. Of course, you need to do things yourself as opposed to using the IBM Tomcat integration offering. If you have specific problems with your config, post them here and I should be able to help out. Also, there's an article on VADD that outlines most of the

Re[4]: Can you do this with internationalisation.

2001-06-09 Thread Oleg V Alexeev
Hello Valery, Saturday, June 09, 2001, 1:56:53 PM, you wrote: VK Thank you for your response. VK I try do your solution with VK only litle change (I'm beginer in struts .May be I understand you) VK actionpath=/language VKtype=some.package.LanguageAction VK

Exception handling in the ActionServlet

2001-06-09 Thread klaus . bucka-lassen
Hi, I would like to catch all of our project specific exceptions in one place (as a last resort, if nobody else catches them earlier on) and handle them in a generic way. The obvious way to do this, I think, is by overriding processActionPerform in our own ProjectActionServlet and catch

Re: No context loader error

2001-06-09 Thread Craig R. McClanahan
On Mon, 4 Jun 2001, Jan Fredrik Øveraasen wrote: Hi When I try to deploy my struts-application to a SilverStream app. server I get the following error message: No context class loader: java.util.collection No context class loader seems like an odd message (it's not coming from

Re: multiple selectlists

2001-06-09 Thread Craig R. McClanahan
On Mon, 4 Jun 2001, Dante le Poole wrote: Hi all, Can Struts deal with selectlists which allow multiple selections? Sure. There is an example of this on the html-select.jsp page in the exercise example application. Basically, you say something like: html:select property=propname

Re: input in XML config

2001-06-09 Thread Craig R. McClanahan
On Wed, 6 Jun 2001, Jonathan wrote: I for one dont even understand the value in the input value parameter. There could be MANY pages that got you to the page you are on. The input value just makes one possible origin available for you to have as a return target should things go fowl. I

Re: Need help with Can't remove attributes from request scopeprobl em.

2001-06-09 Thread Craig R. McClanahan
On Tue, 5 Jun 2001, Ritter, Steve wrote: Hi everyone, We ran into a problem running b2/b3 on Servletmill that others seem to have hit with WTE. It occurs when trying to access the login page from struts-example, you get an IllegalArgumentException with message Can't remove attributes

Re: Query: ActionMappings

2001-06-09 Thread Craig R. McClanahan
On Tue, 5 Jun 2001, Upadhye, Sujit (GEAE, Foreign National) wrote: Hello, In local-forwards, can I forward the control to another Action object instead of forwarding to a JSP? Yes. In effect, you are chaining multiple actions together. Just set the path in your forward element to a

RE: Form based authentication

2001-06-09 Thread Craig R. McClanahan
On Wed, 6 Jun 2001, Jon.Ridgway wrote: Hi, When using form based auth the web container will under take the auth using the j_password j_username supplied. So it all depends on which container you are using. Tomcat for example allows you to map to a database containing user and role

Re: Need your help -- Digester class

2001-06-09 Thread Craig R. McClanahan
On Wed, 6 Jun 2001, Hartmut Bernecker wrote: Hi, I want use the Digester class to populate some objects with XML-Data. The Properties of the objects have not identical names to the XML-Attributes. Therefore I need a mapping. Am I right, when I search for a solution with that statement:

Re: Where can I get the latest version of Jasper?

2001-06-09 Thread Craig R. McClanahan
On Wed, 6 Jun 2001, Ritter, Steve wrote: Does anyone know how I get the latest version of Jasper? Do I have to download Tomcat and if so which version? Thanks in advance!!! --Steve Jasper is not packaged separately from Tomcat -- you'll need to get Tomcat if you want it. Craig

Re: What happened to the 'etc','src' and 'web' directories in Struts binary download?

2001-06-09 Thread Craig R. McClanahan
On Wed, 6 Jun 2001, Shamdasani Nimmi-ANS004 wrote: Hi, I just downloaded Struts 1.0-b3 and found out that 'etc', 'src' and 'web' directories are no longer there. What happened to these? It was convenient to get the source code also in one shot of download. -Nimmi They were

Re: ActionForm/Action with edit mode

2001-06-09 Thread Craig R. McClanahan
On Wed, 6 Jun 2001, John Hogan wrote: All, I have a situation where it is desirable to use a form/page for both adding new info and editing existing data. The new info scenario is straight forward struts ActionForm/Action classes. What I'm wrestling with a bit is the edit scenario.

Re: Can I have NO action?!

2001-06-09 Thread Craig R. McClanahan
On Wed, 6 Jun 2001 [EMAIL PROTECTED] wrote: Hi. I have a form where I display the current filename, and allow them to change it. As such, I don't need to do anything in the action, just let Struts populate the form bean. Without an Action, how would Struts know where to go next?

Re: ClassNotFound Exception in struts-example (b3)???

2001-06-09 Thread Craig R. McClanahan
On Wed, 6 Jun 2001, Ritter, Steve wrote: Hello, I've got struts-b3 installed here and we were stepping through the struts-example. A problem arises when I click on the submit button in logon.jsp -- I get a ClassNotFound exception: [06/06/2001 16:12:39:511|17000] (ERROR) request_handler:

Re: Problem with struts example

2001-06-09 Thread Craig R. McClanahan
On Wed, 6 Jun 2001 [EMAIL PROTECTED] wrote: Has anyone run into this problem? When I try to run the struts-example page I get the following error: org.apache.jasper.JasperException: Unable to compile class for

Re: Can anyone help with solving the BACK button problem, in thebr owser?

2001-06-09 Thread Craig R. McClanahan
On Thu, 7 Jun 2001, Dudley Butt@i-Commerce wrote: Please help, When the user pushes the back button, I want the page to redirect or refresh to a different page, please, any ideas? Thanx guys and gals Dudley The server doesn't really get involved in the back button -- any solution

Re: Can you do this with internationalisation.

2001-06-09 Thread Craig R. McClanahan
On Thu, 7 Jun 2001, Alex Colic wrote: Hi, my boss wants me to set up one of my apps written using struts for a demo. He wants to have a web page with a couple of flags. The use clicks on of the flags and enters the program using the language they selected. Not having gone down this

RE: Can anyone help with solving the BACK button problem, in th e browser?

2001-06-09 Thread Craig R. McClanahan
On Fri, 8 Jun 2001, Dudley Butt@i-Commerce wrote: yes, but this is a form that is being filled in like a wizard type of thing, i need the form to be session any ideas, for an alternative? The alternative approach is to have *all* of the input fields for the entire wizard included on

Re: Struts Beta 03 Build Problem

2001-06-09 Thread Craig R. McClanahan
On Fri, 8 Jun 2001, David McLure wrote: Any idea why I am consistently getting an org.apache.tools.ant.taskdefs.optional.TraXLiason ClassNotFoundException when trying an ant dist build of jakarta-struts-1.0-b3-src using Ant 1.3 on both NT and Linux? I have what seem to be the only

Re: Struts Beta 03 Build Problem

2001-06-09 Thread Craig R. McClanahan
On Fri, 8 Jun 2001, Oleg V Alexeev wrote: Hello David, Friday, June 08, 2001, 9:06:12 AM, you wrote: DM Any idea why I am consistently getting an org.apache.tools.ant.taskdefs.optional.TraXLiason ClassNotFoundException when trying an ant dist build of jakarta-struts-1.0-b3-src using

RE: Javascript Validation

2001-06-09 Thread Craig R. McClanahan
On Fri, 8 Jun 2001, Dudley Butt@i-Commerce wrote: i just find it sometimes easier to move all validation off the jsp, and hence all java off the jsp. I think its just basically a personal preference. This way I'm making full use of the struts error handling model and keep all my java in

Re: JSP expressions inside custom tags

2001-06-09 Thread Craig R. McClanahan
On Fri, 8 Jun 2001, Erich Meier wrote: Hi! I am evaluating struts for a new project. One problem I wasn't able to solve was the integration of JSP expressions inside the attributes of custom tags. My code looks like this: logic:iterate id=pelement name=MyBean property=pelements %

Re: default select on radio

2001-06-09 Thread Craig R. McClanahan
On Fri, 8 Jun 2001, Kiet Nguyen wrote: how do I set default values for radio and checkboxes. I normally use boolean properties in my form beans for these. You can set them to appropriate defaults when the bean is first created (i.e. in the constructor) just like you can set all the String

Re: Problem With Struts and Tomcat

2001-06-09 Thread Craig R. McClanahan
On Fri, 8 Jun 2001, Thomas L Richards wrote: Ok, I've got a bit of a headache and here's the cause: I'm using Visual Age for Java 3.5.2, with Tomcat 3.1. That works fine. I installed Struts 1.0-b3 with Xerces 1.4.0. Then I installed the struts-example.war file. That installed fine too

Re: Java Server Faces

2001-06-09 Thread Craig R. McClanahan
On Fri, 8 Jun 2001, Ian Kallen [EMAIL PROTECTED] wrote: At JavaOne today, it seemed to be suggested that j2ee would have a MVC framework join the recommendations. Later in the talk (scalibility in the web tier with jsp blah blah ridiculously long title), it struts was alluded to as

Re: Exception handling in the ActionServlet

2001-06-09 Thread Craig R. McClanahan
On Sat, 9 Jun 2001 [EMAIL PROTECTED] wrote: Hi, I would like to catch all of our project specific exceptions in one place (as a last resort, if nobody else catches them earlier on) and handle them in a generic way. The obvious way to do this, I think, is by overriding

Re: html:radio tag question

2001-06-09 Thread Martin Cooper
If you specify the same value for the 'property' attribute for all the radio buttons which should be in the group, this should work. The value of the 'property' attribute (of your form or other bean) will then be used to determine which one to select when the page is initially displayed, and the

Re: Java Server Faces

2001-06-09 Thread Martin Cooper
No, JavaServer Faces is something different. JavaServer Faces is being developed as JSR-127, the quick summary being This specification defines an architecture and APIs which simplify the creation and maintenance of Java Server application GUIs. The idea, as I understand it, is that JavaServer

more strange JRUN behavior

2001-06-09 Thread Gogineni, Pratima
I have a webapp that I have been testing under both tomcat and JRUN for sometime now. About a month ago I decided to go with app server provided form based security. I tested my app on JRUN,Tomcat and Resin and it worked fine. Since then I had been working only on tomcat - now when I tested

Re: viewing combo box

2001-06-09 Thread Martin Cooper
If you need to test for the property value being null, you can use the logic:present tag. If you need to test for a vector which exists but which has no elements, you'll have to use another field in your form, as someone else suggested, or use scriptlets in your page. (A better way of handling

Re: ACtionError Issues

2001-06-09 Thread Martin Cooper
In your description, you said: Input on the struts-config page is department.do. I believe that is the problem. You are specifying an Action path instead of a JSP path for the input parameter in your struts-config.xml. In your action element, you need to specify: action ...

Re: more strange JRUN behavior

2001-06-09 Thread George Craig
I, too, have observed this intermittent quirkiness in its authentication behavior. After reading all of their forum posts, the consensus is to use Basic authentication. I concur that it has been the most stable for container authentication in J-Run. I would shy away from Form-based

Re: uploading file requires immediate serialization location?

2001-06-09 Thread Martin Cooper
Internally to Struts, multipart handling is provided through an interface, MultipartRequestHandler. In Struts 1.0, the only supplied implementation of this interface is DiskMultipartRequestHandler, which, as you might expect, writes file parts to disk as it encounters them. Struts does allow you

Re: uploading file requires immediate serialization location?

2001-06-09 Thread Jonathan Asbell
Hello Martin. So is it POSSIBLE to save binary data in a bean? What does struts do? These are my real questions. If I have a form which besides fields, has an uploaded file, how does the bean actually handle the file? Is there a conceptual step by step you can give me. How does the

Re: uploading file requires immediate serialization location?

2001-06-09 Thread Martin Cooper
Let me see if I can describe the process. 1. Check to see if the request should be treated as multipart (i.e. content type is multipart/form-data and method is POST). If not, carry on as normal. 2. Find the multipart handler or instantiate one, set it on the form bean, and call it to handle the

RE: more strange JRUN behavior

2001-06-09 Thread Gogineni, Pratima
sadly - I see this in 3.0 as well as 3.1 which was very recently released. I havent tested the basic authentication as yet. I thought I would have more control using the form based authentication. I need to evaluate and see if the basic authentication works fine - else I should probably go with

JSP translated to Tags???

2001-06-09 Thread Gogineni, Pratima
Speaking of JRUN - I was playing with their latest version 3.1 and they have a very strange concept/tool .. You can write jsp pages and name them with a *.jst extension and they get translated to a custom tag instead of to a servlet. I thought it was not a good idea - jsp to create tags to use

Re: File Upload Corrupting Zip File

2001-06-09 Thread Martin Cooper
Do you have a binary diff utility that you could use to see what changed in the uploaded file? That would be very helpful. Also, if you can tell me how many bytes were added to the file, and what type of file it was that caused the problem, that might help too. Thanks. -- Martin Cooper -

form beans are not being added to the session

2001-06-09 Thread Eliot Stock
My struts-config.xml contains: form-beans form-bean name=loginForm type=org.icsgiving.nms.servlet.LoginForm/ form-bean name=locationForm type=org.icsgiving.nms.servlet.LocationForm/ form-bean name=requestForm

template:put and get

2001-06-09 Thread Jim Richards
I've got a situation where I want to include a header file with template:insert template=/share/inc_header.jsp template:put name=header_image content=/media/h_modify.gif direct=true/ /template:insert and then in the header file have html:img page=/media/h_modify.gif width=315

Re: Struts Beta 03 Build Problem

2001-06-09 Thread [EMAIL PROTECTED]
Hello Craig, Yes! The optional.jar was indeed the missing ingredient. I am happily building Struts now. Thank you! On Fri, 8 Jun 2001, Oleg V Alexeev wrote: Hello David, Friday, June 08, 2001, 9:06:12 AM, you wrote: DM Any idea why I am consistently getting an