html input elements don't work

2002-05-03 Thread Shirin Fathima
Hi, The following simple code isn't working, html:form action=createText method=GET Input:html:text property=test / br/ html:submit property=submit/ /html:form In the sense that, the text box and the button don't appear when I call the Jsp page. Can

Re: html input elements don't work

2002-05-03 Thread Arron Bates
You'll need to specify the bean name which is defined in the struts-config.xml file for your createText action. Example... html:text name=myBean property=test / You may also want to put in the .do on the end of your action name. Example... html:form action=createText.do method=GET

RE: html input elements don't work

2002-05-03 Thread Shirin Fathima
I'm using the struts framework...and the View is a simple jsp page. What I found is that the tags aren't being recognised. -- From: [EMAIL PROTECTED] Reply To: Struts Users Mailing List Sent: Friday, May 03, 2002 1:36 PM To: Struts Users Mailing List Subject:

RE: html input elements don't work

2002-05-03 Thread Vikram Goyal01
You are not getting any errors on the console? V -Original Message- From: Shirin Fathima [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 12:42 PM To: Struts Users Mailing List Subject: RE: html input elements don't work I'm using the struts framework...and the View is a simple

RE: html input elements don't work

2002-05-03 Thread Shirin Fathima
No, I'm not getting any errors on the console. -- From: Vikram Goyal01 Reply To: Struts Users Mailing List Sent: Friday, May 03, 2002 12:42 PM To: Struts Users Mailing List Subject: RE: html input elements don't work You are not getting any errors on

Re: ConvertUtilts.register(): where to call?

2002-05-03 Thread Klaasjan Brand
Remke Rutgers wrote: Hi fellowstrutsers, What is the best (logical, efficient, safe...) place to call ConvertUtils.register() in a Struts Webapp? Anyone? I'm using a subclassed ActionServlet's init() method... greets, Klaasjan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

RE: html input elements don't work

2002-05-03 Thread Shirin Fathima
Thanks, Arron. But even this doesn't help. -- From: Arron Bates Reply To: Struts Users Mailing List Sent: Friday, May 03, 2002 12:39 PM To: Struts Users Mailing List Subject: Re: html input elements don't work You'll need to specify the bean name which

Re(2): html input elements don't work

2002-05-03 Thread waldemar . cleenewerck
Here is a example of a page i am making, where de strutshtml defines de int the web.xml taglib taglib-uristruts-html.tld/taglib-uri taglib-location/WEB-INF/struts-html.tld/taglib-location /taglib taglib taglib-uristruts-logic.tld/taglib-uri

RE: html input elements don't work

2002-05-03 Thread Vikram Goyal01
My guess was that since these input element are not being displayed then it might be because the tag libraries are not being picked up correctly, in which case you would have got an error on the console. Can you give some more details. Browser, Struts, Servlet engine etc...?? V -Original

Redirect problem

2002-05-03 Thread devendra . mhatre
Hello, Could someone help me understand the following situation? I have two Actions (s1 and s2) and one jsp (j1). If I do this in in j1: request.setAttribute(str1, Hello); then i use mapping.findForward to s1: In s1 I do this: request.setAttribute(str1, So Long); then

Re: struts sub application selection issue? - was Tiles subapplications

2002-05-03 Thread Cedric Dumoulin
Hello, One goals of Tiles is to enable reuse and to avoid copy/paste. So, having to copy same layouts in all sub-applications is not what we expect. Consequently, the actual behavior that you describe sound like a bug ;-). I have to dig a little bit to see what can be done. If you have

cannot load controller servlet

2002-05-03 Thread Gopalakrishnan Rangaswamy
Hi all Iam trying to deploy a struts application on to tomcat which is running fine on iplanet web server4.1. The environment is tomcat-3.2.3 on Windows NT 4.0, My application is named ddtsweb, iam giving the folder structure below from webapps onwards webapps !

Re: struts sub application selection issue? - was Tiles subapplications

2002-05-03 Thread Ian Tomey
Hey Cedric. Right, as of 30 mins ago I got tiles sub apps to work together grudingly :-) That patch to RequestUtils.selectApplication fixes the problems I thought it would and does not seem to have any side effects (i.e. the old frames based version continues to work fine). I will submit

Re: Tile and parameters use...

2002-05-03 Thread Cedric Dumoulin
Hello, Use the tiles:importAttribute name=MODE / tag in order to import your attribute from tiles context to current page context. Tiles attributes are stored in what we call tile context (one context for each inserted tile). Struts tags work on attribute from page, request or application

SilverStream 3.7, Struts Custom Tags

2002-05-03 Thread @Basebeans.com
Subject: SilverStream 3.7, Struts Custom Tags From: JM [EMAIL PROTECTED] === Hi Guys I've been tasked with implementing some custom tags in the struts framework on SilverStream 3.7 and have found that it does not appear to initialise the attributes correctly. Has anybody else encountered this?

RE: html input elements don't work

2002-05-03 Thread Robert Taylor
This has happened to me in the past when I forget to include the taglib page directive. %@ taglib uri= prefix= % If the directive is not there, when you view the source, you should see your Struts tags instead of the HTML tags that are rendered when the Struts tag is processed. Since they were

RE: html input elements don't work

2002-05-03 Thread Shirin Fathima
Gee Thanks, Robert. That solved my problem. Now I'll never forget to use that directive. Thanks once again! -- From: Robert Taylor Reply To: Struts Users Mailing List Sent: Friday, May 03, 2002 2:54 PM To: Struts Users Mailing List Subject: RE: html input

Re: cannot load controller servlet

2002-05-03 Thread Jin Bal
cannot load servlet name : action :null Looks like the initialisation of your actionservlet is throwing a NPE. Try checking the servlet.log file in %TOMCAT_HOME%/logs This will usually give more information and maybe even a stacktrace. Also set the debug param and detail param in the web.xml

new features in Struts 1.1

2002-05-03 Thread nradhika
hi, Wat r the new features implemented in Struts 1.1 ? Watz the diff. in Struts 1.0 and Struts 1.1 ?? Thanx and Regards, Radhika -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: new features in Struts 1.1

2002-05-03 Thread John Reid
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 03 May 2002 11:51 To: [EMAIL PROTECTED] Subject: new features in Struts 1.1 hi, Wat r the new features implemented in Struts 1.1 ? Watz the diff. in Struts 1.0 and Struts 1.1 ??

dynamic action form by radhika

2002-05-03 Thread nradhika
hi, wat is dynamic action form ??? where to use the same ??? Thanx Radhika -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: *** URGENT Help needed ****

2002-05-03 Thread Etienne, Ingo (Goetzfried AG)
Applause !!! Really good one :))) -Original Message- From: Reid Tardy [mailto:[EMAIL PROTECTED]] Sent: Freitag, 3. Mai 2002 13:30 To: [EMAIL PROTECTED] Subject: *** URGENT Help needed Dearest Struts Gurus, My name is Reid Tardy. This may be a bit off topic but I need all of

Re: *** URGENT Help needed ****

2002-05-03 Thread SUPRIYA MISRA
TomCat is an alley cat which delivers requests provided there are no M$ stuff in it. From: Reid Tardy [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: *** URGENT Help needed Date: Fri, 03 May 2002 08:59:32 -0230 Dearest Struts Gurus,

RE: *** URGENT Help needed ****

2002-05-03 Thread Vikram Goyal01
suck suck gets better.. -Original Message- From: Etienne, Ingo (Goetzfried AG) [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 5:06 PM To: 'Struts Users Mailing List' Subject: RE: *** URGENT Help needed Applause !!! Really good one :))) -Original Message- From:

Re: *** URGENT Help needed ****

2002-05-03 Thread Ketan Malekar
hi Reid, Why do u need java? to download gif's? I didnt get what exactly u want to do... Well, if u want to download gif's from java application and want to call java application from VB then this can be done if ur requirement is like this, just let me know and If the task is only to

Re: SEMI-URGENT-ANSWER: *** URGENT Help needed ****

2002-05-03 Thread Hans-Joachim Matheus
Von: Ketan Malekar [mailto:[EMAIL PROTECTED]] and If the task is only to download gif's then that can be done in VB also. Sometime I read on a NewsGroup (alt.ms.sucks) that this was a bug. But I can't remember... Better have bugs in VB then in a glass of Prost! Jochen -- To

Now how does one do this?

2002-05-03 Thread vj struts
dear all, how do you share across different web applications useful ActionForms you have created say for example a LogonForm? i'm using tomcat with its class loader hierarchy which i have read something about in http://husted.com/struts/FAQ/installation.htm. if i put them in the common apps

Loading Database

2002-05-03 Thread Chen, Dean (Zhun)
Hi, For struts, I know it's possible to load a bean and then display the contents of the bean in sequence. Is it possible to load a bean partially, display the contents, while simultaneously loading the rest of the bean. This way when the user is viewing the 1st page, the rest of the pages are

Re: *** URGENT Help needed ****

2002-05-03 Thread Chad Johnson
Haha, well thats a good early morning laugh!!! -Chad Johnson - Original Message - From: Reid Tardy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 03, 2002 6:29 AM Subject: *** URGENT Help needed Dearest Struts Gurus, My name is Reid Tardy. This may be a bit off

Re: Using Reset with Checkboxes

2002-05-03 Thread @Basebeans.com
Subject: Re: Using Reset with Checkboxes From: Ken Holzer [EMAIL PROTECTED] === Thanks for the information Jose. Another question is when and where does the reset get called? Ken Jose Quinteiro [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... You should check for the checkbox

RE: *** URGENT Help needed ****

2002-05-03 Thread James Mitchell
This was actually a joke. JM TGIF -Original Message- From: Ketan Malekar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 02, 1999 8:11 PM To: Struts Users Mailing List Subject: Re: *** URGENT Help needed hi Reid, Why do u need java? to download gif's? I didnt get what

Re: *** URGENT Help needed ****

2002-05-03 Thread Robert Williams
Oh no, here we go again! And it's Friday and 6:30AM, what could be worse? Someone wake up Craig NOW! - Original Message - From: Reid Tardy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 03, 2002 6:29 AM Subject: *** URGENT Help needed Dearest Struts Gurus, My

Abt Modal Class !!!!

2002-05-03 Thread nradhika
hi, Im having an Action class and a Session bean with me. Instead of putting the business validations in the session bean, what i intend to do is to have another class between Action and the session bean. This class will have all the business side validations. this class is called the Modal

RE: formatting test in prepopulated form

2002-05-03 Thread Becky Moyer
Bill, I thought of that, and that's probably what I'll end up doing. I didn't know if anyone knew of a way to wrap the text that gets printed in that text box with a tag in some manner. I thought that would end up being much cleaner - a nicer seperation of presentation and logic... But

RE: dynamic action form by radhika

2002-05-03 Thread James Mitchell
See here for a brief explanation. http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg29680.html It's the best thing since sliced bread. JM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 7:34 AM To: [EMAIL PROTECTED]

RE: *** URGENT Help needed ****

2002-05-03 Thread Wilson, Les J SI-FSIA
I guess not realising it was a joke could be worse ;) Les -Original Message- From: Robert Williams [mailto:[EMAIL PROTECTED]] Sent: 03 May 2002 14:43 To: Struts Users Mailing List Subject: Re: *** URGENT Help needed Oh no, here we go again! And it's Friday and 6:30AM, what

Re: *** URGENT Help needed ****

2002-05-03 Thread bhatia10
People in this group are nuts :) And thats all I have to say about that. Forrest Gump - Original Message - From: Robert Williams [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 03, 2002 8:43 AM Subject: Re: *** URGENT Help needed Oh no, here

Re: Loading Database

2002-05-03 Thread Kevin . Bedell
The easiest approach is to retrieve all the content for later pages in the Action for the first page. This would slow the first page, but would allow later pages to be pulled from cache. This seems like the easiest approach. It could be accomplished using a course-grained Entity Bean or some

RE: Loading Database

2002-05-03 Thread Chen, Dean (Zhun)
Thanks this will help alot. Our application is not based on EJB, rather using straight forward JavaBeans. However, I assume there can be a lot of performance gains in using EJB such as via JMS. I'll look into this more, and keep everyone updated if I find an elegant and performant solution.

Re: *** URGENT Help needed ****

2002-05-03 Thread Kevin . Bedell
I believe the answer to this is 42. Reid - I've actually already done this. I did this port using .NET, VB, cobol, j2ee, xml, xpl. Then I hacked it all together using Perl. I've posted the resulting work on my web site: http:/www.YouReallySuck.com/I/am/a/bonehead.html I'll be happy to spend

RE: Loading Database

2002-05-03 Thread Kevin . Bedell
If you're really interested in looking into JMS or EJB I'd recommend checking out JBoss. It supports both and is pretty easy to set up and use. Chen, Dean (Zhun) [EMAIL PROTECTED] on 05/03/2002 10:52:12 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:

RE: *** URGENT Help needed ****

2002-05-03 Thread James Mitchell
I'm getting This page cannot be displayed when I click on that hyperlink. Is that an error page from Struts, Tomcat, or Flash? How can I add such a feature to my application? I am using arrays in flash but it don't show no errors. This is definitely a struts problem. Waaa...help me

Can Struts initialize my services at Startup ?

2002-05-03 Thread Gary Bartlett
Question - Can I configure Struts to make a call to my application services at Servlet init() time ? I browsed around the docs and the mail archive - but didn't see if this was available. Thanks, Gary Bartlett __ Do You Yahoo!? Yahoo! Health

Re: Can Struts initialize my services at Startup ?

2002-05-03 Thread Jim Crossley
Probably the cleanest way to do that is to subclass org.apache.struts.action.ActionServlet and then, after invoking super.init(config), you can initialize your own services. -- Jim Gary Bartlett [EMAIL PROTECTED] writes: Question - Can I configure Struts to make a call to my application

RE: *** URGENT Help needed ****

2002-05-03 Thread SUPRIYA MISRA
How can you expect this asp page to work without tomcat? From: James Mitchell [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: *** URGENT Help needed Date: Fri, 3 May 2002 11:16:12 -0400 I'm getting This

Re: Can Struts initialize my services at Startup ?

2002-05-03 Thread Kevin . Bedell
I don't believe there is an option to do this. You have to add your own startup servlet. Which is probably fine since you're likely going to be performing tasks that are session/request independent at that time anyway. Any resulting objects you create could be put on the ServletContext. For

RE: Excel Export

2002-05-03 Thread Chen, Dean (Zhun)
I have a simple question regarding these implementations? After a bean is populated by the Action class, do I write the contents of the bean to a temporary xls file and then do: Response.ContentType = application/vnd.ms-excel Response.AddHeader (CONTENT-DISPOSITION, attachment; filename

Forms Beans and DAO (Best Practices)

2002-05-03 Thread Mike Duffy
I am pre-populating a form with information from a data base. Is the following procedure acceptable, or is there another procedure that would be considered a Best Practice? Instantiate the form bean in the action class. Instantiate one or more DAO objects in the action class. Call methods in

RE: Excel Export

2002-05-03 Thread SUPRIYA MISRA
You use the JSP to do this. String data=Whatever; To display in excel inside browser out.write(data); To write to a file File xyz= new java.io.File(..\\webapps\\Project\\data.csv); FileOutputStream fos = new FileOutputStream(xyz); byte[] Data=data.getBytes(); fos.write(Data); fos.close(); Use

struts 1.1beta release date?

2002-05-03 Thread RIS Team
I a question regarding use of struts 1.1 beta: When is Struts 1.1 expected be fully released? An approximation would be great, it doesn't have to be an exact date. Specifically, can we count on this release happening before October? Vlad

Re: *** URGENT Help needed ****

2002-05-03 Thread bhatia10
Did you follow this week on the group? :) And thats all I have to say about that. Forrest Gump - Original Message - From: James Mitchell [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 03, 2002 9:33 AM Subject: RE: *** URGENT Help needed No,

Re: ConvertUtilts.register(): where to call?

2002-05-03 Thread Craig R. McClanahan
On Fri, 3 May 2002, Klaasjan Brand wrote: Date: Fri, 03 May 2002 09:16:29 +0200 From: Klaasjan Brand [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: ConvertUtilts.register(): where to call? Remke

RE: Excel Export

2002-05-03 Thread dhay
No - you will actually stream the output in the response, by getting the response servletoutputstream and then doing print and println's. Here's what I do - probably more complicated than you need it to be, but gives you the idea: response.setContentType(csv);

Re: Now how does one do this?

2002-05-03 Thread Craig R. McClanahan
On Fri, 3 May 2002, vj struts wrote: Date: Fri, 3 May 2002 06:25:58 -0700 (PDT) From: vj struts [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Now how does one do this? dear all, how do you share across

Re: Can Struts initialize my services at Startup ?

2002-05-03 Thread Craig R. McClanahan
On 3 May 2002, Jim Crossley wrote: Date: 03 May 2002 11:35:16 -0400 From: Jim Crossley [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Can Struts initialize my services at Startup ? Probably the

Re: struts 1.1beta release date?

2002-05-03 Thread Craig R. McClanahan
On Fri, 3 May 2002, RIS Team wrote: Date: Fri, 3 May 2002 11:53:37 -0400 (EDT) From: RIS Team [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: struts 1.1beta release date? I a question regarding use of

RE: Using Reset with Checkboxes

2002-05-03 Thread Galbreath, Mark
Does this work? According to the html:checkbox tag documentation, Struts passes the string on when a checkbox is checked, and reset with off. This is what I am doing and it has been working flawlessly. According to the Struts API, reset() gets called just before your mapping.findForward() in

Re: *** URGENT Help needed ****

2002-05-03 Thread Craig R. McClanahan
On Fri, 3 May 2002, Robert Williams wrote: Date: Fri, 3 May 2002 08:43:02 -0500 From: Robert Williams [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: *** URGENT Help needed Oh no, here we go again!

RE: *** URGENT Help needed ****

2002-05-03 Thread Craig R. McClanahan
On Fri, 3 May 2002, James Mitchell wrote: Date: Fri, 3 May 2002 11:16:12 -0400 From: James Mitchell [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: *** URGENT Help needed I'm getting This page

RE: Loading Database

2002-05-03 Thread Galbreath, Mark
This is what I am doing and it greatly improves responsiveness. I put an initialization servlet in the load-on-startup in web.xml and it loads Maps and Lists of application (context)-level data into memory. Any user needed that data (like a List of cities or a Map of zipcodes and markets) then

Re: Using Reset with Checkboxes

2002-05-03 Thread @Basebeans.com
Subject: Re: Using Reset with Checkboxes From: Jose Quinteiro [EMAIL PROTECTED] === Javadoc sez: Reset all bean properties to their default state. This method is called before the properties are repopulated by the controller servlet. The default implementation does nothing. Subclasses should

[ANNOUNCE]petstore1.3 running under struts1.0

2002-05-03 Thread Yang Li
Hi: I have rewritten the View and Controller part(of MVC) of the petstore 1.3 web layer. Now the petstore can run with struts 1.0. The View part, I switched from sun smart tags to struts tags, struts style template. But I kept smart tags in few places where smart tags are better choices.

Re: [ANNOUNCE]petstore1.3 running under struts1.0

2002-05-03 Thread Oliver Refle
Hi i would be very interested in testing the petstore app. I run a linux system with tomcat 4.0. So if you want me to test this, send me the war file. Olli On Fri, 2002-05-03 at 18:31, Yang Li wrote: Hi: I have rewritten the View and Controller part(of MVC) of the petstore 1.3 web layer.

RE: [ANNOUNCE]petstore1.3 running under struts1.0

2002-05-03 Thread James Mitchell
I'll host a copy on Win2K Advanced Server. Just send me the zip. JM -Original Message- From: Yang Li [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 12:31 PM To: Struts Users Mailing List Subject: [ANNOUNCE]petstore1.3 running under struts1.0 Hi: I have rewritten the

RE: *** URGENT Help needed ****

2002-05-03 Thread Voytek . Jarnot
Just shut up already, no one owes you anything... -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 11:30 AM To: Struts Users Mailing List Subject: RE: *** URGENT Help needed There is a difference between saying you are

EJB Tip

2002-05-03 Thread @Basebeans.com
Subject: EJB Tip From: Vic C [EMAIL PROTECTED] === http://www.softwarereality.com/programming/ejb/conclusion.jsp and they are not scalable. Please dont start a flame, just if you are new... rethink if you must use EJBs. Most of my clients have removed EJBs. Vic -- To unsubscribe, e-mail:

Re: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Kevin . Bedell
I see what you're doing and agree it seems easier. But coupling the form beans to the DAO's so tightly I wouldn't call a best practice. Here is another approach: - Have the DAO's return Value Objects. But then have a setValueObject() on the form bean so you can store the entire value object

RE: Changing Content Type

2002-05-03 Thread Malcolm Dew-Jones
-Original Message- From: Graham Lounder [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 30. April 2002 17:18 To: [EMAIL PROTECTED] Subject: OT: Changing Content Type Sorry, this is a little off topic. Is there any way to change your content type mid way through a reponse? What

RE: [ANNOUNCE]petstore1.3 running under struts1.0

2002-05-03 Thread Mannem, Taati
Yang, I will test this is WSAD.please send me the war file. Regards, Taati -Original Message- From: Yang Li [SMTP:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 12:31 PM To: Struts Users Mailing List Subject: [ANNOUNCE]petstore1.3 running under struts1.0 Hi: I

Re: Changing Content Type

2002-05-03 Thread Graham Lounder
After my day of searching about this topic, I found that using the multipart/mixed content type involves a server push (as opposed to the usual client pull). This functionality is not supported in Internet Explorer. There is some example code being used in Netscape 4.X browsers and email but

Re: Now how does one do this?

2002-05-03 Thread Jim Crossley
Craig R. McClanahan [EMAIL PROTECTED] writes: In the Tomcat 4 distribution, there is an Application Developer's Guide document that describes some best practices at organizing your source code repositories for webapp development, and includes a nice prebuilt Ant build.xml file that

Q: how do I do something after a forward?

2002-05-03 Thread Malcolm Dew-Jones
In my action class I want to prepare some things and then forward to a JSP to display those things. However, I also want to do some cleanup after the JSP has finished. Want I want is conceptually the same as public final class myAction report extends Action { public

RE: [ANNOUNCE]petstore1.3 running under struts1.0

2002-05-03 Thread Micael Padraig Og mac Grene
I will host one on Red Hat 7.2, if you like. Just send me the zip as well. At 01:05 PM 5/3/02 -0400, you wrote: I'll host a copy on Win2K Advanced Server. Just send me the zip. JM -Original Message- From: Yang Li [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 12:31 PM

RE: how do I do something after a forward?

2002-05-03 Thread Nelson, Laird
-Original Message- From: Malcolm Dew-Jones [mailto:[EMAIL PROTECTED]] Want I want is conceptually the same as public final class myAction report extends Action { public ActionForward perform(...) { dbh = get_database_connection()

RE: how do I do something after a forward?

2002-05-03 Thread Chen, Dean (Zhun)
We have it implemented a little differently public final class myAction report extends Action { public ActionForward perform(...) { try { dbh = get_database_connection() initialize_some_beans(

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Chen, Dean (Zhun)
This might be a stupid question, but what are DAO and Value Object supposed to be? Does DAO encapsulate the logic to make JDBC calls? For example, would it contain the name of a stored procedure or would that be passed to it? Is ValueObject a generic object that stores the result sets? For

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Pruthee, Ranjan
In general, I use the Struts action classes as proxies to my business objects and my business objects serve as proxies to my data access objects and I pass data across tiers using DTO (DataTransportObject [use to be ValueObject]). In this fashion, I can keep my business logic reusable in say

Re: Q: how do I do something after a forward?

2002-05-03 Thread Jim Crossley
Malcolm Dew-Jones [EMAIL PROTECTED] writes: dbh = get_database_connection() initialize_some_beans( dbh , other , stuff ); try { return (mapping.findForward(success)); } finally { close_connection_no_matter_what(); } Obviously the above does not work. Perhaps not so

Re: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Graham Lounder
This is a really good description. I do have one small question, where does the connection pooling, transaction handling come into play? I know you use transactions in your BO but do you initialize this code in the DAOs? Do you use some sort of JNDI reference for your connection pooling? What

RE: how do I do something after a forward?

2002-05-03 Thread James Mitchell
You can also do this by sub classing all your actions from a base action of some sort. This would allow for better code reuse. BaseAction.java import org.blah.blah.blah.Something abstract public class BaseAction extends Action{ ... ... abstract public ActionForward

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Kevin . Bedell
Forget what I said. This is better. FWIW - Kevin Pruthee, Ranjan [EMAIL PROTECTED] on 05/03/2002 03:25:15 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc:(bcc: Kevin Bedell/Systems/USHO/SunLife) Subject:

Re: Now how does one do this?

2002-05-03 Thread Craig R. McClanahan
On 3 May 2002, Jim Crossley wrote: Date: 03 May 2002 14:49:28 -0400 From: Jim Crossley [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Now how does one do this? Craig R. McClanahan [EMAIL PROTECTED]

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Pruthee, Ranjan
For JNDI: U can create a ServiceLocator object which sits with the Business objects or u can create a Utility package with this class in it to get the reference to the EJBs. For Transaction Handling: It gets fairly complex when the Business transaction spans multiple Business object

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Jayaraman Dorai
I use it the same way too. But had a dilemma of whether to place the Value Object as a data member of Business Object and set that in constructor or pass the Value Object as parameter for every method of create, update, and remove. How do you do that? Any pros and cons. -Original

Re: *** URGENT Help needed ****

2002-05-03 Thread Eddie Bush
LMAO - I love it =) ... kind of like doing 'cat can of catfood' on a Unix box =) (cat: cannot open can of catfood) - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 03, 2002 11:12 AM Subject: RE: ***

Re: *** URGENT Help needed ****

2002-05-03 Thread Eddie Bush
AMEN! *applause* - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 03, 2002 12:06 PM Subject: RE: *** URGENT Help needed Just shut up already, no one owes you anything... -Original Message- From: Micael Padraig Og mac Grene

Question !!

2002-05-03 Thread reshma deshpande
hi all .. plz see the attached file (gif) for my Question .. that is what i am basically doing for this usecase there are 2 text boxes (where u can add in values) and later delete them if you wish to. B#1 and B#2 are the add and delete buttons. the add part is fine with me... wherein i am

Re: *** URGENT Help needed ****

2002-05-03 Thread Eddie Bush
Is Micael trying to say that he built the hotmail account to disguise himself from Mark/James - and that this is, in fact, a thread initiated by HIM incognito? *gasp* =O ... friday - not a day of the week, but a STATE OF MIND (if you're on the struts-user mailing list that is =) - Original

Embed bean:write inside html:link?

2002-05-03 Thread Shane Bouslough
Hi Struts Users, I can successfully iterate over a list, and use bean:write to output the values like this: logic:iterate id=foo name=fooList Foo=bean:write name=foo/br /logic:iterate Let's say this outputs: Foo=XXX Foo=YYY Foo=ZZZ I would like to also

RE: Embed bean:write inside html:link?

2002-05-03 Thread Leonardo Maciel
for one single parameter use html:link page=/process.do paramId=foo paramName=foobean:write name=foo//html:link -Original Message- From: Shane Bouslough [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 4:15 PM To: [EMAIL PROTECTED] Subject: Embed bean:write inside html:link? Hi

Re: Embed bean:write inside html:link?

2002-05-03 Thread Eddie Bush
Two words - Run-Time Expressions Basically what you wind up having to do to get additional values into your href='...' is to include a run-time expression that inserts the values for you: href='...%= expr %' I recently had the same problem. I _really_ wanted to use bean:write to handle it but

Re: Embed bean:write inside html:link?

2002-05-03 Thread Eddie Bush
I didn't know that - thanks! ... what an amazing friday - I actually learned something! - Original Message - From: Leonardo Maciel [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 03, 2002 3:15 PM Subject: RE: Embed bean:write inside html:link? for

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Pruthee, Ranjan
The way I do it is - BO -- DAO ---returns the recordset and not ValueObject. This RS is passed back to the BO. which passes it to the ValueObject to build it. The code will look something like this - public class BO { CustomerVO custvo = new CustomerVO(); Recordset rs =

RE: [ANNOUNCE]petstore1.3 running under struts1.0

2002-05-03 Thread Long Nguyen
Hi I can test the petstore app on win2k with tomcat 4.0(or BEA WebLogic server 6.1) if you send me the war file. Regards, Long B. Nguyen -Original Message- From: Yang Li [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 9:31 AM To: Struts Users Mailing List Subject:

Re: How to deploy Struts-using app to Tomcat 4 from Forte?

2002-05-03 Thread @Basebeans.com
Subject: Re: How to deploy Struts-using app to Tomcat 4 from Forte? From: Jeff [EMAIL PROTECTED] === Well, as it turns out, the problem was with Tomcat. Specifically, Tomcat 4.0.1. After discovering the huge number of bugfixes between 4.0.1 and 4.0.2, I upgraded the server to Tomcat 4.0.3, and

Re: Embed bean:write inside html:link?

2002-05-03 Thread Jim Crossley
Shane Bouslough [EMAIL PROTECTED] writes: [...] logic:iterate id=foo name=fooList Foo=bean:write name=foo/br /logic:iterate [...] Foo=a href=/process.do?foo=XX/abr How can I embed the output of bean:write to be part of the value passed to the page= parameter

synchronizing access to instance var. on action

2002-05-03 Thread Emmanuel Bridonneau
I have a doubt, I have some action classes that perform various things depending upon some context. Such a context is passed in as a URL param as in html:link page=/gateKeeperAction.do?method=bidStarted Am i to synchronized on 'method' instance variable of the action? -- To unsubscribe,

RE: *** URGENT Help needed ****

2002-05-03 Thread James Mitchell
See intermixed. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 4:08 PM To: Struts Users Mailing List Subject: Re: *** URGENT Help needed Is Micael trying to say that he built the hotmail account to disguise himself from

Help with ActionErrors

2002-05-03 Thread @Basebeans.com
Subject: Help with ActionErrors From: Brian Pembroke [EMAIL PROTECTED] === Is it possible to add a string to an ActionError instead having it get the string out of the properties file. I need to be able to give dynamic error messages that are changing. ActionErrors errors = new

RE: synchronizing access to instance var. on action

2002-05-03 Thread Nelson, Laird
-Original Message- From: Emmanuel Bridonneau [mailto:[EMAIL PROTECTED]] Am i to synchronized on 'method' instance variable of the action? Generally, instance variables in Action classes are bad. You probably want to store the value of that variable as an attribute in the session

  1   2   >