2009/12/1 Saeed Iqbal :
> It totally depends on your needs.
>
The only reason we would like to use is that we want to use OGNL
in href. For example,
Link
If we can use would be cleaner. Any suggestion?
Cheers,
Henry
> On Wed, Dec 2, 2009 at 1:14 PM, Henry Jen wrote:
>
>&g
2009/12/1 Henry Jen :
> Thanks for the prompt reply, but document in 2.1.6 and 2.1.8 doesn't
> say that, though It does say it works with simple theme but works best
> for ajax.
>
> 2.1.6 works, so I am wondering if there is a quick way to make it work
> for 2.1.8.
>
M
gt; http://struts.apache.org/2.0.8/docs/a.html says
> *THE FOLLOWING IS ONLY VALID WHEN AJAX IS CONFIGURED*
>
> On Wed, Dec 2, 2009 at 12:57 PM, Henry Jen wrote:
>
>> 2009/12/1 Saeed Iqbal :
>> > Is your Ajax configured?
>>
>> Sorry for my ignorance, we don't use ajax
2009/12/1 Saeed Iqbal :
> Is your Ajax configured?
Sorry for my ignorance, we don't use ajax with struts, not sure what
need to be configured. Would you shed some light for me?
Cheers,
Henry
>
> On Wed, Dec 2, 2009 at 12:45 PM, Henry Jen wrote:
>
>> Hi,
>>
>>
Hi,
I updated our project using 2.1.6 to 2.1.8.1 and surprised to find
that tag breaks the application.
An example is
Login
renders to in 2.1.8.1
When I looked into the simple template, seems like the change in a.ftl
and a-close.ftl is causing this.
In 2.1.8, the a.ftl basically moved into a-
In comparison of the two; namely, JSTL and Struts2
tags, which one is better?
In between JSTL and Struts1 tags, I prefer JSTL. When
using JSTL, I feel that I am programming. I would
like to gather some opinions. Thank you.
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Heidy Gutiérrez Guzmán
Can we use JUnit to test Struts 2 Action without
having the server launched? Thanks for advice and
guidance.
--- Caroline Jen <[EMAIL PROTECTED]> wrote:
> Does the Struts2 integrate with other open source
> products; such as DWR, JMOCK/J
Does the Struts2 integrate with other open source
products; such as DWR, JMOCK/Junit testing?
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
http://advision.webevents.yah
I am working on an application that uses the Struts
framework at the web tier. The application has many
function like: place purchasing orders and take
inventories functions.
We do not have the ability to bring in SAP.
What are the alternatives? Has anybody used the
Apache's OFBiz? Is it eas
Hi Andrew,
I ran into similar problems. Anoter developer on
the team wrote a tag. It extracts the paging
information and goes to the database table to find out
the total number of records.
The tag retrieves and displays only "the first
set" of records in accordance with the paging
spec
; targeted at those who keep more up to date with tool
> versions.
>
> -----Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 20, 2006 9:33 AM
> To: user@struts.apache.org
> Subject: [OT]Does Exadel Studio Support IBM RAD?
>
&g
I used the Exadel as Struts development tool before
and liked it. At that time, my IDE was Eclipse.
Now, I have to use IBM RAD as IDE. Does the Exadel
support RAD?
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Are there books available on Struts 2? or any newer
versions of Struts?
Thanks for the information in advance.
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
on with the
> "old" style or switch to
> > JSF,
> > I think this decision will be up to you. I think
> that both approach will
> > live side by side for the foreseeable future.
> >
> > Martin
> >
> >> -Ursprüngliche Nachricht-
> >> Von: Ca
Hi, can we still expect newer versions of Struts in
the future? Or the Struts is no longer an onging
project and JSF is the replacement?
Could anybody provide some information about it?
Thank you.
Do you Ya
It so happened that I have to do something for some of
my postings that have been archived. Can somebody
show me to way to proceed? I may have to contact the
owner of the forum to take care of the matter.
Thanks in advance.
-Caroline
_
You may consider to use the Business Rules Engine
-CJen
--- Aftab Vhora <[EMAIL PROTECTED]> wrote:
> Hi Frnds,
>
> I m developing one application using struts, in that
> I want to set the
> access level.
>
> Like Admin shd hv access to all the links, some A
> group should hv access
> to cert
Context ctx = new InitialContect();
DataSource ds =
(DataSource)ctx.lookup("java:com/env/jdbc/DBName");
Connection con = ds.getConnection();
--- Scott Van Wart <[EMAIL PROTECTED]> wrote:
> temp temp wrote:
> > My java standalone application wants connection to
> database with lookup to datasourc
When a session ends, all data submitted have to be
cleared.
My form bean is in a session. I want to re-use the
submitted data during the session.
It seems that if I have the 'reset' method in my form
bean, the submitted data are lost when I want to
re-use the data.
What are the differences be
1. Each element in a document must have a unique id.
This element is then accessed in script using
document.getElementById().
e.g. ... -->
document.getElementById("myP")
If more than one element has the same id and you try
to use that id
with document.getElementById(), the method doesn't
know w
I am using the Struts validation.xml to check if
clients leave any of the required text fields in the
form blank.
I prepared two action mappings for this web page. The
'validate'attribute is set to "false" for the first
action mapping because when I have the web page
displayed in the browserat th
I display a List of objects.
Because the List can be very long, I use a pagination
tag library to display my long list 10 at a time.
This taglib is not a front-end one. The taglib makes
a trip to the back end to retrieve the next 10 records
from the database when the next pagination link is
cl
I use the Struts validation.xml to make sure that
users do not leave any of the text fields in the web
page blank.
The complications come. All text fields are
properties of an object. The "form" that is
associated with the action mapping has only the getter
and setter of that object 'selectedATS
u need
> to write some
> Javascript to do so. Or you can use a regular submit
> button rendered
> as a link (use CSS for that) and submit the form
> with GET method.
>
> On 7/19/06, Caroline Jen <[EMAIL PROTECTED]>
> wrote:
> > But, it does not work even I changed
FirstName is the property of a text field is not
picked up.
--- David Friedman <[EMAIL PROTECTED]> wrote:
> Dear Caroline Jen,
>
> I thought people only used the "html-el" taglib
> because their JSP container
> didn't natively support EL? That wo
r and see what is sent from
> browser when you submit
> a form. If you use Firefox, get Live HTTP Header
> extension.
>
> On 7/19/06, Caroline Jen <[EMAIL PROTECTED]>
> wrote:
> > I am not talking about submit a JSP, perform some
> > action, and return a JSP.
; On 7/19/06, Caroline Jen <[EMAIL PROTECTED]>
> wrote:
> > I must have done someting wrong.
> >
> > I tried to pass the value entered in a textfield:
> >
> >
> > to a link this way:
> > var="ascFirstName">
> > > va
I must have done someting wrong.
I tried to pass the value entered in a textfield:
to a link this way:
and in my action class, I have
String firstName = request.getParameter(
"searchFirstName" );
I tried to print out the firstName, I got a blank!
Please advise what went wrong.
___
I hope this link
http://www.learntechnology.net/struts-token.do
could be of some help.
--CJen
--- priyadarsh kankipati <[EMAIL PROTECTED]>
wrote:
> Thanks Krishna for your suggestion. Can you please
> elaborate on your suggestion?
>
> Thanks Robert for your suggestion.
> But I think this
Hi Laurie,
Thanks for your continuing support.
The code that I showed was correct.
It turned out that the problem stems from
somewhere else. I apologize for wasting your time.
-Caroline
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> Caroline Jen wrote:
> &g
In my JSP, I passed a number of parameters inside the
JSTL core c:url tag. This is the way I coded:
Click
How do I retrieve the respective values of param1 and
param2 in MyAction.java?
String parameter1 = request.getParameter( "param1" );
String parameter2 = request.getParameter( "param2" )
Thanks for your attention to my problem.
If there is a bug, what is the get around of my
problem?
--- Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> This is a helpful advice, I always use "name"
> explicitly. But in this
> case this is not it. According to FormTag.java
> source code:
>
> === cu
Jouravlev <[EMAIL PROTECTED]> wrote:
> Would be nice to see your and
> definitions.
>
> On 6/29/06, Caroline Jen <[EMAIL PROTECTED]>
> wrote:
> > Yes, the second form is defined inside
ave refer to a form bean in the
> "selectUsers"
> action mapping.
>
> On 6/29/06, Caroline Jen <[EMAIL PROTECTED]>
> wrote:
> > Ed, your suggestion makes sense.
> >
> > I have created a second form on the page by adding
> > before
> the
&g
ate form
> 'widgets' must be between
> and .
>
> What you probably need to do is to create a second
> form on the page by
> adding
> before the
> and change the to
> followed by
>
>
> HTH,
> -ed
>
> On 6/29/06, Caroline Jen <[EMAIL P
My worked fine. But if the
... come before
the , I got the runtime JSP
error: "cannot find bean:
"org.apache.struts.taglib.html.BEAN" in any scope".
The complaint points specifically to the
.
The getter method for selectedUsers[0].selected can no
longer be recognized.
I need help because I r
> collect form data.
> 2) Use regular submit button, use CSS to display it
> as a link.
>
> On 6/27/06, Caroline Jen <[EMAIL PROTECTED]>
> wrote:
> > I am working on a JSP written in JSTL and html-el
> > tags. The JSP is displayed fine.
> >
> >
I am working on a JSP written in JSTL and html-el
tags. The JSP is displayed fine.
This JSP has a table. Each row of the table has a
checkbox. Clients may select any number of the
checkboxes and click on a link to invoke a Struts
action.
I would like to pass the checkbox and every column of
ea
I have a JSP and there are a link (it invokes an
action) and a form (the form has a submit button). My
struts-config.xml looks like:
[code]
[/code]
My JSP works well
Wendy,
Thank you very much for your help. Things are
working OKay now.
--Caroline
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> On 6/25/06, Caroline Jen <[EMAIL PROTECTED]>
> wrote:
>
> > I think that I should find the JAR for loading the
> > html-el tag
Hello, I downloaded the struts-html-el-1.2.8.tld and
dropped it in my Elipse workspace under the
WebContent/WEB-INF/tld directory where other
struts-html.tld, struts-logic.tld, etc. are.
In my JSP, I have
<%@ taglib uri="http://struts.apache.org/tags-html-el";
prefix="html-el"%>
where http://st
Are there JSTL equivalents to
1. or
2. or
3. or
I am able to display a table using all JSTL tags.
Now, I have add additional features to the table. I am
unaware of the JSTL equivalents of the aforementioned
Struts tags.
Thanks for your help.
_
I am able to display a List of object returned from
the database using the Struts tags:
[code]
.
<%@ page import=".common.pojo.user.User" %>
<%
List user =
(List)request.getAttribute("Users");
pageContext.setAttribute("Users", user);
%>
.
.
The Java "types" of the properties in my form bean
sometimes are not the same as those of the data fields
in my database.
The request.getParameter(); always return a String. I
can use the copyProperties() method of the BeanUtils
to convert all the String(s) read from the web page to
proper Java "
The Struts has built-in e-mail validation, which can
be found in the commons-validator.jar.
--- Bart Busschots <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Your regular expression on the mask would seem to be
> problem. I presume
> you want it to match words that contain no = rather
> than what you ha
I am using the Struts.
I am prepaing URIs so that previous web pages that
users have navigated though can be re-constructed and
displayed to users.
For example, one of the web pages has the below
showing in the address bar:
http://localhost:9080/tf/ntts/entity/editPersonEntity.do?cancelForwardNa
I posted the question earlier and thanks for many
respondents took time to answer my question.
While double submission is one of my problems, my
focus has been on this particular one if users click
on the browser "Back" button:
WebPage A1 --> WebPage A2 --> WebPage C
WebPage B1 --> WebPage B2 -->
I posted the question earlier and thanks for many
respondents took time to answer my question.
While double submission is one of my problems, my
focus has been on this particular one:
WebPage A1 --> WebPage A2 --> WebPage C
WebPage B1 --> WebPage B2 --> WebPage C
There is no problem to close the
There is a J2EE application I am working on. The
application uses the Struts framework. Things are
working fine.
If users use the "Close" button that is provided by us
(developers), the current web page closes and the
previous web page is displayed orderly and properly.
But, we are getting in t
I have seen some discussions on this forum regarding
action chaining. Primarily, the advices are to think
through the business logic before making decision on
chaining actions.
What are the disadvantages of action chaining? Why
action chaining is not a good practice?
__
Both the jsp:include tag and the Struts tiles can
incorporate dynamic resources into the current JSP.
Is there rule of thumb that one is preferable over
another?
Thanks for guidance.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam p
I am able to show a image in the web page; say, page
A, when the page is first loaded. To load the image,
I specified something like:
[CODE]
[/CODE]
After drilling down the hierarchy of the web site
(i.e., navigating further) and then coming back to
page A, the same image at the same place in pag
I have found taglibs to do breadcrumb trails for
servlet and JSP technology.
Is there breadcrumb trails code available for the
Struts technology? I mean that I plan to create a
list of links that has a horizontal orientation on a
web page. It shows users where they are in the
hierarchy of a site
I am very sorry, Dave, for taking up your time.
I have found the problem. The problem is not the
FIELDSET. The problem is caused by something else in
that web page.
My apology.
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> Caroline Jen wrote:
> > Instead a horizontal
&
I put a FIELDSET (i.e., the ) around a
'table'.
I (as a developer) am viewing a 1280*1024 screen.
Everything looks fine. The FIELDSET (a thin line box)
is drawn along the right and left edges of the screen.
Because most of the users have a screen size of
1024*768.
When I adjust the screen p
I have a web page with many toggling (on/off) links.
Every time the page is reloaded, I would like to show
the default page with the toggle at the 'off' state.
How do I do it?
I am very thankful for ideas.
__
Do You Yahoo!?
Tired of spam? Yahoo!
Hello, thanks to all for the help given.
My web page has many nodes. Each of them represents a
treeview "expand (i.e., + )" and "collapsed (i.e., -).
Therefore, a Collection can be either collapsed or in
collapsing state if that Collection is not empty. If
users want to collpase a Collection, t
Hello, thanks to all for the help given.
My web page has many nodes. Each of them represents a
treeview "expand (i.e., + )" and "collapsed (i.e., -).
Therefore, a Collection can be either collapsed or in
collapsing state if that Collection is not empty. If
users want to collpase a Collection, t
Thanks a lot, Daniel. border="0" works!!!
--- "Kalcevich, Daniel" <[EMAIL PROTECTED]>
wrote:
> Try specifying border="0" on the image tag.
>
> -----Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Thursday,
I am trying to display an image. The image is
displayed successfully; however, there is a box (I do
not have a clue where the box comes from) surrounding
the image. I cannot get rid of the box.
The image is a link; therefore, it leads me to think
that the box may be the 'underline' of the link (
ou
> > would need to do bring it out of the request or
> session scope first,
> > something like:
> >
> > name="ActivityForm"/>
> > <%=activityForm.getBusinessCollection().size() %>
> >
> >
> >
> > On 3/9/06, Wendy Smoak &l
t; Using your scriptlet example
>
> <%= ActivityForm.getBusinessCollection().size() %>
>
> Or there is a struts tag to retrieve size
>
> property="businessCollection"/>
>
>
>
> On 3/9/06, Caroline Jen <[EMAIL PROTECTED]>
> wrote:
> &g
I am trying to display 'counts' in a Collection. And
I use JSP scriptlet to do it:
<%=businessCollection.size()%>
The compiler cannot recognize the Collection
'businessCollection'. It is because
businessCollection is defined in the
ActivityForm.java.
When I tested whether businessCollection is
I have a Collection called 'remarks'. I can use the
or tags to test out if
the Collection has some elements in it or not.
1. Is there any tag I can use to test the size value
of that Collection to be zero or greater than zero?
Or I have to use the Java code in my JSP page?
2. Is there any tag
On 3/3/06, Michael Jouravlev <[EMAIL PROTECTED]>
> wrote:
> >
> > On 3/3/06, Caroline Jen <[EMAIL PROTECTED]>
> wrote:
> > > When using HTML, I can get rid of underlining by
> > >
> > > A:link {text-decoration:none}
> > >
> >
Thanks for your reply.
I went to the URL that you gave to me; but still do
not know how to use them.
For example, if I use , how do I do the same? If
you could give an example?
--- Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> On 3/3/06, Caroline Jen <[EMAIL PROTECTED]>
&g
When using HTML, I can get rid of underlining by
A:link {text-decoration:none}
When using in Struts, how do I get rid of
the underlining of the link?
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.y
Hi!
I'm a student at Rensselear Polytechnic Institute and working on my senior
seminar project for my Mater's degree in Computer Science. I am trying to
compare the Spring and Struts frameworks in the area of extensibility. I have
prepared a short survey at:
http://www.createsurvey.com/c/31128-0
I am trying to arbitrarily type in some values for a
datatable that is coded using JSF. I am new to the JSF
and please help me.
1. Do I set it correctly (see the code below)?
2. I have to hard code some data in the that I create. How do I do it (i.e. how do I
modify the code shown below)?
My pre
I start using the JSF. But, I cannot find the place
where I can join the discussion of JSF at the
jakarta.apache.org. What is the exact URL? Please help.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mai
I have a list of records to render to a web page. I
provide a checkbox to each record in that list for
users to make multiple selections.
My list of records can be very long. And each record
can contain many columns. Therefore, the list will be
displayed in a kind of pane with a vertical scroll ba
I use the NOT EMPTY to do the testing. I have
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
at the top of my JSP file.
But, I got an Internal Server Error 500 problem (The
log is shown after my code snippet.) I am unable to
see the problem with my tag.
.
No
Failed Log-in So
I am working on a big J2EE project. The project is at
its initial stage. The leaders of the project have not
quite made up their mind on whether we are going to
use the Struts framework or JSF. But, all members of
the team think that we should start coding.
Is it possible to use the Struts framewo
I have used the getParameter() to retrieve data from
web page text fields. No problem so far.
Now, I have a web page that has a number of text
fields. In addition, the JavaScript is used in this
web page to pop-up another window for users to enter
more data in some text fields and a textarea.
There are many tools that help developing the Struts;
for example, EasyStruts, StrutsConsole, StrutsBox.
We also have the NitroX, Lomboz, etc. that help
debugging.
Is there any tool available for JSF?
__
Celebrate Yahoo!'s 10th Birthday
What are the changes that you made to the web.xml
file? What kind of the struts-config.xml you created?
Show us those files so that we are able to help.
--- K Rajesh <[EMAIL PROTECTED]> wrote:
> I am new to struts.i bought struts complete
> reference book.
> i tried one MiniHR Application. but is
I am building a Struts application using the Eclipse.
The NitroX, which can be found at
http://www.m7.com
looks like a neat JSP debugging tool. I have
downloaded the NitroX JSP Editor (free) and the NitroX
for Struts IDE (trial for 15 days).
How do I set up the NitroX in the Eclipse to work with
Jack,
I would like to have it. Thanks.
e-mail: [EMAIL PROTECTED]
-Caroline
--- Dakota Jack <[EMAIL PROTECTED]> wrote:
> I have 50 gmail invites, if anyone wants one.
>
> Jack
>
> --
> "You can lead a horse to water but you cannot make
> it float on its back."
> "Heaven has changed
A Map is a class that stores key-value pairs and
provides a way to locate a value based on the key.
The Hashtable class is a synchronized implementation
of the Map interface.
The HashMap is better in terms performance because the
hashing algorithm it uses. The Hashtable is
synchronized so perfo
What are the differences among ValidatorForm,
DynaValidatorForm, and DynaValidatorActionForm? And
when to use each of them?
__
Do you Yahoo!?
Dress up your holiday email, Hollywood style. Learn more.
http://celebrity.mail.yahoo.com
---
What could lead to a run-time error such as:
[ServletException in:/frame/content/content.jsp]
Exception creating bean of class
org.dhsinfo.content.AddFileForm: {1}'
The strange thing is that the application worked
without any problem before. I did not touch anything.
I re-ran the application a
the checkboxes, the jsp will read the bean
> and display only the
> checkboxes that have a corresponding true value.
>
> In the action that saves the data from this page,
> process only those
> checkboxes that were displayed.
>
> Wiebe
>
> -Original Message-
The puzzle relates to displaying check boxes (checkbox
or multibox).
What I have are members who belong to professional
groups and sub-groups. E.g.,
Group A with sub-groups A-1, A-2, A-3, A-4.
Group B with sub-groups B-1, B-2, B-3
Group C with sub-groups C-1, C-2, C-3, C-4, C-5, C-6
etc.
web si
ld like to put those properties files in a
folder; say, WEB-INF\classes\resources directory, is
there any way to do it?
--- Caroline Jen <[EMAIL PROTECTED]> wrote:
> I tried:
>
> final String PROPFILE =
> "storageDirectory.properties";
> Properties oProp =
---
> Hiran Chaudhuri
> SAG Systemhaus GmbH
> Elsenheimer Straße 11
> 80867 München
> Phone +49-89-54 74 21 34
> Fax +49-89-54 74 21 99
>
>
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> &
The application.properties file in my web application
works OKay.
I have another file called
storageDirectory.properties, which has one line:
outputFile =
C:\\jakarta-tomcat-5.0.27\\webapps\\AppName\\var\\
I set my classpath to
C:\jakarta-tomcat-5.0.27\webapps\AppName\WEB-INF\src\java
One of my
Now, I have this situation: While the web application
is running, I need a place to store an uploaded file
temporarily and then write this file out.
Where is the proper place to create a directory to
store a temporary file?
Is any place in the application OKay?
A property in my form, 'theFile',is of the
org.apache.struts.upload.FormFile type.
In my struts-config.xml file, do I still give a
java.lang.String type:
and then use the BeanUtils.copyProperties( ... ) in
the Action to convert it to the FormFile type?
Do you have the statement below toward the very end of
the struts-config.xml file?
-Caroline
--- PC Leung <[EMAIL PROTECTED]> wrote:
> Can anyone give me a simple enough example
> so that I can modify my little app of using Tiles?
>
> my little app has basic tiles conf
I have a form with a drop-down menu in it. The
drop-down menu is created using the tag.
Everything displays well this way:
-Select-
But, if I add this attribute;
ENCTYPE="multipart/form-data", in the tag like this:
I get this runtime error in the browser:
Attribute ENC
I have a web page that displays check boxes for user
to make multiple selection:
[code]
..
..
..
..
[/code]
For testing purpose, I made 6 selections of e-mail
addresses among all check boxes displayed, Those 6
e-mail addresses are my friends'.
Then, the SelectRecipientFo
Wendy said that "If you're talking about run-time file
creation or uploads... keep in mind that a webapp can
run unexploded from a .war file... in that case you
can't write to a directory within your webapp, because
it doesn't exist."
I do upload files from clients' PC and store those
files. Do
?
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Caroline Jen" <[EMAIL PROTECTED]>
> > I am using the Struts to build a web application.
> I
> > am going to store some files (the files can be
> .doc,
> > .txt, .pdf, .jpg, whatever) on the
e.
>
> Better yet (IMO), store them in the database as
> BLOBs so all your data
> lives at a single location. The decision depends on
> what use is given to
> those files (are they likely to be modified? ready
> only? etc)
>
> -Original Message-
> From: Car
I have selectRecipientsForm that extends ActionForm.
After the form is populated, I have this:
String[] to =
SelectRecipientsForm.getSelectedEmailAddresses();
I thought that it was the right way to get something
in the populated form; but, the compiler says that the
non-static method getSelected
I am using the Struts to build a web application. I
am going to store some files (the files can be .doc,
.txt, .pdf, .jpg, whatever) on the server; e.g.
somewhere in my web application.
Where is the proper and best place to store files?
$TOMCAT\webapps\MyApplication\
Thanks for suggestions.
I have been using the same utility class (JavaMail
API) to send e-mails. The code works OKay.
Now, instead of the
String toAddress
I have String[] toAddress =
selectRecipientsForm.getSelectedEmailAddresses();
will the same code works for sending batch e-mails?
--- Duncan Mills <[EMAIL PROT
I am submitteing a form. This form provides check
boxes for multiple selections. I am not using the
validation.xml to validate if "none" is selected.
Instead, I am going to use the validate().
1. Do I write this validate() in the form class that
extends the ActionForm?
2. how do I write this
tSelectedClients(String[] value) {
> selectedclients =
> value; }
>
> And add this to your form's reset method:
>
>selectedclients = new String[0];
>
> The effect of the above is to display a check-box
> for every client, and
> present/collect
I am able to create check boxes using HTML. But, I do
not know how to display check boxes in Struts.
Here is what I plan to do:
I have a JavaBean, which gets its properties populated
through database table query. For example, this
JavaBean has three properties; lastName, title,
emailAddress.
And
1 - 100 of 245 matches
Mail list logo