Form rendering problem

2001-06-28 Thread Rod Schmidt
I'm using www.webappcabaret.com as a hosting service to host my domain name. They map the domain name to my context somehow. Unfortunately their documentation says the following: -However if your context has a domain alias other than the mainserver name then you may not include your context

Re: Form rendering problem

2001-06-28 Thread Rod Schmidt
I tried replacing the html:form tags with normal form tags (i.e. not using the struts form tags) and and just used /action.do for the action and everything works. I would really prefer to use the struts tags. Any ideas? Thanks, Rod Schmidt - Original Message - From: Rod

Re: Form rendering problem

2001-06-28 Thread Pham Thanh Quan
I think you don't have a form action class that is correlative with this form, so you can't use html:form. You should use form instead Quan - Original Message - From: Rod Schmidt To: [EMAIL PROTECTED] ; Rod Schmidt Sent: Thursday, June 28, 2001 1:38 PM

Checkbox problem still not fixed :(

2001-06-28 Thread Joel Vogt
Hi everyone. I've tried just about everything in the mail archive but can't get check/multi boxes to perform how I want to. I use an iterate tag over a collection, basically on my jsp page I have as follows form blah hidden name="pk" blah checkbox property="member" /form In my form bean

setting tomcat 4 for running struts

2001-06-28 Thread gohin
is there any special setting in tomcat 4 beta 5 to running struts..? i tray to run the struts-example in tomcat 4 beta 5, it doesn't run, there are error messages like this A Servlet Exception Has Occurred Exception Report: javax.servlet.ServletException: Cannot find message resources under

Tomcat doesn't properly reload struts-example!

2001-06-28 Thread Reinhold Biedermann
Hello, testing the struts-example app, I recognized, that Tomcat doesn't properly reload after class files have been changed! Follow the instructions below and see how producing the attached Internal Servlet Error! 1. Install Tomcat 3.2.2 (simply unpack 'jakarta-tomcat-3.2.2.zip' and set

RE: problem running struts example ..

2001-06-28 Thread Marcel Andres
Hello This is a well known problem. I used to have the same troubles. I attach you the following information from the mailing-list (last week). By changing the doEndTag() method I could solve the mistake. I hope in a future version of Tomcat, this will be fixed. Marcel This is a known

RE: Form rendering problem

2001-06-28 Thread Michael Mok
Hi Rod Try this %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %... html:form action="/youraction.do" focus="yourformbeanproperty"/html "youraction.do" needs to be already constructed for the form HTML generation to work. I got a couple of contexts setup in

Re: Templates and relative paths

2001-06-28 Thread Cedric Dumoulin
Templates are interpreted on server side. Pages are included relative to where your insert or get tag is located, not relative to the calling page. So, you usually prefer to use absolute path rather than relative ones. Html tags, like html:base/ or html:img/ are interpreted on client side

RE: Indexed Properties

2001-06-28 Thread Rey Francois
The problem is that your getUsers() return an array of User instances while your getUsers(int i) returns a String. As a result the PropertyDescriptor class for the users property will consider the User class as the type of your property, and will check the existence of User getUsers(int i) and

setting tomcat 4 for running struts

2001-06-28 Thread ihin
is there any special setting in tomcat 4 beta 5 to running struts..? i tray to run the struts-example in tomcat 4 beta 5, it doesn't run, there are error messages like this A Servlet Exception Has Occurred Exception Report: javax.servlet.ServletException: Cannot find message resources under key

Re: Updating in Components

2001-06-28 Thread Cedric Dumoulin
I'm not a specialist in using frames, but it seem to me that if you want to reload only part of a frameset, you have to write something like : href=url_of_frame_to_reload target=frame_name_to_reload In your case, url_of_frame_to_reload will be the url of your content, not the url of the

Implementation of struts ..

2001-06-28 Thread Syed, Ashraf (CTS)
Hi: Can anyone help in quoting me examples of sites having implemented struts framework 1.0 . I need this as a part of my evaluation .. thanks in advance .. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and

Indexed Property Population to ActionForm

2001-06-28 Thread
Hi, Is it possible to populate indexed property to ActionForm. Of course, there should be delimiters in parameters for indexing. For example, paramName$10 will populate to the bean with index 10 in the array paramName in ActionForm, ie. paramName[10]. Here $ is the delimiter for indexing.

RE: Indexed Property Population to ActionForm

2001-06-28 Thread Patrick van Leuveren
Hi, One of realizing this is by naming the properties according to the naming rules for indexed properties. For example: if you define the property names as field[1], field[2], the HTML code that is renderd could look like this: INPUT TYPE=TEXT NAME=field[1] etc. When the form is submitted, the

Re: html:hidden ....

2001-06-28 Thread Ted Husted
The HTML tags are designed to look things up from bean, usually the ActionForm bean associated with the enclosing html:form tag. But every tag in a form does not need to be a HTML tag. (Afterall, when these are rendered to the browser, they all end up as straight HTML). So, here you can just use

RE: Generic handling of properties

2001-06-28 Thread Niall Pemberton
Wait for dynamic properties to arrive in Struts (might be a while) or do it yourself. There are messages in the archive discussing how people have done this. Niall -Original Message- From: Gangadharappa, Kiran [mailto:[EMAIL PROTECTED]] Sent: 28 June 2001 00:52 To: '[EMAIL

RE: Is struts really loading the resources?

2001-06-28 Thread Niall Pemberton
ActionServlet does not actually load the messages when it starts up. It just uses whatever MessageResources factory it is configured for to create a MessageResources - Struts have provided default concrete implementations of these classes (PropertyMessageResources and

RE: concatenating resources files - in which class?

2001-06-28 Thread Niall Pemberton
I wouldn't put them anywhere in your code - I'd use some kind of deployment script to concatenate them and copy them to the appropriate directory. Niall -Original Message-From: Jonathan [mailto:[EMAIL PROTECTED]]Sent: 27 June 2001 16:57To: [EMAIL PROTECTED]Subject:

RE: Problem with resources when extending ActionServlet

2001-06-28 Thread Niall Pemberton
I have had no problems doing this - what does your sub-class look like? If you are overriding the init() method, you need to call super.init() to make sure the application resources are initialized. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 27 June

RE: html:hidden ....

2001-06-28 Thread Niall Pemberton
Either write your own tag which generates a HTML hidden field from a message resource key. or input type=hidden value=bean:message key='TEST'/ name=something Niall -Original Message- From: Michael Skariah [mailto:[EMAIL PROTECTED]] Sent: 27 June 2001 18:55 To: [EMAIL PROTECTED]

RE: null pointer error

2001-06-28 Thread Niall Pemberton
I dont think html:text was designed to take a body - in the tld file for the html:hidden tag the body parameter is set to empty and they both extend the same parent class (BaseFieldTag). BaseFieldTag is a child of BaseHandlerTag which extends BodyTagSupport and BaseFieldTag returns

RE: No Bean found under attribute key

2001-06-28 Thread Niall Pemberton
Your referring to a bean of name indexPage but the only thing in the code you've shown named indexPage is a forward. This will not create a bean named indexPage - try setting up an ActionForm and doing something along the follwoing lines: logic:equal name=myForm property=action scope=request

RE: Indexed Property Population to ActionForm

2001-06-28 Thread Niall Pemberton
Dave Hay has modified Struts tags to generate names appropriately. You can download his tags from Ted Husted's site: http://www.husted.com/about/struts/resources.htm#extensions Niall -Original Message- From: Patrick van Leuveren [mailto:[EMAIL PROTECTED]] Sent: 28 June 2001 11:57

Re: concatenating resources files - in which class?

2001-06-28 Thread Ted Husted
The safest thing is to have them under WEB-INF/classes, which is already on the classpath. I agree that keeping like resources together is good idea, but are they only used by the templates? Do not the Action classes also use these for messages. The JSP's under /WEB-INF/pages are really

Servlet-Error, Unable to open taglibrary /WEB-INF/struts-bean.tld ...

2001-06-28 Thread Maik Mrazovic
Hello, when I start "struts-example" or other struts-webapplications no error occurs, but if I start my application there comes always the error: "Unable to open taglibrary /WEB-INF/struts-bean.tld : Could not locate TLD /WEB-INF/struts-bean.tld" But I don´t know why, because the file is

Multiple Select List

2001-06-28 Thread Vaibhav Patil
Hello, I am trying to put a multiple select in the page list using struts tag. I have defined a array attribute in the corresponding form bean. The size of the select list as well as the array is three. But I am getting an Array OutofBound exception as soon as I submit the page. Please

RE: Form Bean Validation

2001-06-28 Thread Rey Francois
Jonathan, I'm not sure yet I understand exactly what you need yet, and why validation on the setter methods of the form would help you. But have a look at the mapper framework I made publicly available recently (http://www.husted.com/about/struts/resources.htm#extensions). It does not do

Re: Form rendering problem

2001-06-28 Thread Rod Schmidt
Ah, but I do. Everything works great on my local machine with the url http://localmachine/context - Original Message - From: Pham Thanh Quan To: [EMAIL PROTECTED] ; Rod Schmidt Sent: Thursday, June 28, 2001 12:57 AM Subject: Re: Form rendering problem I

Something strange about iterate tag

2001-06-28 Thread [EMAIL PROTECTED]
Hello struts users, I have a very strange problem in a jsp!! Indeed, the iterate tag works well for a property but doesn't work properly for another: * In my JSP: logic:iterate id=prerequisite name=course property=preRequisites bean:write name=prerequisite/

Re: Form rendering problem

2001-06-28 Thread Rod Schmidt
I've done exactly that. It still doesn't work with the domain name they have provided. Have you ever used a domain name from them? Everything worked fine before the domain name. I'm not sure what you mean be the action already being constructed. It is declared in struts-config.xml if that

RE: Servlet-Error, Unable to open taglibrary /WEB-INF/struts-bean.tld ...

2001-06-28 Thread Jon.Ridgway
Hi Maik, Have you entered the taglib tags into your web.xml? These should point to your tlds in your web-inf dir. Jon -Original Message- From: Maik Mrazovic [mailto:[EMAIL PROTECTED]] Sent: 28 June 2001 12:34 To: [EMAIL PROTECTED] Subject: Servlet-Error, Unable to open

Re: Servlet-Error, Unable to open taglibrary /WEB-INF/struts-bean.tld ...

2001-06-28 Thread Maik Mrazovic
Thanks, yes, it was already in web.xml, but thename of directory was "WEB-INF" (capital letters), the directory from Windows-NT was "web-inf", that was the reason! Does only Tomcat (I use 3.2.2) distinguish the letters, or is it at Websphere e.g. the same? Regards, Maik - Original

Re: Checkbox problem still not fixed :(

2001-06-28 Thread Linnea Ahlbeck
Hi! I had a similar problem and solved it by changing the attribute scope in my action in the struts-config.xml file to request instead of session. /Linnéa - Original Message - From: Joel Vogt To: [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 10:04 AM

Re: Something strange about iterate tag

2001-06-28 Thread David Winterfeldt
Do you have a setObjectives method in your bean? You need it for the PropertyUtils to find the method (has to do with the JavaBean spec). David --- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello struts users, I have a very strange problem in a jsp!! Indeed, the iterate tag works well

Struts Installation Question

2001-06-28 Thread Karin Ramsay
Hi, I have installed struts and written a login form. When I test the form, I receive the following error: org.apache.jasper.compiler.CompileException: C:\jakarta-tomcat-3.2.1\webapps\LRP\index.jsp(7,0) Unable to open taglibrary /WEB-INF/struts-html.tld : Could not locate TLD

Cache reload

2001-06-28 Thread Zeltser, Mark
Hello, I need to have my cache refreshed every hour. I extended ActionServlet and overwrote init() method, adding function to initialize and refresh cache. I am using Timer class for refreshing Cache class. Can this cause any problems with servlet containers? What is the right technique to do

RE: Global values as Tag parameters....How???

2001-06-28 Thread Rey Francois
I have extended the PropertyUtils so that it can support as well what we call 'string keyed' properties. It's part of the mapper framework I made publicly available recently ( http://www.husted.com/about/struts/resources.htm#extensions http://www.husted.com/about/struts/resources.htm#extensions

relaying attribute in request objects

2001-06-28 Thread Tom Miller
I want to pass a date string back and forth from my Action class and its jsp page. The date increments, the page forwards to itself (via the same Action), and is redrawn with a new list based on the updated date. At the moment, I'm storing the date string in the form as a session object. Is it

Using XML DOM instead of Action Form Beans

2001-06-28 Thread Meeraj Kunnumpurath
Hi, Is there anyway to adapt the Struts framework to use XML DOM instead of action form beans so that I don't need to create to new action form beans for every request URI mapping. Regards Meeraj/

Re: relaying attribute in request objects

2001-06-28 Thread Peter Alfors
A request's life cycle is over when the page is created. Therefore, you cannot pass information using the request (back to the server) You could do this: The action class sets the date in the request for the page to retrieve. The page turns around and places it in either a hidden field, or as

RE: Generic handling of properties

2001-06-28 Thread Gangadharappa, Kiran
Hi Niall, I am kind of new to this mailing list. Any idea where I can find the archives? regards Kiran -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 4:08 AM To: [EMAIL PROTECTED] Subject: RE: Generic handling of properties Wait for

struts with jboss problems

2001-06-28 Thread Mike Thompson
I recently switched to the JBoss app server and have been slowly been redeploying my struts application on it. I finally got my ejbs deployed and my web application deployed, BUT whenever I click on a link that is supposed to trigger a struts action, this is what I get. 2001-06-28 11:11:30

RE: Iterate, Text Fields, and Indexed Properties

2001-06-28 Thread Jason Rosenblum
I've tried quite a few things, but i still can repopulate text fields within an iterate tag when an reload (caused by a validation error) occurs. The following code generates the text fields but it does not repopulate on error: logic:iterate id=users name=psrBean property=users scope=session

Localized file names

2001-06-28 Thread alban . peignier
Hello, We need to introduce a localization support into a web site realized with Struts under Tomcat. We wonder one thing : why the template:put, html:link and html:img tqgs don't use the same logic than the serlver container to resolve the file name ? We want to use the same mechanism than

multiple form fields

2001-06-28 Thread Paul Beer
could someone please send some sample code of sending multiple text fields of the same name to a form bean ? i looked through the mail archives and see many threads involving this issue and no clear solution . how do i have a form bean represent multiple items (a string array in servlet land)

RE: Generic handling of properties

2001-06-28 Thread Gogineni, Pratima
www.mail-archive.com -Original Message- From: Gangadharappa, Kiran [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 9:13 AM To: '[EMAIL PROTECTED]' Subject: RE: Generic handling of properties Hi Niall, I am kind of new to this mailing list. Any idea where I can find the

RE: Generic handling of properties

2001-06-28 Thread Steve Taylor
Look no further: http://www.mail-archive.com/struts-user@jakarta.apache.org/ -Original Message- From: Gangadharappa, Kiran [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 9:13 AM To: '[EMAIL PROTECTED]' Subject: RE: Generic handling of properties Hi Niall, I am kind of new to

Re: Generic handling of properties

2001-06-28 Thread Peter Alfors
try: http://www.mail-archive.com/ Gangadharappa, Kiran wrote: Hi Niall, I am kind of new to this mailing list. Any idea where I can find the archives? regards Kiran -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 4:08 AM To:

Stylesheets and bean:message

2001-06-28 Thread Tom Miller
What is the technique to use for affecting bean:message tags with stylesheets? My experiments have not suggested a way as yet. TIA -- Tom Miller Miller Associates, Inc. [EMAIL PROTECTED] 641.469.3535 Phone 413.581.6326 FAX

Basic Q

2001-06-28 Thread vikrant . paranjpe
Hi .. I am new to Struts...we have an existing application using JSP and servlet technology which we want to migrate to struts...any pointers on how to go ahead with it. thanks in advance.. vik [Paranjpe, Vikrant (PS, Contractor, IT)]-Original Message-From: Mike Thompson

RE: working with reports

2001-06-28 Thread dhay
Michael, Hi. Maybe I'm missing something, but why don't you use the html:options tag? It will do it all for you!! Dave Michael Skariah [EMAIL PROTECTED] on 06/27/2001 07:18:54 PM Please respond to [EMAIL PROTECTED]; Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: Struts Installation Question

2001-06-28 Thread Liang Li
put *.tld files under webapps/LRP/WEB-INF/, see the struts-example. -Original Message- From: Karin Ramsay [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 11:00 AM To: Struts Group Subject: Struts Installation Question Hi, I have installed struts and written a login form.

RE: Struts Installation Question

2001-06-28 Thread Liang Li
Wait a second, have you defined the tld in your web.xml? -Original Message- From: Karin Ramsay [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 11:00 AM To: Struts Group Subject: Struts Installation Question Hi, I have installed struts and written a login form. When I

Re: Iterator+Checkbox

2001-06-28 Thread dhay
Hi. What do you get at the moment for the delete values in the form bean? What you are asking for should be possible (if I am understanding what you are asking for!!). Do you have the delete values set to false in your reset function? There are lots of messages in the list about this.

Re: multiple form fields

2001-06-28 Thread Peter Alfors
Your page: ... INPUT type=text name=qty value=1 INPUT type=text name=qty value=2 INPUT type=text name=qty value=3 ... In your class: String[] qtys = request.getParameterValues(qty); HTH, Pete Paul Beer wrote: could someone please send some sample code of

Re: multiple form fields

2001-06-28 Thread dhay
If you want to iterate through a collection, with a text field for each element, then the additions I made to the Struts tag will do this for you. It automatically produces numbered input fields, when you add indexed=true to the tag ie html:text name=parameter property=value

RE: Basic Q

2001-06-28 Thread Anthony Martin
I think, without a doubt, the best advice is to try building a Struts application from scratch. You might find that it's easier to add aspects of your existing JSP application to the Struts application, or maybe it'll be easier to go the other way. But either way, knowing where everything goes,

Re: directly invoke action class

2001-06-28 Thread Rama Krishna
sorry all, i got it. thanx. - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 11:16 AM Subject: directly invoke action class hi all, i want to directly invoke the action class with out submitting a form.

RE: multiple form fields

2001-06-28 Thread Paul Beer
the tag library code from husted.com does not compile w/struts build from 20010625. pete, doesnt this code : -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 11:02 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: multiple

RE: concatenating resources files - in which class?

2001-06-28 Thread Rey Francois
You could also avoid merging them by having multiple resources loaded into the app. This is not directly supported by Struts though. The way we have done this in our project is by extending the ActionServlet and having it load multiple resources in the same way the application resources are

RE: multiple form fields

2001-06-28 Thread Paul Beer
sorry i send the email accidently : doesnt : ... INPUT type=text name=qty value=1 INPUT type=text name=qty value=2 INPUT type=text name=qty value=3 ... In your class: String[] qtys = request.getParameterValues(qty); defeat the purpose of having a form bean which seems

RE: Basic Q

2001-06-28 Thread vikrant . paranjpe
Hi anthony.. thanks for the response.. our project is currently using MVC architecture its just that we dont have a controller per say... but we have the JSPs taking care of the GUI and the servlets doing the business logic.. i think that moving to struts will give us the advantage of

RE: Stylesheets and bean:message

2001-06-28 Thread John Schroeder
You can wrap the bean message in an html tag. For example: h2 class=myStyleFromStylesheet bean:message key=some.key /h2 -Original Message- From: Tom Miller [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 10:29 AM To: struts-user Subject: Stylesheets and bean:message What is

RE: Stylesheets and bean:message

2001-06-28 Thread Anthony Martin
The problem is that bean is not for manipulating HTML, which is the idea. As result, it doesn't contain any direct support for stylesheets. I guess one approach would be to include a SPAN or DIV tag inside the ApplicationResource.properties file and cause the message to use different styles

submit button size

2001-06-28 Thread Becky Moyer
Hi all... I am trying to determine how I can set a standard size for dynamically generated submit buttons. I don't see a parameter for the html:submit tag that allows you to specify size...is there a way to do it with stylesheets? I can't see one... Do I have to scrap the Struts submit

iterate vector of vectors

2001-06-28 Thread Rama Krishna
hi, can anyone tell me how to iterate a vector of vectors?? thanx, rama.

Re: iterate vector of vectors

2001-06-28 Thread John Raley
logic:iterate name='vectorVector' id='simpleVector' logic:iterate name='simpleVector' ... /logic:iterate /logic:iterate Rama Krishna wrote: hi, can anyone tell me how to iterate a vector of vectors?? thanx, rama.

Re: iterate vector of vectors

2001-06-28 Thread Rama Krishna
cool thanx. it works. - Original Message - From: John Raley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 12:00 PM Subject: Re: iterate vector of vectors logic:iterate name='vectorVector' id='simpleVector' logic:iterate name='simpleVector' ...

test email..ignore

2001-06-28 Thread vikrant . paranjpe
-Original Message- From: Rama Krishna [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 3:09 PM To: [EMAIL PROTECTED] Subject: Re: iterate vector of vectors cool thanx. it works. - Original Message - From: John Raley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Struts Installation Question

2001-06-28 Thread Karin Ramsay
Hi, The tld is defined in the web.xml file. Also, the TLD files are in the web-inf directory. The only other thing that is irregular is that when I start Tomcat, I have a the following messages in the console: 2001-06-28 03:10:59 - Ctx( /lrp ): Reading

missing a jar - build failed

2001-06-28 Thread Jyothi Palvai
Hi all, Can anyone tell me which jar I am missing a s I get the message below when I try to build. Thanks, Jyothi C:\strutsFiles\jakarta-struts\build.xml:188: java.lang.NoClassDefFoundError: jav ax/xml/transform/Source --- Nested Exception --- java.lang.NoClassDefFoundError:

No action

2001-06-28 Thread Mike Thompson
I'm getting an error when linking to an action. 2001-06-28 02:29:48 - Ctx( /SecureExWeb ): 500 R( /SecureExWeb + /servicemanager.do + null) No action instance for path /servicemanager could be created My struts-config.xml has the action entry: action path=/servicemanager

beans and scope

2001-06-28 Thread DHarty
I'm trying to get a series of pages to populate a form ala a wizard interface. Each page enters a chunck of information which is then forwarded to the next page in the sequence. The previous information is dispalyed along with an area to enter the next bit of info. The Problem is that after

RE: No action

2001-06-28 Thread Nanduri, Amarnath
Don't leave the extra line between your 'path' and the 'type'. This causes the problem... cheers, Amar.. -Original Message- From: Mike Thompson [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 3:50 PM To: [EMAIL PROTECTED] Subject: No action I'm getting an error when linking

RE: beans and scope

2001-06-28 Thread John Schroeder
Try removing the scope=request line below. The formbean will default to session scope (I believe). If you specify request scope, then the formbean will be accessible on the second page, but not the third... This worked for me after I banged my head against it as well!! !-- Create

RE: IAS 6.0 SP2 and struts TAGLIB error

2001-06-28 Thread Lou Farho
Seems like I have seen a similar error in my work. I had some errors in my jsp code. You might double check your usage of the struts tags. -Original Message- From: Brandon, Raymond [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 6:10 AM To: 'Matt Raible' Cc: '[EMAIL

Re: Implementation of struts ..

2001-06-28 Thread Ted Husted
http://husted.com/about/struts/resources.htm#sites Syed, Ashraf (CTS) wrote: Hi: Can anyone help in quoting me examples of sites having implemented struts framework 1.0 . I need this as a part of my evaluation .. thanks in advance ..

Re: No action

2001-06-28 Thread Mike Thompson
Too bad the extra line was caused by my mailer :( It's not really there. --m - Original Message - From: Nanduri, Amarnath [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 2:56 PM Subject: RE: No action Don't leave the extra line between your 'path' and the

RE: beans and scope

2001-06-28 Thread DHarty
Thank you John! Funny thing is, I had changed that in previous attempts. When that didn't work, I must have forgot to put it back. Speaking of request scope, Is there a way to do this (wizard steps) using the request scope, or do I just have to make the action classes responsible for reseting

RE: No action

2001-06-28 Thread Nanduri, Amarnath
Mike, Were you able to instantiate other action classes ? If so there might be a type in your action class name. Make sure that the Action class name and the name you have specified in the xml file are the same. Also make sure that in your web.xml file there is a mapping of *.do for your

RE: Struts Installation Question

2001-06-28 Thread Liang Li
Is there any typo in your struts-config.xml ? Or in the web.xml when define struts-config.xml? -Original Message- From: Karin Ramsay [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 3:23 PM To: [EMAIL PROTECTED] Subject: Re: Struts Installation Question Hi, The tld is

RE: multiple form fields

2001-06-28 Thread dhay
Paul, I just comiled it fine, using that build! Just copy the .java files in [struts]\src\share\org\apache\struts\taglib\html and it should build fine. Let me know if you still have problems (others are using it fine, too, and sounds like with good results). Cheers, Dave Paul Beer

RE: multiple form fields

2001-06-28 Thread dhay
Paul, a concrete example using modified tag: jsp: logic:iterate id=parameter name=ParametersForm property=parameterList . html:text name=parameter property=value indexed=true onchange=validate(this)/ . /logic:iterate in my

Per user request queing (newbie question)

2001-06-28 Thread Molitor, Stephen
Does Struts provide a way to ensure that one user can not execute multiple simultaneous requests? I'm thinking of a situation where the users hits a 'save' submit button, and, before that request completes, hits a link that executes a request to display the data. The view request will not

TGP - Cannot retrieve definition for form bean 'xxxXxxx'

2001-06-28 Thread Thomas Peters
Hello everyone... I have a struts application that I am building which contains, among others Customers, Orders OrderItems. I have created an Action which is called 'OrderEditAction' and an Action called 'OrderItemEditAction'. In this business model, not unlike other business models, the

RE: beans and scope

2001-06-28 Thread Niall Pemberton
You can use request scope by storing the values in hidden fields using the html:hidden tag - that way the values you are not showing get re-populated back into your form when submitted. Additionally to what John said about the default scope - I agree it is session but Struts also supplies two

Re: Per user request queing (newbie question)

2001-06-28 Thread Ted Husted
There's a request token feature that is not well documented in the Users Guide. It's used in the example application, and details are in the JavaDocs. Basically, you set a token for the request when setting up the form, and then check for it again when it is submitted. The first time the token

SCOPE OF THE Action in usebean......

2001-06-28 Thread Michael Skariah
Hello all, I have a code as shown below. the list I get from actNo.getList() is null. Infact I am populating the list in the perform() of the AccountNumberAction class. Could anyone tell me what modifications has to be done to get the populated list. Thanks!!, Michael.

RE: Generic handling of properties

2001-06-28 Thread Niall Pemberton
Kiran, Sorry for the short answer previously. Below are some of the messages that discussed this recently on the struts-dev list - the first message outlines what we did, but a better way (modifying Bean/Property utils rather than Struts tags) was pointed out by others in the thread.

Are there problems with Struts w/o an internet connection?

2001-06-28 Thread Bill Clinton
Hello, Today I was without an internet connection for a while and I was not able to start resin with my struts application. I tried to figure out the exact nature of the problem, focusing on the remote location of DTD files, but I think I might have been on the wrong track. It seems

RE: multiple form fields

2001-06-28 Thread Paul Beer
i get the following error when i try to use this tag: javax.servlet.Servlet Exception: ID17075: com.inqmy.services.servlets_jsp.server.jsp.ParseException: ID17213: Attribute 'indexed' not found in tag library 'null' for the tag text. Error in

RE: multiple form fields

2001-06-28 Thread Paul Beer
Im still having problems getting this. I just started using struts so please bear with me here. But can someone please email me something similar to the logic-iterate example that cmoes with the example-taglibs demo ? I am getting null pointer errors and I dont if it is my struts distribution

RE: multiple form fields

2001-06-28 Thread Niall Pemberton
Hey thats what this list is for - your headaches as valid as anyone elses, keep sending them until you get a result. Post all the bits of code in an email - your action form and/or bean(s) and the jsp - plus when is throwing the Null pointer exception, - in the jsp, before your page is

Re: STRUTS and EJB

2001-06-28 Thread Mark Simms
Not to beat a dead horse, but isn't the new SOAP and XML initiatives along with UDDI and WSDL specifications going to make EJBs look a bit less attractive for certain transactional applications ?? BTW: that bye-bye struts article had little substance; it was an apparent attempt on the author's

Re: STRUTS and EJB

2001-06-28 Thread Wong Kok Wai
Personally, I feel WSDL and UDDI complements EJB quite well. You can't implement business logic in WSDL; WSDL is just an interface definition using XML. EJB can't interface to another which is not RMI-based; WSDL and UDDI solves this problem. --- Mark Simms [EMAIL PROTECTED] wrote: Not to beat

variable column width in iteration

2001-06-28 Thread Rama Krishna
hi all, i want to setvariable column width in the table while doing iteration, the problem is i am doing iteration for vector of vectors. logic:iterate id="myCollectionElement" name="indexPage" property="records" tr logic:iterate id="collectionElement" name="myCollectionElement" td

Re: concatenating resources files - in which class?

2001-06-28 Thread Jonathan Asbell
I think I will do the following: 1) Identify which Locals I am supporting and declare them within web.xml fr_FR.properties es_ES.properties es_EN.properties en_EN.properties 2) On loading the servlet, for each Local I will search for .properties files and create a FileInputStream

newbie question (again)

2001-06-28 Thread Tiffany Dodge
Hello, I got the struts-example working and have begun trying to implement a small test app using struts, but have run into a problem. Below is the exception I'm receiving ... Thu Jun 28 17:32:41 PDT 2001:E WebAppServletContext-bumbletrak Root cause of ServletException

RE: multiple form fields

2001-06-28 Thread Paul Beer
OK here's my bad code. There are two problems Im try to resollve here : 1) i cant iterate through a vector (how do i give the html tag an enumerator ???) 2) even though i rebuilt struts w/tags from husted.com i get a null pointer error for the attribute indexed first here's the errors I am

  1   2   >