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:
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
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
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
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|
||
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
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 //
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,
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
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
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
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
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:
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
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
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]
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
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:
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
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
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
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 / )
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
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
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
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
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
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.
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
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-
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
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
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
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:
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
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
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
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
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
%
}
%
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
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
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
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
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.
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
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!
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 -
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
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:
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
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
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
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
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
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
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
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
/*
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
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.
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
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
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
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
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
64 matches
Mail list logo