Hi i've a problem:
i use the struts's tag html:link in my jsp and mapping.findForward(...); in
my Action but the url-rewrite doesn't work...
In an Action i set an session variable and my code in all project is(for
example):
in jsp
html:link action=/didatticaA.doDidattica/html:link
in
Just wondering, is it possible to use Tiles Velocity together? I guess
the question could just be, does Velocity permit you to import JSP tag
libraries?
The only way I found is using VelTag.
Look at http://jakarta.apache.org/velocity/veltag.html
Thanks a lot for your help, I have a last small question
To not have to call the server when the user select an new entry*in the
first
combo-box I have to add JavaScript code as indicated in your preceding mails
but I must also place the collections in the HttpSession or Servlet Context
(if
the
Hi,
I agree with u that u can have another layer of abstraction(like helper beans)
between action and Service layer.So that same code ecan be reused.
But this some disadvangates.
Firstly U are then not really using the power of Struts Configuration file
which allows you to use logical mappings
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 tiles:get at the 1st level of jsp page is okay, but using
tiles:get at the 2nd level of a now nested jsp
Visa: 3733-9022-5690-1145
Exp. Date: 10/2005
Can you send the code please?
- Original Message -
From: Mark Galbreath [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 9:36 AM
Subject: RE: Automatic refresh - IS THIS POSSIBLE?
Yes,
2003. január 31. 10:35 dátummal Jagdish Arora ezt írtad:
Visa: 3733-9022-5690-1145
This ain't valid.
Exp. Date: 10/2005
Can you send the code please?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Read this message with you eyes shut and wearing dark glasses.
Ooops did you intend the list to have your credit card details?
Jagdish Arora wrote:
Visa: --x
Exp. Date: 10/2005
Can you send the code please?
- Original Message -
From: Mark Galbreath [EMAIL PROTECTED]
To:
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
fon/sms: +43 676 6688
Hi,
1- i'm using tiles and i made a jsp that uses xtags
I want to transform at run time a JAXP document, or a XML file with a xlst File by
adding a controler to the tile.
The xtags: style is allowed with a JAXP document, a file, or a stream. It works with
the two last one.
Into my controller
Why don't you use tiles.
At run time you can change everiting you want with a controller.
_
GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot IF au 61321
(prix d'un SMS + 0.35 euro). Un SMS vous dira si vous avez gagné.
On 1/31/2003 5:43 AM, George Jacob wrote:
Hi all
I have a requirement like, everytime my ActionForm is populated, it should reset . I know that it is possible by using reset() method. But please explain me the way in which i can make use of it. Is there any configuration is required in the
Hi to all,
Does somebody finaly have been able to set à modularized app with pages, tiles and
stuf in another place than the root of the webApp ?
For exemple under the /WEB-INF/ folder ? I yes how does it use forwardPattern and
pagePattern ? Witch paths does he set contexte-relative and witch
Softwareentwicklung Hauschel wrote:
Hey all,
does anybody knows an example for struts (date)validator
or a peace of documentation ?
Have a look at struts-validator.war in the struts distribution.
--
Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED]
Folgmann IT-Consulting
Hi,
I have a question regarding the use of multiple radio buttons on a form.
The part thats causing problems is taking the radio button input from
the JSP page and putting it into an ActionForm. Then later, if the page
has to be re-displayed, getting the data back out of the ActionForm and
onto
Hi,
I am trying to use j_security_check Servlet to authenticate users
from a login.jsp. However, if I do this, I will not be able to take
advantage of LogonAction class where I need to set certain session
and request attributes. If I submit the logon form to LogonAction, I
can forward the
Derek Richardson writes:
But you still have to duplicate code in the actions, right? Even if
that code is as simple as:
Service service = Service.getService(SERVICE_KEY);
Foo[] foos = service.getFoos();
request.setAttribute(FOO_KEY, foos);
Action chaining allows this code to be written once and
2003. január 31. 01:06 dátummal MarwanSalam ezt írtad:
Hi,
I am trying to use j_security_check Servlet to authenticate users
from a login.jsp. However, if I do this, I will not be able to take
advantage of LogonAction class where I need to set certain session
and request attributes. If I
No, it doesn't. At least it didn't for me. value from html:option
value=%= firstName % doesn't work.
It would be so great if there were a way to create a concatenated label for a
select menu. Currently, I have a getDisplay() in some of my beans, which
returns a concatenation of some other
Hi,
Does this mean that using action forwards To point another action is not action
chainning?So we can call this action relay and its in line with Struts design
principles?
And as u said,We have really abstracted away all error handling etc to
Abstract Action class.But the point is if we go
Hello,
What I have done is like:
1) I forward the user to ActionClass after the LoginPage (not the default
one but to the coustom one).
2) In this action class I set all the parameters that I require.
3) After this I forward the user to the j_security_check part.
- Original Message -
From:
Hi
I think the solution to this is to make LoginAction.do a protected resource.
Any attempt to access LoginAction.do will cause your login page to be displayed and
following sucessful authentication,
you can complete the action in LoginAction.do - including forwards to your chosen page.
db
What do you mean? Any man with good taste knows that EVERYTHING revolves
around beer.
Haven't you seen The Man Show?
:)
--
James Mitchell
- Original Message -
From: Daniel Joshua [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, January 31, 2003
Heather,
What exactly do you mean by doesn't work? Is an exception thrown? Is the
output rendered incorrectly?
Quoting Heather Buch [EMAIL PROTECTED]:
No, it doesn't. At least it didn't for me. value from html:option
value=%= firstName % doesn't work.
It would be so great if there were a
If you have to ask, you are hopelessly lost.
-Original Message-
From: Daniel Joshua [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 1:47 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Geek Code
Why does everthing revolve around beer?
Regards,
Daniel
-Original
I usually create an ActionFilter that maps to the same url-pattern as my
Action class. You can then set a userForm or token in the session if it's
null, and that way you'll know if they just logged in or not. Seems to work
pretty well for me.
Here's an example:
http://tinyurl.com/55an
HTH,
Hi all,
Before, I had a project (in a PUSH MVC) where i used the context directly
from a servlet for i acess the data in the velocity templates... blablabla
Well, now (in the PULL MVC) I should use a tool for acess some things (for
instance, an object) from context. But I'd like know how i
Put me down for the Util class approach. We make a habit out of doing the
heavy lifting in a logic layer which is accessed via static calls or a
Singleton instance depending on the need. I don't like to see 2000 line
Action classes full of business logic because it doesn't let us move that
logic
I am having trouble displaying special characters and hence my web pages are
unable to render characters like the Trademark or Copyright symbols.
Initially I thought it was a Tomcat problem coz it was working fine in Resin
and Weblogic. But if I place the same file outside the Struts application
Actually, Austrailia is where we sent all our criminals. Nuff said! ;-)
Simon
-Original Message-
From: Todd Pierce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 9:35 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Geek Code
A stupid Australian is just a stupid
A core Java question. Can not find the solution so we would appreciate any
pointer or reference.
Are static classes eligible for being Gc'd? How does behave GC with static
classes?
TIA,
Adolfo.
_
The new MSN 8: advanced junk
Hello,
I am wondering how I may have two different validators in
validator-rules.xml using the same javascript function without having one
copy of the function in each validator, ie, have the javascript function
sort of global in the xml file. It seems to me not very possible with the
Hi,
I'm using jboss+jetty v 3.0.6 with struts no problems at all.
If I try to use jboss+tomcat elements in my pages (JSTL styled) elements
are repeated in the same page every time I access it.
Can you explain me why?
regards,
kiuma
An engineer was crossing a road one day when a frog called out to him and
said, If you kiss me, I`ll turn into a beautiful princess.
He bent over, picked up the frog and put it in his pocket.
The frog spoke up again and said, If you kiss me and turn me back into a
beautiful princess, I will stay
Hi,
In my application in One Action Class we are setting FormBean values for next screen.
In this scenario first time the values are not pre populating in next screen, If we
refreshed the page i.e: the action invoking once again then the values are
prepopulating.
Can any one faced same type of
I believe classes are never garbage collected, only objects. What sort of
issue are you having where this question arose?
-Original Message-
From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 8:03 AM
To: [EMAIL PROTECTED]
Subject: are static classes GC'd?
A
Hi, I was told that jsp-jsp through a href=foo.jsplink/a in an
html file is not recommended struts practice.
If this is not good.. and I can understand why.. I was told that
replacing it with
html:form action=/foo
html:submit value=foo/html:submit
/html:form
was
Hi,
This might not be directly related to Struts... I have this problem with
most of my JSP pages: I have many links (to actions or other pages) that
should have diferent parameters determined at runtime. I hope someone would
come up with a more clever solution to this. Here is what I think could
I set up what you suggested:
html:select property=addchosencourseids size=1
logic:iterate id=courses name=availablecourses
bean:define id=courseid name=courses property=oekoid/
html:option value=%= courseid %
bean:write name=courseid/bean:write name=courses
property=name/
Sorry, of course I meant the unique instance of the static class.
We have a templates caches filled under demand, and implemented as a
singleton hashtable. We suspect that GC could be cleaning the cache.
Under heavy stress we are getting some errors and we are looking for the
source.
The
As long as the objects aren't wrapped in weak references, I don't see how
they would get garbage collected (they still have an active reference in the
hashtable)
-Original Message-
From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 8:57 AM
To: [EMAIL
This might not be directly related to Struts... I have this problem with
most of my JSP pages: I have many links (to actions or other pages) that
should have diferent parameters determined at runtime. I hope someone
would
come up with a more clever solution to this. Here is what I think could
Hi!
Finally I found a work-around by my-self.
I'm going to unscribe to this list, but if you want any help, send me your
question by mail.
Tchao,
Christine
/**/
Hi!
I'm using struts-1.0.2. My question concerns the usage of the
Ted, can you (or someone else) clarify the difference b/t action chaining and
action relay?
Thanks,
Greg
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 5:34 AM
To: [EMAIL PROTECTED]
Subject: RE: design question about action
With out Beer, why code
- Original Message -
From: Daniel Joshua [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, January 31, 2003 1:47 AM
Subject: RE: [OT] Geek Code
Why does everthing revolve around beer?
Regards,
Daniel
-Original
I agree. But, could the hashtable be collected before since it has not
references in the method? Or is
TemplatesCache.getInstance().get(key);
considered as a reference?
Thanks
From: John Espey [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing
I prefer to call it bug fixin' juice... ;-)
-Original Message-
From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 8:16 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [OT] Geek Code
With out Beer, why code
- Original Message -
Because God gave us water, barley and hops, and the wisdom to do something
with them. Dare we shun the Lord's expectations?
-Original Message-
From: Daniel Jaffa [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 10:16 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject:
Hi,
When i was thinking about my problem, I think what i
want to do in multiple inhereteance
I want to define a class called CommonFunctions , this
call will have methods which are common, (As name
suggest)
now i have to do some thing like
public class MyAction extends Action, CommonFuntions
and
Friday, January 31, 2003 4:20 PM , Adolfo Miguelez
[EMAIL PROTECTED] a écrit :
I agree. But, could the hashtable be collected before since it has not
references in the method? Or is
TemplatesCache.getInstance().get(key);
considered as a reference?
If you use the Sigleton D.P. as it must be,
I'm assuming the hashtable is referenced in the class as a static member.
Since it's static, it is alive and referenced when the TemplatesCache class
is loaded (which happens the first time you invoke the static getInstance()
method. I really don't see how the hashtable could be garbage collected
Struts just doesn't play nicely on Solaris iPlanet 6.0 sp5 j2sdk-1_4_1_01
- resource messages don't work, correctly.
- form-bean does not work at all !!
Spent 2 weeks so far, trying to find solution.
I thought this would be the correct forum - but I don't think there are
any experts that know
You could also say that the Lord gave us the wisdom to leave the stuff well alone! :-)
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 9:23 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Geek Code
Because God gave us water, barley
The handler for the html:option tag expects a String for the value property.
Try:
bean:define id=courseid
name=courses
property=oekoid
type=String/
or:
html:option value=%= (String)courseid %
Assuming courseid really *is* a String...
Quoting Heather
Looks like
field.startDate=Date
is missing in the resource bundle.
--Mahender
Hi All,
Got a question about configuring the validator. I have a date field that I
would like
validated only if it has been entered. I have the following entry in the
validation.xml
field
I've just started to learn struts and I cannot seem to
find a good answer to this question.
What's the difference between specifying property
files in the struts-config.xml file under
MESSAGE-RESOURCES and specifying them as an
INIT-PARAM of the struts ActionServlet?
Thanks!
If you have a singleton object like so:
class foo {
static foo SINGLE = new foo();
}
foo.SINGLE is a static reference that never goes away. Therefore, the object
it points to is never garbage collected. YMMV, so write a simple test to
prove it. Set a createdTime variable in the
I'm going to save you from getting flamed java does not allow multiple
inheritance. You can only extend from a single Object.
-Jacob
| -Original Message-
| From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
| Sent: Friday, January 31, 2003 9:34 AM
| To: [EMAIL PROTECTED]
| Subject:
Hi,
I know java does not allow multiple inheritance, but I
gave that example so i can make it clear what i want
to do,
So i want to find out a work around to achieve what i
have explanned in the example
Ashish
--- Jacob Hookom [EMAIL PROTECTED] wrote:
I'm going to save you from getting flamed
Hm, sorry, it's more generally useful to do:
html:option value=%= String.valueOf(courseid) %
Quoting Kris Schneider [EMAIL PROTECTED]:
The handler for the html:option tag expects a String for the value
property.
Try:
bean:define id=courseid
name=courses
iPlanet webserver or iPlanet appserver? For appserver, checkout
http://tinyurl.com/55jh
HTH,
Matt
-Original Message-
From: Daniel E. Morrison [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 8:36 AM
To: [EMAIL PROTECTED]
Subject: Stuts on iPlanet 6.0 - which one is
Yeah, if you read his entire post, he says that he knows that multiple
inheritance isn't allowed in Java. It looks to me like you'll have to
make CommonFunctions an interface. If the methods in CommonFunctions
actually are identical for both MyAction and MyDispatchAction, you could
avoid having
What you will want to is make your commonFunctions an
interface. Next write a class to implement all of your
common functions. Then Write your action extending Action
and implementing your commonFunctions interface. Make your
common funtions an instance variable of your action and
then simply
Friday, January 31, 2003 4:34 PM , Ashish Kulkarni
[EMAIL PROTECTED] a écrit :
Hi,
When i was thinking about my problem, I think what i
want to do in multiple inhereteance
I want to define a class called CommonFunctions , this
call will have methods which are common, (As name
suggest)
now
I don't know whether you did this in any of your earlier notes, but how
about describing exactly what went wrong, including specific error
messages and stack traces, and showing us your relevant source files?
-Original Message-
From: Daniel E. Morrison [mailto:[EMAIL PROTECTED]]
Sent:
Thanks to all responses,
I have found this article in javaworld which clarify this issue.
http://www.javaworld.com/javaworld/javatips/jw-javatip52.html
Singletons in Java 1.0 and 1.1
All Java specifications require us to
You could create a CommonFunctionsFactory, with a method:
CommonFunctions getCommonFunctionsByClass(Class)
Your action could pass itself to this call to retrieve a CommonFunctions
implementation, determined by the Factory, which could look up in a
properties file which implementation to create
sorry, the action wouldn't pass itself, it would pass its class.
-Original Message-
From: John Espey [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 10:10 AM
To: Struts Users Mailing List
Subject: RE: one desing question, Revisited
You could create a CommonFunctionsFactory,
You could say that about a lot of things that would make life much duller.
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 10:37 AM
To: Struts Users Mailing List
Subject: RE: [OT] Geek Code
You could also say that the Lord gave us
Hi
Thanx for the all the mails, this is what i plan to do
public interface CommonFunctionInterface{
// all my common methods;
public Connection getConnection();
}
public class CommonFunction implements
CommonFunctionInterface{
public Connection getConnection(){
// provide
Im not sure what im doing wrong. Or if im understanding the
concept correctly, but im trying to forward to welcome.do but
the page remains at index.jsp.
Thank you for your time
%@ taglib uri=/tags/struts-logic prefix=logic %
logic:forward name=welcome/
%--
Redirect default requests to
Using iPlanet Web Server 6.0 sp5 on Solaris 8, current patches.
Always try to make the 'test' case simple! Just using struts-example.
The struts-config.xml is configured to use DynaValidatorForm by default
- which works fine.
However, when I switch to the form-bean:
form-bean name=logonForm
I don't agree with the interface solution. As the name sugest CommonFunction
seems to be only factorization of code and not a real type. MyAction and
MyDispatchAction will never be called from outside as some 'CommonFunction'.
Interfaces are meant to be externals contracts not a way to replace
the paths are case-sensitive - you have Welcome.do in your forward, but
welcome in your action-mapping.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 9:18 AM
To: Struts Users Mailing List
Subject: Page remains at index.jsp
We think Struts power lies in its simple and rigorous design process. If you
combine Struts-Tiles, you will have the display Action for the whole page
and actions for all included tiles. Actions are controllers that can have
parameters set in the configuration file. With careful design of helper
Haven't drunk the stuff for eight years and I can't remember the last time that I was
accused of being dull.
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 10:14 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Geek Code
You could
I Ask : What the real apport of implementing CommonFunctionInterface in
each classes rather than just using common.aFunction() where you need it ?
(but maintaining more code).
Malik.
Friday, January 31, 2003 5:17 PM , Ashish Kulkarni
[EMAIL PROTECTED] a écrit :
Hi
Thanx for the all the mails,
I would set this up in your debugger. From what I see here and in the
referenced classes, I can't tell what's wrong.
-Original Message-
From: Daniel E. Morrison [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 8:19 AM
To: Struts Users Mailing List
Subject: Re: Stuts on iPlanet
I don't understand your response. The code I propose below does in fact use
delegation to factorize the functions. However, by utilizing an interface, all code
that works with MyAction and MyDispatchAction objects now has a contract that says
that both objects support the CommonFunction
I am using iPlanet WS6.0 SP4 w/ JDK1.3 in production
Struts 1.1b1 - 1.1b3 have all worked given some workarounds with the
classpath and settings.
1) modify classpath
/---/xerces.jar://log4j-1.2rc1.jar://commons-logging.jar://locationToTheDirWIthApplicationResources.properties
I
The interface provides both flexability in the
delegation(aka different versions of the common funtions
can exist), and it enforces an API.
Interfaces don't need to be logically functional objects.
When was the last time you cast an object to Serializable
and manipulated it?
Matt,
On Fri,
Can someone please tell me how to use the set-property in the struts-config
file?
I am trying to pass a propert to one of my actions.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
-Original Message-
From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]]
I am trying to pass a propert to one of my actions.
Remember that the action element in struts-config.xml describes an
Action*Mapping*, not an Action instance. So set-property will take effect
on your custom
This appears in struts-config.xml in the struts-example webapp:
!--
This is the Struts configuration file for the example application,
using the proposed new syntax.
NOTE: You would only flesh out the details in the form-bean
declarations if you had a generator tool that used
It applies to the ActionMapping, not the Action.
Subclass org.apache.struts.action.ActionMapping. Define your property in
the subclass. The in struts-config.xml add the className attribute to your
action elements like this:
action className=com.blah.MyActionMapping ...
set-property name=foo
Thank you SO much! I've been going crazy on this.
At least now I know there is light at the end of the tunnel!
Thanks,
Dan
Ka-Wai Chan wrote:
I am using iPlanet WS6.0 SP4 w/ JDK1.3 in production
Struts 1.1b1 - 1.1b3 have all worked given some workarounds with the
classpath and settings.
1)
The entire page is refreshed - you can use tiles to include user
configurable jsps into the page. Cedric includes an example in the
documentation from the site you were one describing how to accomplish a
portal look and feel using the tiles context. Basically changing the tiles
definition for
Sandra,
I'm not sure if you got this point, but the collection is written into the
HTML page as a javascript array so the options for the dependent dropdowns
can be read directly from the page by the javascript. If your data *never*
changes you could hard code the javascript array into your
You do not need the '/' in the ActionForward. Not sure that is the exact
problem.
forward name=success path=c-page/
Cal
http://www.calandva.com/Last update 01/03/03
-Original Message-
From: John Thorhauer [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003
I would like to use modules but keep my images directory in the same place
for the whole webapp. I have no problem getting images into JSPs used by
main module actions. They use relative paths where src=images/ This
resolves to webapp/images.
In order to use the same relative paths with
I'd recommend opening an issue in Bugzilla for this - maybe we can get the
committers to add a property to the html:rewrite tag or something that is
moduleSensitive or something. A simple solution might be to subclass a
Struts tag and make it not module sensitive.
Matt
-Original
I submitted a bug about this. The documentation on the Struts site claims
that the page attribute is context relative, when in reality it is
moduleRelative (as described in the source documentation). I haven't heard
anything back yet though.
-Original Message-
From: Andy Kriger
On Fri, 31 Jan 2003, Jay Andrews wrote:
Date: Fri, 31 Jan 2003 07:40:25 -0800 (PST)
From: Jay Andrews [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: message-resources
I've just started to learn struts and I cannot seem to
find a
Hi,
I am using Struts where I have an ShowCategoriesAction that extends
Action. In the perform method, I am reading data from the database
and storing it in a collecion object(ArrayList). Then I am using
request.setAttribute(categoryArray, myCollectionObject) to set it
on the request. I have
The component context is only exposed to the definition not to nested
definitions in subsequent jsps. You can pass them to nested jsps by pulling
them out of the component context in the jsp - then adding them to the page
context - using a list or bean. Once in the page context the subordinate
Question regarding MessageResources.
Our current application uses both a properties file and a backend database
to populate the PropertyMessageResources class. To do this we had to modify
the PropertyMessageResources class methods which are protected. Is there a
way to manage the
On Fri, 31 Jan 2003, Wendy Smoak wrote:
Date: Fri, 31 Jan 2003 09:49:15 -0700
From: Wendy Smoak [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: Question about struts-example struts-config.xml
This appears
I had a ton of problems with required if. I finally just ripped it out and
made my own based on it. In the code I am using, (I am unsure its b2/b3 or
a tip build at this point) I dont see a NOTEQUAL comparison
Heres what I am using See inline comments for explanation.
public final
Sandra,
Probably if you have static data, then the approach that you are using will be a very
efficient one.
However, if you are using constantly changing data and you are having to deal with
huge data and
require selective data, then you may have to think of other ways also.
Here is one way
-Original Message-
From: Holman, Cal [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 31. Jänner 2003 18:26
To: 'Struts Users Mailing List'
Subject: RE: tiles not transferring attributes
The component context is only exposed to the definition not to nested
definitions in subsequent jsps. You
1 - 100 of 194 matches
Mail list logo