Does struts come with a taglib for generating calendars?

2002-01-08 Thread antony
Hi Does struts come with a taglib for generating calendars? Cheers Antony -- To unsubscribe, e-mail: For additional commands, e-mail:

How is the syntax for creating indexed links and in what version is this implemented?

2002-01-08 Thread Morten Andersen
I wan't to create links inside an iterate tag like: ... mailto:[EMAIL PROTECTED]> For additional commands, e-mail:

Re: "Back" button

2002-01-08 Thread Ted Husted
The client stores the history list, and so you need to use a client-side technique to do anything like this. Struts is not really involved. There's often been talk about keeping your own history list in the user's session, but I don't remember ever seeing an implementation posted. -- Ted Huste

Re: Struts Question of select and options tag

2002-01-08 Thread Ted Husted
Have you looked at using the options tag with the select tag? http://jakarta.apache.org/struts/struts-html.html#options And then use the logic:present/logic:notPresent tags to check for the null instance. See also http://jguru.com/faq/view.jsp?EID=549097 -- Ted Husted, Husted dot Com, Fairp

Re: "Back" button

2002-01-08 Thread Kevin O'Neill
George, > Does anyone know how to code a "Back" button -- one that works like the > I.E. "Back" toolbar button? I currently use one that requires JavaScript > and would like to switch to one that works with Struts/JSP but is not > dependent upon JavaScript. There are methods (such as keeping a s

Re: Questions regarding action and form interaction

2002-01-08 Thread Ted Husted
See inline waaay below. Michael Witt wrote: > > Hello, > > I'm fairly new to struts (used over the pass 3 or so weeks) and I have > a question that I'm hoping someone here might know the answer to. > I've looked in the archives and don't believe that I've seen this same > set of problems ther

RE: perform() action is getting passed the same forminstance when accessed by two clients at the same time.

2002-01-08 Thread Chris Birch
Hi, In your Action classes, when the perform() method is called, do you assign the ActionForm to an instance variable? e.g. public class MyAction extends Action { private ActionForm actionForm = null; perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletRe

Re: Forwarding a Bean as a Request Attribute

2002-01-08 Thread Ted Husted
When the page is rendered, any Java object that was stored in the request vanishes. So, the bean itself many not be there to forward back. There really isn't any good alternatives here, outside of using a form with hidden fields, or passing additional information in the link as part of the query s

Re: Some newbie questions

2002-01-08 Thread Ted Husted
Inline ... Kevin O'Neill wrote: > > I'm looking for guidance on the patterns used to handle composite patterns in > struts. > > If there is a document I should have read ... please feel free to tell me to > RTFM :) > > The in side of things I understand (I think :)), the output side of things

Re: Proposal: Add "nameValue" and "checkedProperty" to "radio" (and "checkbox"?)

2002-01-08 Thread Ted Husted
"David M. Karr" wrote: > > I asked about this on the "dev" list, but I'd like to see what the regular > users think (and because I didn't get any response from the "dev" list). Sorry about that. We just get a little busy sometimes. Things posted to Bugzilla will have to be dealt with eventua

Re: Browser timed-out while action still going on

2002-01-08 Thread Ted Husted
Hmmm, I thought I replied to this before, but see no record ... Thinh Doan wrote: > > Hello everyone, > > I have a file upload process that could take up to 1 hour to finish. It > always returns some ActionErrors to the input page when done. I have the > following questions: > > 1) I observe

Re: Example of using Jmeter with Struts

2002-01-08 Thread Ted Husted
For simple tests, tt isn't hard to use by hand. I've run copies in several different sessions (e.g. DOS boxes), and set each up interactively to simulate different types of users hitting the site in different ways. The best thing might be jump in poke around in the GUI for a bit (and then read t

Re: Struts under ATG Dynamo

2002-01-08 Thread Ted Husted
It's come up beffore. Check the list archives. http://www.mail-archive.com/ If you develop any notes regarding this, I'd be happy to add them to the Users Guide. Paolo Balzarotti wrote: > > Hello, > does anyoune of you use Struts under ATG Dynamo or have notice of anyone > using? > > Thanks

Re: Form Date Validation - how to?

2002-01-08 Thread David Winterfeldt
There is a validation framework in the contrib/validator directory in the nightly source. It can handle date valdiations. datePatternStrict MM/dd/ So if you keep your field in the ActionForm a String, you could use one of the transformatio

RE: Struts under ATG Dynamo

2002-01-08 Thread Martin Farrell
Hi I've developed j2ee and dynamo apps under ATG Dynamo, and would expect ATG deployment of struts to just be a normal j2ee deployment using darina to deploy your .ear/.war file? I dont know what your experience of this is, but there is an example in the ATG manuals. One issue for dynamo and str

Newbie question

2002-01-08 Thread Frédéric Houbie - ABSIS-GROUP
If I put a float array in the request object request.setAttribute("SumPrivatives", fSumPrivatives); how can I access it in my jsp page ? I suppose it is simple. Thanks Frédéric -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Simple HTML form tag issue related to NAME attribute

2002-01-08 Thread Dennis_Sharpe
Freek, Thanks for responding. The problem is that I am trying to use the NAME attribute in my Javascript code and if I put the NAME attribute in the html:text tag, it means something special to Struts. I want Struts to ignore the NAME attribute. Example: I want Struts to ignore the name so

Tiles nest inside another one.

2002-01-08 Thread Peter Pilgrim
Is it possible to nest a Tiles:Insert tag inside another? I am trying create a common HTML web style. Like a common header banner 1. I would like to do something like styles in a word processor where you create common attributes in one place. I would like to create /templates/banner-header-layo

class reload problem

2002-01-08 Thread rg
Hi all. I have a problem with reloading action beans. I'm changing on .class file and I want that struts under tomcat 3.3 reload them automaticly. I tried it with /admin/reload.do but this reload only the struts-config.xml file. Have someone a solution? thx... -- To unsubscribe, e-mail: <

scope for form beans

2002-01-08 Thread Kuntz Peter, NY
Hi, what are the motivations for having a request or session scoped form bean. As far as I could see in the struts source code a request scoped form bean is instantiated newly for every request. What are the reasons for that. Why shouldn't a form bean always exist during the time the session exis

Re: class reload problem

2002-01-08 Thread Fernando Otero
Hi, You can try to set the attribute "reloadable=true" in the context configuration in your tomcat server.xml. Then, tomcat will reload every .class automaticly in the context. Example: ... Fernando - Original Message - From: "rg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

How is the syntax for creating indexed links?

2002-01-08 Thread Morten Andersen
I wan't to create links inside an iterate tag like: "" ... "/>" so that I can use the setNumber to find the "set" needed in a Collection. The above doesn't work with Struts 1.0, but I know that someone has made something like the above possible in some nightly builds after this, but the synta

Re: Tiles nest inside another one.

2002-01-08 Thread Cedric Dumoulin
Hi Peter, Unfortunately, this doesn't work with jsp1.1. It is not possible because jsp1.1 doesn't allow to do include in the body of a tag, which is what you do with . Same problem arise with tag ;-(. A solution could be (not tested) : Hope this

RE: How is the syntax for creating indexed links?

2002-01-08 Thread Tom Klaasen (TeleRelay)
I think http://marc.theaimsgroup.com/?l=struts-user&m=100876339601099&w=2 might interest you. hth, tomK > -Original Message- > From: Morten Andersen [mailto:[EMAIL PROTECTED]] > Sent: dinsdag 8 januari 2002 14:51 > To: Struts Users Mailing List > Subject: How is the syntax for creating

RE: How is the syntax for creating indexed links?

2002-01-08 Thread Morten Andersen
I worked on with the issue and found this link was just what I needed: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg13889.html Sorry for any inconvenience. Morten Andersen Denmark At 14:56 08-01-02 +0100, you wrote: >I think >http://marc.theaimsgroup.com/?l=struts-user&m=1008

Html:form without inputs (button only) doesn't work w/o form bean?

2002-01-08 Thread Kilmer, Erich
A situation I am running into now has a html:form on a JSP page that has a submit button only. There is no text field, area, checkbox or select. Just a single submit button. When I do the mapping for this I did not include a form bean. When I try to display this page I get a null exception. So am

RE: class reload problem

2002-01-08 Thread Tettoni, Laurent
Hello, Yes, but which are you talking about ? I mean, in the context of a struts web-app deployed in the "webapps" directory ? -Laurent -Original Message- From: Fernando Otero [mailto:[EMAIL PROTECTED]] Sent: mardi, 8. janvier 2002 15:39 To: Struts Users Mailing List Subject: Re: clas

Solved: Cannot find message resources under key org.apache.struts.action.MESSAGE

2002-01-08 Thread Jack Frosch
FYI: I've been having problems deploying to Tomcat 4.0. The web app ran fine inside JBuilder's integrated Tomcat 3.2 server. When I dropped the WAR file into Tomcat 4.0's webapps directory and ran it, I kept getting the error: javax.servlet.ServletException: Cannot find message resources under

Question on Struts debugging

2002-01-08 Thread Kilmer, Erich
I have been using Struts for some time now. My app's Struts config file has almost 50 action mappings so I have been down this road a time or two. Many times when adding a new mapping I run into errors though. For example the latest on was where the mapping listed an action class called something

Re: Struts & EJB support

2002-01-08 Thread Peter Pilgrim
You could also try expresso frameworks. Somewhere between EJB / J2EE and bare bones Struts http://www.jcorporate.com/ -- Peter Pilgrim ++44 (0)207-545-9923 Message History From: Vic Cekvenich

RE: perform() action is getting passed the same forminstance when accessed by two clients at the same time.

2002-01-08 Thread Jeff Martin
Another way to get this would be to have defined the scope of the action (in struts-config.xml) to "application" instead of "request" or "session". Jeff -Original Message- From: Chris Birch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 5:36 AM To: Struts Users Mailing List;

RE: Struts & EJB support

2002-01-08 Thread Michelle Popovits
Vic, What about using EJB (Session) to provide transactional support for jdbc data access objects. I had a small application I was developing and I wanted to keep individual data access objects as reusable as possible and not make the business object javabeans tied to the data access method, so I

RE: Html:form without inputs (button only) doesn't work w/o form bean ?

2002-01-08 Thread Chen, Yong
if you don't specify the form class in your action config, make sure in your Action class, you don't have any code to access the "form" variable. yc -Original Message- From: Kilmer, Erich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 9:10 AM To: '[EMAIL PROTECTED]' Subject: H

RE: scope for form beans

2002-01-08 Thread Chen, Yong
what if one of your forms is never used in a session? and with session level bean, how would you know the form bean doesn't contain old data? form is request based not session based. you can certainly store some info. from the form in the session. yc -Original Message- From: Kuntz Peter

Re: class reload problem

2002-01-08 Thread João Guilherme Del Valle
Hi, The solution of your question is specific to the servlet container you´re using. Fernando supposed you´re using Tomcat and, in that case, the tag would be in conf/server.xml . The way of loading/reloading classes may be different between containers. João. Joao Guilherme Del Valle [EMAIL P

Re: Does struts come with a taglib for generating calendars?

2002-01-08 Thread Patrick Strobel
Not to my knowledge. At 02:47 09/01/2002 +0900, you wrote: >Hi > >Does struts come with a taglib for generating calendars? > >Cheers > >Antony > > > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: -

Re: Proposal: Add "nameValue" and "checkedProperty" to "radio" (and "checkbox"?)

2002-01-08 Thread David M. Karr
> "Ted" == Ted Husted <[EMAIL PROTECTED]> writes: Ted> "David M. Karr" wrote: >> >> I asked about this on the "dev" list, but I'd like to see what the regular >> users think (and because I didn't get any response from the "dev" list). Ted> Sorry about that. We just get a

RE: Does struts come with a taglib for generating calendars?

2002-01-08 Thread Martin Farrell
Hi I dont know if this is any use? http://www.mail-archive.com/taglibs-dev@jakarta.apache.org/msg00267.html i came across it yesterday while investigating the possibility of doing a struts based calendar app Martin -Original Message- From: Patrick Strobel [mailto:[EMAIL PROTECTED]] Se

Tiles vs. Frames

2002-01-08 Thread Sean Gollschewsky
Hi all, I've (functionally) prototyped an application using Tiles with no frames. Our 'front end' guy has presented me with the presentation html and javascript, and it uses frames. The application is not portal-like, just a fairly standard app with a header, footer and side menu bar. I've h

Cannot find message resources under key org.apache.struts.action.MESSAGE

2002-01-08 Thread karim chorfi
Hi, I'm new to struts I installed tomcat4.0-b6(.exe) on windows98 I downloaded jakarta-struts-1.0.zip I deployed the struts-example.war under webapps I started the tomcat server with http://localhost:8080/struts-example/ the following message appear : A Servlet Exception Has Occurred Exception

RE: Html:form without inputs (button only) doesn't work w/o form bean ?

2002-01-08 Thread Kilmer, Erich
In the situation I described, the only place that the action form is referenced in the Action class is in the parameter list of the perform method. No place in the Action class is the form variable used. But the null exception crach still occurs when no form bean is included in the map. I am think

RE: Cannot find message resources under key org.apache.struts.action.MESSAGE

2002-01-08 Thread Tom Klaasen (TeleRelay)
This has been answered only a few hours ago: http://marc.theaimsgroup.com/?l=struts-user&m=101050325925484&w=2 hth, tomK > -Original Message- > From: karim chorfi [mailto:[EMAIL PROTECTED]] > Sent: dinsdag 8 januari 2002 17:07 > To: Struts Users Mailing List > Subject: Cannot find mess

Re: Struts & EJB support

2002-01-08 Thread Vic Cekvenich
Hey Michelle. IMHO: What you are doing is conventional wisdom, I think done by majority. That is all fine and you should continue to do it, especially if you like EJB. Some people find this complex. The only thing, depending on the load, consider looking at Astral Clones, but most apps are so

RE: Tiles vs. Frames

2002-01-08 Thread Vaughan Jackson
Sean, I have not used Tiles, so I could be misinformed here. My impression is that the Tiles are related to JSP includes or templates - they allow you to compose a single page from a number of pieces. Frames on the other hand, allow you to present the user with a number of separate pages at onc

RE: Struts & EJB support

2002-01-08 Thread Thomas Eichberger
I think there are many ways to do it;-) Many people put all there business logic in servlets (or even jsps), but when using Struts you should already know that this is not always the best idea... Otherwise you don't need Struts... Michelle's way seems to be the standard way: business logic in

Re: Struts & EJB support

2002-01-08 Thread Thomas Eichberger
Vic, I couldn't follow your whole argumentation (my English's bad;-) but let me say a few things EJB / J2EE is a complicated things for programmers, but tools are coming, like OptimalJ from Compuware, or some frameworks. But learning is still difficult. There are small J2EE servers, not so e

RE: Struts & EJB support

2002-01-08 Thread Michelle Popovits
Vic, Thanks for your response. It's good to know that the approach that I have taken is 'conventional' and also it's good to know that there alternatives to consider. I like to know that there's no one right answer, and also it's good to know that I'm not using a technology for a purpose it's no

Re: A new article on view component organization with Struts and Tiles

2002-01-08 Thread Jon Ferguson
I've found your article helpful since I was using Struts template facilities.. but it looks like Tiles are one step better. The tileDefinitions.xml is a good solution to all the .jsps it replaces. The only hitch I've run into is that the Tiles site suggests that Struts contains Tiles. I grabbed

Re: Tiles nest inside another one.

2002-01-08 Thread Peter Pilgrim
Great Ball Of Fire!!! Still it work with tomcat 4.0 at least. Except production environment is Tomcat 3.2! -- Peter Pilgrim ++44 (0)207-545-9923 Message History From: Cedric Dumoulin <[EMAIL PR

RE: Example of using Jmeter with Struts

2002-01-08 Thread Alex Colic
Hi, after looking at it I can see that for simple tests its not big deal but I am tying to get it to work with a series of forms. You know the type, user logs in, selects something on a form, selects something on another form and then logs out. In my web apps I use the session to store user dat

RE: Example of using Jmeter with Struts

2002-01-08 Thread Patrick Strobel
Alex, You can add a Cookie Manager at the thread group level of your test plan. This will automatically manage the cookies that are set by the web application. hope that helps, Patrick At 12:00 08/01/2002 -0500, you wrote: >Hi, > >after looking at it I can see that for simple tests its not bi

upload fails

2002-01-08 Thread Domen, Ken
I'm trying to do a simple file upload and my jsp has this snippet: When I submit, I get the error: IllegalArgumentException: Argument Type Mismatch Am I missing something? thanks. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Generic JSP

2002-01-08 Thread Ted Husted
Can we move this over to the User list? Taylor Cowan wrote: > > You're going about this the hard way. The solution involves XML and XSLT. > The XML can be produced on the fly, while the XSLT doc is static. > > Taylor > > -Original Message- > From: Sidhartha Jain [mailto:[EMAIL PROTECT

RE: How is the syntax for creating indexed links?

2002-01-08 Thread dhay
you can also use: This will add a parameter to the link named setNumber, whose value is the iteration index. HTH, Dave Morten Andersen <[EMAIL PROTECTED]> on 01/08/2002 10:13:19 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailin

RE: How is the syntax for creating indexed links?

2002-01-08 Thread dhay
PS Only available in the nightly builds "David_Hay/Lex/Lexmark.LEXMARK"@sweeper.lex.lexmark.com on 01/08/2002 12:43:13 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc:(bcc: David Hay/Lex/Lexmark)

html:form tag within a logic:equal tag currupts html output

2002-01-08 Thread Jim Calder
I have a form which has three modes; Create, Edit, and View. When the form is Create or Edit, I want to place the focus on the first field (longName). But when I use a logic:equal tag to determine the correct html:form tag, I get a corrupted html file. Is there another solution besides the

Indexed html:radio is broken

2002-01-08 Thread Frank Lawlor
Maybe I'm misunderstanding how to use html:radio with "indexed", but it seems broken to me. If I specify: ... then it generates code like: ... which puts every button in its own button group (the name MUST stay the same)! Further, the mapping of a butto

Re: Working with tokens

2002-01-08 Thread Peter Pilgrim
Search the archive for transaction forward. Because I proposed a solution. Put a forward mapping in the action mapping that redirect to the state to the initial prompt form. -- Peter Pilgrim ++44 (0)207-545-9923 //_\\ "Mathema

JDeveloper and Tomcat

2002-01-08 Thread VEDRE, RANAPRATAP REDDY
Has anybody integrated Tomcat with JDeveloper. I want to know if we can run struts application using Tomcat from JDeveloper. Thanks. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Does struts come with a taglib for generating calendars?

2002-01-08 Thread @Basebeans.com
Subject: Re: Does struts come with a taglib for generating calendars? From: Vic Cekvenich <[EMAIL PROTECTED]> === http://www.rozina.com/downloads/taglibs/htmlcal.htm (Never used it) [EMAIL PROTECTED] wrote: > Hi > > Does struts come with a taglib for generating calendars? > > Cheers > > Anto

Re: Working with tokens

2002-01-08 Thread Keith Bacon
hi Nicolas , We stored, in the session, the id of the page we last sent, if the tokens don't match (user has messed with the flow) we re-send the page we sent last time. (Could put a message on it saying 'please don't mess with the flow' but we felt that wasn't needed.) keith. --- Peter Pilgrim

Re: html:form tag within a logic:equal tag currupts html output

2002-01-08 Thread David M. Karr
> "Jim" == Jim Calder <[EMAIL PROTECTED]> writes: Jim> I have a form which has three modes; Create, Edit, and View. When the form Jim> is Create or Jim> Edit, I want to place the focus on the first field (longName). But when I Jim> use a logic:equal Jim> tag to determ

Re: Indexed html:radio is broken

2002-01-08 Thread David M. Karr
> "Frank" == Frank Lawlor <[EMAIL PROTECTED]> writes: Frank> Maybe I'm misunderstanding how to use html:radio with Frank> "indexed", but it seems broken to me. Frank> If I specify: Frank> Frank> ... Frank> Frank> then it generates code like: Fran

FW: Help problem with migrating from websphere v3.5.5 to v4.0.1

2002-01-08 Thread Jay Milam
Hi ... Can anyone please help we are experiencing difficulty when migrating our application developed on websphere 3.5.5 to websphere 4.0.1 Advanced edition single server. We followed the setp and configuration steps while installing the 4.0.1 environment. We have the struts frame work in p

Solved: Access to localized messages to build an href

2002-01-08 Thread Jim Tomlinson
Got around it by using the actual locale: <%@ page import="org.apache.struts.action.Action" %> ">Click here I still haven't answered my original question, but it's now moot. > -Original Message- > From: Jim Tomlinson > Sent: Monday, January 07, 2002 3:39 PM > To: '[EMAIL P

Re: FW: Help problem with migrating from websphere v3.5.5 to v4.0.1

2002-01-08 Thread Rob Breeds
The WAS AEs admin console itself is a Struts web app (albeit an older version)! Is this a Struts 1.0 application you are migrating from 3.5.5 to 4.01? The directory structure for web apps deployed in 3.5.5 and 4.0+ is different I believe so your web.xml and struts-config file may need to be mod

Re: Some newbie questions (state/session info)

2002-01-08 Thread Keith Bacon
Hi Kevin > e.g. the top of the page contains some information regarding the user, the > application is stateless and extraction of the data is cheaper than storing > it in a session variable Your app also risks being totally hackable! Anything coming from the client can be faked so you need th

ActionMapping Prefix - Use Case?

2002-01-08 Thread Ted Husted
So, the ActionMappings include properites for prefix - Prefix used to match request parameter names to form bean property names, if any. Replaces the old formPrefix property. and suffix - Suffix used to match request parameter names when populating the properties of our ActionForm

RE: FW: Help problem with migrating from websphere v3.5.5 to v4.0.1

2002-01-08 Thread Jay Milam
Thank you for your reply Yes it is a Struts 1.0 application and the struts environment is ok. The struts sample app runs in this environment ...so as far as we know it should be ok. When deploying the EJB(s) the application is not coming up. These EJB(s) were developed on websphere v3.5.5 and

response has already been committed

2002-01-08 Thread Boudreau, Mike
I am using the Struts Template Tag Library with Tomcat 3.3 and I am receiving the "Cannot forward because the response has already been committed" javax.servlet.ServletException. I know that the cause is that some page is being flushed or written and then I am trying do a I don't know why t

Missing message for key problem

2002-01-08 Thread Jeff Corliss
Hi All, Just starting with Struts, and I'm having a problem where my messages resource is either not getting loaded at all, or for some reason the struts bean:message tag just isn't able to find the messages for the given keys. When I try to access the index.jsp for my app (which is actually rig

RE: response has already been committed

2002-01-08 Thread Michelle Popovits
Turn auto-flush off and up the buffer until it's large enough This example has the autoflush off and the buffer set to 20 kb. <%@ page autoFlush="false" buffer="20kb" %> -Original Message- From: Boudreau, Mike [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 3:25 PM To: '[EMA

Re: A suggestion for Product-quality Code

2002-01-08 Thread Keith Bacon
Thanks Frank for that list - I wanted to do one but spent very little time on struts. I'll agree with anyone that complains about the error handling & documentation. In general I do solve errors quite quickly, but I worry about the level of skill needed to use struts. I've briefly seen bits of .n

Re: Please can someone post an example of there Environment setup 4 tomcat 4

2002-01-08 Thread kuma.cra
I am in the bin\directory when i run it. Geoffrey Mroz wrote: > If I understood you right: > > The STARTUP script is in the C:\jakarta-tomcat-4.0.1\bin directory. > > If you are not directly in the \bin directory when you run it, you will need > to include C:\jakarta-tomcat-4.0.1\bin somewhere i

Re: Please can someone post an example of there Environment setup4 tomcat 4

2002-01-08 Thread kuma.cra
Oops i have tried that one and all. I have also rem'ed the other path variables. Cheers Chuck Amadi "Chen, Fang" wrote: > My experience is that the dos version in Win9x could not hold a lot of > environment variables if you do not change the initial setting of the > memory. Open a DOS window. C

Struts-Validator ActionForm error

2002-01-08 Thread Patrick Liardet
Hi All I'm using the com.wintecinc.struts validator library. When I subclass my formbean from an ActionForm, it runs Ok, but doesn't validate. When I subclass my formbean from a com.wintecinc.struts.action.ValidatorForm as suggested, I receive the following runtime error: java.lang.NoC

FW: Missing message for key problem

2002-01-08 Thread Boudreau, Mike
I believe that the ApplicationResources must be in your classpath. You cannot just set the file location in the web.xml file. Just the name. The name could be something like this com.whatever.ApplicationResources. -Original Message- From: Jeff Corliss [mailto:[EMAIL PROTECTED]] Sent

Re: FW: Missing message for key problem

2002-01-08 Thread Jeff Corliss
You are absolutely right - that worked. Thank you. I must've missed it in the documentation. --- "Boudreau, Mike" <[EMAIL PROTECTED]> wrote: > > > I believe that the ApplicationResources must be in > your classpath. You > cannot just set the file location in the web.xml > file. Just the name

RE: Struts-Validator ActionForm error

2002-01-08 Thread Michelle Popovits
remove struts-jar from classpath and add to web-inf/lib directory. Check to make sure the jar is no where in the web/app server class path. -Original Message- From: Patrick Liardet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 3:32 PM To: Struts Users Mailing List Subject: St

Question on Struts debugging - one more time

2002-01-08 Thread Kilmer, Erich
Thought I would give this one more try. Has anyone had better luck with debugging problems caused by say bad action mappings, ie: mis-named action classes, missing action forms etc. Currently when these problems are encountered I see no useful error messages in any of my logs (even when debug is s

FW: response has already been committed

2002-01-08 Thread Boudreau, Mike
The autoFlush="false" and buffer="100kb" settings did not work. My pages are very small. Could the problem be within the way pages are included in the Template Tags? Maybe you cannot forward on an included page? What could be forcing the flush? Is this a Tomcal 3.3 problem? -Origi

Action Forwarding with /do style url

2002-01-08 Thread Phase Communcations
I think this is a simple question. I have been developing an app using the /do command line structure url. I have a form that is submitted to an action. The action at the start checks to see if the "return" button is pressed. If the "return" button is pressed the action class should forward to ano

Re: Action Forwarding with /do style url

2002-01-08 Thread Ted Husted
The forward can go to any URI -- not just an action. Accordingly, you must supply the complete URI including the /do or .do portion. Where the confusion comes in is that the prefix or suffix should be ommitted from the "name" property in an ActionMapping, since only actions can be used there. -

Re: Indexed html:radio is broken

2002-01-08 Thread dhay
What if you want, say, ... On Off Deferred ... That way the buttons SHOULD all have the same name for each iteration, and different one for the next one etc.. That was the thinking behind it. Dave PS Agreed that the d

RE: response has already been committed

2002-01-08 Thread Boudreau, Mike
The autoFlush="false" and buffer="100kb" settings did not work. May pages are very small. Could the problem be within the way pages are included in the Template Tags? Maybe you cannot forward on an included page? What could be forcing the flush? Is this a Tomcal 3.3 problem? -Origin

can content be dynamic in JSP templating

2002-01-08 Thread Domen, Ken
Do we have to create a separate content.jsp for every content that's different? Doesn't that mean that you have to create 2 jsp's for every page that's different? Is there a way to make the content dynamic so that I don't have to create an extra JSP page per content change? Can the above be:

Newby - Looking for more idiot-proof documentation

2002-01-08 Thread cody.burleson
Ok, so I am in love with what I see so far about struts. Bud god forbid, I can't even begin to imagine how to build anything with struts. I have scoured the documentation and find them to be lacking the tutorial-like quality that idiots like me require. Can anyone recommend any online referenc

RE: Newby - Looking for more idiot-proof documentation

2002-01-08 Thread Rajan, Jeffy
You might this link very useful http://husted.com/about/scaffolding/strutByStrut.htm HTH Jeffy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 5:58 PM To: [EMAIL PROTECTED] Subject: Newby - Looking for more idiot-proof documentation

Re: Newby - Looking for more idiot-proof documentation

2002-01-08 Thread cody.burleson
For example - I want to start by creating my security model. Users in the database, login creates a session, access control lists, etc. Is there an example of a user handliung system anywhere? Does struts provide any functions to help me work with my database or do I need to just do my own st

Multipart Iterator Error

2002-01-08 Thread Phase Communcations
I have a view that contains a form (Form-A) that is a multipart/form-data that is submitted to an action (Action-A). Form-A is empty when the "cancel" button is pressed. The "cancel" button returns the user to a previous form. This is accomplished within Action-A. Action-A looks to see if the "can

RE: Newby - Looking for more idiot-proof documentation

2002-01-08 Thread Kris Ellis
You may find these useful... http://www-106.ibm.com/developerworks/library/j-struts/ http://www.jspinsider.com/tutorials/jsp/struts/strutsintro.view http://www.onjava.com/pub/a/onjava/2001/09/11/jsp_servlets.html Kris -Original Message- From: Rajan, Jeffy [mailto:[EMAIL PROTECTED]] Sent

Re: can content be dynamic in JSP templating

2002-01-08 Thread David M. Karr
> "Ken" == Ken Domen writes: Ken> Do we have to create a separate content.jsp for every content that's Ken> different? Ken> Doesn't that mean that you have to create 2 jsp's for every page that's Ken> different? Ken> Is there a way to make the content dynamic so that I d

Re: Working with tokens

2002-01-08 Thread Nicolas Parisé
Thanks a lot for your ideas, I finally decide to store the last Action executed in the session, so I can re-execute it and this Action lead the the page that the user was supposed to be. For example, in all my Action I put the following code : ... if (session.getAttribute("doNothing") != null)

RE: Working with tokens

2002-01-08 Thread Keith Chew
You could extend it a a little bit further, ie a simple state machine for a start (gradually moving to a more complex workflow system). In your simple state machine, you can: For all actions, it can be dependent on another action (eg SubmitForumMessageAction and SubmitEmailMessageAction is depen

RE: Working with tokens

2002-01-08 Thread Keith Chew
Opps, sorry, I didn't read your previous post and you are already using tokens. Sorry... FYI, there is a current workflow being developed for Struts, and you can achieve the same results as the token with that. Keith -Original Message- From: Keith Chew [mailto:[EMAIL PROTECTED]] Sent:

Re: Newby - Looking for more idiot-proof documentation

2002-01-08 Thread Pete Carapetyan
I am going to start attracting flames if I keep saying the same thing over and over again, but here goes If you absolutely know what you are doing and can knock out an app with everything in a day or so, this does not apply to you. But if you are not a struts genius, and want to start with somet

Re: Newby - Looking for more idiot-proof documentation

2002-01-08 Thread Ted Husted
Just wondering, anyone here using http://player.sourceforge.net Looks neat, but I'm still getting into it. Personally, if I were starting from scratch, and don't have an existing infrastucture to worry about, I'd certainly spend some quality time with Expresso. (And I may yet.) And this

Re: Newby - Looking for more idiot-proof documentation

2002-01-08 Thread cody.burleson
Thanks! I had not even been aware of Expresso. This may be , in fact, a better learning path to struts. No flames. This is great advice. - Cody Pete Carapetyan <[EMAIL PROTECTED]> on 01/08/2002 05:55:28 PM Please respond to Struts Users Mailing List <[EMAIL PROTECTED]> To: Stru

Accessing ActionForm in JSP page?

2002-01-08 Thread Mark Woon
Hi all... How can I access an ActionForm object and play with it in Java from within a JSP page? I need to perform some calculations on the properties of an ActionForm. I'm currently sticking it into the request object. Is there a better way? Struts must have taken care of this for me one way

Accessing EJB references by extending ActionServlet

2002-01-08 Thread srajan
Hello, I have a design question about accessing EJB references from the servlet. I would like to obtain a reference to my proxy session bean in the init of the servlet and use that reference to call methods on the bean from the action classes. I have extended the ActionServlet and added additi

  1   2   >