Hi there,
I am in need of SAMS "struts kick start" ebook. Do u have it. If so can u
please send me through email.
[EMAIL PROTECTED]
Thanks & Regards,
Sunil Prabhu
eXensys Software Solutions Ltd.
Legal
Disclaimer
Hi,
You can use
title=''
Thanks & Regards,
MS.
-Original Message-
From: Abhimanyu Koul [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 11:49 AM
To: Struts Mailing list
Subject: very urgent
hi all!
I want to print the value of a variable in the formbean in request scope
inside
hi all!
I want to print the value of a variable in the formbean in request scope
inside a string in a jsp file.
eg.
title=" the value of the variable--"
do i need to use bean : write . if yes how as I am not able to do it .
Thanks and Regards,
Abhimanyu Koul
The quick solution is to create ArrayList have an index corresponding to
your holidexCodeVector.
The logic is like, once the user selects the "BLUES" or "IHG" you can
match these
String values with the index in ArrayList.
Hope this work out in your case.
Kind regards,
Rakesh Bhat
-Or
What behavior are you seeing? I believe you have to do the swap inline with
, like so:
onMouseOut="this.src='images/title_history.gif';"
onMouseOver="this.src='images/title_leaderboard.gif';"
Works in FF and IE6.
On 7/26/06, A. Lotfi <[EMAIL PROTECTED]> wrote:
Hi, I want to have a sbmit b
Hi everyone,
I've gotten a number of requests for an article on AjaxParts Taglib, and
I finally got around to writing it :) You can check it out here:
http://www.omnytex.com/articles
If you have never heard of AjaxParts Taglib before, in brief, AjaxParts
Taglib, a component of the Java Web
It's the javabean specification. Normally the methods "getFoo()" and
"setFoo()" operate on the property "foo". The code doesn't really care what
the property is called internally (it could even be calculated on the fly), but
it infers the property name from the method name.
Normally variables
Thanks a lot George It works. But I don´t understand why... could you
tell me the reason, if there is a reason, for this lower-case (in OTDEmpresa
the variable is Nombre, not nombre)?
Also, if I have a parameter defined in OTDEmpresa called CheckPart, all must
be in lower case or only the
Assuming you have a method
public String getNombre()
in the class project.struts.OTD.OTDEmpresa, try
with a lower-case 'n'.
> -Original Message-
> From: Francisco Exposito Aguilera [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 26, 2006 10:35 AM
> To: user@struts.apach
Givler, Eric wrote:
But can't you just define a message specific to the field and validator for
each definition in the validations.xml file?
min0
max50
Yes, yes I can... good old struts documentation. :) I fi
Ed Griebel wrote:
> If you only need to get predefined variables, you can use Jakarta
> BeanUtils or PropertyUtils on the object. For instance, with a form
> bean ActionForm form:
>
> String val = BeanUtils.getProperty("someProperty");
> Object valAsOriginalClass = PropertyUtils.getProperty("someP
But can't you just define a message specific to the field and validator for
each definition in the validations.xml file?
min0
max50
-Original Message-
From: Scott Van Wart [mailto:[EMAIL PROTECTED]
Sent: Tue
Jeremy-
Sorry you're still having problems.
Regarding the missing resource, I think it will either print out "null"
(in the error-printing JSP code) or throw an exception if it cannot find
a message resource so you should at least see something like that.
Are you sure validation is even bein
Hi, I want to have a sbmit button with mouse over, what's wrong here :
thank you.
-
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
Hi all,
I am trying to show the results of a search from a database into a jsp page,
but it doesn't work.
If I add in the jsp file:
where listarEmpresas is the parameter where is saved the Collection and
Nombre is one of the fields from OTDEmpresas:
session.setAttribute("listarEmpr
If I have a look at my generatated js source code, I can't see the validwhen
method :
function validateStartSubscriptionForm(form) {
if (bCancel) {
return true;
} else {
var formValidationResult;
formValidationResult = validateRequired(form) &&
va
If you only need to get predefined variables, you can use Jakarta
BeanUtils or PropertyUtils on the object. For instance, with a form
bean ActionForm form:
String val = BeanUtils.getProperty("someProperty");
Object valAsOriginalClass = PropertyUtils.getProperty("someProperty");
BeanUtils.setPrope
I've change my validwhen rule into this :
test
(((subscriptionType !=1)AND(*THIS*!=null)) OR
(subscriptionType==1))
but it still
Hi,
If you really wanna do that, you can use frame (but tile here becomes
meaningless)
or
you can use ajax with struts, let ajax controls when but rather than what to
be refreshed
the when here means if should fulfill certain conditions
On 7/26/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
-Irwan,
Thank you myuch for your help, but I don't have any problem regarding those
show/hide method !
I'm just wondering if the fact of removing some fields in the form could be
at the origin of my validation matters ??
On 7/26/06, Irwan Nurwandi <[EMAIL PROTECTED]> wrote:
Dear Jeremy ..
Gareth Evans wrote:
> You can't do either of these things!
Right.
>
> AFAIK you can't do dynamic casting in java, although in
> java 5 you may be able to utilise the Class.cast method.
I did it another way now:
I try to do the fm's and catch a possible cast-exception. All needed
values are stor
Hi, Philippe,
I started tomcat as user:tomcat group:tomcat, there is no security problem
of access my data or even all my jsp pages were secured so that direct
access to page source is also not allowed.
I did give 770 (way enough) to let tomcat write that /temp, which /temp has
same user and gro
Dear Jeremy ..
According to your code below, it seems that for the first time the jsp
page load you're initialiaze the var variable into string "1". So the
three object you've mention before automatically will not visible.
try this and hope you can learn more ..
Modify your jsp code
<%
String
hi David,
Thanks for replying,
1) the no matter /tmp or /temp, it is ok, just a subdir.
2), you are right, enable catalina security manager may fix my problem, but
it will do the check up during runtime. I was wondering if there is any
solution without using that any ideas?
On 7/26/06, Da
Hi,
Li schrieb:
thanks for replying, i guess my linux access config no problem since i can
use normal java app to write up.
Because normal java-apps run with the same rights as the user starting them.
I guess it should be the problem for tomcat
configure at its security model. And besides, u
1) Your path of "/var/../../temp/test123.jpg" suggests a UNIX style server.
Using standard UNIX conventions, that would make the actual path used by
your file be "/temp/test123.jpg". Sadly, on every UNIX/Solaris/Linux/etc.
server I've ever worked on, the file system was named "/tmp", not "/temp".
hi Irwan,
thanks for replying, i guess my linux access config no problem since i can
use normal java app to write up. I guess it should be the problem for tomcat
configure at its security model. And besides, use root run tomcat is not
very good.
Thanks any way
Hi Antonio,
Yeah, i just added, t
-R in capital
chmod -r 777 /temp
On 7/26/06, Irwan Nurwandi <[EMAIL PROTECTED]> wrote:
in shell console :
1. login as root
2. execute :
chmod -r 777 /temp
hope it work !
Regards
Irwan
On 7/26/06, Li <[EMAIL PROTECTED]> wrote:
> yes, /temp existed
>
> if i just use normal java app to write
Li ha scritto:
yes, /temp existed
if i just use normal java app to write on that machine, no problem.
Very strange...
As long as i use tomcat to write to dir out of tomcat home dir, it has
problem, i was trying to fix it without using catalina security manager
I don't think it is necessar
in shell console :
1. login as root
2. execute :
chmod -r 777 /temp
hope it work !
Regards
Irwan
On 7/26/06, Li <[EMAIL PROTECTED]> wrote:
yes, /temp existed
if i just use normal java app to write on that machine, no problem.
As long as i use tomcat to write to dir out of tomcat home dir, i
yes, /temp existed
if i just use normal java app to write on that machine, no problem.
As long as i use tomcat to write to dir out of tomcat home dir, it has
problem, i was trying to fix it without using catalina security manager, you
have any exp on tomcat?
On 7/26/06, Antonio Petrelli <[EMAI
Li ha scritto:
well,
permission denied here means I had found the temp dir but can not
write to
Probably your right: it seems (at least under windows) that the parent
of the root is the root itself, so the final directory will be "/temp".
Does "/temp" exist? And can you write into it?
Cia
well,
permission denied here means I had found the temp dir but can not write to
On 7/26/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Li ha scritto:
> java.io.FileNotFoundException: /var/../../temp/test123.jpg (Permission
> denied)
Uh I think it is simply a wrong path, see what was written
Li ha scritto:
java.io.FileNotFoundException: /var/../../temp/test123.jpg (Permission
denied)
Uh I think it is simply a wrong path, see what was written
/: start at root
var: you are in /var
..: you are back in root
.. (again): WTF? the parent of the root?
Check how you calculate the destinatio
Hi, Antonio,
I was tring to write the test123.jpg file, but when creating
FileOutputStream object,
it failed to access the ../temp dir, which is existed. temp dir had already
been given the write access
java.io.FileNotFoundException: /var/../../temp/test123.jpg (Permission
denied)
On 7/26/06
Chetan Pandey ha scritto:
It is part of Struts.
What? And why does it have its own site:
http://displaytag.sourceforge.net/
Its own mailing lists:
http://displaytag.sourceforge.net/11/mail-lists.html
and simply does not have anything in common with Struts except the fact
it can be used togethe
It is part of Struts. Other people have mailed about displaytag and been
answered.
Chetan
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 26, 2006 7:18 PM
To: Struts Users Mailing List
Subject: [OT] Re: Problems Using DisplayTag
Chetan Pandey ha
Li ha scritto:
Hi all,
When I was trying to upload from my local machine. uploading failed.
...
Any idea?
Check the logs and eventually stack traces, then return here and post
any suspicious log.
Ciao
Antonio
-
To unsubs
Julian Tillmann ha scritto:
Hi everyone,
does someone know of a good way to check a java bean whether a certain value has already been added or not?
Where? What do you mean with "added"? Be less dumb please.
Ciao
Antonio
---
Chetan Pandey ha scritto:
Hi :
I just downloaded displaytags.
Ask displaytag mailing list, isn't it obvious?
Ciao
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi :
I just downloaded displaytags. They display my Tables correctly but when I
try to click on SAVE AS CSV Link, the file that gets saved is empty.
Any Ideas why.
My Code is as follows:
And my displaytag properties is as follows:
export.types=csv e
Pankaj Gupta ha scritto:
Hi All,
I am facing some problems with tiles usage. Can you please help.
1.) I have 3 different JSP's displayed as 3 tile components. Is it
possible that the three JSPs be refreshed independently of others?
2.) If this is not possible what is the alternative approach
Hi everyone,
does someone know of a good way to check a java bean whether a certain value
has already been added or not?
thanks
Julian
--
Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
Hi All,
I am facing some problems with tiles usage. Can you please help.
1.) I have 3 different JSP's displayed as 3 tile components. Is it
possible that the three JSPs be refreshed independently of others?
2.) If this is not possible what is the alternative approach.
regards,
Pankaj
--
Hi all,
I had a struts webapp remotely running with tomcat (started using startup.sh,
not catalina.sh start -security) in Fedora Core 4 machine. When I was trying
to upload from my local machine. uploading failed.
The dir which stores the uploaded files is out of tomcat home dir, i gave
its acce
hum,
I mean my jsp is built dynamically.. so when my select box is set to "1",
my jsp is made with 4 fields.
But if my select box is set to "2", "3" or "4". my JSP page is made with 3
new fields.
And I think that "hide" means present but not visible.. and "not display"
means not present in the p
Dear Jeremy ..
what do you mean with "should I "hide" fields rather than "not
display" fields.. ??",
"hide" and "not display" are the same things isn't it :-)
if you're expect the validwhen to manage hide and unhide HTML object,
validwhen couldn't do such a thing.
=
Taken from struts doc :
Hello Alan ..
I think the problem came because there are no diffrerent "table id" in
your second displaytag,
when you're iterate the second displaytag, it generated the same
id="row", this will cause the displaytag throw the same paging
parameter for each generating tables.
Try to indexed the "t
You can't do either of these things!
AFAIK you can't do dynamic casting in java, although in
java 5 you may be able to utilise the Class.cast method.
Gareth
Anil Kumar T wrote:
You got to include one more step as mentioned below.
Class classDefinition = Class.forName(ClassName_as_string);
Obj
You got to include one more step as mentioned below.
Class classDefinition = Class.forName(ClassName_as_string);
Object obj = classDefinition.newInstance();
classDefinition afc = (obj)fm;
Anil.
-Original Message-
From: Andreas Hartmann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 26,
Hello!
I've got the following problem in an action-class: I dynamically want to
retrieve the ActionForm class, which has been called before the Action-class.
Statically, I do this with
ActionFormClass afc = (afc)fm;
How is it done dynamically? I've got the String name of the desired
Class-Name
-Adam,
first, thanks for all those explications. but I've still a problem with my
validator using 'validwhen'.
I've seen first, that I don't have any "errors.validwhen = mymessage" line
in my messageResource file ?
I guess I need to add it and I did it.
Otherwise, I've now clearly understood (I
52 matches
Mail list logo