+1
Jesse Alexander (KBSA 21) wrote:
First of all: Happy Birthday Ted (maybe a bit late, but I read the Struts
mailinglist only in the office because of its hig volume)
Is Struts a product?
- If products means that it is marketed: I do not have the feeling
- If
Yes.
I always validate in Actions and not in the form itself (though I often
delegate to a seperate helper class from the action (and configure the
helper in a subclass of ActionMapping and have an abstract action
superclass manage its lifecycle)).
Validating in the form I find to be troublesom
Why would the users have trouble accepting Spring if you werent using
the MVC part - how does that impact on the UI to an extent that a user
could notice?
Fogleson, Allen wrote:
I think the biggest argument was stated by Nicolas.
I use struts because I like it sure, but I really use it because i
Imagine you have an int field and the user types in the value "anything
but zero, oh please not zero, cause if its zero Im screwed".
Take a guess at what value you will get in the field...
Prasad, Kamakshya wrote:
Hi,
What all issues are there in keeping the data type of the attributes in
Acti
Whats wrong with the conversion support in BeanUtils?
Prasad, Kamakshya wrote:
HI,
Thanks a lot for the reference.
But we where also looking for something which can perform the necessary
type conversion like string to date, string to double
KP
-Original Message-
From: Andrew Hill [mailto
Dunno about struts 1.2, but in 1.1 there wasn't an option for it. That
said, it would probably take you only a few minutes to override the
request processor to do it.
indeed I recall having done that before myself a year or two back
ahh... here we go -
protected void processPopulate(HttpServletR
There is a fair bit of support in commons-beanutils for this sort of thing.
http://jakarta.apache.org/commons/beanutils/api/
Take a look at BeanUtils.copyProperties() to start with at that sounds
closest to your needs.
(btw: Struts also makes use of BeanUtils for form population so the jar
file
> Not to hit below the belt, but the only place that I have seen that
> naming used in practice is in the Win32/COM world. Can you name
> another? ;-)
We do it as part of our coding conventions (we also do the Abstractxxx
thing too). Im rather pro doing it that way too. Mostly its a matter of
t
ERROR! - Unable to reply to post
The following exception was raised while processing your post:
"insufficient information in request to formulate hypothesis"
Correct following errors and retry:
{
1.) "every thing" is not defined
2.) "getting the values from the form bean" fails to provide context
3
I dunno mate. The usual technique in the industry would seem to be some
variant of the following:
Write junk
Go home on time (actually get to see family occasionally!)
Leave for better job letting someone else cleanup mess
Repeat as necessary
(Health department warning: If repeated excessively ca
A car salesman knows when he is lying ;-)
Daniel PC Leung wrote:
I have not ever heard of it
I'd know the difference.
On Thu, 24 Feb 2005 13:29:12 +0800, Andrew Hill
<[EMAIL PROTECTED]> wrote:
Which leads us into that old joke about the difference between a
software salesman and a c
doh! shiny-side OUT people! do try to remember!
http://zapatopi.net/afdb.html
Fergal O'Shea wrote:
One from this side of the pond.
Parents bring their young child into A&E with severe sunburn on a hot
summer's day.
The doctors ask them how the child got burned.
They tell them that, yes, the chil
Which leads us into that old joke about the difference between a
software salesman and a car salesmen ...
John McGrath wrote:
it's an acronym -- it stands for the National Automotive Dealers Association
(www.nada.org).
-Original Message-
From: Daniel PC Leung [mailto:[EMAIL PROTECTED]
Sent
Works for me. Probably just a temporary glitch?
Erik Weber wrote:
This is the only Apache list to which I subscribe, so sorry for the OT.
I am trying to download HttpClient 3.
http://jakarta.apache.org/site/downloads/downloads_commons-httpclient.cgi
All the links on this page appear to be dead!
I t
Its considered best practice to go through an action first - even in
those cases where the action doesnt need to do anything.
In such cases its recommended (though not unanimously - we had a bit of
a debate about this a couple of weeks ago on the list!) that you also
put your JSPs under WEB-INF
1. How to find out what time zone the user is in?
You cant (afaik). The closest you can get is to use javascript to determine
their current GMT offset, that however will not give you the actual
timezone (including such things as daylight savings rules and so forth)
but it may be close enough for
I think Quartz has been the general consensus most times this has been
debated on the list.
Sng Wee Jim wrote:
Hi,
What would be the recommended way to execute some code periodically on
tomcat/appserver?
Should I
1. start a thread (not recommended in appserver and tomcat?) and do
it in the ru
Commons Logging over Log4J.
I've been told at work that we cannot use it because it isn't
"J2EE-compliant"... I'm awaiting clarification on what that actually
means in this context
Sounds like someone may have got incorrect information?
Ive not heard of anything in log4j that makes it unsuitab
MARC archive is up:
http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2
Dakota Jack wrote:
The List Archive is down with a new error:
VelocityServlet: Error processing the template
General error: Can't open file: 'eb_Message.MYD'. (errno: 144)
org.apache.velocity.exception.VelocityException: Genera
large number of international users, so bandwidth on the mailing list is
always a concern
Ahhh... that probably explains why so many of the international posts
resemble SMS messages:
pls msg structs 2 me
thk u 4 ur tIme
maybe we should go back to the old telegraph format?
PROBLEM MAKING SERVE
http://www.catb.org/~esr/faqs/smart-questions.html
http://www.catb.org/~esr/faqs/smart-questions.html#forum
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise
http://www.catb.org/~esr/faqs/smart-questions.html#explicit
http://www.catb.org/~esr/faqs/smart-questions.html#id3002537
http://ww
Id support the filter suggestion, though for myself I generally do the
check in the RequestProcessor, as Ive usually overrideen it to perform
other evil anyhow, and Im lazy to make a filter.
If you dont keep your JSP under WEB-INF (IMHO thats where they belong
because they are 'code & config' ,
Make sure you dont have any field or button whose id or name is also
"submit" as in javascript a function is just another type of object, so
a button or field on the form named 'submit' will hide the forms submit
method and your call to frm.submit() would be trying to refer to the
button which
for a request *attribute* ?
request.setAttribute("myThing", myThing);
Hollaway, Shedrick L CIV TRIREFFAC wrote:
This should be equivalent:
Shed.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 9:28
To: user@struts.apache.org
Subject:
Yep, that will do it :-)
+ If there isnt such an attribute in the request it will also look in
the session and iirc the servlet context too...
[EMAIL PROTECTED] wrote:
I am using the JSTL:core tag libs ar a replacement of the "struts-bean"
tag.
Thus, is the following equivalent?
JSP:
Uh... I do
a rather puritanical approach
Yes, that about sums it up.
Im rather of the opinion that all the struts html tags should have some
kind of generic mechanism to allow you to specify any non-standard
attributes you want. Perhaps something like:
Though that would have problems with those that
And a happy new year to you all!
-Andrew
2005-01-01 00:07
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to read the file or create a reader object.
hth
-Andrew
Seth Milder wrote:
Andrew Hill wrote:
parse an xml file from the local filesystem
Yes, this is correct. It seems to want to do this over HTTP. Local paths
do not seem to work, unless I am missing something, which is entirely
possibl
parse an xml file from the local filesystem
The users local filesystem, or the servers?
In the former case no (you would need to get them to uplaod it first).
In the later case (which I guess is what you mean as it has a leading
/)... not sure. :-(
"We want to stand upon our own feet and look
Avoid Javascript the way a politician avoids a lie detector
bit redundant mate - you can already tell they're lying because their
lips move... no detector required ;-)
Jim Barrows wrote:
-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 29, 2004
As I recall, the wrapper is actually initialised together with the
population of the form. No form no population. No population no wrapper
population.
Quickest workaround is to use specify a 'dummy' form for the mapping.
Just whip up an empty form class, or specify an empty dynaform in your
co
Well one thing is mandatory:
You must ALWAYS validate on the server side - regardless of whether
there is clientside validation as well or not.
This is because you cant trust what comes in over the wire. It _may_
come from that page you rendered out nicely with all the javascript, or
it may be
You should be able to find the docs in the binary downloads for the
commons components in question.
http://jakarta.apache.org/site/binindex.cgi
I find its often helpful to have a copy of the source to hand as well.
http://jakarta.apache.org/site/sourceindex.cgi
Olasoji Ajayi wrote:
that only cont
Ive not seen your code so Ive no idea if this is what you are doing
(probably not from the sound of it), but its been my experience that
when I dont quite follow the bean specs for my getters and setters it
still sometimes works... until I change something else like my JVM
version or add some o
Windows 2000
...so when do I get my free beer mate? ;-)
Frank W. Zammetti wrote:
I was informed last OT post I made that the subject should always
include the word "beer". I added the "free" to get your attention :)
I'm working on something for which I need to know what the os.name
property on
pick something from the scope and change it you have set it back explicitly
Ive heard something similar too. Id quite like to hear from someone
(like Craig ;->) who can give a definite answer.
Having to set things back explicitly is very bad. Often the objects in
question are non-trivial and b
Im not so sure that would work too well as the actionforms are
representations of the view state, and whats in a form on the view
doesnt necessarily correspond directly to the objects that are modelled
at the business tier, and often contains other stuff that is view
specific, or exists to work
Sure is mate!. Its all in the javabean specs
This post should enlighten you further:
http://marc.theaimsgroup.com/?l=struts-user&m=98900256403524&w=2
And for another getter/setter 'gotcha' you can read this thread through
http://marc.theaimsgroup.com/?l=struts-user&m=102696975022454&w=2
hth
Andrew
Have a look at the weapp sample in the demo folder that comes with
jasperreports. That should get you started.
Struts doesnt add any extra complications and its straightforward to put
the relevant code into an Action instead of a servlet.
hth
Andrew
sachin wrote:
hi all ,
i am a newbie in Jas
oupon->geteCoupon
However the spec doesnt say that this should be a reversible process, so why
not eCoupon->getECoupon
Daniel.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: 14 December 2004 14:01
To: Struts Users Mailing List
Subject: Re: ??? property naming conv
The problem here is the need to be able to populate the form from a
submission. Initialising it in the action before forwarding to the view
is okay when rendering the page to the browser, but when interpreting
the forms submission, struts is going to instantiate the new actionform
instance (its
Been a while since Ive done it, but this sort of thing can be managed
using a lazy list (from commons-collections).
http://jakarta.apache.org/commons/collections/api/org/apache/commons/collections/ListUtils.html#lazyList
[http://jakarta.apache.org/commons/collections/api/org/apache/commons/collec
well, at the very least you really should follow this lists glorious
tradition of mentioning BEER in your OT posts
. Beer
;-)
Frank W. Zammetti wrote:
No. The problem is that my webmail client, which is all I can use at
work to access mailing lists, has a bug which causes messages
According to the sevlet spec: "context attributes are local to the JVM
in which they were created. This prevents ServletContext attributes from
being a shared memory store in a distributed container".
What Id like to know is how this affects configuration information I
load in a PlugIn or in a
opps. Didnt see this post when I replied just now.
The syntax seems ok. When you say its not producing results, is there
any error message or stack trace, or is it just that that part of the
page is blank?
If blank it sounds like the results vector is empty. I presume you
initialise it in your
Sorry mate, you going to have to be a bit more specific about the
problems your having, and precisely what result it is that you are
actually trying to achieve, as we are having some trouble understanding
the question!
I am having a vector object in jsp
In a request or session attribute I pre
Are there stairs in your house?
Pramod wrote:
I have done the steps but i didn't get results
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
I would never, of course, dream of grabbing a request object, or
similar things, and holding it in a new thread. I would never, ever,
anytime dream of doing that. Yuk!
hehe.
What about the ServletContext object though?
Dakota Jack wrote:
Spawning threads is something I do almost as a matter of c
DON'T spawn threads inside a servlet container unless you really, REALLY
have to. It'll tend to save you headaches more times than not. But if
you gotta do it, do it with care :)
Or as they say "dont try this at home kids" :-)
a policy that prohibits them. (For example,
if I was running an
Hehe, It sounds rather like its one of those rules that are there for
novices to follow, while those who know what they are doing will know
when they can safely bend it and when they cant ;-)
A fair few libraries one might use in ones projects also do stuff with
threads internally (I believe Ja
Yeah! This has nothing to do with rich clients and flash... uh , oops,
struts I mean... ;-)
bryan wrote:
someone unsubscribe this muppet.
--b
On Sat, 04 Dec 2004 10:33:50 -0600, Vic <[EMAIL PROTECTED]> wrote:
http://contests.1up.com
All you have to do is:
#1: register
#2: invite most other people
I wanted to send this link along on Friday as well, but didnt have time
to find it as I was trying to get home early. (Fat chance. Still ended
up taking over an hour to hail a taxi so I didnt get home till after
midnight. Ahhh the joys of working in the IT industry, but I digress...)
Internet E
The tag would _normally_ take you to a target location, but with
file download what usually happens is that the browser realises its a
file and either prompts you to choose somewhere to open it, or tries to
display it in the browser page (internet explod^Hrer will tend to try
this if it thinks
But first take a trip to read this FAQ:
http://www.catb.org/~esr/faqs/smart-questions.html
;-)
Bill Siggelkow wrote:
Bikram,
It is really bad etiquette (sic) to repost the same question with a
different subject.
Please post this question to the OJB mailing lists. You'll find
information on this
hmm how about:
document.forms[0].elements['somecheckbox'].checked = false;
any luck with that?
The value property is whats submitted when you submit, so its the
checked property your after, but Id have thought that your
document.getElementById("somecheckbox") should work? Maybe it needs an
expli
Plugins are indeed what you are looking for.
Nathan Coast wrote:
Hi,
Is there any way to execute some code when a module loads? I could
write servlets with the code in the init method and then declare them in
the web.xml. However I'd like to do this on a per-module basis without
having to add
Actions and their corresponding jsps exist to handle requests sent by
the browser. Its a client pull model, so you cant schedule to push data
to the client at intervals (I would recommend staying away from trying
any tricky hacks that involve keeping the http connection open).
What you can do i
selling over a hundred thousand copies combined -- but no one is
actually using it in production. :)
Like EJB?... ;-)
Ted Husted wrote:
LOL. :)
Yes, over the last two years at least nineteen different publishers each decided to publish books about Struts, surely selling over a hundred thousand
The average PHB thinks EJB *is* J2EE...
:-(
Vic (Vinny) Cekvenich wrote:
Jesse Alexander (KBSA 21) wrote:
JSF will be part of J2EE (as of version 1.5). That will make it hard
to explain to "pointy hairy boss" type managers why one wants to use
another
framework.
So is EJB a part of J2EE for a l
If a user has multiple windows/frames/tabs open and both are making
requests at once (or it could be a double submit from a single window
(which you could catch using tokens)) then you might see this sort of
thing occur occasionally.
In this situation you have two threads both of which have a
You cant control what the client browser sends to the server (as hackers
can spoof almost anything thats sent) so you need to treat all data from
the client as suspiscious until proven otherwise! This means validating
any data that is submitted to your application before your application
makes
One technique would be overriding dispatchactions execute method in that
action to check for this attribute and then delegating back to the
superclass to handle the normal situation when its not found or calling
the appropriate method when it is?
ie:
public ActionForward execute(ActionMapping m
QUIT SPAMMING THE LIST!
http://www.catb.org/~esr/faqs/smart-questions.html
Reposting your question every 5 minutes is a brilliant way to really
annoy people and guarantee that of those people who could help you ,
almost all will not due to your rudeness. (Though they will quite
happily spend the
The usual way - Struts works with the session support provided by the
Servlet API (HttpSession).
Additionally Struts tags that work with urls (html:link for instance)
will take care of adding the jsessionid for you (via the appropriate
servlet api call to rewrite the url) if the browser has dis
Sounds like the forward you are returning from your execute is
redirecting and hence you get a new request object. Check your struts
config to make sure it says redirect="false" and not true for that forward.
sqdf qsdf wrote:
Hi all!
When I add an ActionError in the validate method of
ActionForm
Hi Rick,
I did this for a large application where there were a lot of different
record types with various linkages much as your roster has with players,
and where said linkages could nest quite deeply.
You will need to use the session to do it cleanly. The idea is to
somehow keep a stack of Act
oh well this thread is just becoming spam now...
...spam spam spam spamity spam!
;-)
Bill Siggelkow wrote:
He's as an AspectJock and he's okay
He codes all night and he sleeps all day
He makes join points, defines point cuts
And likes to give advice
On Thursday's he compiles
And weaves code very n
These might help:
http://stxx.sourceforge.net/
http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html
Kranti Parisa wrote:
Thanq
i will follow ur suggestion
On Fri, 15 Oct 2004 10:24:36 +0530, Kailash Vasani <[EMAIL PROTECTED]> wrote:
Hi,
It seems that all you need is XSL transforma
a user with bad eyes may choose to use bigger fonts
I have perfect eyesight but Ive been making a lot of use of firefox's
font resizing abilities lately since my work PC got upgraded to one that
can handle 1600 * 1200 resolution... (great for working in eclipse, bad
for reading long pages in b
It wouldnt survive a server restart, but this may well be acceptable if
you dont expect the server to restart very often and your token expiry
is only a day or two and its easy to get another token if needs be.
Im not sure what the deal is with stuff added to servlet context after
startup in a
From the stack trace it looks a classloading issue. I presume that your
com.tes.HomeForm and HomeAction classes are in your WEB-INF/classes or a
jar in WEB-INF/lib? (Confirm that first though given it worked in 1.3
and assuming you changed nothing else it should still be the case!)
Where is you
I dunno mate. I wouldnt rule out client-side Java completely.
Came across a company called Nexaweb who have an interesting solution
for the rich client problem which uses a 1.1 compatible applet for the
client side, but has its own set of lightweight widgets (ie: not Swing).
They have some onlin
Theres not all that much that you can do. The back button is evil. It
exists merely for the sole purpose of making our lives a tormented misery...
You will find this article of interest though:
http://www.theserverside.com/articles/content/RedirectAfterGet/article.html
[EMAIL PROTECTED] wrote:
I
Under your philosophy Struts would end up being just one ActionServlet,
a config file, a RequestProcessor, one Action and one ActionForm. Then
you'd be on your own to find validation, web layout, dispatch, and tag
solutions
Now that you come to mention it, this rather seems to be how I use it
Treating them to a nice dinner and a romantic movie usually works ;-)
Any reason you cant model them as null?
At any rate, your UI should have them blank when they arent entered so
as to avoid confusing the users. If you must store them as 1970
internally then I guess like you say, you will nee
The error is run-time or compile-time?
Caroline Jen wrote:
I have the commons-beanutils.jar file in my
AppName\WEB-INF\lib directory. And I have this
statement:
import org.apache.commons.beanutils.BeanUtils;
in my .java class.
Why do I get the error message that the BeanUtils
class cannot be found
Generate a digest (ie: MD5) of those properties in the actionForm that
you are watching, and render this to a hidden field in your JSP. When
the form is submitted compare this digest to a digest of these fields
generated after submission and if different you know that something has
changed.
Wo
Yep. If theres one thing I hate its spending hours on a friday night
tracing through some other developers code to find why something in the
api they expose doesnt work and eventually coming to:
catch(Throwable t)
{
return null;
}
deep in the bowels of it and knowing that I cant even fix i
Try here:
http://www.catb.org/~esr/faqs/smart-questions.html
ganesh gadi wrote:
Hi Friends,
i'm very happy to tell u my problems and get answers.
i need a solution how to disable "open" button on
"File Download" dialog box.i want control on it.
Pls don't say no solution.Bcox i saw that type of
dia
/*
* @application name="myApp" makewhen="NOW" generate="TheEntireThing"
requirements="readMindOfClient"
*
*/
java.lang.IoException: stream is null
at com.unist.plot.Client.readMind(Client.java:666)
at com.unist.plot.AppGenerator.generate(AppGenerator.java:666)
... 66
Oh thank goodness. Its not just me who couldnt parse it. I thought for a moment my
brain was having a buffer overrun or something.
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Saturday, 10 July 2004 01:17
To: Struts Users Mailing List
Subject: Re: country state
String[] foo = request.getParameterValues("foo");
foo[2] = "you"; //Naughty naughty. Very naughty. Wicked! Absolutely
outrageous mate! ;->
In hindsight an odious but obvious and doubtlessly documented hack, yet Ive
spent four frustrating hours figuring out how my poor parameters were
getting malic
My understanding (could be wrong on this of course) was that if you dont
have sticky sessions the container has to serialise the session to its
brethren as necessary. The serialisation is what scares most people, but
what scares me is how it knows when and what to serialise (plus the fact it
stops
When you iterate the vector in your action are you modifying its contents in
any way (ie: using add or remove, etc...)?
-Original Message-
From: Richard Aukland [mailto:[EMAIL PROTECTED]
Sent: Thursday, 8 July 2004 20:46
To: [EMAIL PROTECTED]
Subject: java.util.ConcurrentModificationExcept
y certain he discusses this very issue in detail. (I can't seem to get
to that link right now hence cannot verify..)
hth,
Geeta
> -----Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 08, 2004 8:01 AM
> To: Struts
> Subject: RE: app
yeh. If you set it as an attribute and try to get it as a parameter your in
for some dissapointment ;-)
Doing it as an attribute would be ok though so long as its a non-redirecting
forward and the place you forward to knows to expect it as an attribute.
This does however mean you will also be passi
Yep. Pretty much so. Its what we all do. :-)
Those who do it often tend to bang up some utility code to reduce the typing
but the end result is pretty much the same. You may wish to use the other
constructor for ActionForward and preserve the redirect flag. ie:
ActionForward fwd = mapping.findFor
Is this ok...or is there any better approach to do the same thing..?
Regards,
Viral
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 4:56 PM
To: Struts Users Mailing List
Subject: RE: application configuration
I tend to put such things in XML
I tend to put such things in XML files rather than properties files
nowadays.
When the app starts up I have a plugin read the files and create
configuration objects (using Digester), and put these objects into the
servlet context (application scope) where my code can get at them easily.
-Ori
People seem to treat using the session as though it were some kind of moral
sin.
There are technical pros and cons to using the session and these should be
considered when you do your coding, but the session scope is not harem. You
wont be cursed with eternal damnation because you shove a couple o
depends
-Original Message-
From: Asim Ghosh [mailto:[EMAIL PROTECTED]
Sent: Monday, 21 June 2004 18:10
To: [EMAIL PROTECTED]
Subject: which one is better, Validator framework or ActionError
hello guys,
i have to implement validation which one should i go for
1. Validator Framewor
Well for a start you should not use html:link for javascript links! (only
for real links!)
html:link's (primary) purpose is to ensure that the jsessionid is added to a
href url if cookies are disabled (or on the first page). Obviously that
functionality is hardly applicable for a javascript link wh
Actually I think this is the link you mean:
http://www.catb.org/~esr/faqs/smart-questions.html
-Original Message-
From: Rajat Pandit, Gurgaon [mailto:[EMAIL PROTECTED]
Sent: Friday, 18 June 2004 16:58
To: 'Struts Users Mailing List'
Subject: RE: prob in database connectivity
Hello Gitanj
Not that there's anything wrong with it
;-)
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, 17 June 2004 21:59
To: Struts Users Mailing List
Subject: Re: [OT] Soccer portal released goal.com
You'd be surprised how many people are closet .Net developers ;
+1
-Original Message-
From: McCormack, Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, 17 June 2004 22:13
To: Struts Users Mailing List
Subject: RE: [OT] Soccer portal released goal.com
I for one appreciate the post Simone. Its a good looking site and its
nice to see work that developers
You could override processLocale() in the RequestProcessor to set the locale
to whatever you configured
-Original Message-
From: Tim Penhey [mailto:[EMAIL PROTECTED]
Sent: Thursday, 17 June 2004 15:51
To: Struts-User
Subject: Setting locale for the webapp
I have a web application where I
l my JSP or some attributed also
needs to
be passed.
Where should i put this tag in the JSP.
Andrew Hill wrote:
> The servlet container will try to encode this sessionId in a cookie if it
> can (saving the need to rewrite links) so you may wish to check the
browser
> settings to see i
The servlet container will try to encode this sessionId in a cookie if it
can (saving the need to rewrite links) so you may wish to check the browser
settings to see if cookies are enabled. (Its best to make sure you use the
html:rewrite tag (or equivelent) for your links though so that your app wi
Use of struts.jar in the ext folder isnt supported. It should be in
WEB-INF/lib with each app having its own copy, otherwise bad things happen
with classloaders (as you noticed).
Why would it need to be in ext for you to compile your code? What IDE are
you using?
-Original Message-
From:
The other alternative would be in the RequestProcessor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, 11 June 2004 16:36
To: [EMAIL PROTECTED]
Subject: RE: Want to do some business logic before the action class of
str uts is invoked. How ?
Have you loo
1 - 100 of 140 matches
Mail list logo