Re: EXTERNALIZE SQL QUERIES

2004-07-06 Thread Andrew Stepanenko
ÐÑÐ, 2004-07-07 Ñ 06:48, Shailender Jain ÑÐÐ: > Hi, > > I am using struts framework for the development of my application. > I want to externalize the sql queries written in my application to an > xml file. > > For e.g. if i have got a query > insert into employee (id, name) values (1, 'shai

Re: some best practices questions

2004-07-06 Thread Michael McGrady
Thanks for the heads up, Rick. I think this whole area just needs a concerted and orchestrated look. The standard approaches just are not working for people. This is really so recurrent is more than recurrent. At 09:59 PM 7/6/2004, you wrote: On Tue, 06 Jul 2004 20:58:16 -0700, Michael McGrad

Re: some best practices questions

2004-07-06 Thread Rick Reumann
On Tue, 06 Jul 2004 20:58:16 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: I wouldn't mind an ongoing discussion group on this alone somehow, if there were a way to do that. I might create a forum for that. I created a model-struts group on yahoo groups for discussing more of the model

Select + optionsCollection tag

2004-07-06 Thread Naresh Sharma
Hi,   I have a combo box, and populating hash map values in this box.   Once initial form is populated, if user selects any option from this box, it will submit the form to my action class using method “callOnChange”. And action class does re-populate the value object from backend and f

Re: some best practices questions

2004-07-06 Thread Michael McGrady
Ever thought about creating a new scope managed by your own manager from application scope? That is an approach I have been thinking of more and more as of late. At 08:35 PM 7/6/2004, you wrote: I used hidden select lists to restore user selections since I wasn't "allowed" to place the whole f

Re: some best practices questions

2004-07-06 Thread Michael McGrady
I think the obvious is important with this recurrent problem. The obvious is that you want to persist data for a period that is not coincident with the normal devices for doing that. i.e. request, session and context scopes. The difficulty is matching up with storage method on the server with

EXTERNALIZE SQL QUERIES

2004-07-06 Thread Shailender Jain
Hi, I am using struts framework for the development of my application. I want to externalize the sql queries written in my application to an xml file. For e.g. if i have got a query insert into employee (id, name) values (1, 'shailender'); This should be written in xml as insert into employee (

Re: some best practices questions

2004-07-06 Thread Christina Siena
I used hidden select lists to restore user selections since I wasn't "allowed" to place the whole form in session scope. The management/maintenance of user selections was indeed ugly (but its done and works fine). My question has to do with the data retrieved from the db (from which the user mak

Re: some best practices questions

2004-07-06 Thread Rick Reumann
Christina Siena wrote: I recently developed an application with a complex UI. One of the pages required querying the database based on user selection and re-displaying the page with the retrieved data and any previous existing user selections. Four different fields can trigger a db query resulting

some best practices questions

2004-07-06 Thread Christina Siena
I recently developed an application with a complex UI. One of the pages required querying the database based on user selection and re-displaying the page with the retrieved data and any previous existing user selections. Four different fields can trigger a db query resulting in page re-display a

Re: more: Re: almost OT - html4.0 buttons don't work in IE 6 SP 1 ??

2004-07-06 Thread Rick Reumann
Axel Groß wrote: aaargh. Just found another problem. Seems that the IE is so clever that if there are multiple buttons of the same name he just submits the first button of the name, regardless of which of them had been clicked. Ok, I think I'll just forget about LookupDispatchAction and HTML 4.0 So

Re: Request bean is lost

2004-07-06 Thread Rick Reumann
[EMAIL PROTECTED] wrote: I have an action Page.do that gets 3 lists from a database. It then places the lists inside a bean which is set in the request. The Page.jsp iterates thru the bean to display the data. The form is posted to the PageSubmit.do. But before the PageForm.validate() is executed.

Date validation help

2004-07-06 Thread Greg Hoven
We have a need to accept dates entered on a form in either "mm/dd/" or "mm-dd-" formats, depending on how the user keys it in. (Not our choice to support both formats.) We'd like to use the Struts Validator to validate the dates with the validateDate() method. We haven't been able

Re: Form bean scope question

2004-07-06 Thread Michael McGrady
To what does this refer? You must be trying to find this but why? At 02:18 AM 7/6/2004, you wrote: org.apache.struts.taglib.html.BEAN - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Form bean scope question

2004-07-06 Thread Michael McGrady
The problem is that, no matter what that is causing the problem. The error report tells you that is the problem. The problem is that you are not seeing what the error tells you is not being seen. So, track it back. If the "taglib" line is there, then the URI might be set wrong elsewhere or

RE: JSTL Map Accessors

2004-07-06 Thread Erez Efrati
Denis, Your code: (just as you typed it) seems fine except for the spaces in '... items = ${...'. I use JSTL code in my project that does exactly what you are trying to do and it works fine. I suggest doing the following: 1. Do you really have spaces before and after the '=' sign in 'items

RE: JSTL Map Accessors

2004-07-06 Thread Barett McGavock
Denis, Have you tried ? Barett > -Original Message- > From: Denis Avdic [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 11:56 AM > To: Struts Users Mailing List > Subject: JSTL Map Accessors > > > Hello, > > I have a problem that I can't seem to get around. > > I have a nu

JSTL Map Accessors

2004-07-06 Thread Denis Avdic
Hello, I have a problem that I can't seem to get around. I have a number of maps in my request, all keyed by same sequence of String keys that are contained within an ArrayList in that same request. My question is how do I get to the values in those maps? I've tried variations on: but that o

Re: Book Recommendations

2004-07-06 Thread Martin Gainty
Ted Husted Struts in Action http://www.manning.com/husted -martin - Original Message - From: "Davis, Nick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 06, 2004 8:42 AM Subject: Book Recommendations > Hi All, > > I am looking for a good Struts book. Does anyone have any

RE: Is scriptlets allowed in struts

2004-07-06 Thread Danilo Gurovich
You can, in theory, use scriptlets as often as you like.  You may also use the newer "evaluation language" if you have it implemented.  Struts doesn't "make" you do anything in this regard, but you'll find that by limiting scriptlets and thinking about how you implement the code, you'll be

RE: Is scriptlets allowed in struts

2004-07-06 Thread Jim Barrows
You can use scriptlets. Whether or not you should depends on how you break out work. Where I work, we have a separate crew that does the html/JSP layout and design and so we try to keep scriptlets to a bare minimum. ymmv However, what you want to do sounds like logic:iterate will work, somethin

AW: Book recommendations

2004-07-06 Thread Michael Albrecht
Hi Nick! I think on http://wiki.apache.org/struts/StrutsBooks you will find, what you`re looking for. Bye, Michael http://www.struts-it.de -- NEUSTA Computersprachen GmbH Ostertorsteinweg 30 28203 Bremen Tel.: +49 421 20696-22 Fax: +49 421 20696-99 Mobil: +49 171 4289299

Re: JSTL Has "Paging" Built-In?

2004-07-06 Thread Greg Ludington
>> I have tried one of the paging taglib; but, it does not accept JSTL tags. > What do you mean by "does not accept JSTL tags"? If, by this you mean something along this snippet you posted in another thread I found: " maxPageItems="20" isOffset="true" export="offset,currentPageNumber=pageNumbe

Is scriptlets allowed in struts

2004-07-06 Thread Srihari
hi, i am new to struts. my colleagues who are in struts say that i shouldnt use scriptlets in my jsp page where i use struts. but in some situations where the struts tags dont come to our rescue, say in logic situations. then we are compelled to use scriptlets to solve the problem. for ex,

Struts indexed properties, nested collections and Validator

2004-07-06 Thread Ivaylo Bogdanov
I am using ActionForms that contain collection of objects. These objects contain other collections of objects as a field, in this way representing composite object structure with nested collections. This collection is automatically filled by Struts once the form is submitted by the help of indexed

Struts indexed properties, nested collections and Validator

2004-07-06 Thread Ivaylo Bogdanov
I am using ActionForms that contain collection of objects. These objects contain other collections of objects as a field, in this way representing composite object structure with nested collections. This collection is automatically filled by Struts once the form is submitted by the help of indexed

Issue with Struts application on Jboss Server

2004-07-06 Thread Udaya Prakash
I am running a struts application in JBoss. When the server is getting started I am getting the following error message: Loading container servlet default 16:01:51,654 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 16:01:53,34

RE: Request bean is lost

2004-07-06 Thread Robert Taylor
Since Struts forwards (not redirects) to the url defined in the input attribute upon validation failure (assuming validate is set to true), then nothing is lost in the request; and therefore the user input is not lost. robert > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL P

RE: Request bean is lost

2004-07-06 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 1:45 PM > To: Struts Users Mailing List > Subject: RE: Request bean is lost > > > :) > > I was just contemplating while browsing the code... > Getting the the data from the DB requir

RE: OT - How to add icon in browser url field

2004-07-06 Thread Mick . Knutson
Are you talking about the "Address:..." field of the browser? If so, just create an icon and call it "favicon.ico" and put it into your root HTML directory. Then it just works -Original Message- From: David Gagnon [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 1:42 PM To: 'Str

RE: Request bean is lost

2004-07-06 Thread gdeschen
:) I was just contemplating while browsing the code... Getting the the data from the DB requires lots of work such as setting a Transfer Object, calling a Facade and the error handling should the DB return an error. If this still out weighs the use of a Session Bean then so be it I will code i

Re: OT - How to add icon in browser url field

2004-07-06 Thread Lucas Gonzalez Pearson
David, you must place a favicon.ico file in the root dir of your webserver Lucas - Original Message - From: "David Gagnon" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, July 06, 2004 5:41 PM Subject: OT - How to add icon in browser url fie

OT - How to add icon in browser url field

2004-07-06 Thread David Gagnon
Hi Sorry for the OT topic :-). I'm looking for a while now how you can add icon that appears in the URL text field of a browser (example: http://www.hicksdesign.co.uk/). I heard it's something that I must do server side. Is there a way to have it works with Tomcat 4.x. Thanks for your help

RE: Request bean is lost

2004-07-06 Thread Robert Taylor
Let me clarify the last statement: Page.do will write over any input values to which it is programmed to write. ...more eloquently stated by Jim "It shouldn't... unless you are overwriting those fields in page.do explicitly." robert > -Original Message- > From: Robert Taylor [mailto:[

RE: Request bean is lost

2004-07-06 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 1:32 PM > To: Struts Users Mailing List > Subject: RE: Request bean is lost > > > Exactly. > > My Page.do has as a parameter the jsp page along with its Form Bean. > So it will get o

RE: 1.2.0 release plan?

2004-07-06 Thread Jim Barrows
> -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 1:26 PM > To: Struts Users Mailing List > Subject: RE: 1.2.0 release plan? > > > > From: Emmanouil Batsis [mailto:[EMAIL PROTECTED] > > Can someone please point to a blurry date regarding

RE: Request bean is lost

2004-07-06 Thread gdeschen
Exactly. My Page.do has as a parameter the jsp page along with its Form Bean. So it will get overwritten. Now what is the best clearest way to get this done? Must I absolutely use a Session Bean to maintain the List and the Form Bean for the user inputted data? "Jim Barrows" <[EMAIL PROTECT

RE: Request bean is lost

2004-07-06 Thread Robert Taylor
Yes, it will write over any input values... In this case, you might want to consider populating the lists in the forms.reset() as mentioned earlier. ...not my prefered approach as it puts business logic in the form; its more of a work around. robert > -Original Message- > From: [EMAIL

RE: 1.2.0 release plan?

2004-07-06 Thread Wendy Smoak
> From: Emmanouil Batsis [mailto:[EMAIL PROTECTED] > Can someone please point to a blurry date regarding the > release plan for 1.2.0? It was released in February. ;) They're working on 1.2.1 right now, if you look at the recent archives of the dev list, you'll see that it could be this week!

RE: Request bean is lost

2004-07-06 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 1:23 PM > To: Struts Users Mailing List > Subject: RE: Request bean is lost > > > Umh... > Let me try to express myself more clearly! > > Page.do > - > My Page.do obtains

Re: Form bean scope question

2004-07-06 Thread John Moore
Michael McGrady wrote: Yes, this is the problem. At 04:05 AM 7/6/2004, you wrote: I have had a problem like this before and what I did is add the <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> in the included/inserted jsp pages. Unfortunately it isn't. The necessary taglib line is there

RE: Request bean is lost

2004-07-06 Thread gdeschen
Umh... Let me try to express myself more clearly! Page.do - My Page.do obtains 3 lists from the DB based on the user's security attributes. Default values are set for 2 of the lists such as month and year. All of this is done in the Form Bean. PageSubmit.do --- T

RE: Request bean is lost

2004-07-06 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 1:04 PM > To: Struts Users Mailing List > Subject: RE: Request bean is lost > > > My lists are specific to each user based on security > attributes obtained > from the database. > T

RE: Request bean is lost

2004-07-06 Thread gdeschen
My lists are specific to each user based on security attributes obtained from the database. Therefore, the application scope solution is not acceptable for these lists. If I go the first solution route, then I have my 3 Lists as part of the Form bean. The user selects from the list and submits

Re: Confused about ActionMessages

2004-07-06 Thread Erik Weber
Thank you Geeta, I will give this a try. If anyone could shed some light on exactly what these tags are doing under the covers (especially what attribute keys are used by default, how to change those, when should you, etc.), I would appreciate it. Otherwise, I guess I'll get into the source when

RE: Submitting Indexed Properties and List Size/Resize

2004-07-06 Thread Ellingson, David
Atta, I was going to resize in the setter out of caution since I'm not familiar enough with when the getter and setter is called in Struts. You may be right that I don't have to do it in the setter. Thanks for validating my thoughts. It looks like it works. Thanks, Dave -Original Messag

RE: Submitting Indexed Properties and List Size/Resize

2004-07-06 Thread Robert Taylor
David, take a look at lazyList here: http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_1/org/apache/commons/collections/ListUtils.html robert > -Original Message- > From: Ellingson, David [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 3:22 PM > To: '[EMAIL PROT

Re: Submitting Indexed Properties and List Size/Resize

2004-07-06 Thread atta-ur rehman
Hello Dave, I think you're pretty close! I don't see why do you have to resize the list in the setter though? Here is what I've done and it works: public BlockEffort getBlock(int index) { while (blockEffortList.size() <= index) { blockEffortList.add(new BlockEffort()); } return (BlockEff

Submitting Indexed Properties and List Size/Resize

2004-07-06 Thread Ellingson, David
I wanted to verify whether I am understanding the best way to submit indexed properties to an ActionForm. I was originally having problems with ArrayOutOfBoundsExceptions when submitting the Form, and, after some research, it looks like the framework is expecting the List to be prepopulated before

RE: Request bean is lost

2004-07-06 Thread Robert Taylor
One solution is to point the input attribute value of the PageSubmit.do action mapping to the Page.do action mapping thus re-retrieving the lists before displaying the page. An alternative solution is to override the reset() of your action form so that it retrieves the lists from the database and

Re: bean:write throws "Wrong format string"

2004-07-06 Thread Bill Siggelkow
You might want to look into the JSTL formatting tags. They handle locales quite well. James A. Hillyerd wrote: I'm having a problem rendering a number using the bean write tag, I'm using Struts 1.1. This is the offending JSP code: Here is the format entry in my appliation.resources: format.int

Re: Request bean is lost

2004-07-06 Thread Bill Siggelkow
Try specifying input="/Page.do" instead of input="/Page.jsp" [EMAIL PROTECTED] wrote: Greetings, I have an action Page.do that gets 3 lists from a database. It then places the lists inside a bean which is set in the request. The Page.jsp iterates thru the bean to display the data. The form is p

RE: Confused about ActionMessages

2004-07-06 Thread Geeta Ramani
Sorry Erik, prematurely hit some contrl key.. So, to continue, in your success.jsp add: But to display your error, do: Hth, Geeta > -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004

RE: Confused about ActionMessages

2004-07-06 Thread Geeta Ramani
Erik: Here's an example: In your Action class do: try { service.insertEmployee( employeeDTO ); ActionMessages messages = new ActionMessages(); ActionMessage message = new ActionMessage("message.employee.insert.success",employeeDTO.getName() ); messa

Confused about ActionMessages

2004-07-06 Thread Erik Weber
Hello all. I have successfully used ActionErrors in combination with the html:errors tag, by adding errors under various keys and then simply placing the tag at the top of my JSP. However, the ActionMessages class doesn't seem to act in parallel to the ActionErrors class, and neither does the

bean:write throws "Wrong format string"

2004-07-06 Thread James A. Hillyerd
I'm having a problem rendering a number using the bean write tag, I'm using Struts 1.1. This is the offending JSP code: Here is the format entry in my appliation.resources: format.integer=###,###,###,##0 This is the exception that gets logged: 2004-07-05 12:21:34 StandardWrapperValve[default]: S

Re: Not possible to attach 2 (or more) parameters from 2 different beans to an html:link?

2004-07-06 Thread Kris Schneider
If you want to add multiple params to link, drop them in a Map. Here's an example that also uses JSTL: <%@ taglib prefix="c"uri="http://java.sun.com/jstl/core"; %> <%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tags-html"; %> Hit me Quoting Robert Bowen <[EMAI

1.2.0 release plan?

2004-07-06 Thread Emmanouil Batsis
Hi all, Can someone please point to a blurry date regarding the release plan for 1.2.0? I know we'll get it when it's ready and I'm happily using a nightly, but I cannot deploy a non-release version (and stuff like wildcards) in a production environment. Thanks in advance, Manos --

Request bean is lost

2004-07-06 Thread gdeschen
Greetings, I have an action Page.do that gets 3 lists from a database. It then places the lists inside a bean which is set in the request. The Page.jsp iterates thru the bean to display the data. The form is posted to the PageSubmit.do. But before the PageForm.validate() is executed. Assume that

Re: Book Recommendations

2004-07-06 Thread Frank Burns
A few months ago I was thrown into the deep end on an urgent Struts-based project with a VERY tight deadline. To help me get up to speed ASAP, I bought and read/used these three books during that time: 1) Pro Jakarta Struts, Second Edition by John Carnell, Rob Harrop 2) Programming Jakarta Struts

Re: Book Recommendations

2004-07-06 Thread klute
I highly recommend this one: Struts Survival Guide: Basics to Best Practices http://www.programming-reviews.com/Struts_Survival_Guide_Basics_to_Best_Practices_0974848808.html - to the point - practical - advanced stuff-galore HTH, James http://www.devbistro.com -- web dev jobs --- "Davi

RE: Book Recommendations

2004-07-06 Thread Danilo Gurovich
I have two "go-to" books. Struts in Action, which has many wonderful pieces, especially tiles, the intricacies of the Struts-config file and some other goodies (feel free to ignore the chapters involving Scaffold and lucene -- both good technologies but the code samples are kinda weak). The Oriel

Tiles: converting jsp definitions to xml defs.

2004-07-06 Thread josh
I am getting the following error after converting my app from using jsp based tiles definitions to xml based tiles definitions. "org.apache.jasper.JasperException: Can't get definitions factory from context" Then a big stack trace. The app was functional before I made the following changes... *

Re: JSTL Has "Paging" Built-In?

2004-07-06 Thread Duncan Mills
The tag has the ability to use variable values for the start, end and step values of the loop, so you can use that to display say 10 rows of a collection at a time. start and end can be defined with expressions Regards Duncan Mills Caroline Jen wrote: I was told that JSTL has "paging" built in

RE: Not possible to attach 2 (or more) parameters from 2 different beans to an html:link?

2004-07-06 Thread Jim Barrows
> -Original Message- > From: Robert Bowen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 8:44 AM > To: [EMAIL PROTECTED] > Subject: Not possible to attach 2 (or more) parameters from 2 > different > beans to an html:link? > > > Hello listers. I sent an email about a week ago

Re: Not possible to attach 2 (or more) parameters from 2 different beans to an html:link?

2004-07-06 Thread Nicolas De Loof
You have to set a map of parameters to add to the link. You may create the map in an action prior to your JSP, or use this in your JSP (if you use JSTL) : click me ! Nico. > Hello listers. I sent an email about a week ago and haven't heard a blip. So I guess > this simply isn't po

RE: OT Book recommendations

2004-07-06 Thread Wendy Smoak
> From: Bryan Hunt [mailto:[EMAIL PROTECTED] > Out of the last 5 tech books that I have bought ( not including > J2EE design and Development by Rod Johnson) it is the only > one worth the paper it was printed on. With apologies to the resident authors... With rare exceptions, I don't buy tech boo

Re: [OT] SecurityFilter: Custom Authenticator

2004-07-06 Thread Bill Siggelkow
Check out this thread -- it might help. http://sourceforge.net/forum/message.php?msg_id=2380960 Guillermo Meyer wrote: Hi: I want to use SecurityFilter and I need to implement my own Authenticator, because neither FormAuthenticator nor BasicAuthenticator fits my needs. The current scenario is that

RE: JSTL Has "Paging" Built-In?

2004-07-06 Thread Paul McCulloch
I think that Java Server Faces has built in paging, but that's not part of JSTL. I'd recommend that you look at displaytag (http://www.displaytag.org/index.jsp). What do you mean by "does not accept JSTL tags"? Paul > -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > S

RE: [OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread Robert Taylor
+1 > -Original Message- > From: Bryan Hunt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 11:37 AM > To: Struts Users Mailing List > Subject: Re: [OT] Speaking of "gratuitously difficult". > > > Forget about it, the only way to do it without tearing your hair out is > to u

Re: [OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread Erik Weber
If you search for "web app tutorial" you should find something, but: make this structure/files: *.jsp *.html images/ WEB-INF/ WEB-INF/classes WEB-INF/lib WEB-INF/web.xml put your class files in WEB-INF/classes, and put your third-party jar files (dependencies) in WEB-INF/lib. from the root (you a

Not possible to attach 2 (or more) parameters from 2 different beans to an html:link?

2004-07-06 Thread Robert Bowen
Hello listers. I sent an email about a week ago and haven't heard a blip. So I guess this simply isn't possible? If I have a bean "user" and another "module" and want to attach a property from each to an html:link tag, how do I do it? As I understand it if I simply put "paramName" it will inclu

Book Recommendations

2004-07-06 Thread Davis, Nick
Hi All, I am looking for a good Struts book. Does anyone have any recommendations? Thank you in advance for your help. Kind Regards, Nick

JSTL Has "Paging" Built-In?

2004-07-06 Thread Caroline Jen
I was told that JSTL has "paging" built in. Could someboday who has used this feature provide instructions? Is there a document that illustrate the steps of using it? Paging means: [ previous page | 1 2 3 4 ... | next page ] I have tried one of the paging taglib; but, it does not accept JSTL tags

Re: [OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread Erik Weber
If you search for "web app tutorial" you should find something, but: make this structure/files: *.jsp *.html images/ WEB-INF/ WEB-INF/classes WEB-INF/lib WEB-INF/web.xml from the root (you are in the directory that contains the JSPs, and the WEB-INF directory, and the images directory if you have

Re: [OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread Bryan Hunt
Forget about it, the only way to do it without tearing your hair out is to use ANT and XDoclet. J2EE is all about "wasting time on stuff that should be simple". My 2 c, unless you need session beans it is better to use tomcat as your web container and hibernate for persistance. Use the spring f

Re: Book recommendations

2004-07-06 Thread Bryan Hunt
I would suggest Struts , the complete reference by James Holmes. It is incredibly clearly laid out and has a section on JSTL as well. It is good as both an introduction and a reference. Out of the last 5 tech books that I have bought ( not including J2EE design and Development by Rod Johnson) it is

Re: [OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread Navjot Singh
All you need is ANT - ant.apache.org either use it standalone outside eclipse OR use it as plugin wihtin eclipse. HTH navjot singh Mike Duffy wrote: Speaking of "gratuitously difficult". Has anyone ever messed with the "deploytool" in J2EE? AHHGGG I just want to deploy a simple war file. I

Re: [OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread Emmanouil Batsis
Mike Duffy wrote: Speaking of "gratuitously difficult". Has anyone ever messed with the "deploytool" in J2EE? Um, yes; two years back though! I just want to deploy a simple war file. Use Apache Ant. It will take you a week to become confident in writing basic buildfiles, butyour life will c

AW: Book recommendations

2004-07-06 Thread Albrecht, Michael
Hi Nick! I think on http://wiki.apache.org/struts/StrutsBooks you will find, what you`re looking for. Bye, Michael http://www.struts-it.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: Form bean scope question

2004-07-06 Thread Michael McGrady
Yes, this is the problem. At 04:05 AM 7/6/2004, you wrote: I have had a problem like this before and what I did is add the <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> in the included/inserted jsp pages. HTH, Glenn John Moore <[EMAIL PROTECTED]> 06/07/2004 06:24 AM Please respond to

RE: [OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread McCormack, Chris
Can you not plug ANT in with eclipse ? -Original Message- From: Mike Duffy [mailto:[EMAIL PROTECTED] Sent: 06 July 2004 14:48 To: Struts Users Mailing List Subject: [OT] Speaking of "gratuitously difficult". Speaking of "gratuitously difficult". Has anyone ever messed with the "

RE: Book recommendations

2004-07-06 Thread Marco Mistroni
Struts In Action My 2 c - marco -Original Message- From: Davis, Nick [mailto:[EMAIL PROTECTED] Sent: 06 July 2004 15:39 To: 'Struts Users Mailing List' Subject: Book recommendations Hi All, I am looking for a good Struts book. Does anyone have any recommendations? -Nick ---

[OT] Struts Users Networking London / post J1 / meet up

2004-07-06 Thread Pilgrim, Peter
Hello For those of you who are still awaiting news for the next Struts User Networking meet-up in London after the last one that took place at Waxy O'Connors on Monday 7th June. Well, to be perfectly honest there is no firm date as of writing this note. Yesterday I re-subscribed to the user lis

RE: Book recommendations

2004-07-06 Thread McCormack, Chris
The corner stone of most struts developers on this list is a copy of 'struts in action' by Ted Husted published by Manning. A typical example on how you could use struts would be 'programming jakarta struts' by Chuck Cavaness and published by O'Reilly. I would read them in that order too.

Re: Book recommendations

2004-07-06 Thread Christopher . Marsh-Bourdon
Jakarta Struts, Chuck Cavaness, O'Reilly "Davis, Nick" <[EMAIL PROTECTED]> 06/07/2004 15:39 Please respond to "Struts Users Mailing List" To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> cc: Subject:Book recommendations Hi All, I am looking for a

Book Recommendations

2004-07-06 Thread Davis, Nick
Hi All, I am looking for a good Struts book. Does anyone have any recommendations? -Nick

Apologies to anyone who received my Lotus Notes agent reply over the last 3 weeks.

2004-07-06 Thread Steven . Lock
Hello, My apologies to anyone who received my Lotus Notes auto-reply agent message via the Struts user list over the last 3 weeks. Cheers Steve * * * * * * * * L E G A LD I S C L A I M E R * * * * * * * * This e-mail is destined for the above mentioned recipient. In case you received thi

RE: javax.servlet.ServletException: Cannot find bean dblist in scope request

2004-07-06 Thread Robert Taylor
Okay. As I understand it, you have an action which retrieves information from the database and places it in the request scope under the name "dblist" and then forwards to page which should iterate over the list and render its contents. The problem you are having is that the iterate tag cannot f

[OT] Speaking of "gratuitously difficult".....

2004-07-06 Thread Mike Duffy
Speaking of "gratuitously difficult". Has anyone ever messed with the "deploytool" in J2EE? AHHGGG I just want to deploy a simple war file. I googled around and I could not even find good documentation (Sun or elsewhere). Does anyone know of a good plugin for Eclipse that creates war

Book recommendations

2004-07-06 Thread Davis, Nick
Hi All, I am looking for a good Struts book. Does anyone have any recommendations? -Nick

Re: Using struts-nested tags

2004-07-06 Thread Paride Perazzolo
>> > scope="session"> > > You shouldn't need the above on the page. You should set > MyBeanContainer with the id "beanContainer" into session or request > scope in the Action you are in "BEFORE" you get to this JSP page. The > page will have it. No need to use the useBean stuff. > ok, now I un

Re: Form bean scope question

2004-07-06 Thread gdeschen
I have had a problem like this before and what I did is add the <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> in the included/inserted jsp pages. HTH, Glenn John Moore <[EMAIL PROTECTED]> 06/07/2004 06:24 AM Please respond to "Struts Users Mailing List" To: Str

Re: Form bean scope question

2004-07-06 Thread John Moore
Mark Lowe wrote: You may have stuff configured to process such requests but an out the box version of struts would probably need to find a mapping such as Yes, I do. It's actually all working perfectly, the only problem I'm having is when I try to factor out the common HTML, as I mentioned. J

Re: Form bean scope question

2004-07-06 Thread Mark Lowe
You may have stuff configured to process such requests but an out the box version of struts would probably need to find a mapping such as On 6 Jul 2004, at 10:46, John Moore wrote: Mark Lowe wrote: What does your mapping look like? For the action in question: John --

Re: Form bean scope question

2004-07-06 Thread John Moore
Mark Lowe wrote: What does your mapping look like? For the action in question: John -- == John Moore - Norwich, UK - [EMAIL PROTECTED] == ---

Re: Form bean scope question

2004-07-06 Thread Mark Lowe
What does your mapping look like? On 6 Jul 2004, at 10:18, John Moore wrote: Hi, I hope someone can help me get my head around a scoping question here. I have a multi-page wizard, used for purchasing. There are five pages in all and I'm trying to factor out as much of the common stuff as possible

Form bean scope question

2004-07-06 Thread John Moore
Hi, I hope someone can help me get my head around a scoping question here. I have a multi-page wizard, used for purchasing. There are five pages in all and I'm trying to factor out as much of the common stuff as possible. In each page, there is something like the following:

Re: Using struts-nested tags

2004-07-06 Thread Paride Perazzolo
Thanks for your answer. >> > scope="session">> > You shouldn't need the above on the page. You should set > MyBeanContainer with the id "beanContainer" into session or request > scope in the Action you are in "BEFORE" you get to this JSP page. The > page will have it. No need to use the useBea

RE: ClassCastException when usig multiple web applications

2004-07-06 Thread McCormack, Chris
change your tile-defs to not include the context name of your application ie Also, why place your jsp's under WEB-INF ? Is there a security concern you are trying to overcome ? or were they just put there for no reason ? thanks Chris McCormack -Original Message-

  1   2   >