Tomcat3.3 Struts1.0 = Segmentation violation ?

2002-02-05 Thread emmanuel.boudrant
Hello, I've got a struts 1.0 application on a tomcat 3.3, but I've got a FATAL ERROR when I trying to access an action. The form associed to this action is stocked in session and contain about 20 fields. The application crash on Tomcat 3.3 / Solaris 8 W2K. The application work fine on

changing regexp in default validation

2002-02-05 Thread Ivan Siviero
Hi struts users. I'm posting a question on struts validator. Well, as you all know, the struts validator implements an email validation which is defined in the org.apache...StrutsValidator validateEmail() method. (Sorry if the names are not 100% equals to the original ones). Anyway this

Re: Tomcat3.3 Struts1.0 = Segmentation violation ?

2002-02-05 Thread emmanuel.boudrant
Here another error message under Tomcat 3.3 / Struts 1.0. Location: /basepat/saisiefiche2.jspErreur interne de servlet:java.lang.VerifyError: (class: saisiefiche2_1, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal

Re: Tiles Vs Templates

2002-02-05 Thread Cedric Dumoulin
If you use only features from Template, then use only Templates. If you use some Tiles advanced features, then use Tiles. Generally, if you have a very large project with many pages, use Tiles. Tiles allow to build pages by assembling small pieces (Tiles). Usually, you use a layout

AW: [Off Topic] get/set method generation

2002-02-05 Thread Dirk Storck
eclipse from ibm does it too!!! -Ursprüngliche Nachricht- Von: Sey, Francois [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 1. Februar 2002 16:22 An: 'Struts Users Mailing List' Betreff: RE: [Off Topic] get/set method generation OptimalJ does that too. http://javacentral.compuware.com/

Thread Safety Question (was Formatting Dates, Integers...)

2002-02-05 Thread Keith Bacon
Do you know what the problem was that made your use of format objects non-thread safe? -Original Message- From: Jeff Martin [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 5:56 PM To: Struts Users Mailing List Subject: RE: Formatting Dates, Integers... Be very

AW: Struts/Tiles and nightly build features

2002-02-05 Thread Dirk Storck
Hi, what do you mean with custom renderers that serve up different views depending on the browser type? Do you have an example? By the way. For what do I need the input-parameter? Many Thanks! -Ursprüngliche Nachricht- Von: Sean Willson [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag,

AW: ResultSet and ListObject - List Screens

2002-02-05 Thread Dirk Storck
WHERE do I find that taglib? Thanks! -Ursprungliche Nachricht- Von: Matt Raible [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 31. Januar 2002 22:21 An: [EMAIL PROTECTED] Betreff: ResultSet and ListObject - List Screens I am looking to (hopefully) use Ed Hill's Display Tag Library to

Re: How to put useBean data in HTML attribute?

2002-02-05 Thread Olivier Dinocourt
You can also use the paramId and paramName attributes : logic:iterate name=users property=userList id=currentUser html:link href=admin_userForm.jsp paramId=user_id paramName=currentUser bean:write name='currentUser'/ /html:link br /logic:iterate HTH olivier - Original

Re: RE: [Fwd: Re: Hi....]]

2002-02-05 Thread Olivier Dinocourt
I think he means that you should avoid as much as possible writing code (of any sort : tags, scriptlets, etc...) in your JSPs, and rather put this code in your Action classes / business logic classes - Original Message - From: Jay Sissom [EMAIL PROTECTED] To: Struts Users Mailing List

Re: Struts/Tiles and nightly build features

2002-02-05 Thread Ted Husted
Since the nightly builds archives on Jakarta are on a short leash now, if anyone needs a Nightly Build JAR that will work with Tiles and the V/S Toolkit et cetera, there's one here. http://husted.com/struts/resources/struts_1_1a.zip Ted Husted wrote: The functionality will be restored, but

Re: changing regexp in default validation

2002-02-05 Thread Andy Noble
Hi Ivan, I had this problem too... The source of the problem lies in the Jakarta RegExp implementation that Struts Validator uses. I ended up downloading the source to RegExp and stepping through the code. To bypass the problem, I replaced the RegExp regular expression handler with Jakarta ORO.

Re: Struts runtime expression tag.

2002-02-05 Thread Patrick Refondini
having the following forward defined as you mentioned forward name=membership path=/membership.do/ you can as well use it in your html:link html:link forward=/membership paramId=id paramName=formBean paramProperty=idMembership/html:link Patrick Matt Raible wrote: Unfortunately, you

Re: RE: [Fwd: Re: Hi....]]

2002-02-05 Thread Jonathan Gibbons
Hi, The problem with too many tags is one of maintenance. Each tag you write becomes part of your bespoke project 'language'. With large groups producing many tens or hundreds of tags it can become a nightmare for new staff. Far better to stick to the core tags, and struggle not to add

ActionErrors within frames manually forwarded

2002-02-05 Thread holger.wiechert
Hi, I've spent some time checking the list for this issue, but I could only find related topics, that didn't really help. In case that this has been answered before, please ignore it and send me a link. I think that there must be something I've missed when using the Struts validation feature

Database Servlet

2002-02-05 Thread Konstantina Stamopoulou
Hello, I apologize if my question sounds naive but I really need your help on this. I have a servlet that during initialization parses an .xml file using Digester. Then I access the data in my jsps through JavaBeans. What I need to do, is to have my main page which displays the data from the

Configuring iPlanet 4.1 E.E.

2002-02-05 Thread jayanta . roy
Hi, I am trying to configure iPlanet 4.1 Enterprise Edition to run Struts. But am not able to do so for the custom tag libraries. Please help. Its damn urgent. Thanks in advance. Jayanta Roy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

JRun/JNDI Question

2002-02-05 Thread Galbreath, Mark
JRun's documentation sucks and it's code examples use deprecated methods. Does anybody know the correct means to get a JNDI reference to an EJB home interface from a servlet? I've tried most everything, but what I got before pulling the rest of my hair out and quitting is a servlet containing,

Re: JRun/JNDI Question

2002-02-05 Thread Christian Bouessay
Have a look at: http://www.javaworld.com/javaworld/javatips/jw-javatip118.html (it should maybe help you (???)) -- C. Bouessay Galbreath, Mark wrote: JRun's documentation sucks and it's code examples use deprecated methods. Does anybody know the correct means to get a JNDI reference to an

RE: JRun/JNDI Question

2002-02-05 Thread Galbreath, Mark
This looks promising - thanks! It also looks like the delegate design pattern, for those interested in the general practice of decoupling application modules. Mark -Original Message- From: Christian Bouessay [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 8:44 AM Have a

using logic:iterate to display collection and build html:input fields

2002-02-05 Thread curt . kramer
I am trying to use logic:iterate to display a collection of data and also build a dynamic list of html:text input fields. Here's my code logic:iterate id=transactionAmountBoundary name=createTransactionAmountBoundariesForm property=transactionAmountBoundaries indexId=x tr td

Re: Tiles Vs Templates

2002-02-05 Thread Jon Ferguson
I'm going with Tiles.. they are totally compatible and make better use of XML to layout tiles.. That reduced my object count significantly. Cheers, Jon Sriram Nookala wrote: I'm trying to get some information in order to make a choice between struts templates and Tiles for our UI design and

No getter method for property... but present

2002-02-05 Thread Tom Goemaes
Hi, in my bean i have among others: public void setEconomicActivities(String newEconomicActivities) public List getEconomicActivities() public void setDomains(String newDomains) public List getDomains() Both setters perform a tokenizer operation on the provided string, and both getters return

Re: J2EE BluePrints and Struts

2002-02-05 Thread Ted Husted
Oleg had a pager as part of his BeanFactory, but that was never made part of the framework. Perhaps he will get back to that after the ServiceManager work (Go Oleg!). Generally, these type of model-centric patterns do not need be a part of the core framework. The framework provides places

Re: No getter method for property... but present

2002-02-05 Thread João Paulo G. Batistella
You are using List for get and String for set method. You should use the same type for both methods. JP public void setEconomicActivities(String newEconomicActivities) public List getEconomicActivities() public void setDomains(String newDomains) public List getDomains() Tom Goemaes wrote:

Re: Importing CSV and VCF files

2002-02-05 Thread John M. Corro
I had to build a data import using CSV-based import files. I relied strongly on the StringTokenizer class to break out all the various values. Did you have something specific you were wondering about? - Original Message - From: Matt Raible [EMAIL PROTECTED] To: Struts Users Mailing

Re: No getter method for property... but present

2002-02-05 Thread Tom Goemaes
but it work fine for public void setDomains(String newDomains) public List getDomains() how do you explain that ? You are using List for get and String for set method. You should use the same type for both methods. JP public void setEconomicActivities(String newEconomicActivities) public

RE: use of logic:iterate on variable columns and rows?

2002-02-05 Thread Thompson, Darryl
Hello Leo, Try using the nested eXtension (or MonkeyStruts as it is also called) it could solve your problems... Best of luck, Darryl -Original Message- From: Leo Li [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 2:32 PM To: [EMAIL PROTECTED] Subject: use of

Re: Importing CSV and VCF files

2002-02-05 Thread Dave Weis
On Tue, 5 Feb 2002, John M. Corro wrote: I had to build a data import using CSV-based import files. I relied strongly on the StringTokenizer class to break out all the various values. Did you have something specific you were wondering about? I found a great csv parser at

Trouble to getParameter sended with HTTP-GET

2002-02-05 Thread SECHAO Jean-Philippe
Hi, I can catch the parameter if it is send by HTTP-POST but I can't catch the parameter added to the end of the URI. Does someone have any example for catching HTTP-GET paramater using STRUTS. Thanks a lot, ___ Do You Yahoo!? -- Une

Re[2]: J2EE BluePrints and Struts

2002-02-05 Thread Oleg V Alexeev
Hello Ted, Tuesday, February 05, 2002, 4:58:37 PM, you wrote: TH Oleg had a pager as part of his BeanFactory, but that was never made TH part of the framework. Perhaps he will get back to that after the TH ServiceManager work (Go Oleg!). Pager bean is already ok and I can commit it to the

Newbie question: Application Flow in Struts

2002-02-05 Thread matt lobur
Hello all, I have a few questions, grey areas, when it comes to application flow in STRUTS. I have read many articles but there are still certain areas I am not comfortable with namely the backend. So let me tell what I think I know and then someone can tell me how I went wrong. When you

Re: J2EE BluePrints and Struts

2002-02-05 Thread Ted Husted
Well, we should commit it ~someplace~ :-) It should probably go to Taglibs, but if you are not up for that right now, we could just park it under Contrib, or in the Scaffold package. I'd be happy to help propose it to Taglibs, but Cedric and I should finish doing that with Tiles first. -T.

Re: How to put useBean data in HTML attribute?

2002-02-05 Thread cody.burleson
OK. I knew it COULD be done that way, but I keep reading in all my books that it is not good design to put Java code in your JSP. I guess a certain amount of it is necessary from timr to time. Thanks! I will do this. - Cody Richard Yee [EMAIL PROTECTED] on 02/05/2002 12:30:18 AM Please

Re: OReilly Struts book

2002-02-05 Thread Hertzel Karbasi - OPTinity eBusiness Solutions
Great!! 1. IMO it's better to cover Struts 1.1 as I see in your TOC there is a just and appendix for changes in 1.1. 2. Are you going to cover some design patterns related to J2EE+EJB in reference to Struts? 3. An Order Entry/Shopping Cart application would be more usable and popular than

Re: Boost Struts with XSLT and XML - JavaWorld.com

2002-02-05 Thread Sean Willson
I have messed with both Cocoon using XML / XSLT extensively to render views to varying devices and also use the Struts Tiles framework to do the same. I found Cocoon very powerful for static XML documents but as soon as I started trying to hook dynamic content in (forms, JSP's, Servlets,

Transaction control tokens?

2002-02-05 Thread Jhaveri, Harshal
Hi! All I am having problems using Transaction control tokens. I am not sure I am using it in the right manner. This is what I am using in the perform method of my action. saveToken(request) ; if (!isTokenValid(request)){ /* specific piece of working code */ } resetToken(request); I

Re: J2EE BluePrints and Struts

2002-02-05 Thread Ted Husted
Or, I guess the Commons -- there's a tag, but it's mostly a JavaBean, yes? And of course, everything we're saying about Oleg's would also go for Pierre's, if he would like to donate it to the cause. If the two implementations are sufficient differently, and each would work better under

RE: error display

2002-02-05 Thread Robert Scaduto
You need to use the html:errors tag. This will display all of the errors that you returned from the validate function of your action form. -Original Message- From: Henry Lu [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 7:30 AM To: Struts Users Mailing List Subject: error

Re: Importing CSV and VCF files

2002-02-05 Thread Matt Raible
This is what I was looking for - thanks! Matt --- Dave Weis [EMAIL PROTECTED] wrote: On Tue, 5 Feb 2002, John M. Corro wrote: I had to build a data import using CSV-based import files. I relied strongly on the StringTokenizer class to break out all the various values. Did you have

Re: AW: Struts/Tiles and nightly build features

2002-02-05 Thread Sean Willson
It is a entension that we wrote to Tiles to allow custom rendering via routing actions to different views based on the incoming browser type (User-Agent). It is not open source yet ... still working on that. You would use the input parameter of an action to redirect to a certain view when an

Re: Boost Struts with XSLT and XML - JavaWorld.com

2002-02-05 Thread Ted Husted
Sean Willson wrote: P.S. I am working on getting this submitted back to Jakarta or at least Open Source it ... getting the company to do it isn't all that easy. I certainly hope you are successful! The Velocity guys are also looking at ways XML/XSLT can be integrated into their

Forms question

2002-02-05 Thread Steve Earl
Sorry if this is either obvious or one of those questions which crops up regularly (although I haven't picked up on an answer for it in the archive). I have a lookup form which is going to produce a variable number of results (for example, matching phone numbers which start with the digit '2').

RE: OReilly Struts book

2002-02-05 Thread Chuck Cavaness
I'm definitely going to cover some design patterns/strategies related to Struts and EJB. I've been working on an a Struts/EJB application for over a year now and have learned a great deal about how to approach this, so this should be valuable to others. Brian Keeton and I just finished an EJB 2.0

jbuilder jsp and struts tags

2002-02-05 Thread Ben Kafka
Was wondering if anyone has been able to set break points in jbuilder6 for struts tags when debugging jsp. I can set a breakpoint on a regular jsp tag but not in a struts one e.g. html:text -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

[OT] Publishing an Application

2002-02-05 Thread Brad Rhoads
I'm looking for a good tool for publishing an application. It should compare the source directory to the target and only move files that have changed. I'd also like an option to skip certain files, i.e. web.xml. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Re: Forms question

2002-02-05 Thread Jason B Menard
The nested extension at http://www.keyboardmonkey.com/struts/index.html will solve your problem. - Original Message - From: Steve Earl [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 10:35 AM Subject: Forms question Sorry if this is

Re[2]: J2EE BluePrints and Struts

2002-02-05 Thread Oleg V Alexeev
Hello Ted, Tuesday, February 05, 2002, 6:20:19 PM, you wrote: TH Or, I guess the Commons -- there's a tag, but it's mostly a JavaBean, TH yes? It is not tag - it is bean only. Developer can set properties and read page count, iterator with page labels and so all. To generate actual pager at

Re: Newbie question: Application Flow in Struts

2002-02-05 Thread Jonathan Gibbons
Hi, I can't remember where I read this, but it was in the struts docn or code someplace. You struts config has something like: form-beans form-beanname=adminForm type=com.foo.AdminForm / /form-beans !-- == Action Mapping Definitions

Wizard Interface question

2002-02-05 Thread Pete Serafin
I am trying to develop an interface for entering data for one object across multiple forms as in a wizard interface. Can anyone describe the best way to approach the design of this type of functionality. I was thinking that the actionforms would be stored in the user session until a submit to

RE: Wizard Interface question

2002-02-05 Thread Stephen Owens
Peter, Actually, for wizards I have usually just created a single large actionForm that has all the fields for all pages of the wizard and I just have it in the request. I use hidden fields on other pages of the wizard to carry the values from page to page. That way the page designer can

Re: [OT] Publishing an Application

2002-02-05 Thread Dave Weis
On Tue, 5 Feb 2002, Brad Rhoads wrote: I'm looking for a good tool for publishing an application. It should compare the source directory to the target and only move files that have changed. I'd also like an option to skip certain files, i.e. web.xml. I use rsync, it's fast and has quite a

PROBLEMS with uploading a file!

2002-02-05 Thread Dirk Storck
Hi, i have build a upload form, action and jsp like the example. At the jsp I also add some other things like title, and so on. If I send the form without uploading a file I get the following exception. CAN someone tell me why? ava] [EmbeddedTomcatSX] [ServletException

Option list selects all options when displayed

2002-02-05 Thread Chong Oh
I was displaying an option list for a HTML select tag. My code is as follows: html:select size=10 property=allRoles multiple=yes html:options property=allRoles/ /html:select The options list displayed as documented except with all options selected.

RE: [OT] Publishing an Application

2002-02-05 Thread Brad Rhoads
That looks like what I need except I didn't find a build for NT. I found an old note about compiling the source that said the app may or may not actually work when recieving files on NT. -Original Message- From: Dave Weis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 10:00

Re: Wizard Interface question

2002-02-05 Thread Pete Carapetyan
Pete Serafin wrote: I am trying to develop an interface for entering data for one object across multiple forms as in a wizard interface. Can anyone describe the best way to approach the design of this type of functionality. Doubt that there is any one right way, but webAppWriter keeps

RE: Wizard Interface question

2002-02-05 Thread Jakkampudi, ChandraseKhar
I dont think this approach will work if you need transactional control across the different tabs of the wizard. For example if it is a registration wizard that collects contact info and billing info on different tabs, using different forms and commiting to the database will leave you with a lot

Changing ActionForms in an Action

2002-02-05 Thread Ace
Can an Action class perform() forward a different ActionForm to the forwarded jsp than the one it receives? Lets say I have a customerSelectList.jsp where the user selects a customer to edit and a CustomerSelectActionForm is passed to an Action. The Action retrieves the customer recond from

Re: Wizard Interface question

2002-02-05 Thread Pete Carapetyan
Jakkampudi, ChandraseKhar wrote: I dont think this approach will work if you need transactional control across the different tabs of the wizard. For example if it is a registration wizard that collects contact info and billing info on different tabs, using different forms and commiting to

RE: [OT] Publishing an Application

2002-02-05 Thread Dave Weis
On Tue, 5 Feb 2002, Brad Rhoads wrote: That looks like what I need except I didn't find a build for NT. I found an old note about compiling the source that said the app may or may not actually work when recieving files on NT. Microsoft had something like application manager or similar to push

Logic:iterate

2002-02-05 Thread Marcelo Caldas
Hi, I have a logic:iterate tag, where I'm trying to create indexed html:texts . this part if fine... My problem is that the labels for each field are also part of my bean being iterated (internationalization and type of text I'm asking the user... just in case you're wandering). But, I just

Re: jbuilder jsp and struts tags

2002-02-05 Thread STEVE WILKINSON
No, I have not. My understanding is that you need Enterprise to debug JSPs. If you find out please let me know. From: Ben Kafka [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: jbuilder jsp and struts tags Date:

RE: Formatting Dates, Integers...

2002-02-05 Thread Peter Pilgrim
NO! Either create the simple date format for each user;s session public final static String UNIVERSAL_DATE_FORMAT_KEY= UNIVERSAL_DATE_FORMAT session.setAttribute( UNIVERSAL_DATE_FORMAT_KEY, new SimpleDateFormat( -MM-dd ) ); or put it in the application context. -- Peter

Possible to configure NetBeans to use TomCat 4?

2002-02-05 Thread cody.burleson
Does anyone know how to configure NetBeans for using TomCat 4 instead of the old TomCat? Thanks, - Cody The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential

RE: error display

2002-02-05 Thread Henry Lu
I did. I include html:errors/ in a jsp file. But when validate() function finds error, the jsp page displays something like: ul /ulhr on the screen. Why? --- Henry Lu MCIT

Re: How to put useBean data in HTML attribute?

2002-02-05 Thread Pavel Nejedly
# Richard Yee [EMAIL PROTECTED] on 02/05/2002 12:30:18 AM # To do what you want, try this: # logic:iterate name=myBean property=userList id=currentUser # % String ref = admin_userForm.jsp?user_id= + currentUser; % # html:link href=%= ref %%= currentUser %/html:linkbr # /logic:iterate How about

Re: error display

2002-02-05 Thread Pavel Nejedly
On Tue, Feb 05, 2002 at 12:12:40PM -0500, Henry Lu wrote: # I did. I include # # html:errors/ # # in a jsp file. But when validate() function finds error, the jsp page # displays something like: # # ul # /ulhr # # on the screen. # # Why? Have you provided the messages for all the keys

Design question about ActionForm's validate method

2002-02-05 Thread Sid Stuart
Hi, I've stumbled across a subtle problem/design question that I don't see mentioned in the documentation. The ActionForm's validate method can be configured to verify form data from a page and generate error messages which may then be displayed on the page for the user to see. This works fine

Re: Changing ActionForms in an Action

2002-02-05 Thread Pavel Nejedly
On Tue, Feb 05, 2002 at 09:29:38AM -0700, Ace wrote: # Can an Action class perform() forward a different ActionForm to the # forwarded jsp # than the one it receives? [...] # (Yes I know the Action can stuff anything into # the session # or request but this is kind of a non-standard way

RE: Thread Safety Question (was Formatting Dates, Integers...)

2002-02-05 Thread Jeff Martin
Any use of java.text.DateFormat (or its subclasses) format method is thread unsafe (quite to my surprise). The problem comes from DateFormat holding an instance of a Calendar to help it break the java.util.Date into pieces. When a second thread calls format() while another thread is still in

Could not locate TLD META-INF/taglib.tld --Again

2002-02-05 Thread Bob Williams
I am getting the message: Could not locate TLD META-INF/taglib.tld when trying to compile a project in Forte v3. This problem has been reported before and the solution suggested by Andy Noble doesn't seem to be working for me. I have the TLD's in WEB-INF directory and open the appropriate

Next release of Struts

2002-02-05 Thread Adam
Struts is really picking up momentum, being written about in the new Java TOols for XP and on the boards over at The Serverside and elsewhere. I'd like to point more people to oward it, but there is so much required functionality that is only in the nightly builds. Is there a

RE: Wizard Interface question

2002-02-05 Thread Jakkampudi, ChandraseKhar
I never said that the approach you outlined will not work. What I said was it will probably not work if you need transactional control. Let me clarify. Consider the case of a wizard interface where you have contact info on one form (or tab if you will) and billing info on another tab. Now

Re: error display

2002-02-05 Thread Henry Lu
Here is my code: errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(error.id.required, id=123)); Could you send me part of your code? Thanks, --- Henry Lu MCIT

RE: Wizard Interface question

2002-02-05 Thread Taylor Cowan
All that is not necessary. You can have the ActionForm bean placed in session scope, and allow different JSP pages to fill out the properties. This is configured in the struts config file. Taylor -Original Message- From: Stephen Owens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February

RE: Design question about ActionForm's validate method

2002-02-05 Thread Robert Nocera
Direct the user to an action that isn't the action associated with the page in question, even if all that action does is forward to the JSP page. Generally the action's associated with a JSP page get called from that JSP page. ActionA forwards to B.JSP, B.JSP submits to ActionB and so on...

Re: Design question about ActionForm's validate method

2002-02-05 Thread Jonathan Gibbons
I made this same 'mistake'. Actions MUST only be called when a form is submitted. Never to generate the JSP. Thats why they are called actions. Or two put it another way, you do need several URL's a) URL to JSP on a GET b) URL to action the POST The easiert way to do it is to have all

Re: Could not locate TLD META-INF/taglib.tld --Again

2002-02-05 Thread Bob Williams
Please ignore this message! I found the errorjust DUMB! bob - Original Message - From: Bob Williams [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 11:27 AM Subject: Could not locate TLD META-INF/taglib.tld --Again I am getting

Re: error display

2002-02-05 Thread Pavel Nejedly
On Tue, Feb 05, 2002 at 12:30:25PM -0500, Henry Lu wrote: # Here is my code: # errors.add(ActionErrors.GLOBAL_ERROR, # new ActionError(error.id.required, id=123)); then you have to provide message for the key error.id.required. check the content of the file you

Re: J2EE BluePrints and Struts

2002-02-05 Thread Adam
Looks good. I like the command to iteration set up. Would a page object help? I realize that this would sort of be an iterator of iterators. Also, does making the contstuctor public make sense? Ususally the command acts as the factory for the iterator. An alternative is the builder

Re: Wizard Interface question / Hi Taylor

2002-02-05 Thread Guillaume Labelle
Hi Taylor, are you the Taylor that used to work for Brightstar in Dallas - Original Message - From: Taylor Cowan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 12:33 PM Subject: RE: Wizard Interface question All that is not

Jsp in another Jsp using struts

2002-02-05 Thread Kalpana RamiReddy
Hi Can anyone tell me how can i include a jsp page into another jsp using struts??? thanks in advance Kalpana -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Jsp in another Jsp using struts

2002-02-05 Thread Jakkampudi, ChandraseKhar
You dont need struts for this. Just use %@ include file=xxx.jsp % wherever you want to insert your JSP file. -Original Message- From: Kalpana RamiReddy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 11:54 AM To: Struts Users Mailing List Subject: Jsp in another Jsp using

RE: Design question about ActionForm's validate method

2002-02-05 Thread Matt Read
I'm fairly new to struts (well, about 24 hours actually) and this message touches on a concept that I've having trouble grasping. Are you saying that your site should never allow the user to navigate to a URL that maps to an Action unless you are submitting a form? This is my example and

Re: Wizard Interface question / Hi Taylor

2002-02-05 Thread Keith Bacon
--- Guillaume Labelle [EMAIL PROTECTED] wrote: Hi Taylor, are you the Taylor that used to work for Brightstar in Dallas - Original Message - From: Taylor Cowan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 12:33 PM

RE: Wizard Interface question

2002-02-05 Thread Stephen Owens
Taylor, Just to clarify. Putting the ActionForm in the session is simpler, but it doesn't scale as well because your session grows. It also is one more thing to worry about if you have multiple application servers and you need to support failover. So, while I agree that session beans are an

RE: Thread Safety Question (was Formatting Dates, Integers...)

2002-02-05 Thread Greg Hess
Very interesting, thank you Jeff. I am using an instance of the date format class as a private member variable in one of my buisiness objects. Each client request has one of these business objects created and placed into the session for use, as mentioned previously I too use a new getter method

Re: error display

2002-02-05 Thread Henry Lu
Here is my ApplicationResource.properties file used ./classes directory errors.header=ul errors.footer=/ulhr errors.id.required=id is required. --- Here is my validate() function if (id == null || id.equals(123)

Re: Next release of Struts

2002-02-05 Thread Ted Husted
Yes, we are pretty much at feature lock, and working toward a release candidate. Mostly documentation and testing of the newest features. Adam wrote: Struts is really picking up momentum, being written about in the new Java TOols for XP and on the boards over at The Serverside and

RE: Jsp in another Jsp using struts

2002-02-05 Thread Kalpana RamiReddy
I want to add a jsp page as a footer/bottom to every other Jsp pages but %@ include file=xxx.jsp % is used at the top i guess??? Thanks in advance Kalpana On Tue, 05 Feb 2002 Jakkampudi, ChandraseKhar wrote : You dont need struts for this. Just use %@ include file=xxx.jsp % wherever you

RE: error display

2002-02-05 Thread Jakkampudi, ChandraseKhar
You have a typo. Change your validate to new ActionError(errors.id.required, id=123)); or your ApplicationResources.properties to error.id.required= blah Note the 's' at the end of errors in your applicationresources file -Original Message- From: Henry Lu [mailto:[EMAIL

RE: Jsp in another Jsp using struts

2002-02-05 Thread Krueger, Jeff
I think you want to use templates. That should solve your problem Jeff Krueger -Original Message- From: Kalpana RamiReddy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 11:01 AM To: Struts Users Mailing List Subject: RE: Jsp in another Jsp using struts I want to add a

RE: Jsp in another Jsp using struts

2002-02-05 Thread Jakkampudi, ChandraseKhar
If you want to include the file as a footer consider using the template taglibs. Include can be used anywhere not just at the top but for your problem using templates would be a better idea. -Original Message- From: Kalpana RamiReddy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February

Re: error display

2002-02-05 Thread Pavel Nejedly
On Tue, Feb 05, 2002 at 01:03:18PM -0500, Henry Lu wrote: # Here is my ApplicationResource.properties file used ./classes # directory # # errors.header=ul # errors.footer=/ulhr # errors.id.required=id is required. # ---

RE: Jsp in another Jsp using struts

2002-02-05 Thread Kalpana RamiReddy
could u please explain me how to use templates... Thanks in advance Kalpana On Tue, 05 Feb 2002 Jakkampudi, ChandraseKhar wrote : If you want to include the file as a footer consider using the template taglibs. Include can be used anywhere not just at the top but for your problem

RE: Wizard Interface question

2002-02-05 Thread Jakkampudi, ChandraseKhar
Stephen, Session persistence across app servers would be an issue anyways if you put anything in the session would it not? So are you suggesting that if a project might migrate from single app server to multiple, then nothing should be in session scope? If atleast some objects are stored

RE: error display

2002-02-05 Thread Henry Lu
Great! It works now! Thank you very much! --- Henry Lu MCITphone: (734) 936-2063 University of Michigan Medical Center fax: (734) 763-4372 On Tue, 5 Feb 2002,

RE: Jsp in another Jsp using struts

2002-02-05 Thread Jakkampudi, ChandraseKhar
This link should help you http://jakarta.apache.org/struts/api-1.0/org/apache/struts/taglib/template/p ackage-summary.html#package_description -Original Message- From: Kalpana RamiReddy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 12:11 PM To: Struts Users Mailing List

bean passing

2002-02-05 Thread struts
I'm new to Struts, but have read most of the doc and examples. One basic thing that I can't quite put a finger on: how do you pass all these beans around that are consumed by the jsp's? For example, say you have a bean containing user's search results. Your display page only shows 10 at a

RE: Wizard Interface question

2002-02-05 Thread Stephen Owens
Well there's two issues there. The first is scalability, obviously keeping your session small helps you scale, so it's a good thing for that reason. The second is session persistence. I guess my position on it is that anything you have to persist complicates the design and slows the application

  1   2   >