RE: Returning from a form apge

2001-04-30 Thread Lewis Henderson
Thx, My idea was to allow multi-level popup. Jsp1 = Jsp2 = Jsp3 Jsp1 = Jsp2 = Jsp3 ...or any combination... Lewis -Original Message- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 20:41 To: [EMAIL PROTECTED] Subject: Re: Returning from a form apge The request

RE: How to embed bean:message within a template

2001-04-30 Thread Niall Pemberton
template:put name="title" direct="true" bean:message key="index.title"/ /template:put -Original Message-From: Jeff Trent [mailto:[EMAIL PROTECTED]]Sent: 30 April 2001 20:10To: [EMAIL PROTECTED]Subject: How to embed bean:message within a template Newbie here. Just

Why need to remove FormBean ??

2001-04-30 Thread John Festa
The Action objects that are in the struts-example removes the form bean regardless of whether it is held in the request or session object. If it is held in the request object, why is it necessary to remove it? Doesn't the request object get destroyed between requests (hence destroying the form

RE: Why need to remove FormBean ??

2001-04-30 Thread Jason Chaffee
Title: RE: Why need to remove FormBean ?? I don't know the exact reason it is being done, but it may be a safety net in case the container doesn't remove it properly. As many of you have probably come to find out, many of the app servers haven't implemented every part of the servlet

Form submission from did n't occurr

2001-04-30 Thread M . Amin
Dear Geir and all, I'm using velocity integrated with struts and i have a trouble regarding action mapping : look at my attched files The form submission from product.vm to its action configured in .xml did n't occurr, i do n't what's wrong Any help will be appreciated. Regards, M.

RE: Returning from a form apge

2001-04-30 Thread Eric Butterfield
If you hard code a parameter into the href or page attribute of html:link, it is smart enough to know how to append the other parameters contained in your parameter map. For example if your page value is /myForm.do?ref=1, and your parameter map contains the pairs param1=abc and param2=def,

Components problem: Unable to convert a String to java.lang.Object for attribute content

2001-04-30 Thread Tim Moore
I'm trying to figure out the Components Library extension to Struts. I've got a simple JSP: %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/components.tld prefix=template % html:html head titleContent Form/title /head body bgcolor=white

struts and XSP

2001-04-30 Thread Thorsten Mauch
Hi All I review the mailing list. I found some discussion about the posibiltiy to use XSP with struts, but i didn't know the latest result. Does anybody now use XSP as a view for stuts. Or does anybody create XML content with a JSP and perform a server side XSL transformation. Thanx Thosten

html:message tag

2001-04-30 Thread Sue Deng
Hi, I am trying to build form using struts taglib. But I get no such tag message ...error when I use html:message tag. I found that struts-html.tld and struts-bean.tld files do not have a tag named message, but the struts example uses that tag. Why? Thanks, -Sue

RE: html:message tag

2001-04-30 Thread Jason Chaffee
Title: RE: html:message tag it should be bean:message -Original Message- From: Sue Deng [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 5:26 PM To: [EMAIL PROTECTED] Subject: html:message tag Hi, I am trying to build form using struts taglib. But I get no such tag

RE: How to embed bean:message within a template

2001-04-30 Thread Michael Mok
Hi Jeff Try this template:put name='title' bean:message key=app.title/ /template:put Regards, Michael Mok -Original Message- From: Jeff Trent [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 May 2001 9:26 To: [EMAIL PROTECTED] Subject: How to embed bean:message within

What causes the Action Servlet to be Invoked at the Server Startup

2001-04-30 Thread Natra, Uday
Hi All, I have a very fundamental question. Please bear with my naivete. Can any one tell me how the ActionServlet gets invoked at the Application Server Start up? I am using Weblogic6.0 and when I am starting the server, My Struts application is being deployed and I see some messages being

RE: Creating html:hidden ... dynamically

2001-04-30 Thread Niall Pemberton
We plan to store bean data has hidden form objects , so that it could be passed to the subsequent pages, without having to make the scope of the beans to be session. We do not know how many attributes the bean objects can have, and plan to store it in an array of hidden form objects like

Re: What causes the Action Servlet to be Invoked at the Server Startup

2001-04-30 Thread Jason Chaffee
yes, it your deployment descriptor (web.xml) there is an attribute for load-on-startup Natra, Uday wrote: Hi All, I have a very fundamental question. Please bear with my naivete. Can any one tell me how the ActionServlet gets invoked at the Application Server Start up? I am using

RE: What causes the Action Servlet to be Invoked at the Server Startup

2001-04-30 Thread Natra, Uday
Oh! I thought of some thing like that. But I completely missed it. Thank You very much Jason. -Original Message- From: Jason Chaffee [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 9:33 PM To: [EMAIL PROTECTED] Subject: Re: What causes the Action Servlet to be Invoked at the

RE: File upload problems

2001-04-30 Thread Azariah Jeyakumar
Hi, I am picking up on an old thread. The first problem you reported might be fixed as of recent builds, please try a nightly build and let me know if it works. I tried last night's build (20010430) and I could not reproduce the file-upload problem that I was facing. As for the multibox

abstract metohd error

2001-04-30 Thread Oussama Ktiri
Hi, I downloaded the latest version of struts, I am trying to get a JDBC example work, the driver is alright..but I get this error I am using mysql and tomcat java.lang.AbstractMethodError at org.apache.struts.util.GenericConnection.(GenericConnection.java:118) at

Re: Antwort: RE: Visual Age 3.5.3 Tomcat with Struts

2001-04-30 Thread Darren_James
1.) Install Tomcat 3.1 Test Environment look into /path/to/vaj35/ide/features/com.ibm.ivj.tomcat/... to find IVJJavaCompiler.java Tomcat Test Environment won't install on top of VA 3.5.3. It says that the correct version of VisualAge is not installed, and exits the installer application.

Re: Antwort: RE: Visual Age 3.5.3 Tomcat with Struts

2001-04-30 Thread dion
Is there a reason you don't want to use the WebSphere Test Environment in 3.5.3? -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au NetRexx: http://www.multitask.com.au/NetRexx.nsf

Re: Antwort: RE: Visual Age 3.5.3 Tomcat with Struts

2001-04-30 Thread Darren_James
Dion, I had problems trying to configure the WTE. The documentation in VAJ was lousy in my opinion. I was able to get the default application working with WTE, access the samples, etc., but had troubles attempting to create an additional webapp. I followed the instructions in VAJ help for

Shopping Cart Project

2001-04-30 Thread josephhakim
Hi guys ! Well. Ok. So there's no Shopping Cart example utilising struts out there. And although it's been done so many times using other languages and frameworks, it's time to put one together for the struts community. After all, the 'shopping cart' is really the 'hello world' for web apps !!

RE: switch from http to https

2001-04-30 Thread Michael Wilimsky
thanx... can You give a code example for that approach? michael -Original Message- From: Jonathan [mailto:[EMAIL PROTECTED]] Sent: Freitag, 27. April 2001 17:26 To: [EMAIL PROTECTED] Subject: Re: switch from http to https You have to use url rewriting to send and save the session

RE: Struts and WebSphere

2001-04-30 Thread Assenza, Chris
Yeah, that's what I did/meant. I should have been more clear. :) Unfortunately, that never worked for me! However, there is nothing to preclude user error on my part, albeit that is not a difficult or complex task. I haven't had the opportunity to go back and try again since then and the

Creating html:hidden ... dynamically

2001-04-30 Thread Anil Guntgatti
Hi, We plan to store bean data has hidden form objects , so that it could be passed to the subsequent pages, without having to make the scope of the beans to be session. We do not know how many attributes the bean objects can have, and plan to store it in an array of hidden form objects like

New User

2001-04-30 Thread Sanjeev Mishra
Hi! All : I am new to struts. I am able to run the struts-documentation Application. But while running the struts example application using tag Libraries i am getting an error in the index.jap page telling that /index.jsp(3): Error in using tag library uri='/WEB-INF/struts-html.tld'

RE: Creating html:hidden ... dynamically

2001-04-30 Thread Lewis Henderson
You could use html:hidden property=hidden[1] value=value1/ Look at the struts-documentation for indexed properties... Your getter/setter methods use an int parameter... String getHidden(int index){} and void setHidden(int index, String value){} Any help? Lewis -Original Message-

Re: Iterate certain number of times?

2001-04-30 Thread dhay
Levi, Thanks for your thoughts. However, I believe I am doing things correctly as follows: this page displays a formatted version of a logfile on the server. This logfile can be up to 50 MB in size, and a filtering mechanism is provided so the user can browse the whole file, or certain

Where to forward when validate returns false in wizard style forms?

2001-04-30 Thread Seth Ladd
Hello, I may not understand properly the way struts deals with things when validate=true in the action mapping, so please bear with me. I have a wizard style input form(s) all using the same Action. Most of the time, the Action will only forward to the next page. Only at the last page will

Re:

2001-04-30 Thread Rick Horowitz
Seth, I just received an empty message from you. Did you mean to send something to me? At 08:36 AM 4/30/01 +, you wrote: Rick Horowitz _ Do You Yahoo!? Get your free @yahoo.com address at

RE: Creating html:hidden ... dynamically

2001-04-30 Thread Jason Chaffee
Title: RE: Creating html:hidden ... dynamically Is there a reason you don't want to store this information in a bean, It makes more sense than storing it in hidden fields. You are essentially doing your own session scope management. Why not let your container do this for you? -Original

RE: Where to forward when validate returns false in wizard style forms?

2001-04-30 Thread Jason Chaffee
Title: RE: Where to forward when validate returns false in wizard style forms? Yes, it would be better to have an action for each step in the process. That is what MVC/Model 2 is all about. -Original Message- From: Seth Ladd [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001

RE:

2001-04-30 Thread Halldór Magnússon
Title: RE: No, I'm sorry...my mistake! -Original Message- From: Rick Horowitz [mailto:[EMAIL PROTECTED]] Sent: 30. apríl 2001 16:32 To: [EMAIL PROTECTED] Subject: Re: Seth, I just received an empty message from you. Did you mean to send something to me? At 08:36 AM

RE: Where to forward when validate returns false in wizard style forms?

2001-04-30 Thread Seth Ladd
Yes, it would be better to have an action for each step in the process. That is what MVC/Model 2 is all about. Thanks for the reply! That's the same conclusion I came to. What I'm trying is having the same Action class handle each step, since for the wizard style all but the last step only

RE: indexed property with a string

2001-04-30 Thread Iraklis Kourtidis
Hi Michiel, this is not a stupid question. The answer unfortunately is that you can't (as far as I know). This is causing us pain here in my company. For more information, please follow the series of emails with the subject (architectural issue/feature request) JavaBeans in Struts aren't

RE: Iterate certain number of times?

2001-04-30 Thread Donnie_Hall
Hey that's pretty cool. I got it working in about 10 minutes. One question though. I had to move my iterate bean from Request to Session scope. Is there any way to keep it at the request level? Thanks, Donnie Hall |+-- ||

Re: New User [ERROR IN BaseHandlerTag FormTag]

2001-04-30 Thread Jean-Noel Ribette
I'm affraid this error comes from an error in the cvs. The attribute styleId was introduced in the class BaseHandlerTag of the deprecated org.apache.struts.taglib package and not org.apache.struts.taglib.html (same for FormTag) on the 18th

Returning from a form apge

2001-04-30 Thread James Howe
In our web application, we have two pages from which a user can access a third page. From the third page (which is form to fill out and save), the user either saves or cancels their action, and the user is returned to the page from which they originally started. However, the third page has

Form tag question

2001-04-30 Thread Ross
Hi all I'm working my way through struts-example and the documentation and I am confused about the process a form tag takes to create an ActionForm bean if one doesn't exist. There seems to be conflicting documentation. The walking tour of the example says. First, the logon.jsp makes use of

RE: New User [ERROR IN BaseHandlerTag FormTag]

2001-04-30 Thread Sanjeev Mishra
Thanks ! Jean, But i got it working through a different XML Parser. Yes!! That styleId attribute is a new edition Sanjeev -Original Message- From: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 11:08 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re:

RE: Returning from a form apge

2001-04-30 Thread Jason Chaffee
Title: RE: Returning from a form apge If you are using the MVC design pattern then you will have an action associated with the save. What I have done is keep a hidden field for the referring page, which keeps track of the mapping key. This way I am able to forward to the jsp that originally

How to embed bean:message within a template

2001-04-30 Thread Jeff Trent
Newbie here. Just wondering how to accomplish this using templates. template:put name='title' content='bean:message key="app.title"/' direct='true' / Can't seem get the bean to evaluate the message text... Suggestions? I tried direct on off but no luck. Thanks, Jeff