Mah
Sincerely... there are features in IDEs that I don't know how would I do
without.. like code insight... web descriptor (and even struts descriptor)
editing.. and so on
Of course I could do everything with notepad, but that often means getting
crazy just to find a simple syntax error, or event
Hi Shilpa
I'm not sure you really need to use Filters for this purpose with Struts.
I think if you make sure you never access pages directly (maybe putting them
under WEB-INF... I've never done this but I know it's possible) but always
thru actions, then it shouldn't be difficult to implement a cal
ggetto: AW: Struts Tag Library
<2cents>
If you plan to use model 1 -> use jstl
If you plan to use model 2 -> use struts
:-)
Leon
> -Ursprüngliche Nachricht-
> Von: Andrea M [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 2. Juni 2004 11:55
> An: 'Struts Users
I agree with Rick
Of corse you could use struts tags without Struts framework, but there's no
point in doing so:
Tags like bean, logic and iterate are almost entirely supplanted by JSTL
The only struts tag that is still useful is but is designed to work
together with ActionServlet, so using it out
Hi Andy
I'm afraid you are mixing jsp scriptlet with JSTL grammar
You can use two approaches:
If you want to use scriptlet (like you are doing now)
You must of course declare it,
e.g. like
Then if tou want to use "someCount" property in you scriptlet you have to
stick with usual java syntax:
<
Hi
I don't use Tomcat personally, but in almost all of the appservers out of
there you find an implementation of javax.sql.DataSource.
What you do usually is to configure your pools in the appserver's
configuration file, where you put all of the coordinates, then you access
them thru JNDI
e.g. Da
Ops..typed it wrong
Correction:
-Messaggio originale-
Da: Andrea M [mailto:[EMAIL PROTECTED]
Inviato: venerdì 21 maggio 2004 7.39
A: 'Struts Users Mailing List'
Oggetto: R: and tags
Hi Padala
Why don't you use
instead of manually cycling thru with mailto:[
Hi Padala
Why don't you use
instead of manually cycling thru with mailto:[EMAIL PROTECTED]
Inviato: giovedì 20 maggio 2004 22.41
A: Struts Users Mailing List
Oggetto: RE: and tags
Thanks Tim, I could solve my issue with the el tags. Now I am using el
tags in other places, Life is easy now.
Could you provide an example of how to do it?
I think if it's a matter of application configuration then the appserver
should not make any difference, as long as I use jdk 1.4 and j2ee 1.3
-Messaggio originale-
Da: Sean Radford [mailto:[EMAIL PROTECTED]
Inviato: martedì 18 maggio 2004 1
You can find them at
http://www.displaytag.org
and
http://cewolf.sourceforge.net/
-Messaggio originale-
Da: Dean A. Hoover [mailto:[EMAIL PROTECTED]
Inviato: martedì 18 maggio 2004 15.05
A: Struts Users Mailing List
Oggetto: Re: R: Struts Taglib recommendations
Andrea M. wrote:
>Ot
- Original Message -
From: "Andrea M." <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, May 18, 2004 3:47 PM
Subject: R: Filtering ApplicationResources.properties file
> Ramil
> I don't think you need
Ramil
- Original Message -
From: "Andrea M." <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, May 18, 2004 3:22 PM
Subject: R: Filtering ApplicationResources.properties file
> Hi Ramil
> I don't quite
Hi Ramil
I don't quite understand what you are trying to achieve
Why should you want to filter properties?
-Messaggio originale-
Da: Ramil Mirhasanov [mailto:[EMAIL PROTECTED]
Inviato: martedì 18 maggio 2004 12.46
A: Struts Users Mailing List
Oggetto: Filtering ApplicationResources.prop
Why that?
I use currently Struts + JSTL
Actually the only struts taglib I use is html or html-el
What have "using the mvc" and "build 3 tier" to do with using struts taglib
vs JSTL???
-Messaggio originale-
Da: Rosenberg, Leon [mailto:[EMAIL PROTECTED]
Inviato: martedì 18 maggio 2004 14.0
glibs mostly to iterate and
display collections of beans. There might be some logical branching (
equals, bigger than, smaller than ) involved. I've used the struts taglibs
extensively but find some parts of it, beans nested several levels for
example, quite tedious to work with.
//Linus
&
That's a pretty vague question
There's plenty of taglib out there
Please specify what you are looking for, cause I don't think you'll find
people here writing you a comprehensive list of all of the taglibs existent
:)
Andrea
-Messaggio originale-
Da: news [mailto:[EMAIL PROTECTED] Per co
Inviato: martedì 18 maggio 2004 11.05
A: Struts Users Mailing List
Oggetto: Re: Struts and JAAS
Each application just logs into a different JAAS realm (each of these
has its own stack of login modules, but sounds like you only need one
per realm).
Hope that guides you a little.
regards,
Sean
Hello all
I've got a dilemma trying to implement JAAS in my struts applications.
This is the problem:
I have more applications running in the same instance of the appserver (jrun
4 in my case, but I think the same thing is applicable to the others).
Each application has its own database with its o
Hi Paraman
These are the two actions you're talkin' about:
Now I see that the first one forwards a processAreasForm to the second,
which in turn accepts evaluationForm
That's very likely to be your problem
So.. you have three options I guess
- The one you found: setting the "
Correct
Whatever the reason you need to access the session, you can do that using
the request passed to the two methods Atta mentions.
Getting a reference to the session from the request is trivial:
HttpSession session = request.getSession();
-Messaggio originale-
Da: atta-ur rehman [mail
I've seen in another list someone resolving a problem like this using
ArrayList instead of the interface List
It's odd but the guy claims it worked. Maybe a bug in PropertyUtils.. don't
honestly know.
This is the link if you are interested
http://www.junlu.com/msg/45025.html
-Messaggio origin
Yeah
Probably Struts' plugins are the most straightforward thing for you.
Plugins are components that Struts loads once at startup, and they are often
used (I use them in that way too) to load shared resources (like
datasources) in servletcontext before every other component is load.
-Messag
Inviato: lunedì 17 maggio 2004 14.31
A: Struts Users Mailing List
Oggetto: Re: R: Sharing what I've learned: locale switching
Andrea M. wrote:
>Hi Jan
>What do you mean with "sharing user chosen locale"?
>Does your user access thru a common login application?
>If it
Hi Daniel
Please tell us which container you are using
JSTL 1.1 require JSP 2.0 + servlet 2.4
AFAIK the only ones that actually implement those specs are:
Tomcat 5
SunOne 8
Jboss 4
If you are using other containers (e.g. Tomcat 4x) you need to use JSTL 1.0,
that only require JSP 1.2 + servlet 2.3
Hmm
I don't know about this 16k limit, but AFAIK you can set any kind of content
type in your jsp.
JSPs are ultimately servlets (once translated), so you have no limit in
content types
e.g. I used to set "text/xml" for creating dynamic JNLP files with jsps
-Messaggio originale-
Da: Kran
Hi Yoann
Why do you need a "name" on your form?
In Struts it usually identifies the name of the actionForm it uses, but that
is usually set in struts-config.
If a unique identifier of the then 'styleId' attribute might be what
you want, since it renders an 'id' attribute (ibid
http://jakarta.apach
Yes that's the way you access the bundles.
Your web.xml has nothing to do with message resources
However... instead of asking "will it work?" perhaps it would be a better
idea to try it out first, and eventually ask "why didn't it work?" then :)
Andrea
-Messaggio originale-
Da: SMETS
Hi Jan
What do you mean with "sharing user chosen locale"?
Does your user access thru a common login application?
If it's something like that, then you might share your Locale putting it in
session
Session.setAttribute("myLocale", myLocale);
Then retrieving it in the other applications with
(Local
the JSP controls, even it was in session.
-Original Message-
From: Andrea M [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 16, 2004 1:11 PM
To: 'Struts Users Mailing List'
Subject: R: Maintaining form data across pages...
Hi
I'm not sure I've understood properly what you need
W
Hi
I'm not sure I've understood properly what you need
What I understand is that you are trying to populate the same actionform
using several pages.
The problem is that struts *always calls reset()* every time it access the
form.
What you can do is making your pages set a flag in the request, so yo
Hi Raman
I would rather suggest you to put in your scope an ArrayList of beans, each
one eventually with getName() and getLabel() (or whatever you like)
So.. in that case, if your collection is stored as "dummyList" then you
could access it like this:
Where property attribute will be the value
Hi Raman
Can you post here your Properties file?
Maybe it's a matter of caps
Another chance is that you have more than one message-resources entries in
your config, and that ApplicationResources.properties is not the default
one: if it's so, then you have to specify which one to use with "bundle"
Well.. this is how it usually works:
- Your jsp posts the data to the mapped Action
- The ActionServlet intercepts the request, checks on your struts-config.xml
which actionform it needs to use and in which scope it can be found.
- If there's no such actionform in the scope then the ActionServlet
i
33 matches
Mail list logo