RE: ejb's and tomcat

2003-10-07 Thread Kunal H. Parikh
Hi Ajay ! Apache Tomcat does not include an EJB container. You may want to try OpenEJB Container System (http://www.openejb.org) as a plugin to Tomcat and deploy EJBs. Another option would be to use JBoss(http://www.jboss.org) which includes the EJB Container. Kunal -Original Message-

Re: Cannot retrieve definition for form bean null

2003-10-07 Thread ajay brar
hi! i have defined a form KioskForm, that i am using later in the application. since my current form consists only of a submit button and no fields, browse kiosks can i define kioskForm in the action mapping as the form for this empty form? what i am trying to do is just test struts forms on my

Re: Cannot retrieve definition for form bean null

2003-10-07 Thread Max Cooper
Struts is looking for the action form defined for the "/kiosk" action (since that is what the submits to on your page. The action or action form does not exist, so you get the error of Struts looking for the "null" action form. Use a regular HTML tag to evade that issue, or define the stuff for

Re: Cannot retrieve definition for form bean null

2003-10-07 Thread Paul Rashidi
If you don't define a form in the struts config file how can you expect the form tag to work correctly? It's whole purpose is to reference the form attribute in your config and then reference the corresponding form in the request. Use the standard html form tag when you don't define a form for yo

Cannot retrieve definition for form bean null

2003-10-07 Thread ajay brar
hi! i had heard that a form bean for a form was optional, not sure why i am getting this error here. i have a button on a page and it goes like browse kiosks in my struts-config.xml i have defined the following action mapping type="KioskAction" scope="request">

Re: Dynamic form fields on ActionForm

2003-10-07 Thread Cornellious Mann
Unfortunately, products can be added at runtime and therefore I don't know what the full set is. From the research I have done it sounds like ActionForms can not handle this situation and I will need to handle it myself in the Action. Do you agree? --- Adam Hardy <[EMAIL PROTECTED]> wrote: > H

RE: Books

2003-10-07 Thread Kalra, Ashwani
Struts in action by Ted is also considered one of the good books. I have oreilly's book is also good. You can go to amazon site to read the reviews and compare them. Regds Ashwani >-Original Message- >From: Brian Richards [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 08, 2003 8:32 A

Re: Books

2003-10-07 Thread virupaksha
u can refer "Programming jakarta struts" by chuck cavaness , it is really very good book. - Original Message - From: "Brian Richards" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, October 08, 2003 11:01 AM Subject: Books > I'm a complete struts

Re: Books

2003-10-07 Thread Keith Pemberton
I have always had good luck with the Oreilly series. There book Programming Jakarta Struts book has worked well for me. I doesn't so much cover the new features in 1.1, though. I have only skimmed through Struts in Action, but it looks pretty good too. Those two are the top sellers among Struts

Books

2003-10-07 Thread Brian Richards
I'm a complete struts newb. I got tomcat 4.1 installed along with struts and eclipse. I was wondering if you guys could recommend a book for learning struts. Not necessarily a reference book. But it would be nice to have some good examples. Getting laid off has me starving to learn something new. S

RE: ejb's and tomcat

2003-10-07 Thread Brian Richards
www.jboss.org -brian -Original Message- From: ajay brar [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 9:51 PM To: [EMAIL PROTECTED] Subject: ejb's and tomcat Hi! does tomcat support ejb's. I'm building a web app which uses struts. i'm using ejb's for the model part. can i

ejb's and tomcat

2003-10-07 Thread ajay brar
Hi! does tomcat support ejb's. I'm building a web app which uses struts. i'm using ejb's for the model part. can i deploy the ejb component on tomcat? what other alternate ways are there to do so? thanks cheers ajay _ ninemsn Premi

Re: ssl question

2003-10-07 Thread Stephane Grenier
Hello all. I noticed this only happens when I use the sslext:pageScheme tag. Any suggestions ? Thank you, Stephane - Original Message - From: "Stephane Grenier" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2003 8:39 PM Subject: Re: ss

Re: ssl question

2003-10-07 Thread Stephane Grenier
Hello all. Thank you for the suggestions earlier, I was able to get further, however I am still not able to the webapp to correctly run. I was wondering if there are any special configurations I need to do to use sslext with tomcat where the ssl certificate is installed in apache on the front.

Re: Using set-property attribute in action class

2003-10-07 Thread Kirk Wylie
Oops, forgot to extend my first paragraph. You have to write your own Configuration class which has a JavaBean property matching the "property" set in your tag and which extends from ActionConfig. Then you can use that from your configuration file in order to get the parameter. The properties

Re: Using set-property attribute in action class

2003-10-07 Thread Kirk Wylie
You have to write your own Configuration class which has a For example, if you wrote MyActionConfig and set up className in your Action element in your struts-config.xml file, and you had a tag of: , then MyActionConfig.setFoo(bar) would be called during configuration parsing time. Kirk Wylie

Re: Cannot retrieve definition for form bean null

2003-10-07 Thread victor gusz
Is it absolutely necessary to use a form bean for every action? I will only let user to click on a link and forward it to another page while sending a value. Should I define a form bean for this? And how can I do it? regards, --- victor gusz <[EMAIL PROTECTED]> wrote: > Hi, > > I got the abo

Re: Dynamic form fields on ActionForm

2003-10-07 Thread Mark Lowe
Indexed form property is what you want.. I'll avoid any clever explanations, grandiose meta language or to try and sell you a book.. And give you an example.. .. DynaActionForm theForm = (DynaActionForm) form; ArrayList productList = theForm.set("product",productList); //and for some

Re: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Ted Husted
Mark Galbreath wrote: > Yeah! And I bet you didn't know that struts-user enforces a dress > code, too?! We do like to enforce a code, Mark. It's one of the things that, over the years, have made Struts so popular. Again, please don't attack people this way. If you care to rebut something someon

Re: HELP: strutsTestCase with ant now sending too much stacktrace!

2003-10-07 Thread Kirk Wylie
Those aren't stack traces, they're Digester output. It's notorious for its excess of logging. Did you modify any logging/log4j settings, either intentionally or inadvertantly? Kirk Wylie Mick Knutson wrote: I went from having very little stack trace, to having several hundred/thousand per test

Tiles Tag: Submit a Body Tile from Header Tile..

2003-10-07 Thread Ritvik
Hi There, We are using tiles for our JSP layout and have following tile components LeftNavigation.jsp, Header.jsp, body.jsp and footer.jsp. There are series of buttons on LeftNavigation.jsp, which must submit\post any of body.jsp HTML forms.. Any suggestions on how to submit a jsp from another i.

Re: Dynamic form fields on ActionForm

2003-10-07 Thread Adam Hardy
Hi Cornellious, it depends whether you know beforehand what the full set of possible fields could be, or whether the fields themselves are not limited in name or type. If the former, then it would be easy to make a form that defined them all, and to use logic tags to display the needed fields o

RE: using an attribute inside a tile

2003-10-07 Thread Holman, Cal
Try Cal www.calandva.com -Original Message- From: Sonam Belbase [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 18:24 To: Struts Users Mailing List Subject: Re: using an attribute inside a tile Frank, I tried this and the bean:write in header.jsp still does not write anyt

RE: Pass/Preserve request parameters after actionForward

2003-10-07 Thread Lee, Yau-Pang
Thks Tamer, that's what I thoughtno shortcut...oh well. Simon -Original Message- From: Tamer Salama [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 6:14 PM To: 'Struts Users Mailing List' Subject: RE: Pass/Preserve request parameters after actionForward Hello Lee: Disclai

Re: using an attribute inside a tile

2003-10-07 Thread Sonam Belbase
Frank, I tried this and the bean:write in header.jsp still does not write anything to the screen: tiles-def.xml: contentFrameLayout.jsp: header.jsp: I also tried header.jsp: <%=label%> but this results in the error: /ms/user/s/sonam/libra/aeui/0.2/src/ServletExec Data/

RE: Pass/Preserve request parameters after actionForward

2003-10-07 Thread Tamer Salama
Hello Lee: Disclaimer: I'm in my first struts project ;-) The ActionForm is designed to carry the input parameters to your Action class, and not beyond that. So, you can create a value bean that would get populated from your ActionForm bean. Then, you can pass that value bean by placing it in re

RE: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Mark Galbreath
Yeah! And I bet you didn't know that struts-user enforces a dress code, too?! Mark Cut us some slack, Keith. -Original Message- From: Keith Pemberton [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 1:28 PM To: Struts Users Mailing List Subject: Re: [Article] SoftwareFashio

Cannot retrieve definition for form bean null

2003-10-07 Thread victor gusz
Hi, I got the above error when I ran my struts app. I am not using a form for this action since I only need to diaply it. And I am using Tiles framework for this. Appreciate any help. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http

Page flow dependence on

2003-10-07 Thread Sasha Borodin
A common scenario I've encountered is that some check made in an action's execute() method correlates to what needs to be displayed in the view. But how can I control page flow (i.e. this section of page gets displayed, this one doesn't) based on the accumulated ActionError's? Right now, I check-

Problem with dynamically generated anchors

2003-10-07 Thread Galabova, Hristina (HBO)
I have a jsp that uses the iterator tag to iterate over the elements of a collection of beans that is placed in request scope by an Action class. The jsp code looks something like this: In the above iteration I am also defining dynamically an anchor,

Tiles Tabs Layout

2003-10-07 Thread pondugud
Hi there: I am using tiles 'tabs layout' and having the following question. Question: How to display the result page with same tab being active and with out BREAKING other tab links? Explanation: Let me explain the problem. a). Lets say I clicked on 'Tab B' and it displayed a form asking for so

Pass/Preserve request parameters after actionForward

2003-10-07 Thread Lee, Yau-Pang
This might be a dumb question, but I couldn't find any documentation on this. I have a page that submit a form to my action servlet and depending on what they submitted, I redirect them differently via ActionForward,( E.g. return pMapping.findForward("success"); ) at the end of the execute() funct

Tiles backward forwarding - how to?

2003-10-07 Thread Tamer Salama
Hello Everyone: First Struts project ... - A search Form inside a tile (jsp) (search.jsp). - The tile (search.jsp) is used in many of the pages (tile definitions/layouts). - The form submits to a single Action class (SearchAction). How would I make that Action (SearchAction) recognizes the "orig

No action instance for path /logoff could be created

2003-10-07 Thread Hari Om
I am working on a simple Logon Application. I am able to Logon to my Logon application and when I click the Signout Link it gives me following errors wonder why: - HTTP Status 500 - No action instance for path /logoff could b

RE: using an attribute inside a tile

2003-10-07 Thread Trieu, Danny
Or you can use Tiles' tags to redefine it to You prefer scope -Original Message- From: Frank Maritato [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 1:54 PM To: Struts Users Mailing List Subject: Re: using an attribute inside a tile I just recently posted a question about th

Re: using an attribute inside a tile

2003-10-07 Thread Frank Maritato
I just recently posted a question about this very problem. Attributes defined in tiles definitions are available only in the "tiles" scope. Therefore, you must redefine the attribute into the request scope if you want it available to your sub tiles. So, in contentFrameLayout.jsp you add the lin

Re: Container-Managed Authentication in web.xml vs . Specifying Paths in the struts-config.xml

2003-10-07 Thread Caroline Jen
Thanks a lot, Andrew. I got the idea. --- Andrew Shirk <[EMAIL PROTECTED]> wrote: > Logical paths work fine for me in web.xml (using > tomcat 4.1.x): > > > FORM > > > /do/login/edit > > > /do/login/fail > > >

Re: Container-Managed Authentication in web.xml vs . Specifying Paths in the struts-config.xml

2003-10-07 Thread Andrew Shirk
Logical paths work fine for me in web.xml (using tomcat 4.1.x): FORM /do/login/edit /do/login/fail Andrew At 03:11 PM 10/7/2003, you wrote: People answer questions without reading my original post. Therefore, I must

RE: Container-Managed Authentication in web.xml vs . Specifying Paths in the struts-config.xml

2003-10-07 Thread Matt Raible
Don't put anything in struts-config, in web.xml, put: FORM /login.jsp /login.jsp?error=true You can use whatever code you like in login.jsp, here's mine as an example: <%@ include file="/common/taglibs.jsp"%> So you can see it uses

Re: Container-Managed Authentication in web.xml vs . Specifying Paths in the struts-config.xml

2003-10-07 Thread Caroline Jen
People answer questions without reading my original post. Therefore, I must re-type my original question again. Before I posted my question, I had configured the Tomcat JDBCRealm following the instructions at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html so that I can do securi

Dynamic form fields on ActionForm

2003-10-07 Thread Cornellious Mann
I am wondering what is the best approach to handle dynamic form fields within an ActionForm. I have a JSP page that will display quantity input fields for a dynamic list of products. I don't know how many products will be in the list until runtime. How can I set up my ActionForm to handle the lis

using an attribute inside a tile

2003-10-07 Thread Sonam Belbase
Hi, I have a layout contentFrameLayout.jsp: In my tiles-def.xml, I assign values to these attributes: In struts-config, my action forwards to the definition "content.default" on success. I am trying to use the attribute screenName i

ActionForm Design Question

2003-10-07 Thread Ian Joyce
Hello, I am having trouble wrapping my mind around with how I should design an ActionForm giving the following situation. My form looks like this: Child 1 [Select of all possible parents] Child 2 [Select of all possible parents] Child 3 [Select of all possible parents] ... Each child can ha

RE: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Steve Raeburn
Adam, I assumed it was tongue-in-cheek ;-) Greg, I wasn't commenting on people who are trying to understand the MVC pattern and Struts, but authors who claim to be experts in the field and who should be *very* familiar with the Model1/Model2 debate and how Struts addresses the problem. From that

Re: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Adam Levine
apologies. it was a joke with good intentions, but apparently bad delivery. From: "Keith Pemberton" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: [Article] SoftwareFashion (includes paragraph about S

re[2]: maxlength validator implies required???

2003-10-07 Thread Max Kremer
Thats exactly what it was. The maxlength entry in my validator-rules.xml had a depends entry: depends="required" I changed that and it now works the way I intended. Thanks for your help!! >> Take a look at the maxlength definition inside validator-rules.xml. >> > classname="org.apache.stru

Re: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Keith Pemberton
This response was uncalled for... at least be more professional when responding to people through the listserv. - Original Message - From: "Adam Levine" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2003 12:04 PM Subject: Re: [Article] SoftwareFashion (includes pa

RE: maxlength validator implies required???

2003-10-07 Thread Fenderbosch, Eric
Take a look at the maxlength definition inside validator-rules.xml. Does your "depends" specify "required"? -Original Message- From: Max Kremer [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 13:13 To: [EMAIL PROTECTED] Subject: maxlength validator implies required??? Hi

maxlength validator implies required???

2003-10-07 Thread Max Kremer
Hi, I'm using the maxlength validator as follows in validator.xml maxlength 300 But for some reason when the field is left blank the validator returns a message that the field is required even though I am NOT using the required validator. Does maxlength IMPLY required Has anybody els

Re: form object names, population and processing

2003-10-07 Thread Takis Diakoumis
Thanks for the suggestion. unfortunately the id attribute is not available in the struts form tag. any other suggestions would be most appreciated. Takis >It maybe possible for you to set the id of the html form element. >Then you can use this in the JavaScript instead of the name. >I think th

Re: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Adam Levine
Hey, Steve ... Guess what? You don't understand Struts. (= From: Gregory Seidman <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: [Article] SoftwareFashion (includes paragraph about Struts) Date: Tue, 7 Oct 2003 12:57:18 -0400 On

Re: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Gregory Seidman
On Tue, Oct 07, 2003 at 09:32:52AM -0700, Steve Raeburn wrote: } 'In fact, we'd particularly invite Struts advocates to respond to this } article by describing the benefits that they feel Struts provides over } "vanilla" JSP.' } } Well if they don't get what Struts provides over "vanilla" JSP, the

Re: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Craig R. McClanahan
Steve Raeburn wrote: 'In fact, we'd particularly invite Struts advocates to respond to this article by describing the benefits that they feel Struts provides over "vanilla" JSP.' Well if they don't get what Struts provides over "vanilla" JSP, then they never will. Discussing what Struts provides c

RE: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Steve Raeburn
'In fact, we'd particularly invite Struts advocates to respond to this article by describing the benefits that they feel Struts provides over "vanilla" JSP.' Well if they don't get what Struts provides over "vanilla" JSP, then they never will. Discussing what Struts provides compared to other MVC

RE: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Mark Galbreath
Nothing really more than I've been saying for over a yearway too much complexity in these frameworks! too bad it's not Friday, though: http://www.softwarereality.com/truestories/ Mark -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Yann Cébron Sent: Tuesday, Octobe

Re: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Craig R. McClanahan
Adam Levine wrote: a bunch of postings, including the article, by a bunch of un/mis-informed evangelists (for all technologies mentioned). it's like state fair day at /. can i get my 20mins back ? This article actually was slashdotted last night. The responses were ... um ... not even up to

RE: setting application context

2003-10-07 Thread Steve Raeburn
If you have a Servlet 2.3 compatible container (e.g. Tomcat 4.x or later) you can implement a ServletContextListener which will be notified when your context is started and gives you access to the ServletContext. ... import javax.servlet.ServletContextEvent; import javax.servlet.ServletConte

Re: Container-Managed Authentication in web.xml vs . Specifying Paths in the struts-config.xml

2003-10-07 Thread Craig R. McClanahan
Caroline Jen wrote: But, I do not want to use BASIC authentication. I have many different roles and hundreds of people per role. Users' name, role, etc. are stored in a database. How authentication is performed (BASIC, form-based, DIGEST, or SSL client certificates) and how users are stored (da

Re: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Adam Levine
a bunch of postings, including the article, by a bunch of un/mis-informed evangelists (for all technologies mentioned). it's like state fair day at /. can i get my 20mins back ? -- adam From: "Yann Cébron" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [E

Re: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread David Graham
The author comes to the surprising conclusion that any particular technology isn't suited for every application! There seems to be an increasing number of internet postings designed to garner a lot of attention without actually saying anything worth reading. They generally attack some popular tec

Re: [Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Adam Hardy
If that's what she looks like with struts, what's she going to look like with java server faces? On 10/07/2003 05:30 PM Yann Cébron wrote: Read for yourself and judge: http://www.softwarereality.com/soapbox/softwarefashion.jsp --

setting application context

2003-10-07 Thread Kannan
Hi all! I have a lot of drop down menus in my web application. I need to set them as collection objects in servlet context. that should load up when the application ( tomcat start..) load up. Then i can play with struts by iterating it.. Can any one help me , How to do this? How to write the load

Re: ssl question

2003-10-07 Thread Stephane Grenier
Thank you, I'll try this. Also would you happen to have any idea why when I change protocol to ssl in the url it truncates the "www" from my domain name in the url ? I believe this is related to the problem. Thank you, Stephane - Original Message - From: "Max Cooper" <[EMAIL PROTECTED]>

[Article] SoftwareFashion (includes paragraph about Struts)

2003-10-07 Thread Yann Cébron
Read for yourself and judge: http://www.softwarereality.com/soapbox/softwarefashion.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DynaValidatorForm

2003-10-07 Thread Frederic Dernbach
Adam, You are right. I just wrote something more generic. Le mar 07/10/2003 à 17:00, Adam Hardy a écrit : > Why get complicated? All you need is and the validation > will automatically not be executed. Even the javascript validation if > you are using DynaValidatorForm. > > Adam > > On 10/0

AW: how to keep developing time as short a possible?

2003-10-07 Thread Slobodan Kasterovic
Hi ! I can confirm this opinion! With Ants JSPC this works very fine. Slobodan Kasterovic --> -Ursprüngliche Nachricht- --> Von: Nicholson, Robb [mailto:[EMAIL PROTECTED] --> Gesendet: Dienstag, 7. Oktober 2003 16:22 --> An: 'Struts Users Mailing List' --> Betreff: RE: how to keep devel

Re: DynaValidatorForm

2003-10-07 Thread Frederic Dernbach
Instead of if (errors.size() > 0) { request.setAttribute("org.apache.struts.action.ERROR", errors); forward = "failure"; } I would write : if (! errors.isEmpty()) { saveErrors(request, errors); forward="failure"; } Le mar 07/10/2003 à 16:27, Glenn Holmer a écrit :

Re: DynaValidatorForm

2003-10-07 Thread Glenn Holmer
Adam Hardy wrote: Why get complicated? All you need is and the validation will automatically not be executed. Even the javascript validation if you are using DynaValidatorForm. Now *that* is slick. Thanks. -- Glenn Holmer

Re: Wizard with a Twist

2003-10-07 Thread Adam Levine
What about shell pages? each page will then include the appropriate page fragement as determined by your business logic (they answered "A" to question 2, which means we need to include pageFrag3 for the next page). Combine that with a .properties file that may determine your combinations (q

Re: Wizard with a Twist

2003-10-07 Thread Bob Lee
Thanks, Adam, but the flow is not my main problem. Let me use a more detailed example: The first page has one question: QA The user clicks on an answer and another question appears: QA QB Again: QA QB QC The user goes back and changes the answer to the first question: QA QD As you can see, i

Re: DynaValidatorForm

2003-10-07 Thread Adam Hardy
Why get complicated? All you need is and the validation will automatically not be executed. Even the javascript validation if you are using DynaValidatorForm. Adam On 10/07/2003 04:27 PM Glenn Holmer wrote: Frederic Dernbach wrote: Glenn, - Use a descendant of DispatchAction for your form's

Form posting nulls

2003-10-07 Thread eric
A couple of our clients that are accessing our pages are posting nulls in their form submissions, these are struts pages. It is only happening with Internet Explorer 6.0 (not 5.5) and both clients are behind Cisco PIX firewalls. Has anyone encountered problems like this? One client is using

Re: how to keep developing time as short a possible?

2003-10-07 Thread Mike Kienenberger
[EMAIL PROTECTED] wrote: > I'm a J2EE developer. I have made a few projects using Struts. And I have > to say I like the Struts framework very much. > I'm using XDoclet to generate struts-config.xml (to speed up development). > > The only thing I'm not happy about is the following: > > 1. I cha

Re: how to keep developing time as short a possible?

2003-10-07 Thread Max Cooper
IntelliJ IDEA is capable "checking" your JSPs at the end of a build. It takes a long time, though, which I suspect means that it is compiling them all to .java and then to .class files. I don't know if it is possible to use these compiled versions or not, but it can be useful as a check. It does no

Re: set a relative path instead of absolute for a jsp file

2003-10-07 Thread Graham Leggett
David Thielen wrote: Is there a way in struts to tell it to look for a relative path? In other words, if I start with windwardreports/form.jsp, then go to windwardreports/demo.jsp? We had the same problem, and created this patch: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15921 I would be

Re: DynaValidatorForm

2003-10-07 Thread Glenn Holmer
Frederic Dernbach wrote: Glenn, - Use a descendant of DispatchAction for your form's action, - Have two separate methods in the action class for your two buttons (one for 'commit' and one for 'cancel'). - In the struts-config.xml file, specify attribute 'validate' to 'false' for your form's action

Re: how to keep developing time as short a possible?

2003-10-07 Thread Michael Nascimento Santos
Depeneding on your application server, you can deploy your application in expanded mode, i.e., without any need to pack it into an ear. So, you are able to change the file and test it immediately. []s Michael Nascimento Santos JSR-207 Expert Group Member http://today.java.net/pub/au/80 Sun Certifi

RE: how to keep developing time as short a possible?

2003-10-07 Thread Nicholson, Robb
For our environment, we have an Ant task that deploys the EAR file, so tasks #2 and #3 below are combined for us. To go a step further, you could set up an Ant task to precompile the JSP's so the container doesn't have to. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT

how to keep developing time as short a possible?

2003-10-07 Thread harm
Hi all, I'm a J2EE developer. I have made a few projects using Struts. And I have to say I like the Struts framework very much. I'm using XDoclet to generate struts-config.xml (to speed up development). The only thing I'm not happy about is the following: 1. I change something in my JSP. 2. Ru

Re: ssl question

2003-10-07 Thread Max Cooper
The second problem is likely an "infinite redirection loop": Browser: I want http://server/page.jsp Server: Go to https://server/page.jsp Browser: I want https://server/page.jsp Server: Go to http://server/page.jsp Browser: I want http://server/page.jsp Server: Go to https://server/page.jsp ... un

form object names, population and processing

2003-10-07 Thread Takis Diakoumis
hi i'm using an ActionForm to populate a form and update (or add new) data. i have a bean object with set/get methods which i add to my extended ActionForm class with setMyObject and getMyObject. i use the above to populate my form which works fine. when using a tag in a form say for a text fiel

set a relative path instead of absolute for a jsp file

2003-10-07 Thread David Thielen
Hi; I have a situation where I need to have the jsp files with my html files. (I have just 2 of them and they use the same templates as the 100+ html files and they are a simple part of the website.) My J2EE server is configured to look in both the server's web application directory and c:/Inet

Struts Token and Forxard

2003-10-07 Thread liste
Hi everyone, I hope someone will help me… I decided to use the Struts token solution to manage double submits and back button problem. It almost seems to work ; indeed, all extra submissions bring me back to the JSP with a message, via my prepare action class… My problem is that when the treat

xml objects for forms and persistence

2003-10-07 Thread MBrewer
I will be working on porting a company framework (and hopefully open source it) from ASP/VB (yack!) to Java. The idea of the framework is quite simple. It is a framework for buiding administration screens like update/search edit user but it has some interesting features : The Business objects a de

Menu inside Tab content

2003-10-07 Thread Nguyen, Hien
Hi, I use tabLayout.jsp and on one of my tabs, I have a menu. (using Struts' menu.jsp). When my user clicks on the menu's link, I want to be able to load that page into the tab's content. Can someone please give some guidedance as to how I should approach this? Thanks. --Hien

Re: should not work in different machine...

2003-10-07 Thread Prashanth.S
Hi, Regarding my problem of invalidating application[giving some sort of session timeout error when the url of a running application is copy pasted into different machine] i have one small idea. Iam passing sessionid in url...so what i will do is get some property which is specific to each syst

RE: Tools for Testing

2003-10-07 Thread Nguyen, Hien
Take a look at StrutsTestCase for Junit at www.junit.org. -Original Message- From: Dirk Behrendt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:07 AM To: [EMAIL PROTECTED] Subject: Tools for Testing Hello! There are tools for automatic testing the Struts application? Di

Re: Creating a bean!!!!

2003-10-07 Thread Adam L
First:you don't need to use excessive punctuation in your subject titles. More often than not it's bound to get your post ignored or pushed aside. Second: I don't understand from your message if you DO or DO NOT have a class named "Book" that resides in the package "books" as in:

Re: Wizard with a Twist

2003-10-07 Thread Adam L
For what it's worth, check out the workflow extension, http://www.livinglogic.de/Struts It takes a bit of tinkering with to fully understand and appreciate its power (check the archives for a very recent dialog between myself and its designer, Matthias Bauer). It's very simple in concept and de

Re: workflow extension question

2003-10-07 Thread Adam L
Matthias: Thank you for the clearer explanation. If I understand this now, if I change all my current workflow violation forwards to be of type ForwardNextStateViolationAction (they are all currently just plain actions with a forward, no type specified), then the existing workflow will work

Re: [help] nest logic:iterate problem!!

2003-10-07 Thread Frederic Dernbach
You can look at the struts-layout library that solved this problem in its tag. Source code of the library is available at http://struts.application-servers.com/ . Fred Le mar 07/10/2003 à 13:52, 林國漳 a écrit : > Dear: > How to processes nested iterate tag? > > I’m meeting a nest iterate problem.

Creating a bean!!!!

2003-10-07 Thread Zakaria khabot
Hi, I have created a formBean : But the class Book isn't known as an element of tke package books. and I received this exception : javax.servlet.jsp.JspException: Exception creating bean of class books.Book: {1} void org.apache.struts.taglib.html.FormTag.initFormBean()

Re: DynaValidatorForm

2003-10-07 Thread Frederic Dernbach
Glenn, - Use a descendant of DispatchAction for your form's action, - Have two separate methods in the action class for your two buttons (one for 'commit' and one for 'cancel'). - In the struts-config.xml file, specify attribute 'validate' to 'false' for your form's action.The form validation wont

Re: DynaValidatorForm

2003-10-07 Thread Glenn Holmer
Adam Hardy wrote: If your buttons have values set then you can test to see which button value was submitted. Even better though with struts you can use the built-in cancel button without needing to do that. and then check action.isCancelled(request) But those would be done in the action class,

Re: DynaValidatorForm

2003-10-07 Thread Adam Hardy
If your buttons have values set then you can test to see which button value was submitted. Even better though with struts you can use the built-in cancel button without needing to do that. and then check action.isCancelled(request) Adam On 10/07/2003 01:49 PM Glenn Holmer wrote: When you're u

[help] nest logic:iterate problem!!

2003-10-07 Thread 林國漳
Dear: How to processes nested iterate tag? I’m meeting a nest iterate problem. Ex: Have anything to solve this problem? Thanks a lot Xlen ---

DynaValidatorForm

2003-10-07 Thread Glenn Holmer
When you're using DynaValidatorForm and the page has two buttons (e.g. "Commit" and "Cancel"), how do you not validate if the user hits the "Cancel" button (which on my page, also submits, but the action checks the value of the submit button)? Do I have to write a Form subclass to do this? Can you

Using set-property attribute in action class

2003-10-07 Thread Nisith Dash
How can i access the propery of a bean which i have set in the struts config file using in my action class. thanks, DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of th

Wizard with a Twist

2003-10-07 Thread Bob Lee
All, I have requirements do develop a wizard like application where you can have multiple questions (up to 3) on a single page. When there are multiple questions, the first appears, you select an answer, and the next one appears. If you change the answer to a previous question, all of the succ

Reusability of Popup Windows & Exception

2003-10-07 Thread Frederic Dernbach
I'm trying to implement my first popup window. I'd like to implement a search window for an entity (called signal in this case) that I can reuse in different areas of my web application. This search window has several criteria and one submit button in order to perform the database lookup and propos

  1   2   >