Newbie question - Sometimes Data Validation ?

2001-09-05 Thread Kurt McCaw
Hello: I have a simple scenario that I need help with. While a user is adding or editing information on a data entry screen (it is the same ActionForm and Action) - to click a button to save the information as the defaults for any subsequent new data entry screen. This saving of the default

AW: Confused about everything ... - I think now it's a problem with the ActionForm

2001-09-05 Thread Antonio Weber
Thank you very much !! Now it works, but now i have another problem. it's about the action form. when i call the action i get the error: No getter method for property Name of bean org.apache.struts.taglib.html.BEAN my class looks like this: import org.apache.struts.action.ActionForm; public

Re: AW: Confused about everything ... - I think now it's a problem with the ActionForm

2001-09-05 Thread Jean-Noel Ribette
If your method are getName() and setName(...) the property name is name without caps (javabean spec). I think you are using Name instead of name in your jsp. Jean-Noel At 09:15 05/09/2001, you wrote: Thank you very much !! Now it works, but now i have another problem. it's about the action

AW: AW: Confused about everything ... - I think now it's a problem with the ActionForm

2001-09-05 Thread Antonio Weber
Jeah you are right !! Damn fault ;) Thank you very much ! Antonio -Ursprüngliche Nachricht- Von: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. September 2001 09:24 An: [EMAIL PROTECTED] Betreff: Re: AW: Confused about everything ... - I think now it's a problem

Recommended way of generating tables...

2001-09-05 Thread Jeff Bannister
Hi, I am wanting to use Struts for a web application I must write, however on my first look at the HTML custom tag library I can see nothing to generate tables. This kind of tag exists on other tag libs I have seen such as Borlands Internet Beans Express, and I think this tag is vital. What's

Struts - acronym or not? - pls respond

2001-09-05 Thread Jose Correia
Hi all I thought this would be an easy question for those involved in the project. Doesn't anyone know the answer? TIA Jose Correia -- \=/, _-===-_-===-_-===-_-===-_-==-_ | @___oo ( )_ /\ /\ / (___,,,}_--=

Re: Recommended way of generating tables...

2001-09-05 Thread Jean-Noel Ribette
Hi Jeff, Struts tags are very simple, which allows you to do whatever you want with the HTML code. But you still need to write it. Another solution is to use the layout taglib I am working on. This taglib allows to design screens very rapidly without writing HTML code. You can have a look at

RE: problem with struts and EJB

2001-09-05 Thread Peter Pilgrim
Where can I find out more information about your ValueObjects What are the pros ? What are the cons? -- Peter Pilgrim | |++44 (0)207-545-9923 \ \ ___ / / ... . - ( * ) --- -- _Cafe_Savannah,_San

Persistence tier in web applications

2001-09-05 Thread Robert Taylor
Greetings, I was wondering if anyone was implementing the DAO design pattern using JDO. I am currently re-engineering a web application and plan to use Struts for the web tier and am looking for a non-J2EE solution for the business/persistence layer. I have done some cursory research on JDO and

Re: Struts - acronym or not? - pls respond

2001-09-05 Thread Ted Husted
Jose Correia wrote: I thought this would be an easy question for those involved in the project. Not. It's a reference to struts in the architectural sense. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 --

javax.servlet.ServletException: Cannot find bean element in scope null

2001-09-05 Thread christoph gapp
hi, know anybody who what´s wrong in the lines below?? i not! javax.servlet.ServletException: Cannot find bean element in scope null -- % java.util.ArrayList list = new java.util.ArrayList(); list.add(new

Re: Recommended way of generating tables...

2001-09-05 Thread Ted Husted
Struts is meant to be a lightweight framework to help you build Web applications. It is not meant to be an omnibus solution for all your Web development needs. It is expected that most developers will need to develop their own tags, and also use those from other sources like Jakarta Taglibs. At

Re: Newbie question - Sometimes Data Validation ?

2001-09-05 Thread Ted Husted
The ValidatorForm tags include a switch for skipping validation. It is usually used for CANCEL buttons, but should also work for what you are trying to do here. html:submit onclick=bCancel=true; bean:message key=button.saveDefaults/ /html:submit In your Action, you should be able

Re: Struts - acronym or not? - pls respond

2001-09-05 Thread Jose Correia
Thanks! Ted Husted wrote: Jose Correia wrote: I thought this would be an easy question for those involved in the project. Not. It's a reference to struts in the architectural sense. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716

Re: Struts - acronym or not? - pls respond

2001-09-05 Thread Torgeir Veimo
Jose Correia wrote: Thanks! Ted Husted wrote: Jose Correia wrote: I thought this would be an easy question for those involved in the project. Not. It's a reference to struts in the architectural sense. Struts means ostrich (the bird) in norwegian. The funny thing about

Re: Struts - acronym or not? - pls respond

2001-09-05 Thread Jose Correia
Classic! ;-) Torgeir Veimo wrote: Jose Correia wrote: Thanks! Ted Husted wrote: Jose Correia wrote: I thought this would be an easy question for those involved in the project. Not. It's a reference to struts in the architectural sense. Struts means ostrich (the

RE: problem with struts and EJB

2001-09-05 Thread nicolas bonvin
Peter, Sun Consulting just released a great book: Core J2EE Patterns - Practices and Design Strategies published by PH/PTR, which covers the presentation, business and integration tiers. Besides the examples, best-practices, patterns, strategies and refactorings covered in the book it gives

Re: what are different scope(s) available to define for a beaninstr uts-config.xml

2001-09-05 Thread Jonathan M Crater
http://jakarta.apache.org/struts/userGuide/building_model.html#javabeans Venkat Jonnalagadda wrote: what are different scope(s) available to define for a bean in struts-config.xml and how do it define themany examples...please... --Venkat.

Using the iterate tag

2001-09-05 Thread chiji nwankwo
Hi, I am try to use the iterate tag to display a list of strings on a page. The strings I am using have been initialized in an ArrayList. I want to be able to check how many strings are in the list so that I can display a certain amount on a number of pages. This is because I do not know how many

Re: indexed option does not work with html:checkbox

2001-09-05 Thread Marcelo Stefanelli Santos
Oswald This error msg. occurs because there is no attribute associated with indexed. Look at your struts-html.tld and you'll see (something like this): tag namecheckbox/name tagclassorg.apache.struts.taglib.html.CheckboxTag/tagclass attribute nameaccesskey/name requiredfalse/required

[OT] Getting file name of jsp file from tag handler

2001-09-05 Thread Taras Tielkes
Hi, I realize this isn't really specific to Struts. On the other hand, the problem is related to the Struts template tags. The setup looks like this: Action - Templated JSP page (A) - One of the template elements is again a templated JSP (b) - JSP (C) Now, the last JSP file (C) uses a group

Session STOMP

2001-09-05 Thread Clay Graham
User Crew, My sessions are being stomped (or actually being overriden by new ones) every time I make a new request. They are fine from the form to the action part, but the second I do a new request the session evaporates. I need to be able to keep the session around because I have a userMgr

RE: ActionForm - HashMap.

2001-09-05 Thread Tuscano, Stephen
Hi, can anybody help me out in converting ActionForm to HashMap. There is a Method called describe available is org.apache.struts.util.Beanutil, which converts the action form into Map.But for this you need to create form-bean for each jsp. I want generic form-bean, which should hold

CachedRowSet or SQL, what is the best way?

2001-09-05 Thread Ryan Cornia
Is anyone using the early access of CachedRowSet for data access, or are people just using straight JDBC calls? I've been using straight JDBC calls, but it looks like CachedRowSet would be easier. Anyone know when it will be officially released? Is it currently stable? Thanks, Ryan

Re: Using the iterate tag

2001-09-05 Thread Ted Husted
Personally, I would wrap the ArrayList in a bean and expose the size (or row count) with an accessor. Then you can do things like this: logic:notEqual name=result property=rowCount value=0 ... iterate the list /logic:notEqual logic:equal name=result property=rowCount value=0 ... explain

RE: CachedRowSet or SQL, what is the best way?

2001-09-05 Thread Justin Brister
Ryan, I have been using the CachedRowSet and have not encountered any problems with it to date. I too would be interested to know when a release of the source code for these classes will be available. Regards, Jay -Original Message- From: Ryan Cornia [mailto:[EMAIL PROTECTED]] Sent:

Re: CachedRowSet or SQL, what is the best way?

2001-09-05 Thread Gregor Rayman
Ryan Cornia [EMAIL PROTECTED] asks: Is anyone using the early access of CachedRowSet for data access, or are people just using straight JDBC calls? I've been using straight JDBC calls, but it looks like CachedRowSet would be easier. Anyone know when it will be officially released?

RE: problem with struts and EJB

2001-09-05 Thread Fletcher, Ken
Thanks Matt and Ted... -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 04, 2001 9:56 PM To: [EMAIL PROTECTED] Subject: Re: problem with struts and EJB Matt Ho wrote: Has there ever been talk of making ActionForm an interface rather than a

Re: CachedRowSet or SQL, what is the best way?

2001-09-05 Thread Ted Husted
CachedRowSet seems fine for read-only accesses, but I'm told that inserts and updates can be flakey (or impossible) with some drivers. I have used RowSets extensively for accesses, and never had a problem. The Jakarta TagLibs dbTag has also been recently extended so that you can use read-only

RE: Session STOMP

2001-09-05 Thread Rey Francois
I have actually the same problem on Tomcat 3.3 Beta 1, my session is renewed for each request... What container do you use ? Fr. -Original Message- From: Clay Graham [mailto:[EMAIL PROTECTED]] Sent: 05 September 2001 17:26 To: '[EMAIL PROTECTED]' Subject: Session STOMP User Crew, My

Re: Session STOMP

2001-09-05 Thread Sven Lauritzen
Hello! Do you have cookies enabled? If not, the session might get lost because you don't append the session id to the URL in your forward-statement. I think it should look like this: jsp:forward page='%= response.encodeURL(logon.jsp) %' / Tell me if it works. I'm working on a similar

RE: Using the iterate tag

2001-09-05 Thread Roumen Ganeff
isn't there a bean:size tag, which is designed for this? G. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 5:15 PM To: [EMAIL PROTECTED] Subject: Re: Using the iterate tag Personally, I would wrap the ArrayList in a bean and expose

struts-tags are even in the html-site

2001-09-05 Thread Antonio Weber
Hi !! Is this ok that a struts-tag is in the html-site to ? Because in my action I can't get the value of the pk_lookupkey. /tdtdcenter2009-12-12/center /tdtd html:hidden property=pk_lookupkey value=72.0/ centerinput type=submit name=action

LogoffAction example

2001-09-05 Thread Brian K. Buckley
Hi, In LogoffAction in the struts example, the main three lines are: session.removeAttribute(Constants.SUBSCRIPTION_KEY); session.removeAttribute(Constants.USER_KEY); session.invalidate(); What is the purpose of the first two lines - why bother removing the items right before the session is

Re: LogoffAction example

2001-09-05 Thread SUPRIYA MISRA
Thats what is called as paranoid cleanup-lol From: Brian K. Buckley [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: LogoffAction example Date: Wed, 5 Sep 2001 10:40:49 -0400 Hi, In LogoffAction in the struts example, the main three lines are:

RE: Session STOMP

2001-09-05 Thread Clay Graham
nope...here is the Interceptor from my server.xml RequestInterceptor className=org.apache.tomcat.request.SessionInterceptor noCookies=false / I would be suprised if the tag you gave me solved the problem the forward only happens if the user is NOT logged in. The

RE: Session STOMP

2001-09-05 Thread Clay Graham
I am using tomcat 3.2 -Original Message- From: Rey Francois [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 7:17 AM To: '[EMAIL PROTECTED]' Subject:RE: Session STOMP I have actually the same problem on Tomcat 3.3 Beta 1, my session is renewed for each

How have others handled management concerns over storing database userid and password in struts-config.xml?

2001-09-05 Thread Shamdasani Nimmi-ANS004
Hi, Here's my problem. My management feels that storing the database account(userid/password)in the config file is a security risk. According to them a hacker can get access to the whole database if they can get access to this info. Supposedly the security team wants to put the application

Re: LogoffAction example

2001-09-05 Thread Brian K. Buckley
Alright :). I was thinking it might have been intentional to give any HttpSessionListeners a chance to do something. I'm not clear on when HttpSessionBindingEvents occur - do they happen automatically when a session timesout or sesion.invalidate() is called, or do they happen only when it

RE: Security with Servlet 2.3 API

2001-09-05 Thread Kito D. Mann
Hey, Just for those who think filters are a new idea, I just wanted to point out that filters have been in the Microsoft world (ISAPI) for years. (Don't worry, I'm not a Microsoft advocate, just pointing out the facts :-).

AW: struts-tags are even in the html-site

2001-09-05 Thread Antonio Weber
Oh !! Thank you very much ! now it works ;) -Ursprüngliche Nachricht- Von: Luis Olivares [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 5. August 2001 17:22 An: [EMAIL PROTECTED] Betreff: Re: struts-tags are even in the html-site You are not declaring the Struts Tag in your JSP before

RE: How have others handled management concerns over storing database userid and password in struts-config.xml?

2001-09-05 Thread Shamdasani Nimmi-ANS004
I am using struts way of handling database using struts-config.xml. Where would I encrypt it? -Original Message- From: Ernest Jones [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 10:46 AM To: [EMAIL PROTECTED] Subject: Re: How have others handled management concerns over

Re: tomcat's jasper compiler and jspc

2001-09-05 Thread dhay
Matt, Have you changed your web.xml to use the pre-compiled jsp's (you have to define the servlet and servlet mapping for each page? If you don't do that, the original jsps will be compiled when called etc.. Yeah, ant re-compiles mine too, but I haven't had a chance to look at why...

Re: indexed option does not work with html:checkbox

2001-09-05 Thread dhay
To use the indexed option you need to be using the nightly build. Dave Campesato, Oswald [EMAIL PROTECTED] on 09/04/2001 04:01:26 PM Please respond to [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: indexed option does

RE: LogoffAction example

2001-09-05 Thread Nocera, Robert
I believe that according to the spec the unBound event should occur when a session.invalidate() occurs. I have noticed that some containers have problems with that however. Tomcat seems to implement this correctly. -Rob -Original Message- From: Brian K. Buckley [mailto:[EMAIL

Re: How have others handled management concerns over storing databaseuserid and password in struts-config.xml?

2001-09-05 Thread Ted Husted
You would want to restrict what kind of access your generic Web user has to the database. If the permissions are set right on the database, then they can't do much they couldn't do from the Website anyway. You should also restrict from where the Web user login can be used. It should only be

Can you get these quotes arranged correctly?

2001-09-05 Thread Alex Colic
Hi, I am having problems getting quotes arranged correctly. I have a radio button that I need the property set to a value in a bean. I have tried: html:radio name=rdoEntity value=bean:write name=entity property=entityNumber / / but I am getting errors creating the page. Can someone tell me

Re: LogoffAction example

2001-09-05 Thread Jonathan M Crater
HttpSessionBindingEvents occur when an attribute is removed from the session. since invalidate() first invalidates the session, then removes any bound objects, the call would happen in both cases, so you don't need the removeAttribute() calls so long as the invalidate() call remains. Nocera,

RE: Can you get these quotes arranged correctly?

2001-09-05 Thread Lacerda, Wellington (AFIS)
It is not the combination of quotes, this contruction with a tag as an attribute of another tag is not valid. Wellington Silva UN/FAO -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 6:46 PM To: [EMAIL PROTECTED] Subject: Can you get

Action.ERROR_KEY problem

2001-09-05 Thread Doug Smith
Hello, I have a form in Struts which has a drop-down select list where the options are populated by a bean that reads the options from a database. On the form JSP, I use: jsp:useBean id=formData scope=request class=com.eviciti.struts.test.GetQueryFormDataBean

Re: How have others handled management concerns over storingdatabaseuserid and password in struts-c

2001-09-05 Thread Daniel Jimenez
We had a similar problem with management when we tried to implement our DMZ using websphere. The solution that we'd come up with is retrieving the username and password from a secure LDAP server. We continued to use the struts-config file to define our datasource and removed the username and

Re: Automatic forward URL encoding WAS: Session STOMP

2001-09-05 Thread Ted Husted
The html:link tags provide automatic encoding, and other useful features ;-) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/about/struts/ Clay Graham wrote: ok, so it WAS the encodeURL issue...the

Re: Can you get these quotes arranged correctly?

2001-09-05 Thread David Corbin
It's perfectly legitimate when the outer tag is an HTML tag. I just the other quote. - Original Message - From: Lacerda, Wellington (AFIS) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 05, 2001 12:49 PM Subject: RE: Can you get these quotes arranged correctly?

Using the link tag

2001-09-05 Thread chiji nwankwo
Hi, Thanks to Ted for assisting me earlier on with the iterate tag problem, it works fine now. Could anyone please tell me what I am doing wrong with the following declaration: % String action = "Reset";% html:link page="/archive.do?action=%=action%" test/html:link it throws the following

Quick question (nesting tags)

2001-09-05 Thread Greg Lehane
Hello all, In my JSP I'm iterating through a vector I've stored in my ActionForm bean, I write out information from the vector to the JSP and the end result is a populated table on the JSP. What I would like to do is add a form to each row on the table (as I iterate through), however, I need

RE: How have others handled management concerns over storing databaseuserid and password in struts-config.xml?

2001-09-05 Thread Shamdasani Nimmi-ANS004
I really appreciate all the responses. Ted, I just want to make sure there is no confusion in understanding my problem. I am not sure if by Web user you mean the application user or the database account. Each application user, i.e., a supplier has only access to a subset of the database

RE: Encodings on form submits?

2001-09-05 Thread Simon Liang
Hello, Sorry for mine post again and lack of knowledge on utf-8. It appears that Martin and Jonathan suggested way of utf-8 encoding on submit is good when Martin's 3 steps(see below) is followed. However, i found it's the Strut tag that's _NOT_ handling the utf-8 encoding correctly. I

Re: Using the link tag

2001-09-05 Thread Ted Husted
First, you're using scriptlets ;-) Most Struts applications can be written without the aid of scriplets. Before resorting to one, it's important to look for what tag properties you could use instead. In this case, you can use the paramName and paramPropeties html:link page=/archive.do

RE: How have others handled management concerns over storing databaseuserid and password in struts-c

2001-09-05 Thread Shamdasani Nimmi-ANS004
Daniel, Initially we might be using Tomcat/Catalina. In such a case how do I go about doing what you have done? Thanks. -Nimmi -Original Message- From: Daniel Jimenez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 12:42 PM To: [EMAIL PROTECTED] Subject: Re: How have

Re: How have others handled management concerns over storing databaseuserid and password in struts-config.xml?

2001-09-05 Thread Ted Husted
Shamdasani Nimmi-ANS004 wrote: Each application user, i.e., a supplier has only access to a subset of the database depending on what he/she is allowed to see but the database account(the account which is used by the application to get the connection pool) has access to the complete database.

RE: Automatic forward URL encoding WAS: Session STOMP

2001-09-05 Thread Clay Graham
um, this is the best solution yet and right after I just wrote my own tag. good golly I like that tag...that's what I get for using tags outside of struts I WILL ALWAYS USE STRUTS TAGS IF POSSIBLE FROM NOW ON! I give thanks to the struts gods! clay -Original Message- From:

BeanUtils deprecated?

2001-09-05 Thread Paradis, André
Hi guys, This has probably been answered before, BeanUtils is deprecated (struts 1.0). What is the correct alternative to this class? Thanks a lot, Andre Paradis

RE: BeanUtils deprecated?

2001-09-05 Thread Paradis, André
Sorry... just tired... from javadocs: At some point after Struts 1.0 final, will be replaced by an equivalent class in the Jakarta Commons Beanutils package. -Original Message- From: Paradis, André Sent: September 5, 2001 3:52 PM To: [EMAIL PROTECTED] Subject: BeanUtils deprecated?

Still can't you get these quotes arranged correctly?

2001-09-05 Thread Alex Colic
Hi, thanks for all the suggestions. I am still having trouble getting the text to show up properly. For a submit button I have escaped the quotes as suggested: html:submit property=submit value=bean:message key=\button.submit\ // When I call the page it does not evaluate the bean message tag.

RE: Still can't you get these quotes arranged correctly?

2001-09-05 Thread Assenza, Chris
Another *JSP* tag's attribute I should say, sorry - long day. Chris Christopher Assenza Phone: 412.201.6026 Fax: 412.201.6060 Email: [EMAIL PROTECTED] ACCESSDATA Moving Your Business from Point A to Point e.SM http://www.accessdc.com/ -Original Message- From: Assenza, Chris

jspc - Bad file argument to include

2001-09-05 Thread Matt Raible
I am using jspc (bundled in iPlanet SP3 from Tomcat 3.2.1) and I am getting the following error: 2001-09-05 10:20:33 - error-the file '\WEB-INF\pages\timesheetList.jsp' generated the following parse exception: org.apa che.jasper.compiler.CompileException:

RE: Tomcat 4.0b7 and struts-example webapp

2001-09-05 Thread Lou Farho
I remember Craig McClanahan addressing the issue of Struts and Tomcat 4.0. As some of you might not know he is a primary developer for both projects. Here is what he said: The only thing you need to do is make sure an XML parser is visible to your webapps -- either copy the JAXP jar files (or

Re: Quick question (nesting tags)

2001-09-05 Thread John Raley
Check out http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14326.html Clay Graham wrote: can you give a more verbose example of how you would do this? I would like to do this too. the exact syntax is important, I cant seem to make it work. -Original Message- From: John

Differences between WebSphere 3.5.4 and 4.0

2001-09-05 Thread Young, Jim
We are trying to migrate our Struts application from WebSphere 3.5.4 to WebSphere 4.0 on an AIX box and we are running into trouble. We then decided to migrate the Struts example to 4.0. When we move the working war file for the Struts example to 4.0 we get the following error when we try to edit

Re: jspc - Bad file argument to include

2001-09-05 Thread Luis Olivares
You should not use the %@ include file=aJspPage.jsp % scriptlet command. I used to do the same a long time ago. The problem is that if you do changes to the 'included' file ('aJspPage.jsp' in this case), such changes will not be reflected by the pages including it until you made a change to the

Re: what are different scope(s) available to define for a beaninstr uts-config.xml

2001-09-05 Thread Erik Hatcher
If you are referring to form beans, they can only be in session or request scope. Erik - Original Message - From: Jonathan M Crater [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 05, 2001 4:24 AM Subject: Re: what are different scope(s) available to define for a

RE: How have others handled management concerns over storingdatabaseuserid and password in struts-c

2001-09-05 Thread Daniel Jimenez
The approach that I've implemented can be as complicated or uncomplicated as you want to make it. The more complicated you make it, the more security you implement. To simply store a username and password on ldap and retrieve it is fairly easy. However, because of your setup (app server on

Re: How have others handled management concerns over storingdatabaseuserid and password in struts-c

2001-09-05 Thread Ted Husted
Here's some more about implementing SSL. http://husted.com/about/struts/FAQ/controller-ssl.htm -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/about/struts/ Daniel Jimenez wrote: I wouldn't know where to

EJB, Form beans, value objects, etc.

2001-09-05 Thread David Boardman
I am hoping that someone can clear up what has become a foggy picture in my mind regarding the transfer of data between an ActionForm bean and corresponding entity beans. Ted Husted wrote: Using a nested bean on your ActionForm lets you use the form like a wrapper, so you don't have to define

Re: EJB, Form beans, value objects, etc.

2001-09-05 Thread Ted Husted
David Boardman wrote: Ted Husted wrote: Using a nested bean on your ActionForm lets you use the form like a wrapper, so you don't have to define everything twice, if your business beans and ActionForm beans would otherwise be identical I take this to mean that if my ActionForm bean and

Concurrency and Custom JSP tags

2001-09-05 Thread Bill Clinton
Hello, I have been writing my own custom jsp tags, and have recently noticed that member properties of tags seem to be retained after the tag is complete. For example, lets say you have a tag that has an optional attribute called message, and the tag is designed to print this

Adding struts indexed tag capability to the select tag

2001-09-05 Thread Scott Ryan
Would it be possible to add the indexed capability to the select tag. I have an application that would benefit greatly from that capability. I have a set of rows that are contained within a Vector in a bean. I use a set of iterate tags combined with the indexed capability within such tags as

Re: Employeelist example in VAJ 3.5.3

2001-09-05 Thread SLBrand
Hi Dan, Thanks for your response. I did finally solve this last week... I had added the "extra classpath" for 2 different ApplicationResources files. I had the unfortunate luck of putting the one I needed last... and so struts was finding the wrong one. Go figure. I just responded to another

Re: Concurrency and Custom JSP tags

2001-09-05 Thread Erik Hatcher
Quoting from Geary's Advanced JavaServer Pages book, p. 14: Because servlet containers can reuse tag handlers, you must be diligent about implementing the release method and careful about instantiating resources in doStartTag [rather in the tags constructor] So the 'release' method is the key.

Re: Concurrency and Custom JSP tags

2001-09-05 Thread Bill Clinton
Erik - Thanks for clearing that up. I will be sure to recheck my release methods. It is a relief to know that there is nothing to worry about here (as long as the resources are cleared). Thanks, Bill Erik Hatcher wrote: Quoting from Geary's Advanced JavaServer Pages book, p. 14:

Error reading tag-library

2001-09-05 Thread Shelly Dhiman
Hi i'm getting the following error. Using tomcat3.2 Error: 500 Location: /dynamic/home/testJobs.jsp Internal Servlet Error: org.apache.jasper.compiler.CompileException: /usr/local/cmc/fe/content/en_US/dynamic/home/testJobs.jsp(0,0) Unable to open taglibrary /WEB-INF/struts-template.tld :

Need Helps with Form-Tag

2001-09-05 Thread Kurt Chen
What's up, dude!! I'mtrying to use a form tag in my JSP, but it doesn't work out. my source code as the followingdoes anyone has any idea about what's going on right here. your help will be greatly appreciated... %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %

html:link + javascript

2001-09-05 Thread Robert Egan
Hello all, I have a non-struts JSP that uses javascript to submit a form from a link in the form: td> a href='javascript:submitForm("IE","outerBorderColor")'>Outer Border/a> /td> This works exactly as I expect. I have been unable to get this to work in struts: td> html:link

Re: Need Helps with Form-Tag

2001-09-05 Thread Jishan Li\(CN\)
Kurt Chen: It depends on the beans in you collectin attr2. It seems that there is no a getter for attr_name like getAttr_name() in your beans. wish this help! Jishan Li. - Original Message - From: Kurt Chen To: [EMAIL PROTECTED] Sent: Thursday,

RE: struts with wl5.1(service pack10)

2001-09-05 Thread baris.guzelordu
One thing may be extract classes and put your classes to your classpath. Also do not forget to copy ApplicationResources to the folder where your classes are (/WEB-INF/classes) -Original Message- From: Aby Kuriakose [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 07, 2000 7:01 PM To:

Re: Need Helps with Form-Tag

2001-09-05 Thread Kurt Chen
Oops i missed some of my code...the code should be in following.Please take a look at the code again and kindly tell me what's wrong with my code. thanks %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" % % java.util.ArrayList

example error

2001-09-05 Thread Rajiv R
Hi Guys, I am new to this user group and woulld like to clarify certain points. After installing struts and following the instructions as per the read me file i still am unable to run the example application. I could host the struts-documentation file but when i try to run the example it throws

Re: Need Helps with Form-Tag

2001-09-05 Thread Jishan Li\(CN\)
The problem lies in the beans in your ArrayList. Could you paste the code of the bean here? there should be a method named public String getAttr_name() In the bean class. - Original Message - From: Kurt Chen To: [EMAIL PROTECTED] Sent: Thursday,