Re: action chaining without resetting action forms

2001-12-10 Thread Volker Krebs
Ted Husted wrote: Volker Krebs wrote: I'm intrested, can you please post a patched JAR. We are doing some Action chaning in our application. OK, see http://husted.com/struts/resources/invoke.zip Sorry, but with your patched struts.jar my Application won't deploy. NoClassDefFoundError:

Re: Struts Design question

2001-12-10 Thread Edward Q. Bridges
i believe that you could subclass ActionServlet and implement the processPreprocess method. this is called before processActionForm and processPopulate. On Fri, 7 Dec 2001 13:08:10 -0800 (PST), Jon Wall wrote: . . . having a problem with the Save action. The issue is that I need to retrieve

how can I call an Action class

2001-12-10 Thread Crisalyn Ramos
Hi, all. How can I invoke an action class from a jsp page during page load. Say my application calls index.jsp when a user logs on and when that page is called, it invokes the the Action class. The user log on does not come from another jsp page so I can't make use of the form tag or href tag to

Deployment of Struts in IBM Visual Age

2001-12-10 Thread Bol, Bernardus, VTC-CDS
Dear all, I am trying to deploy Struts in Visual Age. For this I am trying to change the web.xml file of Struts into a web.webapp file, which can be understood by Visual Age. Is there a more simple way of deploying struts under Visual Age 3.5.3? (Visual Age doesn't support the automatic

Dual forms and using struts.

2001-12-10 Thread Collard, John
Ok, I'm a newbie to struts. My first question, where can I find a history of this mailing list. Second: I am attempting to put together a template like the following _ | header | _ | left | center | right| ||

RE: Dual forms and using struts.

2001-12-10 Thread BARIS GUZELORDU (TC-IT)
I want to protect the values entered in testfields after form is submitted. When any error occurs, Form should show the entered values with the errors. How can I prevent blanking the entered fields after being submitted? Thanks Baris Güzelordu IT-Customer Services * +90 212 449 23 35 * +90 532

RE: Question/Issue with forward specifications

2001-12-10 Thread Markus Skyttner
If you're using homegrown methods for logging, look into the log4j package. I think it is great for logging, I started using it in my struts app and I am very pleased with it. Read more about logging in general and performance considerations with log4j at http://jakarta.apache.org/log4j //

Re: 2 problems with html:errors

2001-12-10 Thread Jonathan James
Sounds like you don't have errors.header errors.header defined in your ApplicationResources.properties file, since those get prepended appended to every error message. -Jonathan - Original Message - From: Mike Hoeffner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 09,

Re: 2 problems with html:errors

2001-12-10 Thread Jonathan James
Oops, that should be errors.header errors.footer -Jonathan - Original Message - From: Jonathan James [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, December 10, 2001 7:36 AM Subject: Re: 2 problems with html:errors Sounds like you don't have

RE: Can't forward to a global-Here's the code in question?

2001-12-10 Thread Keith Bacon
Alex, I haven't got the docs to hand but I think request.getSession(); creates a session if there isn't one - ie. can never return null. Also I think struts might be creating the session before calling your perform method. Maybe you want to test for some object that your application puts in the

RE: Please Help with Iterate and Lookup bean value problem

2001-12-10 Thread Tom Klaasen (TeleRelay)
why don't you add a method public String getBankFileLabel() { return getbankLabel(getBankFile()); } to your bean, and your tag becomes bean:write name=customerResults property=bankFileLabel filter=true/ This is how I tend to solve problems like this. hth, tomK -Original

RE: Best Struts Web Server

2001-12-10 Thread Robert Taylor
Check out ServletExec at http://www.newatlanta.com/products/servletexec/productline.jsp. You can verify this through their support (http://www.newatlanta.com/support/servletexec/se-interest.jsp), but I believe it will handle around 1 million hits per hour. Their support is really top notch and

Re: struts-html.tld: Failed to find TEI class

2001-12-10 Thread @Basebeans.com
Subject: Re: struts-html.tld: Failed to find TEI class From: Paul Heath [EMAIL PROTECTED] === This situation went away by going back to Struts 1.0. My environment is SilverStream eXtend Workbench 1.0 IDE on W2K Pro. Paul Heath wrote: I'm getting the following message on compilation of a JSP:

Re: action chaining without resetting action forms

2001-12-10 Thread Volker Krebs
Hello Ted, If anyone is interested, I can post a patched JAR. But then they really, really need to tell me that it works, or else this will never be committed. I've finally managed to test it. I had to integrated in the newest nightly build, because we are using some new tags. But after

Re: Struts Design question

2001-12-10 Thread Jon Wall
Hi Ted - Thanks for the input. A light went on when I read this...I'd initially wanted to just include my existing components in a thin composition ActionForm class - in other words, if I had a Widget component, I'd create a WidgetForm class with getWidget() and setWidget(), then my form would

Struts+Tiles+Definition file+Tomcat 3.2 running in JBuilder 5.0

2001-12-10 Thread Gundars Kulups
Hi! Has anyone managed to get mentioned running together? Regards, Gundars -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Explanation of problem with Tiles+JBuilder

2001-12-10 Thread Gundars Kulups
Here is little bit of explanaition of problem I have tracked down. In order for aplication to run in JBuilder with Tomcat and struts I have nostrutstomcat32.jar in lib/ext directory of JBuilder. However if I substitute ActionServlet definition in web.xml with Tiles ActionServlet I get

RE: Tomcat + Struts in Production Environment

2001-12-10 Thread Siggelkow, Bill
You don't have to use EJBs just to take advantage of an app server's connection pooling. I think the advantage of using EJB is that the App Server has connection pooling. And AppServers supports caches (??) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: Tomcat + Struts in Production Environment

2001-12-10 Thread Alexander Jesse
plus: there are connction pools and caches that can be integrated into servlet-engines... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 4:11 PM To: [EMAIL PROTECTED] Subject: RE: Tomcat + Struts in Production Environment You

RE: File in DB vs. File system part2

2001-12-10 Thread Siggelkow, Bill
You can force a refresh with JavaScript like ... script function _refresh() { window.location.reload(true); } /script Then you can call this function if the pic has been updated. I have not actually tested this so YMMV. -Original Message- From: Andy Timm [mailto:[EMAIL

how to detect an error

2001-12-10 Thread Jack Xu
Hi, I have a quite dumb question here: On a JSP page, if I want to check to see whether there exists any ActionError or not, what should I do? I tried logic:present name=errors property=someproperty do something if there is an error /logic:present it doesn't seem to be working. and

Struts : html:form action='

2001-12-10 Thread Krishnamoorthy
Hi All, Could you pl. answer to this following question: When I am trying to use the following html:form action=/abc/xyz/login.do?TargetPage=kicha.jsp method=POST in the above form action I am getting a error ie; after the TargetPage if I am using any symbols such as (DOT . or SLASH / )

Re: how to detect an error

2001-12-10 Thread Burr Sutter
The following seems to work: logic:present name=org.apache.struts.action.ERROR scope=request brThere must have been errors!br /logic:present logic:notPresent name=org.apache.struts.action.ERROR scope=request brThere are no errors.br /logic:notPresent Burr [EMAIL PROTECTED] -- Sent via

RE: 2 problems with html:errors

2001-12-10 Thread Jeff Martin
This is a HUGE source of user error. Is there a chance we can make html:errors work WITHOUT the special properties in the ApplicationResources.properties file? -Original Message- From: Jonathan James [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 8:40 AM To: Struts Users

Re: how can I call an Action class

2001-12-10 Thread Burr Sutter
A couple of options: 1) Instead of linking (GET) or submitting to (POST) to index.jsp go to index.do instead. I assume you've already thought of that one and the login page won't let you. 2) Assuming you have control over the index.jsp, add a line that says: jsp:forward page=index.do/ I might

Re: how to detect an error

2001-12-10 Thread Jack Xu
Burr, Thanks for the help. logic:present name=org.apache.struts.action.ERROR scope=request does work, but what if I need to see an error with a certain property exists? I tried logic:present name=org.apache.struts.action.ERROR property=certainproperty scope=request and it doesn't seem to

Re: 2 problems with html:errors

2001-12-10 Thread Jonathan James
I just looked at the ErrorsTag code (as of struts 1.0) and it IS checking to see if those properties exist and is not using them if they are not defined. So the error you're seeing must be something else, or this got broken in the later versions of Struts? Ok, I'm now looking at the source from

Re: how to detect an error

2001-12-10 Thread Burr Sutter
My sources tell me that the lastest code for Struts 1.1 has a new messagesPresent tag that should do what you need. Here is a message that I pulled from the archive: - If you are using one of the more recent nightly builds there is a logic tag you could use.

RE: Seeking Know-How Advice: How Do I Implement Pop-up Error Windows With Struts

2001-12-10 Thread Thinh Doan
Adam S. Grohs had also contributed source code in the past to implement this sort of things. Pls check-out archive. Thinh -Original Message- From: Prengaman.Karen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 1:00 PM To: 'Struts Users Mailing List' Subject: RE: Seeking

RE: strut help

2001-12-10 Thread Mike Ashamalla
I've used DispatchAction successfully to process multiple actions. You can find out more about DispatchAction here: http://jakarta.apache.org/struts/api-1.0/org/apache/struts/actions/DispatchA ction.html Thank You, Mike Ashamalla, CEBS VistaXtreme [EMAIL PROTECTED] -Original Message-

Re: Advice on integrating struts within existing application

2001-12-10 Thread Sandeep Takhar
I haven't done what you are asking, but I will add what I know... --- [EMAIL PROTECTED] wrote: 2 - Are there any features that only work if adopted system wide? can't think of any, but I am a relative newbie and have trouble measuring the impact. 3 - Do I need to use the Struts - HTML tags? no

Submitting a form bean

2001-12-10 Thread Joanna Chan
Dear all, Wonder if anybody knows how to attach a form bean to the HTTP session so that the bean can be submitted at the end of a series of jsp input form pages? The bean basically has fields which span over several jsp pages. I want to instantiate the bean only at the first page and populates

RE: Submitting a form bean

2001-12-10 Thread Mike Dewhirst
just do from the page: request.addAttribute(beanName, beanObject); then, when you want to add more stuff to it in another page: ((BeanObject)request.getAttribute(beanName)).setSomeProperty(someValue); That's it. Might want to do it in the form validate method though, to only save entered

Problems with logic:present tag: always true

2001-12-10 Thread Mike Bridge
I'm trying to figure out the logic:present tag (with Dec. 10's nightly build), but I'm not having any success. I want to print some text only if there is a parameter in the query part of the url. For example, if the url ends in: /mywebapp/do/builder/new?testid=123 and the jsp has:

Re: Problems with logic:present tag: always true

2001-12-10 Thread Martin Fekete
check for taglib directive .. %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % and also look into generated HTML source ... feky - Original Message - From: Mike Bridge [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 10, 2001 7:09 PM Subject: Problems with

Re: Using Microsoft Web Stress Tool

2001-12-10 Thread Vimal Kansal
Rajan, Can you tell me, where do I download this tool from? Thanks Vimal --- Rajan Gupta [EMAIL PROTECTED] wrote: I downloaded this free tool from microsoft to stress test my Struts application. The tool is quite good, except that the documentation sucks. I have a Struts based

RE: Submitting a form bean

2001-12-10 Thread Michael James (NYC)
I just finished doing the same thing ... I have one type of action LoadXXX that gets called to first time, and then I have another action ShowXXX that can be called many times, that just reads one param that tells it were to go next .. the as long as of form bean name is the same for all the

html double option warning

2001-12-10 Thread Mike Hoeffner
I couldn't find anything in the archives, but I was just tripped up when a user said that they were getting double listings in combo boxes. This is obviously something that I was doing wrong, but it had been working for most users. I just wanted to point it out in case other developers are

Using html:checkbox

2001-12-10 Thread Ravi Kattamuri
Hello, This is a plain JSP - HTML code: -- % for(i=0; iobjUsers.size(); i++){ tmpuser=objUsers.getUser(i); % trtd input type=checkbox name=user value=%= tmpuser.getUserId()% %=tmpuser.getUserId()%td/tr % } %

RE: Dual forms and using struts.

2001-12-10 Thread Datta Ray, Jaydip
Hi, I need some help. I understand that, in a form, I can have buttons like html:submit, html:reset and html:cancel. Out of these, cancel and reset pretty much uses their default values and submit uses the action attribute of html:form to go to next page. My question is: How can I have

How about a Conference on Struts?

2001-12-10 Thread SUPRIYA MISRA
I just came back from JA-SIG conference at Destin, Florida and would strongly recommend that we have a similar conference on Struts in some nice place. Normally Company's/Universiities would sponsor their candidates and we get a chance to discuss some issues in a better coordinated way. Any

Re: How about a Conference on Struts?

2001-12-10 Thread sun_king
great idea... get all the pros to knock out various problems and webcast it for those who can't make it in person john f SUPRIYA MISRA writes: I just came back from JA-SIG conference at Destin, Florida and would strongly recommend that we have a similar conference on Struts in some

How to pass beans this way with Struts?

2001-12-10 Thread Frank Lawlor
I'm new to Struts and trying to see how to best map an existing app to Struts. In my current app I let clients define certain page types (e.g., 'home', 'contacts', etc.) To allow this and still have some security I put the client pages in their own web app. There may be any number of these

Ted Husted's DispatchFoward Class in the Struts Catalog

2001-12-10 Thread John Regan
I am trying to use one ActionMapping for several different html:link forward= links. What Struts tag do use to store the forward paramenter referenced in this part of the code in DispatchForward: wantForward = request.getParameter(forward); thank you in advance.

Re: How about a Conference on Struts?

2001-12-10 Thread a b
is it free? --- SUPRIYA MISRA [EMAIL PROTECTED] wrote: I just came back from JA-SIG conference at Destin, Florida and would strongly recommend that we have a similar conference on Struts in some nice place. Normally Company's/Universiities would sponsor their candidates and we get a

RE: Submitting a form bean

2001-12-10 Thread See Yam Lim
Hey, Just set the scope attribute to session in where you specify your action at the struts-config.xml. for example, action path=/action_alias type=action_class name=action_form scope=session p/s- this will set your form bean to session!

Re: Problems with logic:present tag: always true

2001-12-10 Thread Mike Bridge
Sorry, I'm an idiot. That fixed it. Thanks! -Mike On Mon, Dec 10, 2001 at 07:21:38PM +0100, Martin Fekete wrote: check for taglib directive .. %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % and also look into generated HTML source ... feky - Original Message -

Re: Struts Design question

2001-12-10 Thread Ted Husted
Jon Wall wrote: 1. The String/boolean requirement. Everything I'd tested happened to be String or boolean, but Ted pointed out this wouldn't work for nested tags. I'm assuming, then, that the ActionForm performs another function that I hadn't thought about - converting the String and

Websphere 4.0 and html:link rewriting

2001-12-10 Thread Steven Leija
Hello All, Currently running into an odd problem. Using websphere 4.0 deploying a war file. The html:links are renders the with context root path twice. I know that struts adds it by default, and now, websphere is adding it by default. So urls are looking like this:

[ANN] eContent 2.0 released

2001-12-10 Thread Flying Cloud
Now with Struts integrated, Jcorporate (www.jcorporate.com) has today released a new version of its web content management system (CMS), eContent version 2.0:. http://www.jcorporate.com/html/news/Press/eContentRelease2.0.html eContent is an excellent example of a sophisticated application built

RE: Passing variables with the html:link tag, how do I do this?

2001-12-10 Thread John Regan
has anybody answered this yet? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 09, 2001 8:39 PM To: Struts Users Mailing List Subject: Passing variables with the html:link tag, how do I do this? Hi I have a very simple question, I want

Re: How to pass beans this way with Struts?

2001-12-10 Thread Ted Husted
Frank Lawlor wrote: Because this needs to be open-ended and dynamic, my project managers can easily define a new 'page type' and define the beans they will provide to these client pages. To make this easy to use yet flexible, they use JSPs to define the beans to be passed for any page

Re: Struts Design question

2001-12-10 Thread Ted Husted
Ted Husted wrote: If you find something that works better for you, be sure to report back. We aren't jealous ;-) Adopt and adapt. Or, if you find one I haven't listed here, be sure to let me know. http://husted.com/struts/links.htm#mvc/frameworks -- Ted Husted, Husted dot Com, Fairport NY

Re: Struts Design question

2001-12-10 Thread Jeff_Mychasiw
If I could jump in and ask a question, I have searched this list for a best practice regarding the relationship between formbeans, value objects, and formatting/cleaning data. I found the discussion between Jon and Ted interesting. I am gearing up to try and use struts in my current

Struts error...

2001-12-10 Thread Sunil Mandya
Hi folks, I'm getting this error when I try to access any struts page... I'm trying to run the example application on WebSphere 3.5.4 Please help!!! Sunil Error 500 An error has occured while processing request:http://localhost/struts-example/logon.jsp Message: Server caught unhandled

Somebody help...

2001-12-10 Thread Sunil Mandya
This is my third post in a day, so please bear with me... I'm still looking for help on this error i get when I ckick on the logon link in index.jsp. (in the example app...)I'm using Websphere 3.5.4 and I basically followed Chris Assenza's procedure for installation. Thanks in advance Sunil

RE: Somebody help...

2001-12-10 Thread Jhaveri, Harshal
comment the remove page scope attributes from the org.apache.struts.taglib.html.FormTag: In the doEndTag() method comment this lines out: That should work. i.e: public int doEndTag() throws JspException { // Remove the page scope attributes we created /*

RE: Somebody help...

2001-12-10 Thread Sunil Mandya
Hi Harshal, Thanks for the reply... I downloaded the struts.jar from www.enfused.com and it worked. My mistake that I didnt do a proper search in the mailing list archive. Sunil -Original Message- From: Jhaveri, Harshal [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 5:05

Invoking Action Class from a link

2001-12-10 Thread Shashi
Hi, I need to invoke an Action Class using a link. I would like to create a link like follows: a href=/edituser.do?userid=abcdabcd/a Is this possible? Are there any other ways to do the same using struts taglibs? --Shashi.

ERROR: User database not loaded

2001-12-10 Thread Sophia Cheng
Hi, Summary: I created an web application from JRun Management console to run example application in JRun3.1, but I got error message on index.jsp: ERROR: User database not loaded -- check servlet container logs for error messages. Detail: I am running the example application in

Re: 2 problems with html:errors

2001-12-10 Thread David Winterfeldt
In nightly builds there is an html:messages tag that iterates through errors and the header and footer are optional. David --- Jonathan James [EMAIL PROTECTED] wrote: I just looked at the ErrorsTag code (as of struts 1.0) and it IS checking to see if those properties exist and is not using

Re: Using Microsoft Web Stress Tool

2001-12-10 Thread Krishnamoorthy
Check the link http://webtool.rte.microsoft.com/default.htm Thanks, Kicha Vimal Kansal wrote: Rajan, Can you tell me, where do I download this tool from? Thanks Vimal --- Rajan Gupta [EMAIL PROTECTED] wrote: I downloaded this free tool from microsoft to stress test my Struts

html:link Tag

2001-12-10 Thread Ravi Kharse
Hi, I need to achieve some thing using struts tag library html:link page=/viewRequestApprovalDetails.do?Index=1 +bean:message key=Details//html:link html:link page=/viewRequestApprovalDetails.do?Index=2 +bean:message key=Details//html:link html:link page=/viewRequestApprovalDetails.do?Index=3

Servlet : Security

2001-12-10 Thread Shri
Hi Struts folks, I know this is not the proper forum to ask this question, but I am tempted ask, as in my experience, I have not found a more active and helpful mailing list than Struts mailing list. I am trying to use Form based authentication according to servlet specifications on IBM