Re[2]: Forward Problem

2001-06-13 Thread Oleg V Alexeev
Hello Sridhar, Hm.. But why do you place validate=false attribute to the action mapping? I think it switch off validate process. validateSet to true if the validate() method of the form bean should be called prior to calling this action, or set to

get keys from MessageResources

2001-06-13 Thread Bauert Daniel
hi all, I'm a neu STRUTS 1.03b user. I would like to get all keys from the MessageResources object. I used the struts version 0.53 and got the keys as follows MessageResources resources = null; try { resources = MessageResources.getMessageResources(MyResources); } catch

Please confirm css ok from client-side jscript validation

2001-06-13 Thread Chuck Amadi
I have placed the CSS file in my struts-bbnpa( named web app) and not directly in WEB-INF directory. but as follows - /struts-bbnpa/css/bbnpa.css" same level as WEB-INF I have used the LINK tag as the href the client's browser should not be able to access the style sheet. as demonstrated - works

RE: Form-based Authentication

2001-06-13 Thread Jon.Ridgway
Hi All, Form based auth is something that I have just been looking at, so I thought I'd add my two pennies worth. My login form is using struts html, bean and template tags (no html:form) and all appears ok. My template has an adapted version of the checkLogin tag provided with the

errors during parsing struts-logon example-www.bluestone.com

2001-06-13 Thread Chuck Amadi
Hi, i have been developing the struts-trail examples from www.bluestone.com/scritps/ and a one stage everything was working albeit not now . The classpath for my form bean etc (struts-bbnpa/WEB-INF/classes/logon/logonForm.java) struts-bbnpa is my wep app i am aware that the .java are the

How to access getIndex method of iterate tag in a jsp page

2001-06-13 Thread Mark Kettner
Hi all, I'm using the struts library for quite some time now and I'm very pleased with it. What I want to do is display a HTML form in which users can update values that are stored in an array. The values are displayed using the iterate tag. However to store the new value I need the index of

help !! invalid package declarations (struts)

2001-06-13 Thread Chuck Amadi
Hi, does anyone no why i now reciveve the following invalid package declarations My Package classpath is struts-bbnpa/WEB-INF/classes/org/breconbeacons/class.java struts-bbnpa the name of my webapp. I have declared package org.breaconbeacons; // top of java classes. Sorry 4 keeping on Cheers

struts-example and resin-1.2.7 under linux

2001-06-13 Thread Felix von Delius
I'm having trouble to bring the struts-example application to work with resin-1.2.7 under linux. With Win2K it runs just fine, but when doing the same installation under linux, I always catch the exceptions appended at the end of this mail. According to Scott Ferguson (developer of resin),

GenericDataSource

2001-06-13 Thread hunkpapa
Hi, I've some new questions to GenericDataSource. I put this in the struts-config.xml data-sources data-source autoCommit=false description=Example Data Source Configuration driverClass=sun.jdbc.odbc.JdbcOdbcDriver maxCount=4 minCount=2

Graphics-Object

2001-06-13 Thread Michael Schommer
Hi, I have an Action-Class, which generates a Graphics-Object and want to display it as image by a JSP, without saving it as file. Is there any idea? Gruß Michael -- Java - write once, run anywhere

Re: Graphics-Object

2001-06-13 Thread suhas
how about using advanced imaging apis ? suhas - Original Message - From: Kommineni, Sateesh (IndSys) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 12:25 PM Subject: RE: Graphics-Object Hi.. With thehelp of JPEGEncoder and BufferedImage Classes you can

RE: GenericDataSource

2001-06-13 Thread Jon.Ridgway
Hi, Not sure how correct this is but.. when you use DataSource.getConnection () in struts your connection will be popped of a pool. You are responsible for closing statements and the connection when you have finished with it. These may close automatically when they go out of scope, but I

RE: GenericDataSource

2001-06-13 Thread David Winterfeldt
You need to call close() on the connection to return it to the connection pool. It will not go back to the pool just because you loose a reference to it. It is important to catch exceptions and have a finally block that makes sure this happens so connections don't get lost. David ---

Re: Graphics-Object

2001-06-13 Thread Michael Schommer
Hi, I want to hang the Graphics-Object for example on the HttpSession and read it from the JSP by the html:img- or other tag. Will it work and how? Gruß Michael -- Java - write once, run anywhere |+- || suhas| ||

RE: Displaying data retrieved from a database

2001-06-13 Thread Luna, Kat
It took me another day to find the small errors (I was not referencing the form bean correctly in the jsp) but your code snippets really helped. I think I finally understand how to retrieve a property from a form and iterate through it. Thanks again Kat -Original Message-From:

Re: errors during parsing struts-logon example-www.bluestone.com

2001-06-13 Thread Jonathan Asbell
I had a similar problm that went away after I deleted the temp war files (the servlets that are generated from the jsp) - Original Message - From: Chuck Amadi To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 4:56 AM Subject: errors during parsing""

help with package struts-classpath

2001-06-13 Thread Chuck Amadi
Hi, i have checked my struts-config and i noticed that the action mappings reads below. Thus my classpath is struts-bbnpa/WEB-INF/classes/org/breconbeacons/it/class.java struts-bbnpa the name of my webapp. I have declared package org.breaconbeacons.it ; // top of java classes page !-- The

Re: Form-based Authentication

2001-06-13 Thread Jonathan Asbell
Hi Jon. i was reading about this form based auth, and I wondered if you could explain some things to me. Is form based auth just a combination of an element declared by the web.xml and a line or two in the java code? - Original Message - From: Jon.Ridgway [EMAIL PROTECTED] To: [EMAIL

Re: Where should I use .do and where .jsp for the same file

2001-06-13 Thread Eda Srinivasareddy Eda
Hi The main utilization of .do arises with the html:link... tag. '.do' is used only to call a mapping not to call a jsp. If u wanted to call a mapping through a link we can'tcall it as '/mappingname'.We can callit only as '/mappingname.do' . For clarity see the following code. html:link

Re: help with package struts-classpath

2001-06-13 Thread Jonathan Asbell
should be for UNIX/LINUX /struts-bbnpa/WEB-INF/classes or for Windows c:\struts-bbnpa\WEB-INF\classes - Original Message - From: Chuck Amadi To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 8:26 AM Subject: help with package struts-classpath Hi, i have

Re: GenericDataSource

2001-06-13 Thread Chuck Amadi
Hi, Im a newbie myself albeit i did managed to succeed in the generi datasource URI example. 1) the Struts manages to make a connection via the url IP address for example mine is - sql:url>jdbc:postgresql: / /111.15.1.10/test1/sql:url> // test1 the name of my database in postgresql. thus you

action help

2001-06-13 Thread Mike Thompson
Ok, I'm feeling totally lost. Here is a snippet from my struts-config.xml action-mappings action path="/servicemanager" type="com.instanton.secureex.web.action.service.ListServiceAction" forward name="success" path="/service/listservices.jsp"/ /action ... /action-mappings now in a

RE: Form-based Authentication

2001-06-13 Thread Jon.Ridgway
Hi Jonathan, Snip from http://java.sun.com/j2ee/blueprints/packaging_deployment/descriptors/index.h tml#1035772 'Form-based authentication is the preferred mechanism for authenticating application users in the J2EE platformThe security-constraint element specifies that the URL

Re: GenericDataSource

2001-06-13 Thread Chuck Amadi
oops me again i 4 got to mention that there is a set of interfaces that connection pools implement ie javax.sqlDatasource javax.sql.ConnectionPoolDatasource javax.sql.PooledConnection. Thus you have the JDBC 2.0 Connection pool note that DBtags has replaced JDBC tag library you may continue to

Re: help with package struts-classpath

2001-06-13 Thread Chuck Amadi
Thanx 4 confirmation Thus i believe that i must amend the mapping file struts-config.xml from - org.apache.struts.actions.javaClass to - org/breconbeacons/it/class.java is this correct procedure in Cheers Chuck Jonathan Asbell wrote: Part 1.1 Type: Plain Text (text/plain) Encoding:

RE: action help

2001-06-13 Thread Kiet Nguyen
I was having similar problem. make sure you have import tags in your jsp %@ page import="com.dgsystems.dgonline.bmo.OrgSummary" %%@ page import="java.util.*" % %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %%@ taglib

Re: action help

2001-06-13 Thread Linnea Ahlbeck
Hi! Use the html:form action="" tag instead of the html:link="" tag in the jsp page; html:form action="/servicemanager.do" Maby this can help??? /L - Original Message - From: Mike Thompson To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 3:24 PM

Re: GenericDataSource

2001-06-13 Thread Chuck Amadi
Sorry, anwser to the 1st question , the fact is the session is closed is because by default there is a 30 minute time out somewhere in xml doc's either tld or struts-config i'll have 2 take a look as im digesting all this at work and at home but there is definately a time out period. Hope this

Re: action help

2001-06-13 Thread Mike Thompson
Yeah, I have those included in /service/listservices.jsp %@page contentType="text/html"%%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %%@ taglib uri='/WEB-INF/struts-html.tld' prefix='html' %%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %%@ taglib

Re: help with package struts-classpath

2001-06-13 Thread Jonathan
No. Sorry for the confusion. In the struts-config.xml you are correct. Your CLASSPATH, however, mist be as I said. Your CLASSPATH should best be defined in the startup script of your webserver or app server, whichever one you are using with struts. - Original Message - From:

can't remove attributes from servlet

2001-06-13 Thread Van-Landeghem Tom
Hi, Today is my first day I try to play with Struts using Visual Age V3.5.3. I try settingup and running the EmployeeList example application from IBM in the WTE of VAJ. I get the following exception when I try to run the application : can't remove attributes from servlet which seems to be

Re: Please confirm css ok from client-side jscript validation

2001-06-13 Thread Peter Alfors
You can either link to a javascript file: SCRIPT language=JavaScript src=myJavascriptFile.js/SCRIPT Or include the javascript code directly: SCRIPT language=JavaScript function myFunct() {} /SCRIPT and call methods from whichever event you want: onLoad, onClick, etc HTH, Pete

RE: multiple mapping problems

2001-06-13 Thread Jonas Bjornerstedt
Craig R. McClanahan wrote: Struts does not currently support multiple controllers in the same web app (although there is an outstanding enhancement request in the bug tracking system for just this feature). Ugh. This is really bad news for me. By the fact that the name of the

RE: action help

2001-06-13 Thread Leo Song
looks to me there is nothing wrong. could you share the error you got? that will be an easier way. Leo -Original Message- From: Mike Thompson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 13, 2001 10:02 AM To: [EMAIL PROTECTED] Subject: Re: action help Yeah, I have those included

Re: action help

2001-06-13 Thread Mike Thompson
but it's not a form in the page, just a standard hyperlink... --m - Original Message - From: Linnea Ahlbeck To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 8:56 AM Subject: Re: action help Hi! Use the html:form action="" tag instead of the

javascript multiple submit

2001-06-13 Thread Kiet Nguyen
I'm trying to use javascript to submit a form. The javascrip function get called, but the form is not submited (i.e. the ActionClass doesn't execute) Here is my jsp. . script language=JavaScript function transmitMessage(msgAction) { document.orderRegularForm.action =

Re: action help

2001-06-13 Thread Mike Thompson
a 404 is generated :( No exception page or anything. - Original Message - From: Dan Marina To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 9:12 AM Subject: Re: action help what kind of error is generated by tomcat ? could you provide an extract from

RE: can't remove attributes from servlet

2001-06-13 Thread Jon.Ridgway
Hi Tom, Welcome to Struts... Try editing org.apache.struts.taglib.FormTag.doEndTag as follows : // Remove the page scope attributes we created pageContext.getRequest().removeAttribute(Constants.BEAN_KEY); pageContext.getRequest().removeAttribute(Constants.FORM_KEY); Jon.

RE: can't remove attributes from servlet

2001-06-13 Thread RUCH,SCOTT (HP-NewJersey,ex2)
I was just looking at this yesterday... If you are using struts 1.0-beta-3, and assuming you are using the WebSphere servlet container, then you probably got bit by the change for bug report #932: --- Additional Comments From Nick Chalko 2001-05-07 11:31 --- Running Struts from

RE: can't remove attributes from servlet

2001-06-13 Thread Ritter, Steve
Hi Tom, Read this included thread and follow the links identified. I am pretty sure that it covers your problem and potential fixes. It reads best if you start with the bottom and then read the top. To summarize, this is a known bug with VAJ and it has to do with the version of Jasper they

Re: javascript multiple submit

2001-06-13 Thread TODD HARNEY
I don't believe you need to pass the form object to the submit functionjust document.orderRegularForm.submit(); Hope this helps, Todd [EMAIL PROTECTED] 6/13/01 10:28 I'm trying to use javascript to submit a form. The javascrip function get called, but the form is not submited (i.e. the

Re: javascript multiple submit

2001-06-13 Thread Klaus Thiele
Hi, i'm not a javascript-specialist, but something like this is working for me: a href=javascript:document.forms[0].action.value='Create';document.forms[0].submit(); Am Mittwoch, 13. Juni 2001 16:28 schrieben Sie: I'm trying to use javascript to submit a form. The javascrip function get

RE: javascript multiple submit

2001-06-13 Thread Reynir Hübner
to submit a form with Javascript you have to use some thing like : form.submit(); [window.document.forms[i].submit()] it does not take any parameters. try this : script language=JavaScript function transmitMessage(msgAction) { document.orderRegularForm.action =

Re: javascript multiple submit

2001-06-13 Thread Peter Alfors
Looks like javascript does not know the name of your form. I have not used the html:form tag before, but from looking at the code, it does not look like having the form named in your xml document is going to set the form name. The html:form tag takes an attribute 'name' that you could set:

problem with html:link using Javascript

2001-06-13 Thread Nanduri, Amarnath
Hi all, I am facing a problem when using Javascript with html:link. Below is the jsp code segment and the html that was generated. My problem is that the jsessionid is being generated and this is messing up my webpage. I keep getting javascript errors. Any help on an alternate suggestion would

Re: help with package struts-classpath

2001-06-13 Thread Chuck Amadi
Sorry about this what happens regarding the action path="/admin/addFormBean" as im about to amended the type="org.breconbeacons.it.AddFormBeanAction. cheers chuck action path="/admin/addFormBean" type="org.apache.struts.actions.AddFormBeanAction"/> action path="/admin/addForward"

Re: action help

2001-06-13 Thread Dan Marina
try to look in logs files on your hdd, in $tomcat/logs/logserror files . there you'll find all erors. do you have the same error with tomcat 3 ? At 09:25 AM 6/13/2001 -0500, you wrote: a 404 is generated :( No exception page or anything. - Original Message - From: Dan Marina To:

RE: Interfaces in Struts

2001-06-13 Thread Anthony Martin
You have my example a little wrong, but I get it. My XxxDBM.java files perform database operations on qualified beans. In my example, a qualified bean would usually implement the interface that defines the bean, but you're saying that I could create a generic bean with or without the interface,

important tip for installing struts within resin!

2001-06-13 Thread Felix von Delius
Now I found a reason for my trouble: I had a copy of struts.jar in $RESIN_HOME/lib instead of having it only in my application's WEB-INF/lib. This caused resin not to find any application classes. After deleting struts.jar from $RESIN_HOME/lib everything works fine. It costs me half a day to

Re: help with package struts-classpath

2001-06-13 Thread Dan Miser
Don't change those action types. Those are default classes provided in struts.jar. Open struts.jar with WinZip and you'll see the classes in there. They are for dynamic, run-time administration of your webapp and are not required at all. -- Dan Miser http://www.distribucon.com - Original

Re: action help

2001-06-13 Thread Mike Thompson
I've looked there is nothing :( Manager[/SecureExWeb]: Seeding random number generator class java.security.SecureRandomManager[/SecureExWeb]: Seeding of random number generator has been completedContextConfig[/SecureExWeb]: Added certificates - request attribute

problem with forwarding to error-page

2001-06-13 Thread Puneet Vardhan
Hi, I tried using error-page element in web.xml to forward user to a message page within the application if exception occurs, but it doesnt seem to work on websphere and HP-bluestone application servers. Has anyone succesfully used it with any of these containers? Thanks Puneet

WebSphere, Jasper and Struts 1.0b3

2001-06-13 Thread Brugge, John
We're trying to deploy our Struts application to WebSphere 3.5.4, and are running into problems with what appears to be an outdated version of Jasper shipping with WebSphere. I'm wondering if others have seen similar problems. [Note: we've been doing development using Tomcat 3.2.1, with no

RE: javascript multiple submit

2001-06-13 Thread Kiet Nguyen
thanks to everyone that reply and read my mail. I changed my input statement and it works. input type=image name=submit src=images/search.gif value=Submit onClick=transmitMessage('Submit Order') I'm amaze that there are many generous developers out there. I feel honor to be on this mailing

RE: WebSphere, Jasper and Struts 1.0b3

2001-06-13 Thread Ritter, Steve
Hi John, This problem has been discussed many times in this mailgroup, you aren't alone! I guess there are quite a few servlet engines that are using an old version of Jasper. You might want to check the mailgroup archives, here is a link to a thread that discusses alternatives -- and a

Iterate tag update?

2001-06-13 Thread dhay
I have a question similar to Mark Kettner's. Could someone give an update on the iterate tag, and where it stands with the ability to get hold of the current index. I need to have each field in each table row with a different name (ie include the index in it) to reference particular one using

Declarative security constraints

2001-06-13 Thread Geddes, Mark (ANTS)
I am using the security-constraint tag in web.xml to protect access to my pages. Ihave beenunable to use this method to restrict access to specific requests, say 'action1.do'. I assume this is because only the resources are protected (i.e. the actual JSPs). The upshot is that I am

Re: GenericDataSource

2001-06-13 Thread Mark Johnson
In Tomcat 3.2.1 the session timeout is set in $JAKARTA_HOME/build/tomcat/conf/web.xml. HTH... Date: Wed, 13 Jun 2001 14:51:21 +0100 To: [EMAIL PROTECTED] From: Chuck Amadi [EMAIL PROTECTED] Subject: Re: GenericDataSource Message-ID: [EMAIL PROTECTED] Sorry, anwser to the 1st question ,

RE: Form-based Authentication

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Jon.Ridgway wrote: Hi All, Form based auth is something that I have just been looking at, so I thought I'd add my two pennies worth. My login form is using struts html, bean and template tags (no html:form) and all appears ok. My template has an adapted version of

Re: struts-example and resin-1.2.7 under linux

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Felix von Delius wrote: I'm having trouble to bring the struts-example application to work with resin-1.2.7 under linux. With Win2K it runs just fine, but when doing the same installation under linux, I always catch the exceptions appended at the end of this mail.

Re: Declarative security constraints

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Geddes, Mark (ANTS) wrote: I am using the security-constraint tag in web.xml to protect access to my pages. I have been unable to use this method to restrict access to specific requests, say 'action1.do'. I assume this is because only the resources are protected (i.e.

Re: GenericDataSource

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Mark Johnson wrote: In Tomcat 3.2.1 the session timeout is set in $JAKARTA_HOME/build/tomcat/conf/web.xml. HTH... Actually, the *default* timeout can be set in your own web.xml file: session-config session-timeout 45 /session-timeout !-- minutes --

i18n + html:link

2001-06-13 Thread Steve A Drake
Hello. I am trying to implement internationalized rollover buttons using html:link. To do this, I'm trying to use quotes three levels deep and I guess that's illegal in Javascript. For example, for onmouseover, if I try to extract the source name from the resource file, I try:

RE: Form-based Authentication

2001-06-13 Thread Abraham Kang
Hi Jon, I know that WebLogic gets rid of these after authentication. --Abraham -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 13, 2001 1:51 AM To: [EMAIL PROTECTED] Subject: RE: Form-based Authentication Hi All, Form based auth is

RE: WebSphere, Jasper and Struts 1.0b3

2001-06-13 Thread Brugge, John
Thanks, Steve, for the gentle pointer to a previously discussed topic ;-) Sorry, I must have been asleep when that thread was going past. Does anyone know why IBM and others would be so slow and/or reluctant to upgrade their tools with software that's freely available, and is improving their own

Re: Graphics-Object

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Michael Schommer wrote: Hi, I want to hang the Graphics-Object for example on the HttpSession and read it from the JSP by the html:img- or other tag. Will it work and how? The fundamental concept is that an Action can, in fact, create the response itself, if it

RE: javascript multiple submit

2001-06-13 Thread Abraham Kang
Hi Kiet, I think you need to sprinkle some alerts through out your transmitMessage function. You also might want to change: document.orderRegularForm.submit(document.orderRegularForm); to: document.orderRegularForm.submit(); and finally do a View Source on your page to make sure the form

RE: WebSphere, Jasper and Struts 1.0b3

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Brugge, John wrote: Thanks, Steve, for the gentle pointer to a previously discussed topic ;-) Sorry, I must have been asleep when that thread was going past. Does anyone know why IBM and others would be so slow and/or reluctant to upgrade their tools with software

Re: Need help with updatable indexed properties.

2001-06-13 Thread Jeff Trent
Try looking in www.mail-archive.com under struts-user for the keywords Grid or Matrix. You'll find some material there. - Original Message - From: Shamdasani Nimmi-ANS004 [EMAIL PROTECTED] To: struts-user@jakarta. apache. org (E-mail) [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001

Help with struts-example...

2001-06-13 Thread Ryan Cornia
In the struts-example, there is an OrganizationForm, and an Organization bean. They have identical fields and getters and setters. Why is the logic duplicated in both places? Couldn't OrganizationForm extend Organization, or have a organization bean in it that you could reference from a form

RE: WebSphere, Jasper and Struts 1.0b3

2001-06-13 Thread Wayland Chan
An AppServer contains many components. The WebSphere team cannot simply upgrade to the latest and greatest of each component each time it comes out. Think of all the incompatibilities (or code deprecation) that they'd have to resolve. By the time you upgrade to the latest version, who's to say

How do make sure that the ActionForward will be on the whole screen

2001-06-13 Thread Joyce Tang
Title: How do make sure that the ActionForward will be on the whole screen Here is my problem I have a frameset. There is a button on the bottom frame. When the user click on the button, the frameset need to be replaced with a non-frameset JSP page. How should I do this? Do I do this in

Re: action help

2001-06-13 Thread Martin Cooper
I believe the url-pattern in your servlet mapping should be *.do, not /*.do. Hope this helps. -- Martin Cooper - Original Message - From: Mike Thompson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 6:24 AM Subject: action help Ok, I'm feeling totally lost.

Re: important tip for installing struts within resin!

2001-06-13 Thread Dallas_Browning
Thank you S much for posting that. I have been wondering for quite a while why I can't get any of my application class to be found. Thanks Again, Dallas

RE: WebSphere, Jasper and Struts 1.0b3

2001-06-13 Thread Kyle Brown
I can't speak officially for IBM on this, but the short answer is testing. Building an application server is an enormous undertaking. The application servers themselves are some of the biggest Java applications on the planet. We're easily talking about close to a million lines of code. As such

Re: action help

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Martin Cooper wrote: I believe the url-pattern in your servlet mapping should be *.do, not /*.do. There was a bug in the deploytool for J2EE RI 1.3-beta-1 that caused these mappings to be created incorrectly (/*.do). It's been fixed in the recently released

Re: Help with struts-example...

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Ryan Cornia wrote: In the struts-example, there is an OrganizationForm, and an Organization bean. They have identical fields and getters and setters. Why is the logic duplicated in both places? Couldn't OrganizationForm extend Organization, or have a organization bean

mailing list

2001-06-13 Thread RAdams2472
What do I need to do to get off of this mailing list? It's overflowing my inbox!

Re: struts-example and resin-1.2.7 under linux

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Felix von Delius wrote: I'm having trouble to bring the struts-example application to work with resin-1.2.7 under linux. With Win2K it runs just fine, but when doing the same installation under linux, I always catch the exceptions appended at the end of this mail.

No getter method

2001-06-13 Thread Gus Delgado
I'm trying to re-write the example included in the struts package. I made some changes to the code and now when I try to bring the registration.jsp with an action=Edit. I get an error: No getter method for property mypropertyname of bean mybeanname. I change what I think is everything I needed to

RE: mailing list

2001-06-13 Thread Reynir Hübner
To remove your address from the list, send a message to: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] hope it helps -r -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 13, 2001 6:45 PM To: [EMAIL PROTECTED] Subject: mailing list

Re: mailing list

2001-06-13 Thread Jonathan
a new mailbox ? ;^ - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 2:45 PM Subject: mailing list What do I need to do to get off of this mailing list? It's overflowing my inbox!

Re: No getter method

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, Gus Delgado wrote: I'm trying to re-write the example included in the struts package. I made some changes to the code and now when I try to bring the registration.jsp with an action=Edit. I get an error: No getter method for property mypropertyname of bean mybeanname.

Re: i18n + html:link

2001-06-13 Thread Dallas_Browning
I don't think that JavaScript is your problem. Once the JSP page is processed, the javaScript should look just like it does when you hardcode the value into it. Looks to me like your application resource bundle may have the key (header.simpleQueryImageSourceR) mistyped. Try just this line

General Struts J2EE question

2001-06-13 Thread Kris Vandenberk
Hi, I work in a company where 90% of all applications being developed are mostly data-entry kinda applications (so a lot of data input, validations on that data ... and readonly views of that data) A lot of our clients 'heard' of J2EE and they insist on using J2EE for their new applications,

Re: i18n + html:link

2001-06-13 Thread Oleg V Alexeev
Hello Steve, Wednesday, June 13, 2001, 9:10:39 PM, you wrote: SAD Hello. I am trying to implement internationalized rollover buttons using SAD html:link. To do this, I'm trying to use quotes three levels deep and I SAD guess that's illegal in Javascript. For example, for onmouseover, if I SAD

Re: No getter method

2001-06-13 Thread Oleg V Alexeev
Hello Gus, Wednesday, June 13, 2001, 11:03:05 PM, you wrote: GD I'm trying to re-write the example included in the struts package. I made GD some changes to the code and now when I try to bring the registration.jsp GD with an action=Edit. I get an error: No getter method for property GD

Fwd: WELCOME to struts-user@jakarta.apache.org

2001-06-13 Thread Wayland Chan
For the people who didn't read this email when they initially subscribed...please read for hints on administrivia. --- [EMAIL PROTECTED] wrote: Date: 22 Feb 2001 04:24:28 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: WELCOME to [EMAIL PROTECTED] Hi! This is the ezmlm

RE: WebSphere, Jasper and Struts 1.0b3

2001-06-13 Thread David Janovy
Craig: What's wrong with changing the offending lines to: pageContext.getRequest().removeAttribute(Constants.BEAN_KEY); pageContext.getRequest().removeAttribute(Constants.FORM_KEY); from: pageContext.removeAttribute(Constants.BEAN_KEY, PageContext.REQUEST_SCOPE);

RE: General Struts J2EE question

2001-06-13 Thread Kiet Nguyen
My app is mostly data entry and struts works very nice. It nicely separates the presentation and business logic. Its session and forms management powerful, yet not complicated to understand. I had develop framework similar to struts using WebMacro instead of JSP. The html files are cleanner,

RE: WebSphere, Jasper and Struts 1.0b3

2001-06-13 Thread Craig R. McClanahan
On Wed, 13 Jun 2001, David Janovy wrote: Craig: What's wrong with changing the offending lines to: pageContext.getRequest().removeAttribute(Constants.BEAN_KEY); pageContext.getRequest().removeAttribute(Constants.FORM_KEY); from: pageContext.removeAttribute(Constants.BEAN_KEY,

RE: WebSphere, Jasper and Struts 1.0b3

2001-06-13 Thread Brugge, John
Thanks for the context setting, Kyle. I'm sure that the WebSphere code base is mind-boggling big, compared to what most of us work on. It might be easier to swallow, though, if WebSphere's J2EE compliance weren't so loudly trumpeted. Plainly, they're not fully compliant with JSP 1.1. And it's

not finding taglibs under iPlanet 4.1

2001-06-13 Thread Nick Afshartous
The iPlanet 4.1 web server is not able to find the Struts taglibs (error below). I saw a previous thread on this but with no conclusive info. It seems iPlanet 4.1 does not fully support WAR files and so the taglibs must be deployed in JAR files. Has anyone resolved this issue ? --

RE: errors during parsing struts-logon example-www.bluestone.com

2001-06-13 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
Chuck, Make sure the name of your Form class is LogonForm, with a capital "L" -Original Message-From: Chuck Amadi [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 13, 2001 4:57 AMTo: [EMAIL PROTECTED]Subject: errors during parsing"" struts-logon example-www.bluestone.comHi, i have

Struts Datasource problem

2001-06-13 Thread Bill Clinton
Hello, I am having a recurring problem with struts and jdbc. The demo driver I am using, inet's Sprinta200, only allows 2 connections. I have my data source max set to 1, but I still get errors from the driver: java.sql.SQLException: [TDS Driver]Too many connections :3 at

WebSphere Test Environment 3.5.3 and Struts/Jasper Issues

2001-06-13 Thread Thomas L Richards
Hello all, Well, I've had it. I just successfully formed an ulcer. I think I've read 10 different ideas to get Struts working under WTE, each of which says it will work! but you know what, NONE OF THEM DO! Each time I try something new, I start with a base workspace (stripped down to almost

RE: How do make sure that the ActionForward will be on the whole screen

2001-06-13 Thread Abraham Kang
Title: How do make sure that the ActionForward will be on the whole screen Joyce, I do not think there is a struts way of doing this but you could return a page with Javascript in it to reload the parent frame of your child frame. You will need to double check my syntax ;^ ) SCRIPT

Re: General Struts J2EE question

2001-06-13 Thread Ted Husted
The best practice is to first validate the incoming data entry using the Strut's ActionForm beans. There is a Validation servlet available that automates much of this using regular expressions, and generates checks using both client-side Javascript and server-side Java code. Then, the Strings

Re: How do make sure that the ActionForward will be on the whole screen

2001-06-13 Thread Peter Alfors
In an anchor: A href=myNewPage.html target=_toplink text/A or in a button (parent frame): INPUT name=blah onClick=javascript:window.parent.document.location.replace('myNewPage.html') or in a button, uppermost frame (in cases of multiple framesets): INPUT name=blah

Any More Bug Reports?

2001-06-13 Thread Craig R. McClanahan
As I stated in my BOF at JavaOne, we intend to release Struts 1.0 (final) on June 15 ... that is, this Friday. At the moment, we're down to two outstanding bug reports (plus a bunch of enhancement requests for future versions). If you have any more issues with Struts that you feel should be

  1   2   >