I don't want to tightly couple by web tier with the ejb tier and that's
the reason why I am looking for some other class. If I need to use some
other framework for the same application later, I mean from struts to
some other framework for presentation layer... the it would be a big
problem right? I
Beginning with the 20060125 nightly build[1], the downloadable
artifacts of the Struts Shale Framework have been reorganized. This
was done to support the ability to provide downloadable example
applications that are ready to run, without bloating the size of the
overall framework due to multiple
Hi all,
I got a problem when I submit a form with setting like below
I can not get the parameter name "myNum" from request.getParameter("myNum") or
request.getParameterMap.containsKey("myNum");
I want to get the parameter here because I want to user that parameter "myNum"
in reset method
Gary VanMatre schrieb:
From: Michael Jouravlev <[EMAIL PROTECTED]>
Seems that JSF-related flame on TSS
http://www.theserverside.com/news/thread.tss?thread_id=38601 died, and
I have left without an anwser ;-) So I am repeating the question here
with some modifications in hope to get "i" dotted
>From: Michael Jouravlev <[EMAIL PROTECTED]>
>
> Seems that JSF-related flame on TSS
> http://www.theserverside.com/news/thread.tss?thread_id=38601 died, and
> I have left without an anwser ;-) So I am repeating the question here
> with some modifications in hope to get "i" dotted and "t" cross
Quick summary:
is for inline content.
The CSS behind it is: display: inline;
is for block content.
The CSS behind it is: display: block;
Paul
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.c
Here's an excellent description:
http://webdesign.about.com/cs/htmltags/a/aa011000a.htm
For all intents and purposes you can think of just like ,
except that is accompanied by some line breaking... hehe,
interestingly, for the longest time all I used was , now all I use
is , but re-reading
Got it. Thanks. I assumed it was struts/jstl tag!!.
On 1/24/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> Have you tried to ask Google/MSN Search/Yahoo/Altavista first? Don't
> be aftraid, you are not searching for porn after all.
>
> Michael.
>
> On 1/24/06, Deep Chand <[EMAIL PROTECTED]> wr
They sure don't make this easy do they? This is a lot of stuff to install &
configure.
Is there anything simpler out there (I'm spolied by how easy it is in
Windows)? This is for a commercial product and we want our customers to be
able to install and configure it in 5 minutes (all of it, not just
Have you tried to ask Google/MSN Search/Yahoo/Altavista first? Don't
be aftraid, you are not searching for porn after all.
Michael.
On 1/24/06, Deep Chand <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to follow the struts tutorial at
> http://www.learntechnology.net/struts-lesson-2.do. In the j
Wendy Smoak schrieb:
On 1/23/06, Werner Punz <[EMAIL PROTECTED]> wrote:
As it seems the tiles url refers to http://struts.apache.org/tags-tiles
on the tiles website. But it seems to me the url itself is not reachable
anymore.
Is this url still valid?
That is the correct URI for Struts Tiles,
Michael Jouravlev schrieb:
On 1/24/06, Werner Punz <[EMAIL PROTECTED]> wrote:
As for the checkpoint, I cannot say it exactly (maybe matthias can jump
in) it probably will behave like every other page hitting the back
button with no history, that is my closest assumption on what will happen.
An
Hi,
I'm trying to follow the struts tutorial at
http://www.learntechnology.net/struts-lesson-2.do. In the jsps, I see
the following snippet:
what is this "span" tag and how it is used? please help.
thanks,
deep
-
To unsu
Ok, I will search myfaces list too. Thanks!
On 1/24/06, Werner Punz <[EMAIL PROTECTED]> wrote:
> Sorry to answer again, this is a question which probably is asked best
> in the myfaces mailinglist, you might reach the author (Matthias B...)
> there directly.
--
On 1/24/06, Werner Punz <[EMAIL PROTECTED]> wrote:
> As for the checkpoint, I cannot say it exactly (maybe matthias can jump
> in) it probably will behave like every other page hitting the back
> button with no history, that is my closest assumption on what will happen.
And how exactly that would
Sorry to answer again, this is a question which probably is asked best
in the myfaces mailinglist, you might reach the author (Matthias B...)
there directly.
Werner
Werner Punz schrieb:
Actually sorry to jump in here, but I was partially wrong in my posting
in the long tss thread,
the num
Actually sorry to jump in here, but I was partially wrong in my posting
in the long tss thread,
the number of stored states is parametrizable.
Matthias Broeckelmann who did it for myfaces basically added
parameters for the saved states and also for the handling of saving it
into the session or n
>
>I'm not using extension mapping so I'm not sure about this, but have you
>tried input="/activate" instead of input="/activate.do"? It's certainly
>possible for the input attribute to point to an action rather than a JSP
>or Tiles def.
>
>L.
Part of the problem is that my actions typically ex
Seems that JSF-related flame on TSS
http://www.theserverside.com/news/thread.tss?thread_id=38601 died, and
I have left without an anwser ;-) So I am repeating the question here
with some modifications in hope to get "i" dotted and "t" crossed.
The question is: how history lists and in particular B
I thought under struts 1.2 + jstl 1.1 + JSP 2.0 you get the expression
language even without struts-el as the ${var} gets evaluated everywhere. Or
did I not understand something?
Thanks - dave
David Thielen
www.windwardreports.com
303-499-2544
-Original Message-
From: Max Cooper [mailt
On Tue, 2006-01-24 at 14:06 -0700, David Thielen wrote:
> Hi;
> 2.It says to use struts-el with jstl. I thought jstl eliminated the
> need for struts-el?
There is no JSTL equivalent for some Struts tags. JSTL + Struts-EL gives
you a complete set of EL-capable tags.
-Max
>
>
>
> Thanks -
I think that the EL tags will take rt expressions, and you could use EL
and non-EL tags all at the same time. Just make sure you keep the
namespace prefixes straight.
> -Original Message-
> From: Garner, Shawn [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 24, 2006 12:32 PM
> To: 'St
Rafael Nami wrote:
You can use Cewolf, that is a Servlet and a Taglib that uses JFreeChart to
produce graphics.
http://cewolf.sourceforge.net/
Best Regards
Rafael Mauricio Nami
I tried to use CeWolf to generate chart , but i faced some big problems.
indeed i am developing a jsf portlet , a
>I call validate manually, but since I'm using DynaValidatorActionForms
>I'm using the validation defs from the validator XML config file. This
>is quite a bit more flexible to boot.
>
>In any case, I use tiles and validator together all the time so I'm not
>quite sure where your problem lies:
>
>
You can use Cewolf, that is a Servlet and a Taglib that uses JFreeChart to
produce graphics.
http://cewolf.sourceforge.net/
Best Regards
Rafael Mauricio Nami
2006/1/24, Legolas Woodland <[EMAIL PROTECTED]>:
>
> Hi
> Thank you for reading my post.
> How i can make a servlet that return an image ?
Hi;
Please correct me if I'm wong on this - this book is supposed to be for
struts 1.2
1. JSTL is first brought up in chapter 12 - so it is using the old
struts tags instead of JSTL in all the main chapters. Isn't it supposed to
be always include JSTL with 1.2 (and get rid of struts tags
Hi
Thank you for reading my post.
How i can make a servlet that return an image ?
Indeed i want to make a servlet and inside the servlet I want to use
JfreeChart to produce a chart .
and in final stage i want to return that chart (image) to output.
Thank you
---
but the el versions will not take in jsp rt expressions correct?
Can you use the el the same time as the regular tags?
Shawn
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Tuesday, January 24, 2006 1:34 PM
To: user@struts.apache.org
Subject: Re: e
Garner, Shawn wrote:
I see the bean-el has the same shortname as bean.
So if I want to use the bean-el tags then should I just use the el tags
instead of the regular tags?
I was declaring both the regular struts tags and el tags in the web.xml file
until I saw they had the same shortname when d
Martin Ravell wrote:
Thanks for the post Vasumathi
I don't quite follow what you are saying however.
Since I use Tiles with my struts the page that contains my form is produced
by an Action executing (I use an Action which extends DispatchAction).
If the Validation fails (there are fields that
Having the session ID in the URL is a concern if your site includes
links to unknown third party sites (e.g. if you're displaying email with
links in); you open yourself up to a 'referrer attack', where a
malicious user can hijack your session by getting you to click a link to
his site and exam
I'm only using JSP 1.2 / JSTL 1.0 so this is nice to know.
I presume the EL ones are better to use if given a choice?
Shawn
-Original Message-
From: Michael Jouravlev [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 12:07 PM
To: Struts Users Mailing List
Subject: Re: difference
I've just started using the taglib "unstandard" in the Jakarta Sandbox
which has a JSP tag that does exactly what you want. Say you have a
class called org.myorg.Constants, this tag creates an associative
array of the members like so:
<%@ taglib uri="http://jakarta.apache.org/taglibs/unstandard-1.0
On 1/24/06, Garner, Shawn <[EMAIL PROTECTED]> wrote:
> What is the difference between x.tld and x-rt.tld or any other tag that has
> version of the tld with or without the rt suffix?
Using Google nowadays is scary, eh? ;-) Come on, they will not come to
you unless you are looking for porn (or so t
Garner, Shawn wrote:
> What is the difference between x.tld and x-rt.tld or any other tag that has
> version of the tld with or without the rt suffix?
>
According to 'diff' the '-rt' TLDs accept run-time expressions and the
non-'-rt' TLDs don't. Which makes sense.
Dave
--
On 1/24/06, Dave Newton <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Surely they thought about this and decided there was some reason not to
> > make the constants available in the tags. Or was it just too difficult a
> > task for some finite period of development time?
> >
Probab
What is the difference between x.tld and x-rt.tld or any other tag that has
version of the tld with or without the rt suffix?
Shawn
This email may contain confidential material.
If you were not an intended recip
I see the bean-el has the same shortname as bean.
So if I want to use the bean-el tags then should I just use the el tags
instead of the regular tags?
I was declaring both the regular struts tags and el tags in the web.xml file
until I saw they had the same shortname when declaring them in jsp.
[EMAIL PROTECTED] wrote:
> Surely they thought about this and decided there was some reason not to make
> the constants available in the tags. Or was it just too difficult a task for
> some finite period of development time?
>
Well, I'm not sure how you'd differentiate between a named, scop
Surely they thought about this and decided there was some reason not to make
the constants available in the tags. Or was it just too difficult a task for
some finite period of development time?
--- On Tue 01/24, Dave Newton < [EMAIL PROTECTED] > wrote:
From: Dave Newton [mailto: [EMAIL P
[EMAIL PROTECTED] wrote:
> But I want to be able to do something like
>
>
>
>
> I've never actually tried this. Maybe I should before posting this, but I
> don't know why it would work. I thought the EL only had access to bean
> properties? So why would it be able to access a field direc
On 1/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Here's what I usually do:
>
>
> request.setAttribute( Constants.USER, userObject );
>
> and the Constants.java defines
>
> public final static String USER = "theUser";
>
> then in the JSP
>
>
>
>
> But I want to be able to do
Here's what I usually do:
request.setAttribute( Constants.USER, userObject );
and the Constants.java defines
public final static String USER = "theUser";
then in the JSP
But I want to be able to do something like
I've never actually tried this. Maybe I should befo
On Tue, January 24, 2006 4:02 am, Leahy, Kevin said:
> Frank,
>
> Having used your JWP to implement a text auto-complete gadget I though
> both
> the implementation and the instructions were great. I had it working in a
> few hours. Thanks!
Glad to hear it, thanks for the feedback! I know the who
Thomas Joseph wrote:
> When client cookie is disabled, the server should automatically encrypt URLs
> with session data, Right? Is there then any way to fool the server to this
> idea?
>
I'm not sure what you're saying.
A session ID is _added_ to the URL, but it's just that; a session ID.
Not
[EMAIL PROTECTED] wrote:
> One frequent location of this practice is the names for the attributes I set
> on the session and request ojbects. Most of the time, I then access these
> attributes on my JSP pages via various struts and jstl tags. But when I
> reference these objects from the JSP s
> I had to solve a similar problem once and I ended up creating an
> This ended up causing a lot of problems.
>
> I dunk (past-tense of "dinked") around with encrypting (using JCE)
>
> I guess that doesn't really answer your question, but maybe it'll spark
> Dave
Thanks
When client cookie is
Gary Feidt wrote:
> Your example is using Struts 1.2.6. Maybe I can upgrade, but I don't
> think so right now. I guess I was thinking of it in the wrong way as
> you stated, but I sure did not think it would be difficult to display an
> image stored in a database on a web page.
>
It's not. It
In my action classes, and other java classes, I use defined constants for my
Strings. This is a common best practice.
One frequent location of this practice is the names for the attributes I set on
the session and request ojbects. Most of the time, I then access these
attributes on my J
You don't really need to upgrade to 1.2.6, all you need to do is take the
DownloadAction class (and the ResourceStreamInfo class IIRC) from 1.2.6
and use it. There's nothing that I recall that would make it not work in
previos versions of Struts.
I have an app that downloads images from a databas
At the risk of getting murdered again for too many comments I'll offer
this recipe
J.
How to read an image from a db and display in an html page
Goal: Display an image that is stored in a database blob in a .jsp page
Synopsis: The blob is read into a byte array that is stored in the
ActionForm.
On Tue, January 24, 2006 10:29 am, Niall Pemberton said:
> It is OT but not unrelated and since you label it [OT-ANN] I don't see
> any problem posting announcements here. It would be a good idea to
> include a link to the project though so people can more easily find
> what you're talking about.
Your example is using Struts 1.2.6. Maybe I can upgrade, but I don't
think so right now. I guess I was thinking of it in the wrong way as
you stated, but I sure did not think it would be difficult to display an
image stored in a database on a web page.
If anyone else has a work around that they
On 1/24/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Hi all... I haven't been posting JWP release announcements here lately,
> and generally I will refrain from doing so, but the team just put out a
> new release last night and I think it has some features that might be of
> interest to many
Hello
I m using BeanUtils for copying data between DTOs and EJBs..
In production...
No problem seen so far, (app is running since 1.5 years)
Hth
marco
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: 24 January 2006 15:01
To: Struts Users Mailing Lis
Gary Feidt wrote:
> Will the tag display a java.io.InputStream, or is there a
> better way?
>
Not that I know of, unless the tag API doc at
http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#img
is wrong.
You can, however, use an action or a servlet to deliver the image data.
I think you're thinking about this the wrong way round. Tags run on
the server to generate HTML content - so all the tag does
is render the html markup of - its then the browsers
job to download the image referenced in the "src" attribute.
So what you need is to specify a url in that src attribu
And BeanUtils doesn't work because.why?
-Dennis
"Sharon Jolly" <[EMAIL PROTECTED]>
01/24/2006 09:43 AM
Please respond to
"Struts Users Mailing List"
To
cc
Subject
A util class for EJB tier similar to BeanUtils?
Hi,
Am working in a project where I need to get information fro
On 1/24/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> However I have just created some new date validation functions that
> can do this for you. They are only currently in subversion, the
> package javadoc has some examples here:
>
> http://tinyurl.com/cc7a2
>
> Niall
>From above URL:
"1. O
You'd have to write an Action which reads the image from the DB and
writes it onto the servlet's output stream. There was a thread just
yesterday which discussed how to do this. You can set your image URL
to that action and provide it with enough parameters to find your
image in the DB.
Hubert
Bernhard,
Does it really matter? In most Java application servers, don't they do both
for the first request but after the second
request, where cookies are detected to be on, they stop using url rewriting.
Or do those first two communications scare
you? ;) Besides, a packet sniffer could see
What about, uhm, BeanUtils?
What's your hestitation in using BeanUtils in your EJB tier? AFAIK
there's nothing that limits BeanUtils to the presentation tier.
Hubert
On 1/24/06, Sharon Jolly <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> Am working in a project where I need to get information from a l
Hi,
Am working in a project where I need to get information from a legacy
system and delegate is back and forth in my application using various
objects, dto's and form. The application is Struts1.1 based and I have 3
layers in this.
My question is if our forms and vo's have the same set of
Hi Everybody,
I'm using Struts 1.2.4, with no frills (JSTL, Struts EL) - just using
Struts framework and tags.
I am exploring the ability to display images from database - never done
this before. I'm guessing I can get the data out by using the
java.sql.getBinaryStream
Will the tag display a j
On 1/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I have an application which is used in US, Europe and Asia.
> The application should show the date in each regions own local time.
> I have to create the time and store it in databsae in GMT and again
> while displaying the da
Aladin,
I do know that DisplayTag 1.1 has the batch paging capability, that was
my first email I sent to this list but my concern was that they had
warned that this version is yet to be ready and that they could change
functionality (not stable for production)... so I was a little afraid of
using
David Thielen wrote:
> 3) I am using struts so struts is the servlet and owns the init method,
> unless I have missed something. So my understanding is there is no init
> method for my code???
>
_What_ code? What specifically are you trying to accomplish?
If, say, you're trying to put something
Thomas Joseph wrote:
> Sorry! The URL needs to be encrypted. The requirement is that the client
> should not be able to see the URLs as plain text on the browser address bar.
>
I had to solve a similar problem once and I ended up creating an
n-character string as a key to look up the "real" URL
From: "Dave Newton" <[EMAIL PROTECTED]>
| Thomas Joseph wrote:
| >> We have a requirement where an existing app needs to have all of its url
references being encoded, even for those that are embedded in hyperlinks.
| > The client wants not to see any of the URLs plainly, as it may contain GET
d
Thomas Joseph wrote:
>> We have a requirement where an existing app needs to have all of its url
>> references being encoded, even for those that are embedded in hyperlinks.
> The client wants not to see any of the URLs plainly, as it may contain GET
> data (ids etc) that is in most cases generat
Harish Pathak wrote:
> Well 1.2 is far more better than 1.1 also perform method is deprecated in
> struts 1.1
>
Despite the depth of this answer I will add a few more references.
http://wiki.apache.org/struts/StrutsUpgrade
http://www.oreillynet.com/pub/wlg/6053
That was with about 30 second
Martin Ravell wrote:
> This basically means I am not using the Validator. Sticking everything in
> the Action negates all the advantages of getting this stuff unbound.
>
I don' really see it that way.
I call validate manually, but since I'm using DynaValidatorActionForms
I'm using the validatio
Hi all,
> We have a requirement where an existing app needs to have all of its url
> references being encoded, even for those that are embedded in hyperlinks.
>
The client wants not to see any of the URLs plainly, as it may contain GET data
(ids etc) that is in most cases generated by embeddin
Hello,
I am beginner with struts framework. I have doubt regarding forwarding
between to page that is having same form but different actions.
In the first page there is a form, in which user can edit some value. In
this form im having an indexed property. After he hits submit. I am doing
th
:)
GOOD QUESTION.
Well 1.2 is far more better than 1.1 also perform method is deprecated in
struts 1.1
Vasumathi <[EMAIL PROTECTED]> wrote:
Hi
Anyone can explain the difference between struts1.1 and struts1.2
with regards
vasu
Hi all,
We have a requirement where an existing app needs to have all of its url
references being encoded, even for those that are embedded in hyperlinks.
Any ideas?? Are Servlet Filters a good idea? Any pointers to that, or any other
idea?
Any help in this regard would be appreciated.
Thank
Great minds think alike
or
Fools seldom differ
I've already gone down almost exactly this track and while it does work I am
currently using the deprecated saveErrors() method.
Will give your request.setAttribute() method a try as well.
This basically means I am not using the Validator. Sticking
Hi
Anyone can explain the difference between struts1.1 and struts1.2
with regards
vasu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
dont change anything in struts_config.xml.
write your validation in action itself instead of writing in validation.xml
for your Form.
like,
if(id == null){
request.setAttribute("error","errors.id.notexist");
}
try this, let me the result pls.
with regards
vasu
Quoting Martin Ravell <[EMAIL PR
I guess I should ask the overall question:
Does anyone successfully use the plugin validator with a Struts / Tiles
based application?
If so how are the action elements setup with regard to the input option?
Assuming that you can do the above is it then possible to have multiple
pages contributin
Frank,
Having used your JWP to implement a text auto-complete gadget I though both
the implementation and the instructions were great. I had it working in a
few hours. Thanks!
Following the earlier thread entitled Tags For Pagination I wondered if JWP
might take this generic problem up. Paging th
> -Ursprüngliche Nachricht-
> Von: David G. Friedman [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 23. Januar 2006 18:10
>
> What do you mean by "do it the other way around" ?
>
Well I mean that you ONLY use cookies for the session management and not URL
Rewriting, you might want to do th
Thanks for the post Vasumathi
I don't quite follow what you are saying however.
Since I use Tiles with my struts the page that contains my form is produced
by an Action executing (I use an Action which extends DispatchAction).
If the Validation fails (there are fields that do not meet their vali
JDK 1.4.2. And I am considering switching to 1.5 too.
What JDK version are you using?
-
[ ] JDK 1.2
[ ] JDK 1.3
[ ] JDK 1.4
[ ] JDK 1.5 (or JDK 5)
-
I'm mainly interested in the impact of moving Commons Valdator to a
minimum dependency of JDK 1.4 to use
84 matches
Mail list logo