Re: Multiple Selects in a JSP

2002-03-27 Thread @Basebeans.com
Subject: Re: Multiple Selects in a JSP From: Pim [EMAIL PROTECTED] === From Using Struts: http://stealthis.athensgroup.com/presentations/Model_Layer_Framework/Struts_ Whitepaper.pdf Dependent Drop-Down Combo Box Lists In many situations, you will have two combo boxes, with the contents of the

Re: Is anyone else having trouble with Tomcat 4?

2002-03-27 Thread Johannes Wolfgang Woger
Hi, I had this sort of problems too. I had servlet.jar in $JAVA_HOME/jre/lib/ext, Tomcat33a accepted it , Catalina not. I put it into $CATALINA_HOME/common/lib , it worked. Everytime I try to switch a webapp to Tomcat 4, I get exceptions. Since it works on Tomcat 3 I usually just switch back

torque struts

2002-03-27 Thread Oliver Kießler
hello, has anybody successfully combined torque with struts? i think it would a be really nice level of abstraction not having to deal with SQL Statements in an struts app anymore... bye, oli -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: Is anyone else having trouble with Tomcat 4?

2002-03-27 Thread Arnaud Heritier
In TC 4 the verification of the web.xml syntaxe is more restricting. you should verify that you correctly declare your web.xml as in the dtd : !ELEMENT web-app (icon?, display-name?, description?, distributable?, context-param*, servlet*, servlet-mapping*, session-config?, mime-mapping*,

form-bean problem

2002-03-27 Thread Viet Kevin
Hello all I'm facing a problem and I want to get advices from you I have three bean class that are extending from the same base class the base class is declared as abstract Now I want to create three action forms for validating the informations corresponding to each of these beans. For this

Re: Object Mapping w/ Struts?

2002-03-27 Thread Martin Gross
Try ObjectRelationalBridge: http://objectbridge.sourceforge.net/ Martin [EMAIL PROTECTED] . EVOLT Internet Applications GmbH Brüningstrasse 35 61350 Bad Homburg, Germany http://www.evolt.de . I am looking for an

RE: torque struts

2002-03-27 Thread Robert Morse
Yes, and using it in production. What questions do you have? -Original Message- From: Oliver Kießler [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 12:36 AM To: Struts Users Mailing List Subject: torque struts hello, has anybody successfully combined torque with struts? i

checking action name

2002-03-27 Thread Mike Dewhirst
Is it possible to find in the JSP what action mapping has lead us there? Is there a parameter in the request? Thanks in advance, Mike -Original Message- From: Martin Gross [mailto:[EMAIL PROTECTED]] Sent: 27 March 2002 12:17 To: Struts Users Mailing List Subject: Re: Object

Re: Can Dreamweaver and Struts work together

2002-03-27 Thread Jon Ferguson
Hi, Only as a trial... However I seem to remember reading that due to Ultra-Dev formatting constraints you need to START with UltraDev.. eg. DO not attempt to build a file in some other editor first. Hope this helps, Jon  $B%%s%H%K!(B $B%9%F%$%9(B wrote: Hi Has anyone successfully

combination of bn:message key=sometag/ and getMessage(sometag) in JSP: how

2002-03-27 Thread Lukas Österreicher
Hi. I've got some i18n jsp pages which work so far by using commands like: %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bn% % setLocale(session, request); % and bn:message key=msg.title.selectimages/ The problem is that now I've got some java code within the jsp where I need to include some

Re: Form Beans - Vector

2002-03-27 Thread Ted Husted
Generally, specifying the type seems to help. .. type=java.util.Vector ... I don't use Vectors myself, since the synchronized aspect is not useful in the kind of applications I tend to work on, but using them with the iterate tags does seem to generate a lot of messages. If you continue to

Re: Using MessageTag for handling plural/singular

2002-03-27 Thread Ted Husted
In general, the answer to most questions like this is to do the work in the Action, and then place the result in a bean for easy display. You can obtain a reference to the message resources in the Action, MessageResources resource = servlet.getResources(); and then use the Java text-handling

Re: Need example on using roles in struts-tiles

2002-03-27 Thread Ted Husted
When container-based authentification is being used, you can specify the secuirty role for a tile. If the user is not in the specified role, then the attribute value is not set. This allows you to specify a tile for each security role, and let the framework select the appropriate one for the

logic:iterate and no collection found

2002-03-27 Thread Mike Finn
Hi All, I have a form with an array of subforms on it, like so: class BigForm extends ActionForm { SubForm subFormX[]; public SubForm[] getSubFormX() { return subFormX; } public void setSubFormX(SubForm[] newSubFormX) { this.subFormX = newSubFormX; } // other attributes... } When

can TILES use existing jsp files ?

2002-03-27 Thread Melissa . Manoogian
My current project is using Struts 1.0 and I already implemented about 20% of my .jsp files, without giving too much thought to the navigation. Now I want to use tiles to implement the sidebar menus for navigation. I am hoping this does not mean I will have to re-implement those .jsp files, i.e.

RE: Installation on OS-390 and Websphere 3.5.3: Was 503Error- Now What struts.jar should I use.

2002-03-27 Thread Steven Banks
Roger. Thanks for the response. Before trying the upgrade, I am going to try getting it to work on 3.5.3 just call me stubborn. There is a set of notes from someone who has it working on this user group. The latest I have tried was changing a WAS start-up parameter

Status of Commons Workflow

2002-03-27 Thread Robert Williams
Does anyone know the status of the Commons Workflow project? I have seen little or no action there for a few months. Is it being abandoned? bob -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Attribute value should be quoted

2002-03-27 Thread Bhaskar Gopalan
Hi, I'm getting the error: org.apache.jasper.compiler.ParseException: C:\jsp\Filter.jsp(150,35) Attribute value should be quoted java.lang.Throwable(java.lang.String) java.lang.Exception(java.lang.String) javax.servlet.ServletException(java.lang.String)

RE: checking action name

2002-03-27 Thread Steve Hupert
In the perform method of my action class, I have stored the path attribute of the forward being returned from the mapping object as an attribute in the request. I can then access the path from JSP pages to determine what lead me to the JSP page. For example in the perform method:

RE: dynamic select box

2002-03-27 Thread Maturo, Larry
Hi Jose, You might want to get the Struts white paper at http://stealthis.athensgroup.com/presentations/ under Model Layer Framework. It has a lot of examples of using Struts tags, including a lot on Select/Options. By the way, I tried sending this to [EMAIL PROTECTED] a few days ago and it

Problem with caching

2002-03-27 Thread Slimane Zouggari
Hi, When I try to follow a link to one of My action class. Sometimes, it works correctly and sometimes, my browser just take the old copy of the generated page it has in cache. My question is: How can I avoid that ? What do I have to do to be sure my browser doesn't set anything in cache ?

Re: Problem with caching

2002-03-27 Thread Christian Bouessay
For all actions, you could configure the ActionServlet in web.xml, like this: ... init-param param-namenocache/param-name param-valuetrue/param-value /init-param ... -- C. Bouessay Slimane Zouggari wrote: Hi, When I try to follow a link to one of My action class.

Javascript in Struts

2002-03-27 Thread Bhaskar Gopalan
Hi, how does Javascript work with struts? I have a 'Filter' form with a couple of radio, select and text fields. The only three request parameters are filterSet, filterType and filterValue. Example: tr td width=5% / html:radio value=stage property=filterType / font

Re: Attribute value should be quoted

2002-03-27 Thread Sjaak de Mul
Hi, Can't you set the filterType property in the formBean before forwarding to this page? Then Struts should take care of checking the appropriate radio button. Sjaak Bhaskar Gopalan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi, I'm getting the error:

Re: returning the selected value from an html:select

2002-03-27 Thread Jim Crossley
You were quite clear in your question. I can't see how I can be any more clear in my answer. :-) It sounds like you didn't change your bean:define property to vnameList. josef richberg [EMAIL PROTECTED] writes: I did that, but it did not work. It looks like it is now looking to get the

dynamic alteration of multiple entry select box content with javascript : empty values upon submission

2002-03-27 Thread @Basebeans.com
Subject: dynamic alteration of multiple entry select box content with javascript : empty values upon submission From: Simon Kirk [EMAIL PROTECTED] === Hello. I have an html page with two select boxes configured to allow multiple selection in each. The one on the left contains options that are

RE: dynamic alteration of multiple entry select box content with javascript : empty values upon submission

2002-03-27 Thread Etienne, Ingo (Goetzfried AG)
You have to select all the options before submit like this: function activateOptions(field){ for(i=0;ifield.options.length;i++){ field.options[i].selected=true; } } hth Ingo -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]

Why Struts - Ryan Norman

2002-03-27 Thread Ryan Norman
Hi, I am Ryan Norman. Are there frameworks available in other commercial Java Web Servers like Web Sphere, iPlanet, JRun, etc. . If so why should somebody use struts framework rather than using the Web Server's native framework? . Are there people who are using struts with commercial Java

RE: dynamic alteration of multiple entry select box content with javascript : empty values upon submission

2002-03-27 Thread @Basebeans.com
Subject: RE: dynamic alteration of multiple entry select box content with javascript : empty values upon submission From: Simon Kirk [EMAIL PROTECTED] === Ah, you're right - I think I'm missing a vital part of my setup - the function to select the stuff in the right hand boxes! What a foolish

Websphere specific problem with template:get tag (flushing..

2002-03-27 Thread Marcelo Caldas
Hi guys, I'm trying to deploy my application (developed so far on Oracle 91AS) to WebSphere... First error I got is a illegal to flush within a custom tag... I realized that the only struts tag that tries to flush is the template.GetTag. Although I'm using a very recent nightly build

Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-27 Thread Yu, Yanhui
Hi All, We are using struts verions 1.0.2 here. I have a problem using checkbox in a jsp, getting No collection found error. Here is my sample code and I really appreciate if anyone can give me a hand on this. in jsp = logic:iterate id=conflicts

RE: Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-27 Thread Yu, Yanhui
Sorry I forgot that the reset method in the ActionForm looks like this: == public void reset(ActionMapping mapping, HttpServletRequest request) { cat.debug(ConflictResolutionForm reset); /* this.checked = false; this.linenum = null;

Re: Attribute value should be quoted

2002-03-27 Thread SUPRIYA MISRA
yout jsp tags must have variable=value/ format From: Bhaskar Gopalan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Group (E-mail) [EMAIL PROTECTED] Subject: Attribute value should be quoted Date: Wed, 27 Mar 2002 10:28:49 -0500 Hi, I'm getting the error:

RE: Problem with caching

2002-03-27 Thread Slimane
my dev environment is : Tomcat 4 and Orion (it has to work on both of them) + IE4,Opera5,Netscape4.7 Friendly Regards, Slimane At 17:30 27/03/2002 +0100, Etienne, Ingo (Goetzfried AG) wrote the following Hi, I had the same problem with IIS and IE5. The solution to this was to set the

Re: Problem with caching

2002-03-27 Thread Slimane
Thanx, I'll try At 17:35 27/03/2002 +0100, Christian Bouessay wrote the following For all actions, you could configure the ActionServlet in web.xml, like this: ... init-param param-namenocache/param-name param-valuetrue/param-value /init-param ... -- C. Bouessay Slimane

RE: Why Struts - Ryan Norman

2002-03-27 Thread David . A . Ventimiglia
. For starters, Struts is vendor-neutral. What happens if you decide to migrate an app developed with WebSphere's framework to JBoss? . I am using Struts with Weblogic. I don't believe I'm in the vanguard with this. Cheers, David Ventimiglia -Original Message- From: Ryan Norman

RE: Why Struts - Ryan Norman

2002-03-27 Thread Joseph Barefoot
Hi Ryan, Yes, there are other, propietary frameworks to be used, as well as rules processing engines, in many of the commercial web servers. So, why use Struts? Some of these commercial web servers have very powerful features, but you pay the price of tying oneself to the web server. Not just

RE: Why Struts - Ryan Norman

2002-03-27 Thread Mike Finn
Ryan, 1) There may be MVC frameworks available as value-adds to WebSphere, WebLogic, etc. They may not port from one app server to another. Struts should run in any JSP/Servlet spec-compliant web container. With proprietary frameworks, you risk getting precisely what many hope to avoid by

RE: Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-27 Thread Mike Finn
Yu, This looks like the same problem I posted this AM (subject = logic:iterate and no collection found). I found that if the array actually has data in it, everything works OK. It's only when it's empty or null that it blows up. Post if you find a solution and I will do the same. I am going to

struts tool ?

2002-03-27 Thread Johann Eder
UltraDev40 and so on... The question is: anybody knows a tool, extension or whatever that actually work with struts tags ? So it's easier to build web applications. I use JBuilder40. It's not very comfortable to build struts applications. Thanks. Hans -- To unsubscribe, e-mail:

RE: Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-27 Thread Dimitar Stavrakov
You can try using the present tag ex : logic:present id=conflicts name=ConflictResolutionForm property=conflicts type=com.pioneer.sales.terrmaint.demo.ConflictBean before actually going into the iterate and checkbox tags. This will check to see if the collection exists, before executing the

Re: Form Beans - Vector

2002-03-27 Thread Annie Chang
Hi, Perpetua The attachement is the example, I tested it, it is OK. It is not my work. A kind person.send me. Hope it is useful for you. Annie - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 27, 2002 5:42

RE: struts tool ?

2002-03-27 Thread Tero P Paananen
UltraDev40 and so on... The question is: anybody knows a tool, extension or whatever that actually work with struts tags ? So it's easier to build web applications. This is a little off topic for this question, but I just met with an IBM engineer, who was saying that the latest

Re: struts tool ?

2002-03-27 Thread Marcelo Vanzin
Johann Eder wrote: The question is: anybody knows a tool, extension or whatever that actually work with struts tags ? From the Struts Resources page: http://jakarta.apache.org/taglibs/doc/ultradev4-doc/intro.html You will have to modify your JSPs a little (we code a

an org.xml.sax.ErrorHandler was not set?

2002-03-27 Thread Rick Reumann
I hate to post about a stupid null pointer exception as I'm sure it will end up being something stupid I'm doing. I'm modifying some of my code to follow some of David's validation examples. Currently when one of my forms gets submitted it's supposed to get validated but comes back with a null

self.close() exception

2002-03-27 Thread Bhaskar Gopalan
Hi, I'm trying to close a window from a javascript function and getting this error: java.net.SocketException: socket closed (code=0) java.lang.Throwable(java.lang.String) java.lang.Exception(java.lang.String) java.io.IOException(java.lang.String)

Re: Why Struts - Ryan Norman

2002-03-27 Thread Jim.W.Berg
Ryan, Struts is app server neutral. I am currently working on a project using struts and WebLogic. We have saved a tremendous amount of time by implementing struts as our framework. You should not be looking at this as struts and Tomcat versus Web Sphere and ? You should look at this as

RE: torque struts

2002-03-27 Thread James A. Hillyerd
What version of Torque are you using in production? And with what database, if I may ask? Thanks. -james On Wed, 2002-03-27 at 05:18, Robert Morse wrote: Yes, and using it in production. What questions do you have? -- [] James A. Hillyerd [EMAIL PROTECTED] - Java Developer [] PGP

Question about include page and formbean

2002-03-27 Thread @Basebeans.com
Subject: Question about include page and formbean From: Jack Gao [EMAIL PROTECTED] === Hi, list I'm trying to develop a user management system by using struts. Let's say my system has some plug-ins, and each plug-in has their own user management system also. But system level user management

source generator

2002-03-27 Thread Annie Zhang
Hi, I'm planning to use Struts, Castor and Oracle to develop a web application. Sorry to ask a Castor question here, because I think many people are using Castor here. I'm a newbie of Castor. I want to use Castor with Oracle to generate all value objects of tables. What steps should I take?

RE: torque struts

2002-03-27 Thread Robert Morse
Torque is from the 2/25/2002 nightly, and the database is Oracle 9i (9.0.1). -Original Message- From: James A. Hillyerd [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 2:19 PM To: Struts Users Mailing List Subject: RE: torque struts What version of Torque are you using in

RE: torque struts

2002-03-27 Thread Hoang, Hai
Do you use Fulcrum along with Torque? I think Fulcrum has lots of services available such as caching, pool, and etc...I want to use Fulcrum but I don't know how to set it up to work with Tomcat -Original Message- From: Robert Morse [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27,

Fulcrum and Torque with Struts in Tomcat

2002-03-27 Thread Hoang, Hai
Anyone is using Fulcrum and Torque with Struts in Tomcat? If so, can you share some experience and maybe show me how to initialize fulcrum. Hai Hoang Continental Airlines (713) 324-9029

Accessing action object inside the form bean

2002-03-27 Thread Bhaskar Gopalan
Hi, I open a form, collect user input and on submit store it in the action class (inside perform()) as instance variables. Next time when the same form is opened, I want to retrieve the values stored in the action class. Since a new instance of the form bean is created every time a form is

RE: Accessing action object inside the form bean

2002-03-27 Thread srinivas
hello, set the scope in the struts-config.xml for the action to have session. action path=name of action type=fully qualified class name scope=session name=name of form /action then set the fields u want to save across requests in the form

Where is struts-config.xml specification - Ryan Norman

2002-03-27 Thread Ryan Norman
Hi, I am Ryan Norman. I know there is a specification given by sun for the web deployment description (web.xml). Is there one for the struts-config.xml file? Does anybody know where to find the struts-config.xml tag specification file? Thanks in advance Ryan Norman

RE: self.close() exception

2002-03-27 Thread srinivas
hello, thats not an error actually. You are submitting a form and closing the window. So the webserver couldn't complete ur request so the stack trace. regards, srinivas -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 11:15 PM To:

RE: Where is struts-config.xml specification - Ryan Norman

2002-03-27 Thread srinivas
hi, attached are the dtd's for struts1.0 and 1.1 config files. Its packed with the struts src code. hope this helps you. regards, srinivas -Original Message- From: Ryan Norman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:26 AM To: [EMAIL PROTECTED]; LA Java User Group

RE: torque struts

2002-03-27 Thread Robert Morse
Just Torque, but it has a connection pool mechanism. -Original Message- From: Hoang, Hai [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 2:46 PM To: 'Struts Users Mailing List' Subject: RE: torque struts Do you use Fulcrum along with Torque? I think Fulcrum has lots of

RE: Accessing action object inside the form bean

2002-03-27 Thread Javier Campoamor
You can also use a promptAction, to populate the form with the values that you want, before putting it into the request. Some thing lije this: PromptAction(Populates the form with default values)-ActionForm(Gets the user input)-DoAction(Process the form) Regards -Mensaje original-

Struts Config Problem - Ryan Norman

2002-03-27 Thread Ryan Norman
Hi All, I am Ryan Norman I am trying to put together a simple sample application. Right now I have a login page upon submitting the user name and password I want it to be transferred to another page. For some reason, it is not working. Can somebody help me with this? I am pasting my code

Re: source generator

2002-03-27 Thread Michael Grafton
Hi Annie, I looked into doing this a while ago, and found out there is tool for generating EJBs from an existing database, called Middlegen: http://boss.bekk.no/boss/middlegen/ It's somehow hooked up with XDoclet, which has the ability to generated Castor value objects I believe. So even

Re: Need example on using roles in struts-tiles

2002-03-27 Thread Reynaldo Timonera
Thanks Ted. We are using database-based authentifiication -- we store our user and role in a database. We retrieve these user and role info everytime the user logs in and place the info in session scrope. I was thinking if we can set the isUserInRole according to the user's role from the

Migrating an existing architecture to Struts

2002-03-27 Thread bhatia10
I have a servlet based application, that uses client side xml parsing to generate html served on the IE browser using xsl. It is quite tedious to maintain this application (i have inherited it without support and it is a modest size application). it is frames and lots of Javascript. Anyways, the

Displaying non-String properties of beans

2002-03-27 Thread Rick Reumann
I'm sure this question has come up but I'm not having much luck search the archives. I'm really new to Struts so I hope this question isn't too out of place for this list. Lets see we are dealing with Employee beans. I like to have my EmployeeBean maintain the datatypes of the members to not have