Struts MessageTag.java not reading properties file keys

2001-04-20 Thread G.L. Grobe
I've dug into the struts code and am posting this problem again w/ a little more info. I'm using Orion 1.4.7.   500 Internal Server Error javax.servlet.jsp.JspException: Missing message for key main.title at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java,Compiled C

struts MessageTag.java not reading properties file

2001-04-20 Thread G.L. Grobe
I've dug into the struts code and am posting this problem again w/ a little more info. I'm using Orion 1.4.7.   500 Internal Server Error javax.servlet.jsp.JspException: Missing message for key main.title at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java,Compiled C

Where did the name "struts" originate?

2001-04-20 Thread Roxie Rochat
It's the first question people ask me when I describe struts and I don't remember seeing its origin explained anywhere. Is it an acronym or does it refer to the framework part? Thanks, Roxie

RE: how to cache lists?

2001-04-20 Thread Flying Cloud
Have you looked at the Expresso caching at www.jcorporate.com ? Sandra

Re: Tomcat+Apache+Struts Problem

2001-04-20 Thread Jim Bruno Goldberg
At 18:32 20/04/01 +0200, you wrote: >The problem is in your Java version. Struts needs Java 1.2 or later to run. > >Jean-Noel Thanks. I will install the new JDK. CUL8R,[]s Jim Bruno Goldberg <[EMAIL PROTECTED]>

Re: PAGE LINKING

2001-04-20 Thread Jason Kim
I am not sure if i understand your question correctly, but you can have a servlet (Action Bean) executed when user clicks on that link. like following. and inside the servlet you are invoking (editServlet.class in this case), you can populate a bean with proper data and pass that to the actua

HTML special characters

2001-04-20 Thread Peter Alfors
Hello all, Is there any plan to update the ResponseUtil.filter() method to handle more (or all) of the HTML special characters? It looks like right now only 4 are being handled. Thanks, Pete begin:vcard n:; x-mozilla-html:FALSE org:http://www.irista.com/logo/irista.gif">Bringing Visio

Re: REPOST: Re: Setting Select value= dynamically?

2001-04-20 Thread Peter Alfors
[EMAIL PROTECTED] wrote: > Pete, > > thanks. Will make a custom tag I think, including set of select boxes for > date/time. > > Bit confused looking at the documentation further for select tag - by Name > attribute: > > Name The attribute name of the bean whose properties are consulted to dete

Re: REPOST: Re: Setting Select value= dynamically?

2001-04-20 Thread dhay
Pete, thanks. Will make a custom tag I think, including set of select boxes for date/time. Bit confused looking at the documentation further for select tag - by Name attribute: Name The attribute name of the bean whose properties are consulted to determine which option should be pre-select

RE: No action instance created

2001-04-20 Thread Scott Fitzgerald
Here it is: Hello, When I run my app, the initial jsp page is shown. This is just > an input box and submit button that is used to run a query. After I > enter my text and click submit I am supposed to get either a "success" > or "fail" jsp depending on whether or not the result set is null

Re: No action instance created

2001-04-20 Thread Peter Alfors
could you repost your first email.. I deleted it, and it is not in the archives yet. Thanks. Scott Fitzgerald wrote: > Yes they are. I think you are beginning to understand my confusion. > > Scott begin:vcard n:; x-mozilla-html:FALSE org:http://www.irista.com/logo/irista.gif">Bringing Visi

RE: No action instance created

2001-04-20 Thread Scott Fitzgerald
Yes they are. I think you are beginning to understand my confusion. Scott

Re: No action instance created

2001-04-20 Thread Peter Alfors
and your jsp pages (success,fail) are both located at your applications root? Pete Scott Fitzgerald wrote: > Hello, > > Thanks for responding. For the action forward I have: > > > > > Does this give you any ideas? > > Thanks again, > > Scott Fitzgerald begin:vcard n:; x-moz

Re: Making the Struts Validator work on the client side

2001-04-20 Thread David Winterfeldt
--- "Howk, Michael" <[EMAIL PROTECTED]> wrote: > I've finally got David Winterfeldt's Struts > Validator working on the server > side, but it doesn't look like it's working on the > client side. So I've got > a couple of questions: > > First, how can I be sure whether or not the > validator is w

RE: No action instance created

2001-04-20 Thread Scott Fitzgerald
Hello, Thanks for responding. For the action forward I have: Does this give you any ideas? Thanks again, Scott Fitzgerald

RE: "No getter method for property {prop} of bean {bean}"

2001-04-20 Thread Anthony Martin
Ok, I figured out a work-around. The bean properties must not be overloaded I guess. I created some setter properties that modify the same instance variables but under a different name (signatures are as follows): protected Date createDt ; String getCreateDt() void setCreateDtAsDate ( Date ) T

Re: Casting beans in JSP

2001-04-20 Thread John Raley
Try using and specifying the type you want. The 'id' attribute value in will be the downcast reference. Example: <% ... a bean of type Foo is in the page under the attribute name 'aFoo' %> aSubFoo now refers to aFoo through a reference of type SubFoo. Chris Butler wrote: > heya folx, > >

Re: Multiple pages with struts

2001-04-20 Thread Peter Alfors
B Manikandan wrote: > Hi, >I have the following requirements. > > 1.System can have multiple instances (through the new window feature of > javascript) of the same browser and > the session associated with each instance has to be treated as different > sessions. > Struts does not handle t

Re: REPOST: Re: Setting Select value= dynamically?

2001-04-20 Thread Peter Alfors
Since you cannot use a taglib as an attribute to another taglib, you are stuck with using a script variable, or writing your own taglib that does what you want. You are already using a script to set the attribute, so... you could reduce the number of bean:define tags in your page by using the tag

Re: Tomcat+Apache+Struts Problem

2001-04-20 Thread Jean-Noel Ribette
The problem is in your Java version. Struts needs Java 1.2 or later to run. Jean-Noel - Original Message - From: Jim Bruno Goldberg <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 6:16 PM Subject: Tomcat+Apache+Struts Problem I people. I am still with

Tomcat+Apache+Struts Problem

2001-04-20 Thread Jim Bruno Goldberg
I people. I am still with my struts problem. I try to copy the struts-test on webapps tomcat's dir but it does not work. My set variables: TOMCAT_HOME=/usr/local/tomcat PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/local/jdk1.1.8/bi

Re: getting bean properity in the scriptlet varible

2001-04-20 Thread dhay
You might try casting link to the type that it is, and then execute getLinkName() on that? Dave "Sundaram Ramasamy" <[EMAIL PROTECTED]> on 04/20/2001 09:07:45 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: getting bean properit

Re: Why do I get this stacktrace?

2001-04-20 Thread dhay
I believe it is because Tomcat 3.2.1 doesn't reload!! (although it should!). There are various messages in the archive about this. Dave Jim Crossley <[EMAIL PROTECTED]> on 04/20/2001 10:59:41 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmar

Re: Error in comps-tutorial.war (Struts + Components + Orion)

2001-04-20 Thread Cedric Dumoulin
This hack work for me without modification of the struts.jar, neither addition of *.dtd files under directory "classes". It seems to be a simplest alternative ;-) Cedric [EMAIL PROTECTED] wrote: > Hi Cedric, > > Thanks for your hack! Actually, it is my fault, I forgot to remove the >

"No getter method for property {prop} of bean {bean}"

2001-04-20 Thread Anthony Martin
I get the ServletException, "No getter method for property {prop} of bean {bean}" when accessing this particular bean. The variable instance is stored as a Date that I format to and from strings. The setter can take a Date or a String. I could understand if it couldn't find the setter, but I do

RE: Error in comps-tutorial.war (Struts + Components + Orion)

2001-04-20 Thread chris . chang
Hi Cedric, Thanks for your hack! Actually, it is my fault, I forgot to remove the *.dtd files from struts.jar and move it under directory "classes". Once I did that, the tutorial works fine 8) Sorry about that! Chris -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]

RE: REPOST: Re: Setting Select value= dynamically?

2001-04-20 Thread Bill Rogan
Please remove any user you have on your mailing list with the domain Avolo.com. Many thanks, Bill Rogan Corporate Systems Administrator Avolo (206) 219-9201 AVOLO - Aviation's clear approach to intelligent business. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

REPOST: Re: Setting Select value= dynamically?

2001-04-20 Thread dhay
Hi everyone. Didn't get any response on this one. Does anyone have any ideas how to avoid the hack? Seems to me it would be quite a regular requirement to set the selected option dynamically, especially dependant on previous server-side processing. Basically I need to set the value= field ac

Re: Error in comps-tutorial.war (Struts + Components + Orion)

2001-04-20 Thread Cedric Dumoulin
I think this problem comes from Orion. I have waste more than 1 hour to let Struts and Components run on Orion, because of parsing validation errors. Finally, I have solve this issue with a hack : I have removed validating DTD from struts-config.xml (remove tag ). After that, I got some warning

Multiple pages with struts

2001-04-20 Thread B Manikandan
Hi, I have the following requirements. 1.System can have multiple instances (through the new window feature of javascript) of the same browser and the session associated with each instance has to be treated as different sessions. 2.System has multiple pages, similar to shopping cart scenario

Why do I get this stacktrace?

2001-04-20 Thread Jim Crossley
Whenever I recompile one of the classes beneath WEB-INF/classes, instead of reloading because it noticed a change, Tomcat 3.2.1 generates the following stacktrace. Can anyone tell me why? java.lang.ClassCastException: org.apache.struts.util.PropertyMessageResources at org.apache.struts.u

RE: Error in comps-tutorial.war (Struts + Components + Orion)

2001-04-20 Thread chris . chang
Hi Cedric, Thanks for your quick fix! I can test Components with Orion now (comps-tutorial). It looks great! However, I got the following error from several links (e.g. Language -> Francis, Main Menu -> Dynamic Definition, etc.). I'm not sure whether this error is from my Orion's settings or my

& static

2001-04-20 Thread Chris Butler
Another q: is it possible to access a static method [ie. public static getX()] from a bean:write? seems to throw an exception for me. i would have guessed that it would work... although i question what would happen if you tried to put something in the attribute. the setX() wouldn't exist... C

RE: non matching extension tags error

2001-04-20 Thread Nanduri, Amarnath
This works. Thanks a lot. cheers, Amar.. -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 10:19 AM To: [EMAIL PROTECTED] Subject: Re: non matching extension tags error Or, to make your page coding easier, you could place the bundle lookup in

Re: Casting beans in JSP

2001-04-20 Thread Peter Alfors
I don't know if one already exists, but if not... You could write your own that would take pageContext attribute id (scripting variable name) of the object to cast the type to cast it to. (fully qualified of coarse) pageContext attribute id (scripting variable name) of the new object

Re: non matching extension tags error

2001-04-20 Thread Peter Alfors
oops.. try "Nanduri, Amarnath" wrote: > I am getting a nasty compile error... > > : > C:\bea\wlserver6.0\config\mydomain\applications\.wl_temp_do_not_delete\WEB-I > NF\_tmp_war_myserver_myserver_menu\jsp_servl > et\_index.java:259: unclosed character literal > > __47_WEB_45_INF_47_onBoard_46

RE: non matching extension tags error

2001-04-20 Thread Nanduri, Amarnath
I am getting a nasty compile error... : C:\bea\wlserver6.0\config\mydomain\applications\.wl_temp_do_not_delete\WEB-I NF\_tmp_war_myserver_myserver_menu\jsp_servl et\_index.java:259: unclosed character literal __47_WEB_45_INF_47_onBoard_46_tld_permission0.setParameter(messages.getMessa ge('men

Re: non matching extension tags error

2001-04-20 Thread Peter Alfors
Or, to make your page coding easier, you could place the bundle lookup in the taglib. Then, have an additional attribute for your taglib like 'parameterkey'. So then your pages would look something like this: Pete Peter Alfors wrote: > try > > > > Pete > > "Nanduri, Amarnath" wrote: > > > H

Casting beans in JSP

2001-04-20 Thread Chris Butler
heya folx, is there anyway to use a tag to cast an object from one type to another? just curious. the reason is that a top level bean implements a generic interface and i need to access the 'actual' object rather than a the generic attributes returned by interface. i'm loathe to use any java i

Re: No action instance created

2001-04-20 Thread Peter Alfors
What do you have for the action forward? Pete Scott Fitzgerald wrote: > Hello,When I run my app, the initial jsp page is shown. This is just > an input box and submit button that is used to run a query. After I > enter my text and click submit I am supposed to get eit

Re: non matching extension tags error

2001-04-20 Thread Peter Alfors
try Pete "Nanduri, Amarnath" wrote: > Hi everybody, > > I am writing a couple of my own tags. I am facing a problem..I have > included the stack trace also. > > Below is the declaration in the .tld file > > > permission > tags.PermissionTag > JSP > > Checks for the

No action instance created

2001-04-20 Thread Scott Fitzgerald
Hello,   When I run my app, the initial jsp page is shown. This is just an input box and submit button that is used to run a query. After I enter my text and click submit I am supposed to get either a "success" or "fail" jsp depending on whether or not the result set is null (for test purpos

Re: getting bean properity in the scriptlet varible

2001-04-20 Thread Peter Alfors
I think that you want to use the "define" taglib. Pete Sundaram Ramasamy wrote: > Hi > > I have collection, I was able to print the message like this. > > > > > > > Is it possible to store the bean value into scriptlet varible. > > > <% > > String name = link.getLinkName(); > >

RE: Making the Struts Validator work on the client side

2001-04-20 Thread Natra, Uday
Thanks Micheal. -Original Message- From: Howk, Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 8:59 AM To: '[EMAIL PROTECTED]' Subject: RE: Making the Struts Validator work on the client side It's from the Validation Framework by David Winterfeldt and it's been suggested

Re: Reusing a JSP page

2001-04-20 Thread Peter Alfors
You could have the AddressAction receive an "actionUrl" and then place it into the request so that the address page could place it in the You could either use a scriptlet, or maybe place it in a bean to be retrieved with a taglib. HTH, Pete Kristopher Brown wrote: > I've got a page which

RE: Making the Struts Validator work on the client side

2001-04-20 Thread Howk, Michael
It's from the Validation Framework by David Winterfeldt and it's been suggested several times on this mailing list for doing client-side and server-side validation with struts (at least until version 1.1 comes out, which is supposed to have some built-in validation support). You can find the frame

non matching extension tags error

2001-04-20 Thread Nanduri, Amarnath
Hi everybody, I am writing a couple of my own tags. I am facing a problem..I have included the stack trace also. Below is the declaration in the .tld file permission tags.PermissionTag JSP Checks for the permissions to display a hyperlink parameter

RE: Making the Struts Validator work on the client side

2001-04-20 Thread Natra, Uday
Micheal, Can U please tell me about the Validator Tag in struts? I don't seem to find any tag of that kind in struts. Thanks, Uday. -Original Message- From: Howk, Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 8:39 AM To: Struts Mailing List (E-mail) Subject: Making the

Making the Struts Validator work on the client side

2001-04-20 Thread Howk, Michael
I've finally got David Winterfeldt's Struts Validator working on the server side, but it doesn't look like it's working on the client side. So I've got a couple of questions: First, how can I be sure whether or not the validator is working on the client side? I'm assuming that, if the client side

RE: need Help with HTML:LINK

2001-04-20 Thread Nanduri, Amarnath
Try doing it the way i have suggested (look below). You should get the value back. An other reason might be a typo in your name (in name=value pair). cheers, Amar.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 9:33 AM To: [EMAIL PRO

RE: need Help with HTML:LINK

2001-04-20 Thread TIqbal
Iam trying to receive parameter in perform like this request.getParameter("cardnum"); but value does not come ... any clue... > -Original Message- > From: Nanduri, Amarnath [SMTP:[EMAIL PROTECTED]] > Sent: Friday, April 20, 2001 9:27 AM > To: '[EMAIL PROTECTED]' > Subject: RE: need

RE: need Help with HTML:LINK

2001-04-20 Thread Nanduri, Amarnath
Don't forget the 'single quote' after the page=, else you will get a compile error cheers, Amar.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 9:21 AM To: [EMAIL PROTECTED] Subject: need Help with HTML:LINK Can anyone help me how

need Help with HTML:LINK

2001-04-20 Thread TIqbal
Can anyone help me how to pass single parameter in html:link and that parameter how i can receive in action servlet in which method MANY Thanks in ADVANCE!!! TAHIR IQBAL

getting bean properity in the scriptlet varible

2001-04-20 Thread Sundaram Ramasamy
Hi I have collection, I was able to print the message like this. Is it possible to store the bean value into scriptlet varible. <% String name = link.getLinkName(); %> I tried this, its giving me following error. Method getLinkName() not found in clas

Re: How to access Action Mapping instance if session expires

2001-04-20 Thread Rajan Gupta
I am not sure if u can, since actionmapping is a protected variable in ActionServlet. Storing it in session will result in bloating the session unnecessary, if u store it in application context, I do not think you can get access to the application context in HttpSessionBindingEvent. You might want

RE: Manually iterating the ActionErrors object

2001-04-20 Thread Firmin David
Thanks. Worked a treat. For the record, turns out that in this case I didn't need the arg#="xx" attributes. All I had in the iterate loop was: It may not be the neatest, but it does the job just fine. Thanks again Rgds Dave -Original Message- From: Jean-Noel Ribette [mailto:[EMAIL

Re: Manually iterating the ActionErrors object

2001-04-20 Thread Jean-Noel Ribette
Not that nice but it should work: Jean-Noël - Original Message - From: Firmin David <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 12:59 PM Subject: Manually iterating the ActionErrors object > Hi all, > I know something similar has been discussed on t

Applet showDocument refresh problems

2001-04-20 Thread olivier
Hi, I know that the subject of my question is no struts, though I user struts, but I hope that some of you could answer this question. I have a page with a left frame and right frame. In the left, I have my menu. When clicking on a menuItem, the right frame is refreshed with the new URL. This wo

Manually iterating the ActionErrors object

2001-04-20 Thread Firmin David
Hi all, I know something similar has been discussed on the list recently, but I couldn't find the answer I was looking for. I want to display each error on a separate table row (so I don't think I can use straight), but I won't always know what those errors will be, or where they have come from (

Reusing a JSP page

2001-04-20 Thread Kristopher Brown
I've got a page which allows the user to select an address from a list of possible addresses, but it is used from lots of different places.  I want to be able to use the same jsp page but change the action to which it posts when submit is pressed depending on which Action creates it.  Is thi