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
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-
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.
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
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
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
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'
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;
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
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
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)
{
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Quick question,
Im using VA s Web Test Env and Im getting an error using a simple test
page from the IBM web site. Im still new to Struts so can someone let me
know if this is a simple mistake that Im making? The single page JSP and
full error message are following.
Message:
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
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
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
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
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
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
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
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
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
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
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
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,
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.
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
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
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,
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
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
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
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
50 matches
Mail list logo