Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Henry Jen
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

Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Henry Jen
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

Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Henry Jen
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

Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Henry Jen
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, >> >>

Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Henry Jen
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-

Re: JSTL versus Struts tags

2007-04-18 Thread Caroline Jen
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

Re: Struts 2 and Other Open Source Products Integration

2007-02-05 Thread Caroline Jen
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

Struts 2 and Other Open Source Products Integration

2007-02-02 Thread Caroline Jen
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

[OT] Have You Used OFBiz? or Something Similar?

2007-01-05 Thread Caroline Jen
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

Re: Ideal solution to pagination (long lists)?

2007-01-04 Thread Caroline Jen
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

RE: [OT]Does Exadel Studio Support IBM RAD?

2006-12-21 Thread Caroline Jen
; 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

[OT]Does Exadel Studio Support IBM RAD?

2006-12-20 Thread Caroline Jen
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 Struts 2 Books?

2006-11-30 Thread Caroline Jen
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

Re: AW: Is the Struts Project Still Going On?

2006-11-27 Thread Caroline Jen
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

Is the Struts Project Still Going On?

2006-11-27 Thread Caroline Jen
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

ATTN: How to Contact the Owner of the Struts Forum?

2006-11-16 Thread Caroline Jen
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 _

Re: Setting Access Level

2006-10-05 Thread Caroline Jen
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

Re: [JAVA]How to get datatbase connection from lookup to datatsource name in a standalone java application

2006-08-24 Thread Caroline Jen
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

clear vs. reset

2006-08-10 Thread Caroline Jen
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

Re: two form one jsp

2006-08-01 Thread Caroline Jen
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

Conditional Validation

2006-07-29 Thread Caroline Jen
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

Pagination and Memorizing Marked Checkboxes

2006-07-28 Thread Caroline Jen
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

Validate Properties in a "List" of an Object

2006-07-27 Thread Caroline Jen
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

Re: How to Pass a Textfield Value as a c:param to a Link using c:url?

2006-07-19 Thread Caroline Jen
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

RE: How to Pass a Textfield Value as a c:param to a Link using c:url?

2006-07-19 Thread Caroline Jen
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

Re: How to Pass a Textfield Value as a c:param to a Link using c:url?

2006-07-19 Thread Caroline Jen
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.

Re: How to Pass a Textfield Value as a c:param to a Link using c:url?

2006-07-19 Thread Caroline Jen
; 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

How to Pass a Textfield Value as a c:param to a Link using c:url?

2006-07-19 Thread Caroline Jen
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. ___

RE: How to disable the submit button after first click

2006-07-14 Thread Caroline Jen
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

[SOLVED]Re: How to Retrieve Parameters Passed Along with c:url in a Struts Action Class?

2006-07-06 Thread Caroline Jen
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

How to Retrieve Parameters Passed Along with c:url in a Struts Action Class?

2006-07-05 Thread Caroline Jen
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" )

Re: html-el:checkbox No Longer Works If Preceded by html-el:form

2006-06-29 Thread Caroline Jen
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

Re: html-el:checkbox No Longer Works If Preceded by html-el:form

2006-06-29 Thread Caroline Jen
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

Re: html-el:checkbox No Longer Works If Preceded by html-el:form

2006-06-29 Thread Caroline Jen
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

Re: html-el:checkbox No Longer Works If Preceded by html-el:form

2006-06-29 Thread Caroline Jen
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

html-el:checkbox No Longer Works If Preceded by html-el:form

2006-06-29 Thread Caroline Jen
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

Re: How to Pass Client's Web Page Inputs to a Struts Action Link?

2006-06-27 Thread Caroline Jen
> 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. > > > >

How to Pass Client's Web Page Inputs to a Struts Action Link?

2006-06-27 Thread Caroline Jen
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

One JSP with an Action Link and a Form

2006-06-26 Thread Caroline Jen
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

[Issue Solved]Re: Unable to Load html-el Tags

2006-06-26 Thread Caroline Jen
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

Unable to Load html-el Tags

2006-06-25 Thread Caroline Jen
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

Mixing Use of Struts Tags and JSTL Tags

2006-06-23 Thread Caroline Jen
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. _

Why My JSTL Tag Cannot Do What Struts Tag Does?

2006-06-21 Thread Caroline Jen
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); %> . .

BeanUtils, Form Bean and POJO Bean

2006-06-17 Thread Caroline Jen
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 "

Re: Email validation doesn't work

2006-06-02 Thread Caroline Jen
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

What is the URI I Should Use to Provide a Link to Go Back to a Previous Web Page

2006-05-10 Thread Caroline Jen
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

Please Guide & Suggest - Handling User Clicks on the Browser "Back" Button

2006-05-08 Thread Caroline Jen
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 -->

Handling User Clicks on the Browser "Back" Button

2006-05-05 Thread Caroline Jen
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

What To Do If Users Use the Browser "Back" Button?

2006-05-04 Thread Caroline Jen
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

Is Action Chaining Strongly Discouraged?

2006-04-29 Thread Caroline Jen
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? __

jsp:include or tile

2006-04-11 Thread Caroline Jen
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

[OT]Loading Image Problem

2006-03-23 Thread Caroline Jen
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

Breadcrumb Trails

2006-03-23 Thread Caroline Jen
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

[Problem Solved]Re: [OT]FIELDSET and Screen Size

2006-03-16 Thread Caroline Jen
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 &

[OT]FIELDSET and Screen Size

2006-03-16 Thread Caroline Jen
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

[OT]Load the Default Page Everytime the Web Page is Reloaded

2006-03-14 Thread Caroline Jen
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!

Need Ideas: A Clickable Button/Link to Control All Links

2006-03-13 Thread Caroline Jen
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

Need Ideas: An Overall Clickable Button/Link to Control All Links

2006-03-13 Thread Caroline Jen
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

Problem Solved !!!RE: [OT]How Come My Image File is Surrounded by a Box?

2006-03-09 Thread Caroline Jen
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,

[OT]How Come My Image File is Surrounded by a Box?

2006-03-09 Thread Caroline Jen
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 (

(Problem Solved) Re: Display the Counts of a Collection that is in a Form

2006-03-09 Thread Caroline Jen
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

Re: Display the Counts of a Collection that is in a Form

2006-03-08 Thread Caroline Jen
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

Display the Counts of a Collection that is in a Form

2006-03-08 Thread Caroline Jen
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

How To Use Existing Tags to Test and Write Out the Value of the Size of a Collection?

2006-03-06 Thread Caroline Jen
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

Re: How To Get Rid of Underlining When Using

2006-03-03 Thread Caroline Jen
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} > > > > >

Re: How To Get Rid of Underlining When Using

2006-03-03 Thread Caroline Jen
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

How To Get Rid of Underlining When Using

2006-03-03 Thread Caroline Jen
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

Extensibility questions

2006-02-04 Thread Jen
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

[OT] How To Hard Code Data in JSF ?

2005-08-29 Thread Caroline Jen
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

What Is the URL to Join the Discussion of JSF?

2005-08-29 Thread Caroline Jen
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

(JSF question) Checkbox for Each Record in a List and Scroll Bars

2005-08-26 Thread Caroline Jen
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

Problem With NOT EMPTY Using the Tag

2005-08-24 Thread Caroline Jen
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

Is It Possible to Code Using Struts and JSF at the Same Time?

2005-03-30 Thread Caroline Jen
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

[OT]Pop-Up Window and getParameter()

2005-03-14 Thread Caroline Jen
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.

Is There a Tool for JSF?

2005-03-09 Thread Caroline Jen
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

Re: Help Me!!!!

2005-03-08 Thread Caroline Jen
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

[OT]Struts Application + Eclipse + NitroX

2005-02-18 Thread Caroline Jen
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

Re: [OT] Gmail Invites

2005-02-18 Thread Caroline Jen
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

Re: [OT]Hashtable Vs Hashmap, Vector Vs ArrayList

2005-01-11 Thread Caroline Jen
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

ValidatorForm, DynaValidatorForm, and DynaValidatorActionForm

2004-12-22 Thread Caroline Jen
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 ---

Exception creating bean of class org.dhsinfo.content.AddFileForm: {1}'

2004-10-27 Thread Caroline Jen
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

RE: Need Ideas for This Puzzle

2004-10-22 Thread Caroline Jen
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-

Need Ideas for This Puzzle

2004-10-22 Thread Caroline Jen
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

Re: OT: RE: Problem in Locating a properties File (Not application.properties)

2004-10-19 Thread Caroline Jen
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 =

Re: OT: RE: Problem in Locating a properties File (Not application.properties)

2004-10-19 Thread Caroline Jen
--- > 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] > &

Problem in Locating a properties File (Not application.properties)

2004-10-19 Thread Caroline Jen
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

Where Is a Proper Place To Store TEMPORARY Files?

2004-10-18 Thread Caroline Jen
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?

The Type of a Form Property is of org.apache.struts.upload.FormFile

2004-10-15 Thread Caroline Jen
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?

Re: Still cannot get it thru with Tiles

2004-10-15 Thread Caroline Jen
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

and Problem

2004-10-14 Thread Caroline Jen
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

ActionForm Does Not Pick Up the Value of Check Boxes

2004-10-14 Thread Caroline Jen
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

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Caroline Jen
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

Re: Where Is the Best Place To Store Files?

2004-10-13 Thread Caroline Jen
? --- 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

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Caroline Jen
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

The get() Method in the ActionForm

2004-10-13 Thread Caroline Jen
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

Where Is the Best Place To Store Files?

2004-10-13 Thread Caroline Jen
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.

Re: how to send batch emails

2004-10-13 Thread Caroline Jen
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

Write Own Validation Instead of Using validation.xml

2004-10-12 Thread Caroline Jen
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

Re: How To Display Check Boxes in Struts?

2004-10-08 Thread Caroline Jen
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

How To Display Check Boxes in Struts?

2004-10-05 Thread Caroline Jen
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   2   3   >