Hi,
A few days ago, someone put in this list a message with a URL from
where you could donwload a pdf about Struts. I don't remember the url, but
the title of the book is Struts survival guide and the author is Srikanth
Shenoy. Maybe someone can remenber it and reply.
In the chapter
Hi Joscar,
In this occasion I can't help you, but as now I know that you are in
this list, I will try pay attention in all mails that I will receive.
Saludos tío.
Hi Mark,
I'm not sure, but I think that the problem is the access to
database When you set the user in MySql, you have to put the machine's
ip (or dns) from it connects If this users was configurate only with
your machine's ip, it could be the reason
bye.
Hi,
I'm trying run an application but I'm geting an error because it
don't found the resources file. I have put it into classes folder, but it
don't work. I remember I had to put a property into web.xml to indicate
where is this file, which I don't remember.
Anybody help me?
Hi,
You can try with this, for me work fine
// Set the headers.
res.setContentType(application/x-download);
res.setHeader(Content-Disposition, attachment; filename= + filename);
// Send the file.
OutputStream out = res.getOutputStream( );
returnFile(filename, out); // Shown earlier in
Hi,
I have a appli lets download a file. My problem is what dialog box show as
file name 'anything.do' instead real file name.
I remenber to read something about this, but I don't now know where
Anyboy can remenber it?
-
Thanks... it works
Verdad.
Martin Gainty
Hi,
I'm not sure, but I think you have several mistakes...
First, You have put CustForm in the property name of the form, but
in the property name of the action you have put SetupForm and in the
class you have put CustForm again
In the jsp you have put html:form
Hi,
I have an object ('A') in session that I recover form a jsp whit the tag
jsp:useBean.
This object ('A') contains another object ('B'). And is form this ('B') I
want to recover a property
that use it like value into text's field. In this case, a html:text...
How can I do? thanks
Hi,
I think the problem is to use a scriptlet like this %= % into a
tag.
I don't know if exist a way to do this, but this is not the way.
Hi,
I don't know but... Can you put a hidden field into form with the
value of attribute? Maybe solve your problem...
Rivka
hi,
Have you tried to look into login_jsp.java file (in the line 135)
that is in the directory work?
Is likely that in this line you will find the motive of the error.
I don't know exactly what means, but is likely that you haven't include the
call appropriate to tld into head of jsp or the file (tld) into correct
directory. Besides maybe that don't are finding the resouces file or that
this haven't the key searched.
I hope help you.
Hi,
For the dot 1, you can put a hidden field in the form to indicate
waht type of validation you have to use. In the method validate of the
ActionForm, you will choice the fields you need validate depending hidden
field's value.
I hope help you
Ok... mayby that an example
This is a posible ActionForm. the variable flag indicates the type of
validation that needs
public class CosaForm extends ActionForm {
private String nombre = ;
private String apellidos = ;
private String telefono = ;
private String
have you tried with Jakarta's proyect commons-fileupload?. Is really
powerfull... but I don't know if is compatible with Struts...
|-+
| | dumbQuestionsAsk|
| | er _|
| | [EMAIL PROTECTED]|
|
I didn't know... I always have used it in alone mode... and work fine for
my
|-+
| | dumbQuestionsAsk|
| | er _|
| | [EMAIL PROTECTED]|
| | .com|
| |
another way:
logic:iterate name=yourForm property=yourProperty id=yourId indexId
=counter
tr class=%= ((Integer)pageContext.getAttribute(counter)).intValue() %
2 == 0 ? odd : even%
|-+
| | Marc Walter |
| | [EMAIL
I think that you want to use the escape character... you have to use '\'
like this:
This is a Java\\tformat string\\nthat will be used by {0} to {1}
|-+
| | Ian Hayes |
| | [EMAIL PROTECTED]|
| |
Hi,
can your helpmy with a dinamic form with struts? I need an example of
a dinamic form, please
thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
sort it in the private method readPlanObjectFromDB... in the query DB
select * from my_table ORDER BY .
|-+
| | Krishna Mohan |
| | Radhakrishnan |
| | [EMAIL PROTECTED]|
| |
21 matches
Mail list logo