Might be wrong, but
forward is only within a webapp - redirect is between webapps
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 11:06 PM
To: [EMAIL PROTECTED]
Subject: forwarding to another webapp
Is there any
Hi,
assuming you use validation as done by David's extensions (- validation.xml,...)
you could change the Javascript-stuff in the validation.xml file
to call the pop-up-window...
hope this helps
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent
the form is processed remove
the list from the session...
hope this helps
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 1:06 AM
To: [EMAIL PROTECTED]
Subject: Help:Handling Exceptions within Formbean Validate ???
Hi
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
Hi,
you should use a url like:
http://server_name/context_name/web_xml_mapping/struts-config_mapping
assuming your app is under webapps/myApp/..., your server is called myServer
then the url is:
http://myServer/myApp/wizard/logon
at least that's how it works...
Alexander Jesse
-Original
Hi,
getting an image is a new request to the webserver...which is not allowed
to let anybody access something below WEB-INF...therefor the image-requests
should fail...
regards
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday
you to change more implementation details without having
to change the presentation (JSP-file)...
I advocate strict use of actions in every case...
= NEVER use a jsp-link, ALWAYS use an action
just my two cents...
Alexander Jesse
-Original Message-
From: Abhishek Srivastava [mailto:[EMAIL
) and other opensource-applications
also will have their share.
Alexander Jesse
--- REST OF Message History
--
Peter Pilgrim ++44 (0)207-545-9923
and a restricted use of business-logic-custom tags.
hope this helps
Alexander Jesse
-Original Message-
From: Abhishek Srivastava [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 11:53 AM
To: 'Struts Users Mailing List'
Subject: RE: Action an overkill ??
Thanks for your reply
server (a pure servlet-engine). Normally that's when
they accept, that ejb's are a backend-thing.
hope this helps
Alexander Jesse
-Original Message-
From: Abhishek Srivastava [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 1:00 PM
To: 'Struts Users Mailing List'
Subject: RE
Hi,
that's a little bug in the 1.0 struts-error-tags.
I use the error-tags coming with David Winterfeldt's validation framework.
The are compatible, allow for more flexible formatting and work.
hope this helps
Alexander Jesse
-Original Message-
From: Mohammed [mailto:[EMAIL PROTECTED
, December 05, 2001 2:02 PM
To: [EMAIL PROTECTED]
Subject: Re: html:error
Hi Alexander,
is there a new version of struts which fixes this bug
Mohammed
- Original Message -
From: Alexander Jesse [EMAIL PROTECTED]
To: struts-user [EMAIL PROTECTED]
Sent: Wednesday, December 05, 2001 1:14
- Original Message -
From: Alexander Jesse [EMAIL PROTECTED]
To: struts-user [EMAIL PROTECTED]
Sent: Wednesday, December 05, 2001 2:09 PM
Subject: RE: html:error
Hi Mohammed,
I do not know... The Winterfeldt tags also allow for more flexible
formatting.
That's why I use only them
Hi,
sending them to an action first hides the JSP-detail and lets you
prepopulate the form (if ever need arises). Also there has been a thread
on problems when the user wanders off and returns to your form, if you pass
by the action you can reset the form when entering...
Especially the
Hi,
the action is missing the validate=true parameter...
hope this helps
Alexander Jesse
-Original Message-
From: Dave J Dandeneau [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 3:42 PM
To: Struts Users Mailing List
Subject: Validator not generating errors
For some
Hi,
get the validator-package from David Winterfeldt and use the validators
error-tags. That did the trick for me.
regards
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 12:56 PM
To: [EMAIL PROTECTED]
Subject: htm
Hi,
are you talking about
- full time stuff ( 40 hours a week)
- part time assignements
- piece-contracts (need a class with these features; offer nnn Euros/pounds,...)
And
- is it applications
or
- struts extensions?
regards
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED
Hi,
do you have a entrypoint into this multipage-form? If yes, put it behind
an action and reset old leftover stuff in that action...
hope this helps
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 12:13 AM
To: [EMAIL
Hi,
not to forget: in the action you have to return null (return(null);) when
you will service the request completely within the action.
good luck
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 27, 2001 5:01 PM
To: [EMAIL
Hi,
sounds good. As we want to launch use of Struts in our corp. I think we could really
benefit from such a checking tool.
I case it is not already in progress, I would like to integrate it into JBuilder5, so
let me know when the code (source?) is available.
thanks in advance
Alexander Jesse
Hi,
my solution is to request a hidden field containing the names of the form-fields
on a wizard page from the page-designer. Then I have a base form that has
an automatic reset-method using this hidden field.
hope this helps
Alexander
-Original Message-
From: [EMAIL PROTECTED]
Hi,
to get some form-data to the server the links on top need to be form-buttons
(if you do nat want to use javascript).
In this case you would have one action per jsp-page. In that action you can
process the the desired action ((say, for example, authorize the user, save...)
and then use the
Hi,
encapsulating client info into a system-state-bean call ClientInfo will
make it easier to pass it eventually to a business-logic-class that needs
access to the info. So I would recommend that.
If the size is big, make it persistant and store just a key in the
http-session, else store it
Hi,
has weblogic problems with the TLD being under WEB-INF?
try moving the tld to a directory not underneath WEB-INF, update the jsp and retry
regards
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 22, 2001 12:28 PM
To: [EMAIL
Hi,
add a mappring like this:
action path=/foo type=FooAction
forward name=success path=/index/ (or /index.do)
/action
I am working off-memory... but I did it once and it worked...
good luck
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
Hi,
you tried to switch off debugging of the validator-servlet?
web.xml - servlet-definition - debug - 0
hope this helps
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 8:29 PM
To: [EMAIL PROTECTED]
Subject: struts
Hi,
if you need special formatting for the errors: have a look at the validator
error-tags. (in the nightly build or via ted's page
hope this helps
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 12:04 PM
To: [EMAIL
Hi,
looking for something similar ourselves...because we were already burned badly
by big session-objects (crashing JVM's...).
Let us know when you find something.
thanks
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14,
nothin to do with bean-magic just pure http.
work-arounds:
- session
- either the form-bean or the vector
- Renauds serialized form-bean
regards
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 6:57 PM
To: [EMAIL
In your first mail you write that you want to do it in ActionServlet...
then you must extend it...
In your action-class you could define a static property object, which
you lazy-initialize. When you need it, check for a null-value. If null:
read the property-file and populate the propety-object;
Hi,
we are using the following setup and have no problem whatsoever with it.
1. We are not using WEBRUN. we definied a special run-configuration that
executes Tomcat. This allows also to set the home-dir of tomcat to
a jb-project internal directory.
2. We have no nostrutstomcat32.jar
Hi,
IE is faster if you use tables. With NS you can help performance by predefining
the table layout (colgroupcol width=.../colgroup).
watch out for memory-hogging when using the %@ page buffer=80kb statement.
We once had an app crashing the vm because the used this statement and had a big
Hi,
or try this:
in the JSP (notice multi-lingual...)
tr
td
html:submit property=previous disabled=true
bean:message key=button.wizard.previous/
/html:submit
/td
td
html:submit property=same
bean:message key=button.wizard.same/
/html:submit
Hi,
somewhere in the mail-archives you will find a similar question (and answers...)
- JRun 3.0 does not completely comply to the specifications for JSP1.1. JRun 3.1 seems
to be better...
hope this helps
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Hi,
we are using JB5, Tomcat 3.2.1 (coming with JB5) Struts 1.0 and Davids
Validator (the documented version is from July...) and it works flawlessly.
hope this helps
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 10, 2001 3:05
Hi,
the war-file is another name for a special ZIP-file used for J2EE deployment.
- how do I create one:
- use jar and rename resulting file to *.war
- use a zip-tool and rename resulting file to *.war
- other ways to deploy/run struts-applications
- check with your servlet-engine
-
shed some light on what libraries need to be defined and
included to use the Validator framework?
Thanks,
Tony
-Original Message-
From: Alexander Jesse [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 12:50 AM
To: struts-user
Subject: RE: Jbuilder 5.0 w/ Tomcat 4.0
Hi,
we
That's the way it works.
I put two methods into my base-action (int whichButton(String[] possibleButtons)
and String whichButton(String[] possibleButtons)) which return the index into the
array (if I want to use switch-case or the string if I do a forward on that base...
works well.
Hi,
check in the code...
first: reset()
then: populate()
at last: validate()
You need to do it, if you have checkboxes on your form, cause their value
is only transmitted if they are set. Without the reset-methode you have
no knowledge when the user deselects them. Easy to try and then you
Maybe he refers to the validator's messageExists tag...
If yes - see validator documentation
cheers
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 7:55 AM
To: [EMAIL PROTECTED]
Subject: Re: adding /viewing messages
Hi,
well, if it is just for bean-creation...
Why not use a uml-tool with code-generation?
(eg. ArgoUML v0.9 (the experimental one) has code-generation-features)
As a side-dish you can get uml-documentation for your bean-classes...
and still you use your preferred IDE (...UltraEdit...).
hope
Hi,
make it:
html:submit
bean:message key=button.wizard.same/
/html:submit
Be aware though that the value transferred to your action is the
translated message. (In case that you have multiple submit-buttons)
I wrote a bit of logic to do reverse-translating...
hope this
Hi,
you might use context-parms:
!--
The context-param element contains the declaration of a web
application's servlet context initialization parameters.
--
!ELEMENT context-param (param-name, param-value, description?)
They will be available to all servlets in your web-app. So from
the
I can resolve 1), but 2) and 3) are still open. Maybe we could discuss
the open issues together and write our own special error-tag. What do you think
about that?
cheers
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001
really need more than one web.xml per web-application or can you
split your stuff into more than one web-application, each with its own
instance of web.xml and struts-config.xml?
hope this helps
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent
class=size10bean:write name=author property=name//td
td class=size10bean:write name=author property=company//td
/tr
/logic:iterate
==
hope this helps
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent
Hi,
check the struts doc for html-tags:
To pass a single dynamic parameter, specify the parameter's name using the paramId
attribute. You can then specify the name of the JavaBean holding the value using the
paramName attribute, and a particular property using paramProperty.
So, a tag like
Hi,
check out this JSP-snippet, that's how I do it:
logic:present name=%= Constants.PROJECTS % scope=request
logic:iterate id=project
name=%= Constants.PROJECTS %
scope=request
tr align=left
tdbean:write name=project
Hi,
in our company we have a similar resistance against open-source...
try to do a sample showing how much cleaner the implemetation can
become using struts.
btw. Credit Suisse is NOT YET using it, but...
cheers
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Hi,
readonly-data is not overkilled by using Struts. Especially if the rest of
the app is already based on struts. If not: have you a garantee that you will
not, at a later moment, have to process input? How about i18n?
Struts helps to structure good in every occasion...(of a web-application)
Hi,
does your jsp include the tag
html:base
? If not, add and retry
regards
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 2:57 PM
To: [EMAIL PROTECTED]
Subject: FormTag problem
Hi
I'm having a problem with the form
Hi,
part one is not really a problem: just add target=_a_window_name_ to the link.
part two is where it gets tough...I do not know of a html-construct allowing for this.
Maybe you could create a javascript that will put the focus on _a_window_name_ if it
exists...
hth
Alexander
Hi,
struts generates a normal submit button, to give the action the chance to do a logical
cancel.
Can be usefull. I think the naming is a bit unlucky. To get the normal
cancel-button: use the
normal HTML-tag.
hth
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
I think one of the best practises is:
wrap each message within li and /li and provide error-header and -footer
that give a ul-/ul frame.
Although I think the html:errors tag should have an option to do this on its on...
hope this helps
Alexander Jesse
-Original Message-
From: [EMAIL
=state/
/td
td
bean:write name=facility property=state/
/td
/tr
/table
/logic:iterate
that is pure html...
hope this helps
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 1:02 AM
To: [EMAIL
Hi,
maybe the struts templates might help you...
look at the template sample
hope this helps
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 5:50 AM
To: [EMAIL PROTECTED]
Subject: Re: More than one action
Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/
Alexander Jesse wrote:
I noticed that this does not happen when the scope of the form is declared
as request, only when scop=session is used it will work. Tried
Hi,
try the logic:present tag! works for me.
good luck
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 18, 2001 2:31 PM
To: [EMAIL PROTECTED]
Subject: logic:empty
Hi,
do you know how to evaluate if an object or a variable
The input text fields should be repopulated (that's pretty much the
whole idea ;-), and all your errors should be displayed if you are using
the standard html:errors/ tag. Just be sure the standard tokens are
defined in your application resources file, such as
I noticed that this does not
Hi,
seems that the only working version is the one for Unix/Linux which downloads 1.3MB
the Windows download is a mere 50kB.
Still the UNix-download when expanded shows up a
invalid compressed data, unable to inflate message. But at least gives quite
some stuff.
cheers
Alexander
)
at java.lang.Thread.run(Thread.java:484)
/pre
Has somebody else seen something similar?
Has somebody an explanation or a fix?
regards
Alexander Jesse
hi,
write a little servlet that parses the config-file, set up your bean
and store it in the application-context.
In your jsp's you can then access it with scope=application, which is
fast!
To get your servlet executed at start-time, you can define it in your
web.xml with a
Hi,
Action classes are explicitely meant to be called from a from submit or a link.
The class that does the db-access can be normal Java-class, which is called from
the Action classes and then the result can be added to the request context by the
Action class or pass the request as a parameter
Hi,
another solution would be to fall-back to the standard-resource when
a key in a NLS-resource is not found.
regards
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 3:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Does
to create a standard struts implementation, which
could be exnteded by the individual applications to provide additional
functionality (like permission-handling,...)
how about it?
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23
try
bean:message key=%= title % /
== call teh bean and pass the key using a jsp-value
good luck
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 3:02 PM
To: [EMAIL PROTECTED]
Subject: Re: template and I18N
Johan Compagner
...).
I suspect it is a bug in the actual distribution, but so far have not been
able (time constraints on my day-job) to verify...
cheers
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 10:54 AM
To: [EMAIL PROTECTED]
Subject
67 matches
Mail list logo