t to create / edit / view, one DistpachAction class, one Form
class, and one jsp." - but i don't like that taglib approach very much,
because it is becoming too cohesive to the dependent frameworks.
Thank you so much for your inputJörg Maurer
-Original Message-
From: Jason Long [mai
ion and show
it.
>
>Normally, the jsp exception handling should work, but it appear that it
>is not always the case.
>
> A workaround is to put a big try/catch in the jsp throwing the
>exception ;-(. This will be improved in future versions.
>
> Cedric
>
>Jörg Ma
despite the fact doing some research in that issue anywhere(gives 100+
q&a) which might give you better explanation than mine, flaw is in http
protocol, not sending name-value pairs of unchecked checkboxes back.
-Original Message-
From: Joao Araujo [mailto:[EMAIL PROTECTED]
Sent: Samstag,
use database pooling dbcp from jakarta commons instead - has connection
pooling and works like a charm + super setup description(despite some
flaws, but no problem for us being experienced ones ;-) ).
-Original Message-
From: Joao Araujo [mailto:[EMAIL PROTECTED]
Sent: Samstag, 08. März 20
definitly give JSTL a try! Myself not applied it, but read book by Bayer
Shawn - devoted taglibs to xml and xml transformation for usage in jsp.
-Original Message-
From: bobd [mailto:[EMAIL PROTECTED]
Sent: Samstag, 08. März 2003 20:02
To: [EMAIL PROTECTED]
Subject: xslt in jsp
I have a
AFAIK, why not put form bean in hashtable under well known name in
application scope - last resort, cause as you mentioned request not
applicable, session not available you are in full charge of form
bean. populate that bean in application scope as you like from newly
created form bean or repla
Hi hans !
As my best practice, the thing missing is following :
in any action form is a reset method per subclassing action from.
1st-class use of reset for me is to set every action form instance
variable to some initialising state. so what is the initialising state
of an array list? exactly, f
, then the catch the exception and show it.
Normally, the jsp exception handling should work, but it appear that it
is not always the case.
A workaround is to put a big try/catch in the jsp throwing the
exception ;-(. This will be improved in future versions.
Cedric
Jörg Maurer wrote:
&g
Hi struts people!
I have really defined everywhere i think i can put an exception handler
for servlet exception :
1.) in my base layout.jsp an <%@
errorPage='/pages/common/error/errorsGeneralHandler.jsp'%>
2.) in struts config a global exception handler
3.) in we
Dear struts people !
What am i doing wrong - must be some sort of double submit, but why ?
Let me sketch my problem to you - using for the first time transactional
tokens, i have the following setup :
1. in my jsp :
.
...
2. where submitSelect is a javascript function:
funct
DO NOT NEVER EVER OVERLOAD METHOD NAMES of JAVA BEANS. NEVER. I swear to
you, i was going mad about this 2 weeks ago. Sorry I didn´t catch your
problem earlier. My experience - INTROSPECTION DONE BY STRUTS CANT
DISTINCT on METHOD parameters - JUST BY METHOD NAME! First come,
first serve - o
I will choose your left leg cause i am a kind man and hint you to the
your_jakarta-struts-1.1-b3-src_dir\web\exercise-taglib\html-select.jsp.
-Original Message-
From: Ian Hunter [mailto:[EMAIL PROTECTED]
Sent: Montag, 24. Februar 2003 03:20
To: Struts Users Mailing List
Subject: "multiple
tually, scratch what i just said about not needing the bean:define
tag,
you would need it because the html:form tag will not make the form
available
as a scripting variable. That's why I'd use the EL, since it will not
need
to create a scripting variable.
> -Original Message-
far as the constants, i'm not sure I follow.
Hope this helps though...
> -----Original Message-
> From: Jörg Maurer [mailto:[EMAIL PROTECTED]
> Sent: Sunday, February 23, 2003 8:40 AM
> To: Struts Users Mailing List (E-mail)
> Subject: seeking shortcut name of current FormB
Hi strut-users!
Since this post i have been using massively e.g.
in my jsp´s to grab the reference to the current FormBean like e.g.
...
<% if (parameterForm.getStructure_changeable().intValue() == 1)
{ %>
Please mail the applicable "shortcut" name (as i have forgotten the fu
ROTECTED]]
Sent: Donnerstag, 20. Februar 2003 02:25
To: 'Struts Users Mailing List'
Subject: RE: Nested iterate tags
Yes, it's a copy of another jsp, which works, but without the nesting.
results is a request attribute which contains the vector.
Ilya
-Original Message-
From:
Are you sure that "results" is a properly exposed bean? I guess that
"name" argument should be that of your ActionForm bean and "results"
should be the "property" argument to this logic:iterate.
-Original Message-
From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 20. Februar
I can't believe it - it works! Look at this : I am currently
(?overengineering) organising my view data in the following way :
TicketTypeForm
| _ property type Vector of "tickettypeChooseViews"
|...|_ each has 1. property type
vector of "multiBox_ids"
And for the unpatient ones, you can pay + download it as pdf directly
from manning online.
-Original Message-
From: Pani, Gourav [mailto:[EMAIL PROTECTED]]
Sent: Montag, 17. Februar 2003 21:45
To: 'Struts Users Mailing List'
Subject: RE: [OT] Struts and Design Patterns
Well, it isn't lik
losing the other components.
I'm actually getting ready to merge some of this with Commons SQL, so
that there aren't two overlapping packages.
Jörg Maurer wrote:
>2. How do i configure sth. a disconnected rowset that is used in
org.apache.commons.scaffold.sql?
I did start to add a Ro
nal Message-
> From: Jörg Maurer [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 15, 2003 3:05 PM
> To: Struts Users Mailing List (E-mail)
> Subject: help on org.apache.commons.scaffold.sql.executeQuery needed -
> closes stament before evaluating result set
Using org.apache.commons.scaffold i discovered from source code that
org.apache.commons.scaffold.sql.executeQuery(SC Line 321) closes
prepared statement before iterating over result set.
Closing prepared statement closes result set -> no results are longer
available.
Am i nut?
1. Has that ev
Have you downloaded source or binary? Try like myself source und
recompile YS?!?!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Montag, 10. Februar 2003 20:00
To: [EMAIL PROTECTED]
Subject: File Upload with Invalid or Missing File Name
Here is what I did:
1
you
submit the form? Do you get an error? How do you handle this?
Jörg Maurer wrote:
>Just for info - I use struts 1.3b nb and built upload func into my
>current app - no problem. Remark what i corrected from wrong in first
>step :
>
>1. <- !!
>
>2. use as pro
Just for info - I use struts 1.3b nb and built upload func into my
current app - no problem. Remark what i corrected from wrong in first
step :
1. <- !!
2. use as property a property of type FileForm from org.apache.struts -
it was a crazy idea to me to put a Form into a Form first ;-)
3. e
Don't want to be that a wacky answer, but I read the source - only free
hotspot for myself newby-level seemed to be (quoting
org.apache.struts.action.RequestProcessor):
/**
* General-purpose preprocessing hook that can be overridden as
required
* by subclasses. Return true if you wa
ause of html:base used in jsp ?). I resolved it via writing my
query-Path literally (?name=1&method=2&...).
My question : What is correct usage of ConvertUtils.addParam ? Not
delivered with struts dist, what is the correct equivalent for adding
params to request transparently?
> jörg m
What i figured out is that multibox works only against an array, not a
collection - call it useful or not, i wished it works against a
collection.
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 04. Februar 2003 15:56
To: Struts Users Mailing List
Subject:
ndva.com/Last update 01/03/03
-----Original Message-
From: Jörg Maurer [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 13:35
To: Struts Users Mailing List
Subject: RE: nesting tiles with definitions in xml
Okay, i looked for them. But as i saw it, they take out/give in some
attrib
Last update 01/03/03
-Original Message-
From: Jörg Maurer [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 04:03
To: Struts Users Mailing List (E-mail)
Subject: nesting tiles with definitions in xml
Hi!
Please can any of you provide me with an example to nest tiles properly.
I
the tiles documentation there is a portal example using this
technique.
Cal
http://www.calandva.com/Last update 01/03/03
-Original Message-----
From: Jörg Maurer [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 04:57
To: Struts Users Mailing List (E-mail)
Subject: tiles not tr
Hi!
Has any of you experienced that by nesting jsp with tiles, the
ComponentContext with it´s attributes gets lost if jsp nested in 3 level
via tiles:get ?
> jörg maurer - mailto:[EMAIL PROTECTED]
> development
>
> ucp morgen | tomorrow is today
>
> fax: +43 1 532 64 64-300
Hi!
Please can any of you provide me with an example to nest tiles properly.
I need to include several *.jsp in several *.jsp, which are included
based upon info on my tiles-def.xml.
Using at the 1st level of jsp page is okay, but using
at the 2nd level of a now nested jsp gives only back the
i
y i have to define all tiles in base.layout abstract(via
" " ), just to override them in inheriting tiles with concret
*.jsp. So it is not an extending relationsship, only overriding
possible?
> jörg maurer - mailto:[EMAIL PROTECTED]
> development
>
> ucp morgen | tomorrow
Last resort from me - Do/can you use/refactor to indexed property like,
where upper bound = index is tested in setter and indexedProp is set
higher/lower ?!?!?!
1. indexed property
/** Holds value of property indexedProp. */
private int[] indexedProp = int[2000];
/** Indexed getter fo
I cite now a passage of book from Mr. Husted et al., "Struts in action",
Manning, copyrighted .. I hope i not get into trouble, but help is
more valuable for me than strict law(despite i bought the book and not
going to sell following information).Am i disclaiming in correct
way?!?!?!
I will s
Yo!
How is policy/law in that and other use groups - I want to copy a
passage from e.g. Husted´s "Struts in action" to reply/or ask to a
struts user.
Am i breaking some laws/interests with that? Is there a formal note i
have to include when posting. Is it relative to amount of posting -
number o
Not sure/not tested -> hint level :
if you can use the TRANSACTION token that is activated in form + having
a hidden field in form that sets/get corresponding token,
you might be able to test for that -> if new instance of the form is
created, token does not match -> route to other command ?!?!?
-
From: Míguel Ángel Mulero Martínez
[mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 30. Jänner 2003 09:44
To: Struts Users Mailing List
Subject: RE: ? on logic:empty - any hints
Use the
Regards,
Miguel
-Mensaje original-
De: Jörg Maurer [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 30 de
Hi!
I want to test in jsp if user does need to log in, e.g. if user has
already logged in and by back button is calling login.jsp for second
time.
My login.jsp has code :
You are already logged in!
So i test for that bean named UserContainer in se
RT EXPR aka "Run time expression" means denoted value is/may evaluated
at run-time, not at compilation time.
-Original Message-
From: Sundar Narasimhan [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 29. Jänner 2003 15:27
To: [EMAIL PROTECTED]
Subject: what does RT Expr mean
In the bottom of
Does anyone get any 'OUT OF OFFICES' messages from Naveen.Dhotre - me no
-> problem solved ?
-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 29. Jänner 2003 15:13
To: Struts Users Mailing List
Subject: Re: / /OREF:CPTDA10A RE: [OT] VOTE to help Naveen.Dhotre
Unsub
Is it really in request context? sounds more for application context!
-Original Message-
From: James Nord [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 29. Jänner 2003 15:13
To: [EMAIL PROTECTED]
Subject: Obtaining valid ModuleConfig.
Hi,
I'm using the following snippet in taglib code but
I just added my own Request Processor element to my app in
struts-config, which extended the ...struts...RequestProcessor and
defined a Plugin element for org.apache.struts.tiles.TilesPlugin.
On startup of app, the log gave me hint that TilesRequestProcessor does
not work with my costum RequestProc
There must be some taglib subclassing html:link on struts apache site,
http://jakarta.apache.org/struts/resources/taglibs.html, especially
http://husted.com/struts/resources/linkParam.htm. Read it through. Tell
us if that what you can use and how(I will have to cope with same next
day)?
So long
-
Then might have to do with Tomcat self - Have you changed
YOURTOMCATINSTALLROOTDIR/config/server.xml, especially
elements?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 29. Jänner 2003 11:02
To: Struts Users Mailing List
Subject: [OT] S.O.S Can Some
resource textes - do they work with
UNICODE?
-Original Message-
From: Jörg Maurer
Sent: Dienstag, 28. Jänner 2003 19:30
To: [EMAIL PROTECTED]
Subject: application resource/ prop messages of
org.apache.struts.util.PropertyMessageResource NEVER GET FILLED WITH
DATA ?!?!?!
Hi !
I am
Hi !
I am currently working on struts project with source code of struts 1.1
beta 3.
As i was wondering why my texts aka message resource never get loaded, i
followed the problem form Action Servlet PropetyMessageResource,
where the property "messages", being a HashMap IS NEVER FILLED with
d
48 matches
Mail list logo