dynamic help html:links for every page

2001-06-22 Thread Jakob Flierl
Hi, Im trying to dynamically include some help messages in my JSP pages, e.g. I want to write: html:link page=%=request.getServletPath()%?help=trueHilfe/html:link on every page, so I can include the parameter help = true in my current request. Therefore I've put this into my footer template

RE: checkLogonTag question

2001-06-22 Thread Jon.Ridgway
Hi John, You seem to have a number of problems. Firstly, you are checking for a logon on the logon page. As you want yet have a logon you will simply be returned to the same page. Not what you want ! Remove the checkLogon tag from your logon page ! Jon -Original Message-

RE: Struts WebSphere Commerce Suite 5.1

2001-06-22 Thread Jon.Ridgway
Hi Chris, Several people including myself have got Struts working with WebSphere 3.5.3. There are a number of things that need to be configured. Search the archive for full details. See http://www.mail-archive.com/struts-user@jakarta.apache.org/. Not sure about Commerce Suite. Jon.

editable/view data within a JSP TABLE

2001-06-22 Thread Chuck Amadi
Hi , Can any one advice me on the following. I am currently using ArgoUML for my object orientated design( deployment and class diagram) Firstly i have exstablished a connection (datasource URI) betweeen PostgreSQL and Jakarta-tomcat (Container).Thus the identified data (UML Model) that has to

URL encoding in html:image and html:img tags

2001-06-22 Thread DUBOIS Fabrice
Title: URL encoding in html:image and html:img tags Hi all, First of all, I'm French so sorry for my English I don't understand why Struts's html:image and html:img tags encodes GIF's names with session's ID ? I am using : html:image tag with html:form html:img tag with html:link

Build fails on style

2001-06-22 Thread Kief Morris
Howdy, I'm trying to compile the struts build from CVS, and am having major xml parser headaches. My base system is: Win2000 SP2 Sun JDK 1.3.0-C Ant 1.3.0 (bin) For XML parser libraries I've tried JAXP 1.1 and Xerces 1.4.0, but I can't seem to get Struts to compile with either one. In either

IAS 6.0 SP2 and struts TAGLIB error

2001-06-22 Thread Brandon, Raymond
Hi everyone, Does anyone recognize the error message below? It happens at runtime. [20/Jun/2001 11:33:18:2] info: -- [20/Jun/2001 11:33:22:2] info: -- [20/Jun/2001 11:33:22:2] info: action: Setting locale 'en_US'

digester.addSetProperties(elemA/elemB);

2001-06-22 Thread Hartmut Bernecker
Hello, I want to use the Digester Class of STRUTS. The orignial XML-Document (here a snippet) is: elemA elemB attr=amp;amp;amp;lt;amp;quot;/ /elemA Now I call the folloging method: digester.addSetProperties(elemA/elemB); After parsing the result of the attr is: amp;lt;quot;

RE: RE: WTE/Struts parser incompatibilities - pandoras box?

2001-06-22 Thread dsf65b y b3763476b3
I'm aware that the actual name of the project doesn't matter! What I tried to get across was that if I follow the instruction for installing a JAXP compatible parser found at: http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocumentSubMast I have to create open editions of

RE: RE: WTE/Struts parser incompatibilities - pandoras box?

2001-06-22 Thread Jon.Ridgway
Hi, It has been done both ways by various people on this list. Both seem to work. So I guess it really doesn't matter. Juts a personal taste thing. Personally I have trodden all over IBM XML Parser ... project as I want the latest versions of all org packages and I don't like the mix and match

RE: Invalidating sessions and container auth.

2001-06-22 Thread Jon.Ridgway
Hi, I used the code below; the extra step may give the container a chance to really invalidate the session before redirecting to the loggedOut.jsp. Your action mapping looks the same(ish) as mine. HttpSession session = request.getSession (false); if (session != null) {

set Servlet.log file

2001-06-22 Thread pranav
Is there any way to specify the servlet.log file without having to access the servlet container's configuration files? One might need this because if one hosts ones site on a commercial server, one does not usually have access to log files or configuration files. Pranav -- Get your

Running Tomcat+Struts w/o internet connection

2001-06-22 Thread James Howe
We are trying to run Tomcat + Struts to run our web application without an external internet connection. We are running into a problem because our struts-config.xml has an external reference to the struts-config DTD. What is the proper way to modify struts-config.xml to reference a locally

RE: Running Tomcat+Struts w/o internet connection

2001-06-22 Thread Liang Li
Open the struts-config.xml, change the head !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd; To: !DOCTYPE struts-config PUBLIC -//Apache Software

Re: Multibox confusion after reading Struts mail-archive

2001-06-22 Thread Becky Moyer
Steve!!! Thanks!!! I just got it working! I got my form working in the same fashion you had yours. One of my problems had been with not importing the bean taglibs properly (as my face turns slightly red) and I had tried to put the empty values of one of the arrays in my form to be null when

html action links

2001-06-22 Thread DHarty
This is really a two part question. I have an iterative loop that displays a list users that are stored in Action Forms. The idea is that when the button (or link) next to the item is selected, the user will be allowed to make modifications to the selected form: logic:iterate id=user

RE: html action links

2001-06-22 Thread DHarty
The submit button in the first code snippet I posted should have read: html:submitModify/html:submit instead of: html:submit property=usernameModify /html:submit I had used the property attribute when experimenting with usernames in the button. David

RE: Running Tomcat+Struts w/o internet connection

2001-06-22 Thread Liang Li
Of course you can use relative directory, and put the DTD file into your war. -Original Message- From: Hartmut Bernecker [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 11:52 AM To: [EMAIL PROTECTED] Subject: Re: Running Tomcat+Struts w/o internet connection Hi, I think that

Re: running struts in other application server

2001-06-22 Thread Ted Husted
There are additional instructions when required for several application servers, but there should not be any general compatibility issues. I have heard that Oracle9IAS is a repackaging of Orion. http://jakarta.apache.org/struts/installation.html Here's a Javascript that I use when submitting

Re: html action links

2001-06-22 Thread Ted Husted
If you just want to use html:link, you don't necessarily have to use an ActionForm class (though you can, if you want). Here's some code for generating a list with links. Result is a bean that exposes a collection named rows. logic:iterate name=result property=rows id=row p html:link

RE: Running Tomcat+Struts w/o internet connection

2001-06-22 Thread DHarty
I was following this thread, and I tried to use a relative directory of the type: file://./struts-config_1_0.dtd When I attempted to start tomcat I got the following message: resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'file://.') Resolving to

re: problems with building Struts

2001-06-22 Thread dhay
Hi. Not sure who posted a message on this earlier (or exact title of it) - deleted it by mistake before I could reply! (and mailing-list page seems to be well behind on messages posted). I had similar problem, and fixed it by downloading xalan, and using BOTH the xerces.jar and xalan.jar as

RE: running struts in other application server

2001-06-22 Thread Howard Moore
See intermixed comments. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: 22 June 2001 16:58 To: [EMAIL PROTECTED] Subject: Re: running struts in other application server There are additional instructions when required for several application servers, but

RE: html action links

2001-06-22 Thread DHarty
Okay, I changed my page to look like this. logic:iterate name=SearchForm property=result id=user tr td align=centerbean:write name=user property=username/nbsp;/td td align=center html:link forward=modifyUser paramName=user paramId=UserForm

Re: Build fails on style

2001-06-22 Thread Craig R. McClanahan
On Fri, 22 Jun 2001, Kief Morris wrote: Howdy, I'm trying to compile the struts build from CVS, and am having major xml parser headaches. My base system is: Win2000 SP2 Sun JDK 1.3.0-C Ant 1.3.0 (bin) For XML parser libraries I've tried JAXP 1.1 and Xerces 1.4.0, but I can't seem to

Re: Setting target dynamically

2001-06-22 Thread Craig R. McClanahan
On Fri, 22 Jun 2001, Torsten Terp wrote: Hi, Im sorry if this has been asked before (i think it has but i cant find it) Is it possible to set the target of a form, based on the result of the processing in the Action, i.e., search went well target=bodyCenter, search was empty

Re: set Servlet.log file

2001-06-22 Thread Craig R. McClanahan
On 22 Jun 2001 [EMAIL PROTECTED] wrote: Is there any way to specify the servlet.log file without having to access the servlet container's configuration files? One might need this because if one hosts ones site on a commercial server, one does not usually have access to log files or

Re: Running Tomcat+Struts w/o internet connection

2001-06-22 Thread Craig R. McClanahan
On Fri, 22 Jun 2001, James Howe wrote: We are trying to run Tomcat + Struts to run our web application without an external internet connection. We are running into a problem because our struts-config.xml has an external reference to the struts-config DTD. What is the proper way to

Re: html action links

2001-06-22 Thread Ted Husted
In can be used other ways, but Struts is designed to be a Model 2/MVC framework. This means you should avoid linking to JSP's directly. Generally, everything should go through a server-side Action first, where you can collect whatever data you need for the JSP, and then forward it through the

Re: Struts Question

2001-06-22 Thread Charles Baker
Quick question, I’m using VA ‘s Web Test Env and I’m getting an error using a simple test page from the IBM web site. I’m still new to Struts so can someone let me know if this is a simple mistake that I’m making? The single page JSP and full error message are following. Message:

workflow?

2001-06-22 Thread Ronel Sumibcay
I've seen some talk about this in the struts-dev group can somebody point me to where i can read more about it. I'm working on a framework that allows a struts developer to reuse certain wizard based pages where the wizard doesn't change, but the start and end points do i.e. Basically a way to

Re: Running Tomcat+Struts w/o internet connection

2001-06-22 Thread Dan Miser
You shouldn't have to change the XML. There are local copies of the DTD in struts.jar, and should be registered and loaded when you start Tomcat up. Which build are you using (source vs binary, and release vs beta)? This should be working just fine in the later builds. -- Dan Miser

Re: Configuration for Action

2001-06-22 Thread Yuriy Zubarev
Hello Craig, First option turns out to be a great way to store initialization parameters that are shared by many actions. In this case what name convention should be adopted? Best of luck, Yuriy Zubarev --- Craig R. McClanahan [EMAIL PROTECTED] wrote: First, one approach is to use servlet

Lost Request information after form validation.

2001-06-22 Thread See Yam Lim
Title: Lost Request information after form validation. Hey guys, I have form class populate my detail JSP page which associated with my action classes and everytime after the form's validation failed and the request is gone. so does any body know how can i avoid it. could i at the

HP Bluestone Struts Trailmap

2001-06-22 Thread BONAIUTO,JAMES (HP-NewJersey,ex1)
I will be adding to HP Bluestone's Struts trailmap: http://gallery2.bluestone.com/scripts/SaISAPI.dll/Gallery.class/demos/trailM aps/index.jsp New trails on the trailmap will include Database connections (returning a resultset and connection pooling) and Templates. Does anyone have any other

RE: HP Bluestone Struts Trailmap

2001-06-22 Thread Wasetis, Ken
Title: RE: HP Bluestone Struts Trailmap I know there is a snippet in the docs for IO tags, but I'd like to see more on SOAP use within JSPs in a Struts framework. Thanks! I thought the HP Bluestone Trail Map was helpful. -Ken -Original Message- From: BONAIUTO,JAMES

Re: Running Tomcat+Struts w/o internet connection

2001-06-22 Thread James W. Howe
I believe we are using Tomcat 3.2.1. At 11:04 AM 06/22/2001 -0700, you wrote: On Fri, 22 Jun 2001, James Howe wrote: We are trying to run Tomcat + Struts to run our web application without an external internet connection. We are running into a problem because our struts-config.xml has

Dynamic label

2001-06-22 Thread Pal, Gaurav
Hi, I am trying to create a dynamic label HTML form through the bean:message tag. What I want to do is as follows: bean:message key=%= myBean.getLabel() %.label.header / It gives a compilation error that the key string is unenclosed, anybody have any ideas how to do this? Thanks in advance

Re: HP Bluestone Struts Trailmap

2001-06-22 Thread Jeff Trent
This page did not display for me. Not a 404, but no content shown. - Original Message - From: BONAIUTO,JAMES (HP-NewJersey,ex1) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 22, 2001 4:46 PM Subject: HP Bluestone Struts Trailmap I will be adding to HP Bluestone's Struts

Re: Dynamic label

2001-06-22 Thread Peter Alfors
try bean:message key='%= myBean.getLabel() + .label.header %' / HTH, Pete Pal, Gaurav wrote: Hi, I am trying to create a dynamic label HTML form through the bean:message tag. What I want to do is as follows: bean:message key=%= myBean.getLabel() %.label.header / It gives a

newbie - requesting example of working build.xml, build.properties files

2001-06-22 Thread Michael McCafferty
Hi all, I am trying to build struts from source, and having an unexpectedly difficult time of it. I have downloaded the source code from CVS, and followed the directions listed on http://jakarta.apache.org/struts/installation.html without success. I have copied the

Re: Configuration for Action

2001-06-22 Thread Craig R. McClanahan
On Fri, 22 Jun 2001, Yuriy Zubarev wrote: Hello Craig, First option turns out to be a great way to store initialization parameters that are shared by many actions. In this case what name convention should be adopted? For options that are specific to a particular Action class (say,

Re: Lost Request information after form validation.

2001-06-22 Thread Craig R. McClanahan
On Fri, 22 Jun 2001, See Yam Lim wrote: Hey guys, I have form class populate my detail JSP page which associated with my action classes and everytime after the form's validation failed and the request is gone. so does any body know how can i avoid it. could i at the validation.

Re: newbie - requesting example of working build.xml, build.propertiesfiles

2001-06-22 Thread Craig R. McClanahan
On Fri, 22 Jun 2001, Michael McCafferty wrote: Hi all, I am trying to build struts from source, and having an unexpectedly difficult time of it. I have downloaded the source code from CVS, and followed the directions listed on http://jakarta.apache.org/struts/installation.html without

RE: newbie - requesting example of working build.xml, build.properties files

2001-06-22 Thread Cook, Levi
I haven't taken time to account for the variation, but walking through this process on a fresh RedHat 7.1 installation required an additional step. Basically, to prevent ant from failing on some jar sealing Security exception that I don't remember the details of, I had to remove

single quote in the application properties file don't works on Struts like any other java app?

2001-06-22 Thread Matteo Di Giovinazzo
When I want to insert a single quote, I write in the properties file's key \' (traditional escaping) to obtain a single quote as output. Indeed I obtain that the single quote disappear. Using the '' (double single quote escaping) my file don't works with any other java app (a not-Struts app,

RE: initial population of html form from database --- ActionForm or A ctionClass

2001-06-22 Thread Anthony Martin
The answer: Action.perform() should invoke population the form. That's what I do, anyway. Once, I even had all of the methods that performed the actual population coded in the ActionForm and invoked by the Action. This allowed validate to do queries if it needed to, but it wasn't pretty. When

RE: newbie - requesting example of working build.xml, build.properties files

2001-06-22 Thread Craig R. McClanahan
On Fri, 22 Jun 2001, Cook, Levi wrote: I haven't taken time to account for the variation, but walking through this process on a fresh RedHat 7.1 installation required an additional step. Basically, to prevent ant from failing on some jar sealing Security exception that I don't remember

Re: single quote in the application properties file don't works onStruts like any other java app?

2001-06-22 Thread Craig R. McClanahan
On Sat, 23 Jun 2001, Matteo Di Giovinazzo wrote: When I want to insert a single quote, I write in the properties file's key \' (traditional escaping) to obtain a single quote as output. Indeed I obtain that the single quote disappear. Using the '' (double single quote escaping) my file

Image as a cancel button?

2001-06-22 Thread Ryan Cornia
Is there any way to use the html:image tag in place of form:cancel? I'd like all my buttons to be images, but have not found a way to make the cancel button an image without causing struts to validate the form even on a cancel. Thanks, Ryan