HI,
Ok...But I'm Using IBM Web sphere 5.1 Server..
So is there any server specific settings to enable file uploading via
SSL...??
Thanks In advance
Regards,
Mano
-Original Message-
From: Chris Searle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28, 2006 7:50 PM
To: Struts Users
Thank u Chris,
I will try that !
Do u have a solution for number 1) ?
Extra remark all CSS and JS files will be cached by the browser, so
including CSS in all webpages does not decrease the performance.
On 11/29/06, Thomas Thomas [EMAIL PROTECTED] wrote:
Thank u Chris,
I will try that !
Do u have a solution for number 1) ?
To solve the action chaining problem, I wrote a subclass of
RequestProcessor. In the subclass, override some templates method. In the
last method of process(), I set a flag in request, and I check for this flag
in some methods and if the flag is there, it means it is the chained action
and the
They will be cached if the user 'surf' on the webpage,
if I have thousand pages, and he may see two pages,
i am going to store 1000's css files in his cache.
2006/11/29, Mark Bakker [EMAIL PROTECTED]:
Extra remark all CSS and JS files will be cached by the browser, so
including CSS in all
Hi,
We have to developp a new application and we want to with a good design.
Basically we have a set of functionalities (user management, user data control,
user data conversion, ...) the availabilty of those functionalities is
controlled via a dynamic menu.
Hi planned to define one action
Ohh like that... guess I miss read something :,) if this is the
case I would not use the header tile how you defined it... is it then
not more sensible to create several header tiles, I like JSP that are
still more or less readable as HTML without the magic things in
config files.
ofcourse
I would not implement a menu using Actions. You can use a CSS to
define your menu. In my opinion using struts actions just to go from
one url to the next is a bit overkill. tiles is also a good solution
to the menu problem.
On 11/29/06, Michel Van Asten [EMAIL PROTECTED] wrote:
Hi,
We have to
Mark,
I don't understand your solution,
It's the first time I try to implement Tiles,
Could u tell me what *you* would do ?
U mean making more than one base layout ?
And in my jsp pages insert different base layouts ?
2006/11/29, Mark Bakker [EMAIL PROTECTED]:
Ohh like that... guess I miss
Thanks for the answer
Maybe my question was not so clear...
But the question is where should I put the code to update the dynamic menu.
Kind Regards,
-Original Message-
From: Mark Bakker [mailto:[EMAIL PROTECTED]
Sent: mercredi 29 novembre 2006 11:19
To: Struts Users Mailing List
Have you looked into Struts Menu?
It has a declarative approach where you can specify menus in xml but also a
taglib that may allow you to build them dynamically.
It's pretty nifty.
Regarding the navigation, I'd stick with the first solution you pointed out.
Using inheritance seems a bit overkill
Thanks mark for your help, i will give a try to your advices
Regards Juan
-Mensaje original-
De: Mark Shifman [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 28 de Noviembre de 2006 05:20 p.m.
Para: Struts Users Mailing List
Asunto: Re: Themes and templates
If you set
I think if you have so many kb CSS files in your system, the best
solution is not make one tile over the complete header. In stead you
could create header tiles for subsets what re-use the same CSS files.
You could name them something like this
header-home.jsp (including home.css text-block.css
On 11/29/06 12:44 AM, Tarek Nabil [EMAIL PROTECTED] wrote:
One of the problems with Struts was that if you had a page that requires
some setup and this page submits to an Action, then you would not be
able to set validate to true on that action because if validation
problems occur then Struts
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
(interestingly, in IE I get a syntax error, because it's trying to
interpret the markup as script, but in FF it just quietly doesn't
work, not even a notice in Firebug).
Something else interesting in FF:
eval(foobar/foo/bar)
XML tag name
How about not having so many bloody CSS files?
-Original Message-
From: Thomas Thomas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 29, 2006 4:43 AM
To: Struts Users Mailing List
Subject: Re: Struts Tiles, Lose of Performance ? :-(
They will be cached if the user 'surf' on
A struts 1.x solution would be to include generic edit* mappingThis example
employs wildcard characters for Naming Action Classes,specifying Form
Name,Forwarded
pathhttp://struts.apache.org/1.2.9/userGuide/building_controller.html!--
Generic edit* mapping implemented with action
I haven't seen Ajax functionality embedded in Struts so I provided the solution
as the classic 5 min qd solution
I wholeheartedly agree that JavaScript and any 'pseudolanguage' that ends
with Script should be avoided at all costs!
Thanks Frank,
M-
This e-mail communication and any attachments
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tarek,
Tarek Nabil wrote:
One of the problems with Struts was that if you had a page that requires
some setup and this page submits to an Action, then you would not be
able to set validate to true on that action because if validation
problems
Perhaps I'm missing something -- I don't know that much about JS and less about
Ajax -- but these error messages look like they're exactly right to me. In the
first case, you're starting element foo, then element bar, then ending element
foo before you end the child element bar. That's
Hi all,
I am seeing the below warning message whenever form bean is accessed.
WARN [ValidatorResources] Form 'callcontrolForm' not found for locale
'en_US'
In struts-config.xml I have
plug-in className=org.apache.struts.validator.ValidatorPlugIn
set-property property=pathnames
From: Chris Loschen [mailto:[EMAIL PROTECTED]
Perhaps I'm missing something
Yes; that eval evaluates *javascript*.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
From: Dave Newton [mailto:[EMAIL PROTECTED]
From: Chris Loschen [mailto:[EMAIL PROTECTED]
Perhaps I'm missing something
Yes; that eval evaluates *javascript*.
...generally.
In FireBug if you eval(bbaz/b) in the console it will print a bold
baz.
Dave
my idea:D
On 11/29/06, Dave Newton [EMAIL PROTECTED] wrote:
How about not having so many bloody CSS files?
-Original Message-
From: Thomas Thomas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 29, 2006 4:43 AM
To: Struts Users Mailing List
Subject: Re: Struts Tiles, Lose of
You will save a lot of time if you use something that is done already,
and tested, like the links provided by Frank. If you still want to try
it yourself you can check Bind.js :
On the next release(2.0.2), Dojo 0.4 will be included and we have some
ajax tags to help with the ajax stuff, like remote link, remote
button, and autocompleter(still working on it), a tabbed control (we
had one before), and an ajaxed Div.
regards
musachy
hanasaki wrote:
I have the luxury
Mark,
what are u calling header ?
Really I don't understand your solution,
How about not having so many bloody CSS files?
How ?
2006/11/29, Mark Bakker [EMAIL PROTECTED]:
my idea:D
On 11/29/06, Dave Newton [EMAIL PROTECTED] wrote:
How about not having so many bloody CSS files?
From: Thomas Thomas [mailto:[EMAIL PROTECTED]
How about not having so many bloody CSS files?
How ?
Delete some?
Seriously; why are your styles so spread out? Don't you have a
consistent style (perhaps with minor differences) for the site? Why does
each page/section need its own?
Dave
Because if I have a lot of pages, and a page has a error in its layout,
I can easily find the code because I have separate css files for each file.
If I have a common CSS for all the pages, I think the code will be long ...
I must say i'm not sure about what I'm doing, what do u think of my
well header is your naming
On 11/28/06, Thomas Thomas [EMAIL PROTECTED] wrote:
div id=base_header
tiles:insert attribute=header/
/div
more info about CSS you can find here:
http://www.w3schools.com/css/default.asp
On 11/29/06, Dave Newton [EMAIL PROTECTED] wrote:
From:
From: Thomas Thomas [mailto:[EMAIL PROTECTED]
what do u think of my arguments ?
I think you have too many CSS files :)
I've seen sites with maybe 2-3, but if your site pages are supposed to
look the same you might want to consolidate all your style information
to avoid duplicating information.
well the idea of CSS is to separate styling from the actual web page...
how you implemented it you are mis-using CSS... look to all mayor
websites.. they all using one CSS file. may bee you can find the code
easily, but you need to fix the same bug on several places.
With your strategy you
Yes, I think you are right,
I'm doing this all wrong :-(
I can't include jsp's in a static way with Tiles ?
Before Tiles I used dynamic includes and static includes,
I will lose some eprformance here because with Tiles it is only dynamic.
2006/11/29, Dave Newton [EMAIL PROTECTED]:
From:
Thomas Thomas ha scritto:
Yes, I think you are right,
I'm doing this all wrong :-(
I can't include jsp's in a static way with Tiles ?
Use jsp:include or [EMAIL PROTECTED] instead. Using Tiles does not mean that
you cannot use standard tags.
Ciao
Antonio
thank you all very much for your help.. finally got it to work w/struts
1.1 (I had tried earlier version before, but 1.2.9, since hadn't been
able to find 1.1)
now need to deal w/WAR-file thing, unfortunately don't know how to
unpack/deploy WAR files.. I tried about a year ago to learn
Ah
Well I could have a layout thanks to Tiles which would be inherited by the
pages,
and just use jsp:include or [EMAIL PROTECTED] then ...
What's the advantage of having tiles:insert attribute=header/ ? Finally
it's just the fact that the name of the page is not hardcoded in the
Yeah, those messages make sense I think... I guess FF realizes that your
trying to eval something that's purely markup and tries to parse it as
XML... incorrect nesting of the tags in the first case makes sense for
that message, as no closing tag makes sense for the second, if it were
trying to
From: news [mailto:[EMAIL PROTECTED] On Behalf Of maya
how exactly does this WAR-thing work???
This may not be your best approach to learning JEE.
Have you considered getting a book that discusses JEE and moving on to
Struts from there?
Dave
Thomas Thomas ha scritto:
Ah
Well I could have a layout thanks to Tiles which would be inherited by
the
pages,
and just use jsp:include or [EMAIL PROTECTED] then ...
What's the advantage of having tiles:insert attribute=header/ ?
Finally
it's just the fact that the name of the page is
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
I guess maybe it examines the contents your eval'ing
and differentiates between pure markup and script? Interesting!
It must be; I didn't know it would do that.
My first thought (here, by thought I mean hope) was that FF had made
XML into a
On Wed, November 29, 2006 8:30 am, Martin Gainty wrote:
I wholeheartedly agree that JavaScript and any 'pseudolanguage' that
ends with Script should be avoided at all costs!
Wait, don't put those words in my mouth :) I said some people consider
eval() to be bad, not scripting languages... I
Yeah, can't say I knew it either :)
One would assume then that what you ge back from eval()'ing valid XML is a
Document object that you can then use DOM methods on, just as you do in IE
if you get responseXML from XMLHttpRequest (assuming it was in fact an XML
response)... that'd be pretty close
On 11/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi all,
I am seeing the below warning message whenever form bean is accessed.
WARN [ValidatorResources] Form 'callcontrolForm' not found for locale
'en_US'
In struts-config.xml I have
plug-in
thank you very much for your help.. I'm a developer, mostly front-end
(but very experienced) also know Java programming (and JSP/back-end), I
started learning Java about three years ago and I like programming a
lot.. know very well how to use Tomcat, servlets, etc..
started a new job a few
From: news [mailto:[EMAIL PROTECTED] On Behalf Of maya
the WAR-file thing has really eluded me..
http://www.google.com/search?q=war+file
1) http://access1.sun.com/techarticles/simple.WAR.html
2) http://en.wikipedia.org/wiki/WAR_(file_format)
Dave
I am trying to use Struts for an account creation application
1. In my JSP page I am using a List (named results) to get account
information (name, id and more.. )
2. The list stores this information in an AccountInfo bean and I am
using a for loop to go through the List.
3. I am
Would you mind using jstl?
c:url value=/showCreate.do var=url
c:param name=firstName value=${ai.getFname()}/
c:param name=lastName value=${ai.getLname()}/
/c:url
Caveat: I havent used it myself.But I remember having come across code like
that.
AFAIK, html:link doesnt support passing multiple
I'm trying to understand Tiles ...
Instead of this :
** tiles-defs.xml **
definition name=.base page=/layout/base.jsp
put name=header value=/incl/header/header.jsp/
put name=info value=/incl/info/info.jsp/
put name=menu_top
Hi Rahul,
I was trying to reduce the amount of code if its possible (?) since the
action would display a jsp page with account information and then the user
would review the information submit another action to finally create the
account.
Since I already have all the information in a bean I
Priya,
As a short term solution you can create a new tag,as in myLibrary:link which
derives from html:link and knows how to deal with AccountInfo bean.
But if I may,I would suggest rethinking the architecture of your application,
as in maintaining the AccountInfo object in session instead of
Hi,
My web-application allows a user to authenticate to the website.
I check for login and password with the Validator Framework (correct length,
correct carachters, ...)
Then display with html:errors property=login/ and html:errors
property=password/ in my jsp.
This work ok.
If he the fields
Basically, the way I would envision this, is that the validation framework
checks to make sure the 'username' and 'password' fields are not NULL, or meet
some form of low level character count.
Anyway, that is good. What I would do, is continue with that, then after the
validator says this is
Do the DB validation in:
controllers.submits.LoginAction (execute) method.
The error handling should be:
If DB validation fails, create Action Error or Message and then pass it
back to the JSP as a failure.
The Error tags should be able to display it. If you use html:errors/ you
dont have to
Hello,
I have the need to do some form validations, but the site in question
is not running Struts, nor WW or any framework. :-(
It is an older site and I have been commissioned to do some validtion
within it. I was hoping that the Validator that comes with Struts may
be able to work as a
You can try http://jakarta.apache.org/commons/validator/ which is commonly used
w/Struts 1.
- Original Message
From: Jim Reynolds [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Wednesday, November 29, 2006 2:21:49 PM
Subject: Validator without Struts
Hello,
I have the need to do
+1
Here is One example complete with configuration for data-source
http://www.roseindia.net/struts/strutsdatasourcemanagerontomcat5.shtml
Anyone else?
M-
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients
Well, if you look at my previous response, you can see why they can't do
that. You're passing dynamic information into the tiles to control how they
are generated, a static include wouldn't work.
(*Chris*)
On 11/29/06, Thomas Thomas [EMAIL PROTECTED] wrote:
Thank u Chris,
I will try that !
On 11/29/06, Jim Reynolds [EMAIL PROTECTED] wrote:
Hello,
I have the need to do some form validations, but the site in question
is not running Struts, nor WW or any framework. :-(
It is an older site and I have been commissioned to do some validtion
within it. I was hoping that the Validator
I need to implement a customized-page feature so the layout and the content of
the page are defined by user. I am not sure which approach will be the right
choice -- easy to implement and extend for the future. Will you recommend
Tiles, Struts Layout, or something else?
I am new to
I compile my Java file,but it raise error:org.apache.commons.validator not
found,I guess I must lost a jar file,but I don't know which jar I
lost,anyone could tell me which jar I need?
Thanks.
Seems commons-validator.jar, but not sure.
Check out this: http://jakarta.apache.org/commons/validator/
陈仕兵
LifeSystem CS, IT Application Developer
Great Eastern Life Assurance (China) Co. Ltd.
Tel: 86-021-6140 Ext 2405
86-021-28065394
Fax: 86-23-63885566
-Original Message-
Should be inside your struts distro for example Struts 2.0.1 inside the lib
folder you *should* see common-validator-1.3.0.jar
let us know if ou dont see it
safest place is to place commons-validator*.jar is in
$CATALINA_BASE/webapps/YourWebApp/WEB-INF/lib
There are also jars available from
eval() evaluates JavaScript, not XML or HTML.
(*Chris*)
On 11/29/06, Dave Newton [EMAIL PROTECTED] wrote:
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
(interestingly, in IE I get a syntax error, because it's trying to
interpret the markup as script, but in FF it just quietly doesn't
I got some problem in struts can you please help me.
1) in jsp iam displaying values from javabean in textboxes.(i can
change
these values)
2) when i submit with modified values , iam doing validation in
formbean.
3) When validatio fails i formbean returning to same jsp but it is
displaying old
Hi, I help moderate messages on this list. You are not subscribed. I let
this message through because it is not spam, but you need to subscribe
before any more can come through.
Thanks.
On 11/29/06, prkumar_1234 [EMAIL PROTECTED] wrote:
I got some problem in struts can you please help me.
Thomas Thomas ha scritto:
What's the advantage of using tiles:insert attribute=header/
instead of
the jsp includes.
The reuse of the layout! You can have a simple layout page (e.g. the
classic layout with header, body, menu (on the left) and footer) with no
connection with its content.
And
66 matches
Mail list logo