hi,
I want to directly access the keys and its values in applcation.properties (
default resource bundle file in struts). Can any body tell me which is the
class in struts(utility class) which helps me retrieve the values based on
the keys from this file.
/Ashwani
Hi Ashwani
In a jsp page use follwing code:
org.apache.struts.util.PropertyMessageResources res =
(org.apache.struts.util.PropertyMessageResources)application.getAttribut
e(org.apache.struts.Globals.MESSAGES_KEY);
out.println(res.getMessage(KEYNAME));
Dhiraj
-Original
hi,
One more thing to add is that I dont have access to request,pagecontext etc.
I am writing a Servicelocator class and I want to access some values in that
file. Is it possible.
Otherwise I have to use my own resource bundle.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Use
ResourceBundle resource =
ResourceBundle.getBundle(resources.application);
Else :
If you are in Action/Lookup Dispatch Action class
MessageResources resource = getResources(request);
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23,
One simple question - if my form bean is of the
DynaValidatorForm type in the struts-config.xml and
each propery of the form is specified in the
validation.xml, do I have to call the validate method
in the form bean? E.g. Do I still have to do the
following in my form bean that extends the
Why don't you design your bean like this:
If it's a one time set of the collection,then
public class NestedParentBean extends ActionFormBase{
private String parentName = null;
private String parentId = null;
private java.util.ArrayList childBeanCollection = null;
Struts Best Practices and MDA, Seminar
with Cédric Dumoulin, in Geneva, Switzerland, January 20, 2004.
Sessions:
* Struts Best Practices, and real world case (World Health
Organization/WHO)
Wolfgang Gehner, Infonoia SA, Java web app. developer since 1998,
co-author of the book Struts Best
Hi,
you have in struts-conf a formBean:
form-bean name=form1
type=org.apache.struts.validator.DynaValidatorForm
form-property name=property1 typejava.lang.String/
/form-bean
this action-config:
action path=/foo name=form1 validate=true .../
in validation.xml:
formset
form name=form1
no one have an idea !!
my ActionForm :
public class SocieteForm extends ActionForm {
private ArrayList societes;
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
ActionErrors errors = new ActionErrors();
return errors;
}
public
Hi,
Can anyone help me how do I validate the login user session using struts
Plugin?.Explain me with examples as I am new to struts..
Thanks in Advance..
cheers
Sudhakar
DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged.
Before opening
Hi,
Can some one please send me some example code of getting values from a jsp
page as I have to insert the values into the database.
what are the different steps which are required to be done in struts to make
this work
Regards
Kamal
-Original Message-
From: François Richard
Hi,
There are many examples available on the web.
Try this http://struts.sourceforge.net/community/tutorials.html
If you mean Struts Validator plugin, I think login is not the best example
because Validator Plugins is about format of input .Validate a login
will generally access database to know
There is another way..I think struts has a lazy list implementation which takes of
thsi problem...
Or see this post..This is reply to a similar question that was asked on the list
earlier...And this is a lot cleaner implementation...
I am trying to use a custom loader for a utility class for an Action
class. This is not working. The utility tests fine off the net. When I
get it on the net and in Tomcat, it breaks. The loader is for a hot
deploy. The following is the code. Can anyone tell me why this
breaks? It
Look at the struts documentation ..Especially the getting started guide...
But the simple rule is you should have matching attributes on your form...SO struts
autopopulation will take care of transferring the parameters to the form..You can just
you the getters on the form to access those
Ok, Thanks. I thought that I could use some struts wrapper class which will
provide some fn which takes the key as input. I didnt wanted to load the
bundle etc as its already done by struts.
Any way thanks.
-Original Message-
From: Shishir K. Singh [mailto:[EMAIL PROTECTED]
Sent:
hi!
any idea from where cna i get the source code of Mastering Jakarta Struts
Regards
Deepak Saini
_
Marriage? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join
BharatMatrimony.com for free.
Hi all,
I am trying to get things working with DynaActionform.
I have defined my dynaAction form in my struts-config file as follows..
form-bean name=productAliasForm
type=org.apache.struts.validator.DynaValidatorForm
form-property name=aliasRef type=java.lang.String/
Its actually expecting
theForm.get(aliasRef);
and
theForm.set(aliasRef,foo);
but this shouldn't make any difference in the jsp as
getAliasRef() and get(aliasRef).. are the same thing in the jsp (well
in terms of the jsp one uses to access the properties.)
Cheers Mark
On 23 Dec 2003, at
It can be done, use poolman. Easiest DB pool to get going, works well with
more DB than others.
http://sourceforge.net/projects/poolman
Edgar
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 4:50 PM
To: [EMAIL PROTECTED]
Subject:
Hi folks,
I'm trying to add a parameter to a hyperlink, but I don't have direct access to the
value I want to use in the parameter. I don't have direct access because the value is
held within an ArrayList object, and only referenced with a logic:iterate call in a
JSP page.
I have thoroughly
Hi Marco
Is it trying to compile AliasMaintenance.jsp as the error message says or
is it a typo?
As coded the action you've described should forward to another jsp --
productMaintenance.jsp
If its not this, then I think the list might need a fragment of your jsp
code as well
-Original
Herr Gehner:
When are you planning to come to the US?
I am in Boston but would be willing to come to NY
Vielen Dank,
Martin
US 001-617-852-7822
- Original Message -
From: Wolfgang Gehner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 3:07 AM
Subject: Announce:
Herr Gehner:
When are you planning to come to the US?
I am in Boston but would be willing to travel to NY.
Vielen Dank,
Martin
(mobile US)001-617-852-7822
- Original Message -
From: Wolfgang Gehner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 3:07 AM
Subject:
I really think that is a good aproach. At least one of the most simple
and centralized. BUT
...from a pure struts point of view someone can think that your
solution is mixing the model with the view.
I think ActionForm should remains as part of the view, or just a 'box'
between the view
Yes
when constructing your war be sure to include in your web.xml the init-param
specification
init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
Hi,
The page is correct.
Now to avoid any null values that may cause any problems, I have
Writte following code in my action class..
DynaActionForm aliasForm = (DynaActionForm)form;
aliasForm.set(buttonSelected,enter);
aliasForm.set(aliasRef, 1234) ;
forward =
Hi,
I think many of us come across same problems ..And as you said, it is always not easy
to come with an easy solution ..
But following approach will avoid code duplication...And also keep seperation between
business layer and Presentation layer(web layer)..
In the forms just do the
Hi,
Got some 'hints'..
Actually what I forgot to mention is the whole flow of action
From JSPa, I redirect to MyDispatchAction (which uses MyFormBean).
In turn, MyDispatchAction forward the request to ProductSetUpAction.
In ProductSetUpAction, I 'create' the DynaAction form and populate
How 'bout adding it as a request parameter instead of appending it?
TABLE
logic:iterate id=concur name=concur !-- concur contains the ArrayList --
TR
TDhtml:link forward=concurrence
paramId=projectName
paramName=concur
Guido García Bernardo wrote:
I really think that is a good aproach. At least one of the most simple
and centralized.
Thanks, I take a lot of time to try to KISS.
...from a pure struts point of view someone can think that your
solution is mixing the model with the view.
I think ActionForm
... just to know the state of the art. Is it possible to
view a DynaBean throw JSTL1.0?
many thanks in advance,
Francesco
Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale
rivolte esclusivamente al destinatario sopra indicato.
E' vietato l'uso, la
I have a struts application which sends JSP and application errors through a struts
action class before forwarding to the application error page.
Most pages of the application are displayed in an HTML frame, so when an error occurs
the error page shows up in the single frame from which the
Hi all,
Sorry that I bothered the list with my spam.
I found the problem..in the struts config I was still associating
The old MyForm bean to the new action created 'AliasMaintenanceAction'
So whenever, in my aliasMaintenance.jsp, I was using the tag
html:form
1. Do not use the same name for 'id' and 'name' in your iterate tag.
(I made it plural)
session.setAttribute(concurs, group.getConcurrencesList());
^^^
2. You can easily create a map for use with links or other tags like so:
jsp:useBean id=mapOfKeyValues
Hi All,
Can someone please tell me how I able to do
update/modify records faster? My user need to
click/select individual records to update in one big
table(or one web page). Since there are so many
records need to update continually, is a way can
perform faster? Someone told me using session and
As long as the DynaBean implentation exposes a Map interface then yes.
For example, DynaActionForm implements DynaBean and exposes a Map interface,
so if you had a property named customerName, in a form bean named
customerDetailForm,
then you could render that property like so using JSTL.
c:out
You mean like edit a whole bunch of records (rows) at one go where you dont
necessarily know how many there are, etc...?
Take a look at the examples here:
http://www.keyboardmonkey.com/next/index.jsp
(btw: You didnt really make your problem very clear so I hope this was what
you meant)
Hi All,
Can someone please tell me how I able to do
update/modify records faster? My user need to
click/select individual records to update in one big
table(or one web page). Since there are so many
records need to update continually, is a way can
perform faster? Someone told me using session and
You asked this just 10 minutes ago. This post is identical and adds no new
information.
Please do not spam the list like that. It is rather rude.
http://www.catb.org/~esr/faqs/smart-questions.html
-Original Message-
From: Julia Weaver [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 23 December
Buy the book.
Edgar
-Original Message-
From: deepak saini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 6:27 AM
To: [EMAIL PROTECTED]
Subject: Source code for Mastering Jakarta Struts
hi!
any idea from where cna i get the source code of Mastering
Jakarta
Andrew, Thanks for your fast response.
Yes, my user need to edit a whole bunch of records
(rows), and there might be more than 20, and for each
update, my code have to call updateRecord method to
connect to database, and do the following:
try {
stmt = conn.prepareStatement(stringSQL);
rs =
hi,
I have a jsp page which uploads a file to a database. I have no problems storing the
file in an SQLServer or MySQL database by using the setBinaryStream() method of a
PreparedStatement. The file gets upload no problem.
However, when I try to upload this file to an oracle database (BLOB
You may want to look into batch updates:
http://java.sun.com/docs/books/tutorial/jdbc/jdbc2dot0/batchupdates.html
Quoting Julia Weaver [EMAIL PROTECTED]:
Andrew, Thanks for your fast response.
Yes, my user need to edit a whole bunch of records
(rows), and there might be more than 20, and
Well if you use a nested bean for each record, then you can present a whole
bunch of records for editing on the same screen, and thus use the same
connection to update them all. (And one obvious optimisation is to only
update records for which the user changed any of the data)
The keyboard monkey
You did not specify a version, so I am assuming oracle81 here. In Oracle8i and
previous, you cannot directly insert a blob. You must do the insert minus the blob
data (using an empty lob), then select the blob column for update.
Typically this involves:
1) Insert using
1)you're going to have to download and install JDeveloper
http://otn.oracle.com/software/products/jdev/index.html
The nice thing about JDeveloper is you can create a WebTier/Struts from
File/New
2)then read up on the Oracle Blob manipulation
Am Dienstag, 23. Dezember 2003 15:43 schrieb Claire Wall:
hi,
Oracle is different from other databases when it comes to LOBs
due to the LOB locator concept. IIRC you have to use the Oracle JDBC
extensions for that (oracle.jdbc.*). Some links that may be helpful:
You have to insert the record using an empty LOB, then select the record for
update and write the byte stream to the LOB.
Here's an example insert method from my DAO that I used for the same purpose
recently.
Might not be the most efficient or prettiest code out there, but it works
like a
FWIW, that approach will work as long as the data is not larger then the limit (which
escapes me at the moment, but I believe its something like 4K).
-Original Message-
From: Christian Bollmeyer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 10:07 AM
To: Struts Users
hi,
is there a way to find out the database driver that is being used in my struts action
classes?
the reason for wanting to be able to do this is that i would like to structure my
class so that, depending upon the driver being used (or alternatively, type of
DataSource) i could either write
cheers!
i got it fixed now :) that one was causing me major headaches.
- Original Message -
From: Nicholson, Robb [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 4:10 PM
Subject: RE: converting a FormFile to a Blob object
You have
connection.getMetadata().getDriverName()...
-Original Message-
From: Claire Wall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 10:14 AM
To: Struts Users Mailing List
Subject: determining the database driver in actions
hi,
is there a way to find out the database driver
if(DriverObject.getName()==org.gjt.mm.mysql.Driver) perform mySQLLogic;
Is this what you're looking for??
Martin
- Original Message -
From: Claire Wall [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 9:43 AM
Subject: converting a FormFile
cheers Steven!
- Original Message -
From: Ebersole, Steven [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 4:17 PM
Subject: RE: determining the database driver in actions
connection.getMetadata().getDriverName()...
-Original
NP. A word of caution... If you are using a container datasource, most of them wrap
the underlying jdbc connections in their own connection implementations.
Just an FYI, as the driver name may not come out like you expect...
-Original Message-
From: Claire Wall [mailto:[EMAIL
Thanks for the heads up, I havn't been using any 'instance' variables.. but
I was getting a little confused reading about all the woe's of threads and
why my stuff appeared to be working =) Makes more sense now.
thanks!
-David
- Original Message -
From: Craig R. McClanahan [EMAIL
Is it possible to create any kind of a Dynamic Error using the ActionErrors
framework? IE put a $1 or something in the application.properties file on
the error you want to use then parse and replace it? Gets annoying having
to make a zillion static errors to display.
Cheers,
David
François,
Show us your Action class. From your struts_config, it
seems like you are in al loop in that you forward to
the same action that is your input. How does the user
ever get past this action?
-Richard
--- François_Richard [EMAIL PROTECTED] wrote:
no one have an idea !!
my ActionForm :
Am Dienstag, 23. Dezember 2003 17:12 schrieb Ebersole, Steven:
FWIW, that approach will work as long as the data is not larger then
the limit (which escapes me at the moment, but I believe its
something like 4K).
No? Admitting we didn't actually test with file sizes beyond 150MB.
-- Chris.
Howdy all!
I was considering employing a Master Action Class from which I could inherit smaller
action classes in order to make effective use of shared code. However, I want to
ensure that the code remains thread-safe. Here's an example of what I was considering:
public abstract class
That is what I resorted to ultimately (the dirty way I guess). The issue
here is that the formatting of the attribute is dictated by a config
file, saying which ones will be upper case and which ones will be
lowercase. Hence I was initially trying with the CSS style attribute on
html:input (text)
there are 2 actions and one jsp, one action to load the page (list of
society) from the database and the other to submit changes (creation,
modification and suppression). In all circumstances (error or not) the
user returns to the list of society (via the action).
Note : the synchro works fine
Quoting Nifty Music [EMAIL PROTECTED]:
Howdy all!
I was considering employing a Master Action Class from which I could
inherit smaller action classes in order to make effective use of shared code.
However, I want to ensure that the code remains thread-safe. Here's an
example of what I
Generally, CSS (such as text-transform) will alter the visual
display/rendering of HTML, but will not mess with the actual internal (to
the browser) representation. Thus, I would consider it 'correct' that
'text-transform: uppercase', when applied to an HTML input field with
lowercase text in
I'm trying to follow the example provided by the struts-upload app, but
for some reason, the struts-upload app doesn't appear to work! I just
dropped the struts-upload.war in my Tomcat's webapps directory, I get
the upload.jsp page, but when I submit, I just get a blank page, with no
output to
You could also try
if (connection instanceof OracleConnection) {...
This should work to determine if you have a connection which supports Oracle
extensions, which is what you are testing for.
Ed
- Original Message -
From: Ebersole, Steven [EMAIL PROTECTED]
To: Struts Users Mailing
Thanks Craig! You certainly confirmed my suspicions, although I would have guessed
that I could've gotten away with sharing the SimpleDateFormat variable since it
wouldn't depend on any values coming in from request objects. Could you perhaps shed
some light on why it wouldn't make sense to
Would have agreed with you if it had not worked for both the case. What
was confounding was that it worked for one of the field and not for the
other. I would assume will not mess with the actual internal (to the
browser) representation that it would not mess at all. But it's
messing.
Martin,
Does JDeveloper work with any database or just with Oracle ?
Marcus
Em Ter, 2003-12-23 s 18:53, Martin Gainty escreveu:
1)you're going to have to download and install JDeveloper
http://otn.oracle.com/software/products/jdev/index.html
The nice thing about JDeveloper is you can
The approach of just using ps.setBlob(actualBlobObject) in the original
insert has the limit of 4k.
The code in my sample (inserting record with empty BLOB, selecting for
update, get pointer to BLOB, and write byte stream to that) will work for
bigger files.
I think the first approach above is
Hi all, I'm using the html struts tags to do some url writing for me, with
forms etc. I have tomcat setup to listen on port 8080, but its proxyPort
attribute is set as 80, and i have forwarding on the machine so requests
come in on 80 get routed to 8080. Then whenever you call
Any reason why you can't setup Tomcat to listen on port 80, instead of
forwarding the requests? That's how my dev/test env is setup, and it
seems to do the trick :)
David Erickson wrote:
Hi all, I'm using the html struts tags to do some url writing for me, with
forms etc. I have tomcat setup
David
try this solution From Gogeneni Pratima:
errors.add(ActionErrors.GLOBAL_ERROR, new
ActionError(view.construction.error, e.getMessage()));
in the application.properties you should have:
view.construction.error=liCould not construct view because: {0}/li
e.getMessage() is substituted
Check if the file you're uploading exceeds the limit set in the struts-config
file. I think a blank page is what I got when I did that on my tests.
Hubert
--- Brice Ruth [EMAIL PROTECTED] wrote:
I'm trying to follow the example provided by the struts-upload app, but
for some reason, the
Ya thats how my test env is setup as well.. but in a linux environment that
requires running tomcat under root access.. I'd rather avoid that so I have
a tomcat user setup to run it, with the side effect it can only bind to
ports 1024.
-David
- Original Message -
From: Brice Ruth [EMAIL
It seems like the field to specify the file path to save the file to was
supposed to include the desired file name, not just the directory, that
seems to have been the problem ... I think multiple versions of
commons-fileupload in my Tomcat classpath were screwing things up, too ...
Hubert
Martin,
Bingo, just what I was looking for, thanks!
-David
- Original Message -
From: Martin Gainty [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 5:10 PM
Subject: Re: Dynamic Errors with/Action Error?
David
try
Marcus
doc
Registering a New Third-Party JDBC Driver
If you plan to use a third-party JDBC driver, register it with JDeveloper so
that it will be available when you define the connection.
To register a new third-party JDBC driver:
From the main menu, choose Tools | P references.
In the
ah, that makes sense.
David Erickson wrote:
Ya thats how my test env is setup as well.. but in a linux environment that
requires running tomcat under root access.. I'd rather avoid that so I have
a tomcat user setup to run it, with the side effect it can only bind to
ports 1024.
-David
-
Martin,
Thank you very much. I tried to use JDeveloper some time ago but I gave
up because I didn't find a way to use it with MySql. Now I'll try again.
It's a fantastic tool.
Marcus
Em Ter, 2003-12-23 s 22:20, Martin Gainty escreveu:
Marcus
doc
Registering a New Third-Party JDBC Driver
Quoting Nifty Music [EMAIL PROTECTED]:
Thanks Craig! You certainly confirmed my suspicions, although I would have
guessed that I could've gotten away with sharing the SimpleDateFormat
variable since it wouldn't depend on any values coming in from request
objects. Could you perhaps shed some
What if the SimpleDateFormat variable is declared as final and/or static?
Thanks,
Matt
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]; Nifty
Music [EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 2:35 PM
Subject: RE:
On Sunday 09 November 2003 08:37 pm, [EMAIL PROTECTED] wrote:
Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.
I'm working for my owner, who can be reached
at [EMAIL PROTECTED]
To confirm that you would like
[EMAIL PROTECTED]
added to the struts-user
Matt,
It doesn't matter. Since the internal implementation of DateFormat uses
internal instance variables, it is not threadsafe. If two different threads
access the same SimpleDateFormat.format method, there is the possibility of
the formatted result to be incorrect due to the fact that the
Matt,
A final declaration just means that the reference can't be changed to a
different SimpleDateFormat instance. A static declaration just means that
there is one instance of the variable for all of the instances of the class.
Neither modifier affects how the SimpleDateFormat uses internal
OK, I understand now. That makes sense. Thanks for your help, Craig
Richard!
Matt
- Original Message -
From: Yee, Richard K,,DMDCWEST [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 3:37 PM
Subject: RE: Example of a non-threadsafe
Hi All,
Please help, I am getting the following error message:
Unable to connect to host: jakarta.apache.org
in the line:
!DOCTYPE form-validation PUBLIC
-//Apache Software Foundation//DTD Commons
Validator Rules Configuration 1.0//EN
Quoting Sgarlata Matt [EMAIL PROTECTED]:
What if the SimpleDateFormat variable is declared as final and/or static?
How it's declared makes no difference at all. Whether you attempt to use the
same instance simultaneously from more than one thread makes all the
difference.
Craig
Fyi, the infonoia.com Struts class in Geneva's (w/ Cedric the tiles
creator) students get a book the covers how to get around this the right
way!
See the Wolfgang post.
.V
Sgarlata Matt wrote:
OK, I understand now. That makes sense. Thanks for your help, Craig
Richard!
Matt
- Original
Hi Craig,
Continue with the thread safe issue:
how about Log class? I understand that log4j itself is
thread safe (unlike DateFormat) - but I see a lot
examples that log4j logs are used as instance varibale
public final class MyAction
{
private Log log =
Quoting Warren Chen [EMAIL PROTECTED]:
Hi Craig,
Continue with the thread safe issue:
how about Log class? I understand that log4j itself is
thread safe (unlike DateFormat) - but I see a lot
examples that log4j logs are used as instance varibale
public final class MyAction
{
Craig, Thanks a lot! no more questions! so glad to
know that my understandings are correct.
is there a duke dollar thing we can use here :) ?
Happy Holidays!
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
Quoting Warren Chen [EMAIL PROTECTED]:
Hi Craig,
Continue with the thread
My JSP provides several text fields for visitors to
fill out. And my form bean stores those information;
for example:
public String getThreadTopic() {
return threadTopic;
}
public void setThreadTopic(String threadTopic) {
this.threadTopic = threadTopic;
}
However, I have to supply a number of additional
properties for the business tier to process. For
example, the property threadType is to be assigned to
zero manually and the property parentPostID is to be
found from another class, how do I code them in the
form bean? Do I use get methods
Thank you for your response.
According to my understanding of your advice, if I
want to pass a hidden field from JSP to a form bean, I
must have name=myFormName in the JSP's html:hidden
tag? Please confirm.
Another additional property that is to be assigned a
value in my form bean is now
Thank you for your response.
According to my understanding of your advice, if I
want to pass a hidden field from JSP to a form bean, I
must have name=myFormName in the JSP's html:hidden
tag? Please confirm.
From the docs:
The attribute name of the bean whose properties are
Hi,
Can anyone send me a sample file Upload program.
Regards,
Ginu
-
Do you Yahoo!?
Yahoo! Photos - Get your photo on the big screen in Times Square
Why won't you use the struts-upload.war from the Struts distributions?
Regards,
David
-Original Message-
From: Jacob Ginu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 9:48 PM
To: [EMAIL PROTECTED]
Subject: reg:File Upload
Hi,
Can anyone send me a sample file Upload
Hi,
This is the sample code I am using in the action.java file.I have the necessary struts
file.But it says Unable to find ServletActionContext in MultipartRequestWrapper when
compiled.
MultipartRequestWrapper multiWrapper =
(MultipartRequestWrapper)
1 - 100 of 105 matches
Mail list logo