Re: Cannot retrieve definition for form bean null

2003-10-08 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, html:form action=/kiosk browse kiosks html:submit value=Submit//html:form can i define kioskForm in the action mapping as the form for this empty

RE: ejb's and tomcat

2003-10-08 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-

Back to my token problem..

2003-10-08 Thread liste
Hi everyone, I'm back with my token problem, i really need your help. Maybe, i'm wrong in the way i'm applying the mechamism. In all the tutorials or examples i've seen, the action class was setting up a page with an error message if a submission problem was detected. That's fine but.. My

RSS and Struts

2003-10-08 Thread Stefan Trcko
Hello I want to put RSS channel with news from other site, on my portal. Portal is developed with Struts. Can you please tell me what is the best way for implementing RSS with Struts. Regards Stefan Trcko - To unsubscribe,

urlrewriting Vs Cookies

2003-10-08 Thread Prashanth.S
Hi all, i want to know that among urlrewriting and cookies,which one is better???If i dont want to use cookies is there any otherway to do session invalidation[other than url rewriting]..Iam using resin. Thanks Prashanth - Do you Yahoo!? The New

Returned mail: User unknown

2003-10-08 Thread Mail Delivery Subsystem
The original message was received at Wed, 8 Oct 2003 01:06:07 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

RE: urlrewriting Vs Cookies

2003-10-08 Thread Navjot Singh
theoretcially, there are 3 ways. 1. URL Rewriting 2. Client side Cookies 3. Server side Session (again use cookies but just for an ID) if you are adamant about not using cookies at any level. URL rewriting is the only option left. any other? navjot singh -Original Message- From:

Re: Problem using bean:define tag

2003-10-08 Thread David Kingston
use bean:write name=fieldxyz/ instead of %= fieldxyz % - Original Message - From: Marimuthu Saravanan To: [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 8:30 AM Subject: Problem using bean:define tag Hi, I am getting a error while using bean:define tag (

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Adam Hardy
Still it depends. How does the database handle the new products? Can you at least categorise them? On 10/08/2003 06:19 AM Cornellious Mann wrote: 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

having trouble loading ActionServlet on startup

2003-10-08 Thread Nick Faiz
Hi, This is my first post to this list and I'm hoping it will have a quick answer for the problem I'm encountering. I've googled on this issue quite a bit and know I am not the first to encounter it. I can't seem to find a direct suggestion of how to solve the problem, however. My

Re: Back to my token problem..

2003-10-08 Thread Adam Hardy
Hi Frederic, I have to admit I'm confused about what you want to achieve. This is what I think, but correct me if I'm wrong: (1) the user submits a form with a struts token in it (2) the user hits the back button to go to the form again (3) the user submits the form again (4) struts

test mail

2003-10-08 Thread rajendra . x . yadav
thanks -raj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts And iBATIS

2003-10-08 Thread Aswathy Priyarenj
Hello all, Is Struts And iBATIS going smoothly together ? Could u please explore the benefits with iBATIS ? Thanks in advance Aswathy _ The heat is on! Catch the latest action. http://server1.msn.co.in/sp03/formula2003/ Speed

Re: RSS and Struts

2003-10-08 Thread Mark Lowe
Here you go anyway, but i don't really like answering when you obviously think the list is a short cut to doing any work and reading.. http://jakarta.apache.org/jetspeed/site/index.html On Wednesday, October 8, 2003, at 08:32 AM, Stefan Trcko wrote: Hello I want to put RSS channel with news

Re: urlrewriting Vs Cookies

2003-10-08 Thread Mark Lowe
Hi Prashanth IMHO if you thinking about these as separate things then you're thinking wrong. Sessions use url encoding and cookies to maintain state. But when site building you shouldn't need to drill down this far. Folks often think it clever to manipulated cookies, cos it looks real

Re: urlrewriting Vs Cookies

2003-10-08 Thread Wolfgang Woger
Navjot Singh wrote: theoretcially, there are 3 ways. 1. URL Rewriting 2. Client side Cookies 3. Server side Session (again use cookies but just for an ID) if you are adamant about not using cookies at any level. URL rewriting is the only option left. any other? Server side Session of course

RE: urlrewriting Vs Cookies

2003-10-08 Thread Prashanth.S
Hi navjot, Thanks for the reply...But the problem with url rewriting is that jsessionid is maintained across browsers so that users can access the application if they get the url..[even on other system the application work if u get the url]..so is there any other option??? Thanks Prashanth

RE: urlrewriting Vs Cookies

2003-10-08 Thread Navjot Singh
here is the clue. cookies are again of two types. + persistent - will remain there even if you close browser and opens next day. + non-persistent/session - the moment you close browser window they are gone. These also work only under child browser windows. So, i assume you are looking for

Equivalent of tiles:put name=title beanName=X beanProperty=Y/ in a definition?

2003-10-08 Thread PhilNoon
In a JSP I can use the following syntax to grab a value from a bean: tiles:put name=title beanName=X beanProperty=Y/ However, put tag used in definitions doesn't seem to have any equivalent functionality. Can anyone help? -

RE: ejb's and tomcat

2003-10-08 Thread Mark Galbreath
If you are asking these questions, you probably should not be using EJB. The ONLY reason to use EJB is if you are developing a distributed application; anything else is overkill. If you simply need data persistence, use JDBC and use DAO, or one of the persistence frameworks: Ibatus, Hibernate, or

RE: Books

2003-10-08 Thread Mark Galbreath
Sure thing! It's always good to learn new things when idle, but you seem to need to start from the basics: http://www.catb.org/~esr/faqs/smart-questions.html Cheers! Mark -Original Message- From: Brian Richards [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 11:02 PM To:

RE: urlrewriting Vs Cookies

2003-10-08 Thread Prashanth.S
Hi navjot, My clients doesnt want me to use cookiesSo that my application should run even for users who have disabled cookies...The problem with url-rewriting is that jsessionid is maintained across applications so that if any one get url of the application they can go through the

Re: urlrewriting Vs Cookies

2003-10-08 Thread Mark Lowe
I'd have though cookie use was upto the user rather than your client. http://jakarta.apache.org/struts/userGuide/struts-html.html#link On Wednesday, October 8, 2003, at 12:16 PM, Prashanth.S wrote: Hi navjot, My clients doesnt want me to use cookiesSo that my application should run even

RE: ejb's and tomcat

2003-10-08 Thread Andrew Hill
Nonsense! In the same way acronyms look great on resumes, they also look just super on product brochures. If you use EJBs you can proudly proclaim that your application is based on J2EE EJB technology! This is useful for impressing clueless manager types even if EJBs confer no actual technical

Re: Back to my token problem..

2003-10-08 Thread liste
Hi Adam and thank you for your answer, Points (1) - (5) are what i want to do indeed... Then i don't know how to get back to the normal course of the application. When the isTokenValid() returns false, i go back to the page with the form and an error message to inform the user to wait... Then

Re: RSS and Struts

2003-10-08 Thread Adolfo Miguelez
I have used this library with success: http://www.servletsuite.com/servlets/rsstag.htm Probably some more around Adolfo. From: Mark Lowe [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: RSS and Struts

RE: ejb's and tomcat

2003-10-08 Thread Mark Galbreath
Is there an Aussie equivalent for hillbilly? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 7:20 AM Nonsense! In the same way acronyms look great on resumes, they also look just super on product brochures. If you use EJBs you can proudly

[OT] [Reflection/Classes] doing something like instanceof at runtime

2003-10-08 Thread Andrew Hill
I want to be able to check if an object is an instance or a subclass of a specified class - where that class is specified in a string that is only known at runtime. For example to have the following code print out bobs got a date: boolean isInstanceof(Object o, String klass) { //TODO }

Re: Struts And iBATIS

2003-10-08 Thread Daniel H. F. e Silva
Hello Aswathy, Take a loot at this URL: http://www.reumann.net It has a nice example of using iBatis and Struts together. It was designed by a great guy: Rick Reumann. Regards, Daniel. --- Aswathy Priyarenj [EMAIL PROTECTED] wrote: Hello all, Is Struts And iBATIS going smoothly

Re: [OT] [Reflection/Classes] doing something like instanceof at runtime

2003-10-08 Thread Daniel H. F. e Silva
Andrew, I don't know if this is the best way, but you can try something like that: boolean isInstanceOf(Object o, String klass) { Class c = null; try { c = Class.forName(klass); } catch (ClassNotFoundException e) { // TODO } return c.isInstance(o); }

RE: [OT] [Reflection/Classes] doing something like instanceof at runtime

2003-10-08 Thread Andrew Hill
Ah. Cheers mate! I reckon thats just what Im looking for. :-) -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED] Sent: Wednesday, 8 October 2003 19:58 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: [OT] [Reflection/Classes] doing something like

RE: Struts And iBATIS

2003-10-08 Thread Mark Galbreath
Actually, Rick is Daniel's pimp, but he did do a nice job on the Ibatis tutorial. -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 7:50 AM Take a loot at this URL: http://www.reumann.net It has a nice example of using

Returned mail: User unknown

2003-10-08 Thread Mail Delivery Subsystem
The original message was received at Wed, 8 Oct 2003 05:06:50 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

Returned mail: User unknown

2003-10-08 Thread Mail Delivery Subsystem
The original message was received at Wed, 8 Oct 2003 05:06:50 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

Re: Back to my token problem..

2003-10-08 Thread Adam Hardy
Your English is fine - but why are you telling the user to wait? Surely you should tell them not to submit twice? What are they waiting for? I would show the original results page again with the warning that doing a double-submit is not allowed. Adam On 10/08/2003 01:22 PM [EMAIL PROTECTED]

Re: Back to my token problem..

2003-10-08 Thread Adam Hardy
Sorry, what I just said is wrong - I would not show the results page - I would leave the user on the form page. There they have their data which they may have made changes to, which shouldn't be discarded. On 10/08/2003 01:22 PM [EMAIL PROTECTED] wrote: Hi Adam and thank you for your answer,

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

2003-10-08 Thread ?
I can't run struts-layout nestCollection tag. Could you send some code to explain the problem? My problem is that has a Collection and it cover another Collections, and I want take Collection data through iterate tag.(Two level Collection how to iterator) How to do this problem? Ex.

Re: Equivalent of tiles:put name=title beanName=X beanProperty=Y/ in a definition?

2003-10-08 Thread Vic Cekvenich
Did you take at a nighly build Tiles-EL (that can do expresions)? .V PhilNoon wrote: In a JSP I can use the following syntax to grab a value from a bean: tiles:put name=title beanName=X beanProperty=Y/ However, put tag used in definitions doesn't seem to have any equivalent functionality. Can

RE: ejb's and tomcat

2003-10-08 Thread ajay brar
hi! its actually for my software project at university. i am in uni. and the aim of the project is to use ejb with struts. we are developing a transaction/payment gateway. the ejb's will be implementing the model, ie, the actual transaction and also merchant support functions. since me and my

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Cornellious Mann
All we have is a product ID. There is no category. How do you think category could help? Also, have you used an indexed property and DynaForm? --- Adam Hardy [EMAIL PROTECTED] wrote: Still it depends. How does the database handle the new products? Can you at least categorise them? On

Re: Books

2003-10-08 Thread Mike Deegan
Check out http://www.javashelf.com/servlet/books?category=struts Includes information on : General Description, Contents, Reviews, About Authors and Price Comparisons ! Good Luck Mike - Original Message - From: Mark Galbreath [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: ejb's and tomcat

2003-10-08 Thread Brian McSweeney
The answer to your problems lie here: www.sourceforge.net/projects/xpetstore -Original Message- From: ajay brar [mailto:[EMAIL PROTECTED] Sent: 08 October 2003 12:56 To: [EMAIL PROTECTED] Subject: RE: ejb's and tomcat hi! its actually for my software project at university. i am in uni.

Tiles-EL?

2003-10-08 Thread PhilNoon
Thanks for the reply, but I'm sorry I don't understand what you wrote! What is Tiles-EL? Where do I find it? How do I find out what it does? Thanks for your help. Vic Cekvenich [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Did you take at a nighly build Tiles-EL (that can do

Re: workflow extension question

2003-10-08 Thread Matthias Bauer
Adam, I am not sure, but let me try to express in my own words, what I believe you want to do: The user tries to access startWizard1.do or startWizard2.do. They are both access protected, so if the user is not logged in, he will be forwarded to displayLogin.do. Now after he has correctly

Re: RSS and Struts

2003-10-08 Thread Christian Bollmeyer
Here comes the Sun... http://developer.java.sun.com/developer/technicalArticles/javaserverpages/rs s_utilities/ It's alright :-) -- Chris - Original Message - From: Adolfo Miguelez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 1:26 PM Subject: Re: RSS and

Problem with tags

2003-10-08 Thread Das, Amar
Hi, The following JSP page results in error in Tomcat 4.1.24. Error - Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac]

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Adam Hardy
Yes you can have indexed properties dynaforms. I do not use them, I prefer nested properties. But I think the docs are quite good on this topic. Re: your problem, I was just asking about categories because I have no concept of how your database stores your products. Looking at your database

Re: urlrewriting Vs Cookies

2003-10-08 Thread Prashanth.S
But this doesnt solve my problem as it says me to use url rewriting.. Thanks Prashanth Mark Lowe [EMAIL PROTECTED] wrote: I'd have though cookie use was upto the user rather than your client. http://jakarta.apache.org/struts/userGuide/struts-html.html#link On Wednesday, October 8, 2003, at

RE: having trouble loading ActionServlet on startup

2003-10-08 Thread Hesser, Fran X
We had a similar issue. The problem was our struts config.xml file was not getting parsed correctly. For some reason, the top three header lines all wound up being on the same line (when viewed in note pad). We went in a placed hard returns to break up the lines (max length 80), and that

Re: logic:present roles=... tag - how to specify permissions (on top of roles)?

2003-10-08 Thread Mick Knutson
I have actually been trying this to show or hide certain buttons. But I keep getting an error [ServletException in:/WEB-INF/default/body/medical/medicalHistory.view.jsp] /WEB-INF/default/body/medical/allergies.view.jsp(140,4) Attribute roles invalid according to the specified TLD'

Re: Struts And iBATIS

2003-10-08 Thread Joe Germuska
At 3:24 PM +0530 10/8/03, Aswathy Priyarenj wrote: Hello all, Is Struts And iBATIS going smoothly together ? Could u please explore the benefits with iBATIS ? This was discussed at some length in at least a couple of posts last week -- I suggest searching the archives. Joe -- Joe Germuska

LookupDispatchAction, theory behind it

2003-10-08 Thread Adam Hardy
I thought I might just raise this here because I see struts has obviously no qualms about submit button functionality, but it bugs me. I'm not using LookupDispatchAction, but I would like to if it wasn't for the annoying browser behaviour on submit of the HTML-input submit button values.

Any good Struts/SQL Server tutorials?

2003-10-08 Thread Jayson Falkner
Hi Godfrey, I can't think of any, but I'm positive you would get some pointers if you asked the Struts user list. I'll send a copy this to the list. Does anyone know of a good Struts tutorial that also deals with using SQL Server? Thanks, Jayson Falkner [EMAIL PROTECTED] On Tue, 2003-10-07

user roles with ActionConfig

2003-10-08 Thread Horky Adam G A1C 805 CSPTS/SCBE
I am looking for documention or mentoring on setting up user roles with the ActionConfig. A1C Adam G Horky Application Development Programmer, SCBE (618)256-2300

RE: Any good Struts/SQL Server tutorials?

2003-10-08 Thread Brian Kapellusch
I don't think you'll ever find a decent Struts/SQL Server tutorial. Struts actions should be completely independent of a database implementation. Calling the database from a Struts action should be frowned upon during your design... -Original Message- From: Jayson Falkner

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Cornellious Mann
Currently, we are a stateless application. So on each request we will read the database and get a list of products. Then our JSP will generate a from a list of products. Each product will have an input that can accept the number of units per product. The problem I have is that each input field

[OT] JSTL Taglib Definition in WEB.XML

2003-10-08 Thread Jerry Jalenak
All, After reading the JSTL docs on the Jakarta web site, and googling for about an hour, I can't seem to find a answer. So, for all of you JSTL guru's out there, here's the question: In WEB.XML, do I need to specify the '-rt' taglibs? In other words, do I need both of these, or only

Re: [OT] JSTL Taglib Definition in WEB.XML

2003-10-08 Thread David Graham
--- Jerry Jalenak [EMAIL PROTECTED] wrote: All, After reading the JSTL docs on the Jakarta web site, and googling for about an hour, I can't seem to find a answer. So, for all of you JSTL guru's out there, here's the question: In WEB.XML, do I need to specify the '-rt' taglibs?

RE: [OT] JSTL Taglib Definition in WEB.XML

2003-10-08 Thread Fenderbosch, Eric
What happens if java.sun.com isn't available for whatever reason? Will compilation fail? Will it not display correctly? What's the correct uri for the Struts taglibs? -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 10:58 To: Struts

RE: Tiles-EL?

2003-10-08 Thread Carlos Sánchez
Although I've never heard anything about tiles-el here it goes the explanation of Struts-el Struts-EL is an extension of the Struts tag library that uses the expression evaluation engine in the Jakarta Taglibs implementation of the JSP Standard Tag Library to evaluate attribute values. This way

RE: [OT] JSTL Taglib Definition in WEB.XML

2003-10-08 Thread Carlos Sánchez
The URI is only used to identify the taglib, no internet lookups are made. -Mensaje original- De: Fenderbosch, Eric [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 08 de octubre de 2003 17:09 Para: Struts Users Mailing List Asunto: RE: [OT] JSTL Taglib Definition in WEB.XML

RE: ejb's and tomcat

2003-10-08 Thread Mark Galbreath
Have your action classes call methods on a DTO (data transfer object) that calls an EJB stateless session bean that will, in turn, call the business logic contained in EJB entity beans that reflect your datastore. State in the DTO can then be transferred to your ActionForm/DynaActionForm beans.

RE: [OT] JSTL Taglib Definition in WEB.XML

2003-10-08 Thread Fenderbosch, Eric
I just tried it and got a parsing error: Parsing of JSP File '/index.jsp' failed: /index.jsp(2): Could not parse deployment descriptor: java.io.IOException: cannot resolve 'http://jakarta.apache.org/struts/tags-logic' into a valid tag library probably occurred due to an error in /index.jsp line

html tag newbie question

2003-10-08 Thread Peng, Meimin
Hi, I am very new in struts and facing a problem now. Please help. What I want to do is when user click a image, it will link to yahoo.com which is defined as link.yahoo in the config property file. How can I approach this? After it generate the html source codes, it will be like a

Re: Any good Struts/SQL Server tutorials?

2003-10-08 Thread David Graham
--- Jayson Falkner [EMAIL PROTECTED] wrote: Hi Godfrey, I can't think of any, but I'm positive you would get some pointers if you asked the Struts user list. I'll send a copy this to the list. Does anyone know of a good Struts tutorial that also deals with using SQL Server? They are

RE: html tag newbie question

2003-10-08 Thread shirishchandra.sakhare
have a look at html:link tag documentation ...And try to use the struts tags as much as possible... -Original Message- From: Peng, Meimin [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 5:23 PM To: 'Struts Users Mailing List' Subject: html tag newbie question Hi, I am very

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Adam Hardy
I think I see what you mean. If all you want is a list of product Id's and the number of units per id, then your priority is to use indexed properties, rather than DynaForm or normal Form. If you are using indexed properties, you just name the field one name, e.g. productId, and the indexing

select tag problem

2003-10-08 Thread mohamed ebrahim faisal
hi I experiencing problem while using html:select with html:options. I tried as the following html:select property=report html:options name=beanname property=period_reports / /html:select. I am getting the error message as , there is no getter method for property period_reports under

Re: Struts/SQL Server rephrased

2003-10-08 Thread Lynn Guy
Let's restate the question... I'm new to struts and my database is SQL Server. Can someone point me in the correct direction where to find out how to set up an environment that utilizes these two to build an application? --- David Graham [EMAIL PROTECTED] wrote: --- Jayson Falkner [EMAIL

value of html:button

2003-10-08 Thread Glenn Holmer
I'm having trouble retrieving the value of an html:button tag. JSP looks like this: html:submit property=disposition bean:message key=button.editTask/ /html:submitnbsp;nbsp; html:button property=disposition onclick=if (confirm('Delete this task?')) {

RE: Forwards with parameters

2003-10-08 Thread Menke, John
I found this class on this list a while ago. It works great: package yourpackage; import org.apache.struts.action.ActionForward; import java.util.HashMap; import java.util.Iterator; public final class ParameterActionForward extends ActionForward { private static final String

RE: html tag newbie question

2003-10-08 Thread Peng, Meimin
Hi, I still don't know how to do it. I try to avoid hard code anything, have any logic, have html tag, and have javascripts in jsp file. Overall, jsp file will just display whatever I got from properties or beans. Is there a way to do like this for example: html:link href=bean:message

Re: Struts/SQL Server rephrased

2003-10-08 Thread David Graham
--- Lynn Guy [EMAIL PROTECTED] wrote: Let's restate the question... I'm new to struts and my database is SQL Server. Can someone point me in the correct direction where to find out how to set up an environment that utilizes these two to build an application? For Struts related questions

RE: select tag problem

2003-10-08 Thread Wendy Smoak
mohamed ebrahim faisal [mailto:[EMAIL PROTECTED] wrote: html:select property=report html:options name=beanname property=period_reports / /html:select. I am getting the error message as , there is no getter method for property period_reports under bean beanname, but infact i have one.

Re: Struts and user-authentication

2003-10-08 Thread Ilja
Anyone? On Mon, 06 Oct 2003 17:36:24 +0200, Ilja [EMAIL PROTECTED] said: Thanks! Very helpfull, but still some questions: How can you programmaticly make use of struts-config.xml? Now the loginpage is hardcoded: String loginPage = request.getContextPath()+/logon.do; Can't you make it

RE: Struts and user-authentication

2003-10-08 Thread Fenderbosch, Eric
Use a global-forward. Example: struts-config.xml: global-forwards forward name=track path=/do/track redirect=true/ forward name=login path=/do/login redirect=true/ forward name=logout path=/do/logout redirect=true/ /global-forwards index.jsp (which is my welcome file): %@ page

Tiles-EL?: can I find documentation somewhere? examples?

2003-10-08 Thread PhilNoon
Thanks very much for that. Does anyone know where I can find some documentation/examples? Carlos Sánchez [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Although I've never heard anything about tiles-el here it goes the explanation of Struts-el Struts-EL is an extension of the

iterator indexID

2003-10-08 Thread david.ballard
when trying to use the logic:iterator indexID property I get an error stating Attribute indexID invalid according to the specified TLD but I see it as a listed property in the api. Any suggestions? david - To unsubscribe,

user roles in ActionConfig

2003-10-08 Thread Horky Adam G A1C 805 CSPTS/SCBE
I am looking for documentation or mentoring in implementing user roles via the ActionConfig. A1C Adam G Horky Application Development Programmer, SCBE (618)256-2300

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Cornellious Mann
I'm not sure about one thing though. If I name all of my inputs on the HTML page the same name, when I submit the form, won't only one of the inputs be passed along? --- Adam Hardy [EMAIL PROTECTED] wrote: I think I see what you mean. If all you want is a list of product Id's and the number

message-resources

2003-10-08 Thread Dries Plessers
I have a file (countries.properties) which contain all value and representations. e.g.: AD=ANDORRA AG=ANTIGUA AM=ARMENIA How can use this resource file to create a html:select where the value equals the countryname and the representation the 2letters within the struts framework ? Thx !

Re: Struts/SQL Server rephrased

2003-10-08 Thread Mark Lowe
Godfrey I think what folks are trying to say is that the SQL stuff is separate to the struts stuff, and this is kind of what its about. There is a data source definition that confuses the hell out of people new to struts as it seems to implicitly suggest that it should be used. However most

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Adam Hardy
Yes, but because they're indexed, you will see the result as an array. On 10/08/2003 07:45 PM Cornellious Mann wrote: I'm not sure about one thing though. If I name all of my inputs on the HTML page the same name, when I submit the form, won't only one of the inputs be passed along? --- Adam

Re: Struts/SQL Server rephrased

2003-10-08 Thread David Graham
--- Mark Lowe [EMAIL PROTECTED] wrote: Godfrey I think what folks are trying to say is that the SQL stuff is separate to the struts stuff, and this is kind of what its about. There is a data source definition that confuses the hell out of people new to struts as it seems to implicitly

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

2003-10-08 Thread Paul Thomas
On 07/10/2003 16:30 Yann Cébron wrote: Read for yourself and judge: http://www.softwarereality.com/soapbox/softwarefashion.jsp I found myself agreeing with them about EJB (which I've always thought is over-hyped) but concluding that they know nothing about Struts. Maybe I'm just biased? --

Re: Struts/SQL Server rephrased

2003-10-08 Thread Bryce Fischer
Let's restate the question... I'm new to struts and my database is SQL Server. Can someone point me in the correct direction where to find out how to set up an environment that utilizes these two to build an application? You are missing one more component.. Your application server. Are you

Normal Application Flow?

2003-10-08 Thread Fenderbosch, Eric
This is how I'm envisioning my application flow. Is this standard, completely out of whack, or somewhere in between? 1. User enters/clicks on context URL, like /track. 2. Appserver finds welcome file, index.jsp. 3. index.jsp does a forward, via global-forward w/ redirect, to /track/do/login.

Re: message-resources

2003-10-08 Thread Joe Germuska
At 7:58 PM +0200 10/8/03, Dries Plessers wrote: I have a file (countries.properties) which contain all value and representations. e.g.: AD=ANDORRA AG=ANTIGUA AM=ARMENIA How can use this resource file to create a html:select where the value equals the countryname and the representation the

JavaServer Faces

2003-10-08 Thread Horky Adam G A1C 805 CSPTS/SCBE
Does anyone know enough about Struts and JavaServer Faces to provide an opinion about the superiority of one over the other? A1C Adam G Horky Application Development Programmer, SCBE (618)256-2300

pager tags and nested tags

2003-10-08 Thread Joseph . Sadove
I would like to use the full functionality of the nested tags, including complicated forms within the nested:iterate block. I've searched the Mail Archive for examples/experiences of using the the pager tags ( http://jsptags.com/tags/navigation/page). It seems that everyone who uses them has

Re: Struts/SQL Server rephrased

2003-10-08 Thread Mark Lowe
On Wednesday, October 8, 2003, at 07:30 PM, David Graham wrote: --- Mark Lowe [EMAIL PROTECTED] wrote: Godfrey I think what folks are trying to say is that the SQL stuff is separate to the struts stuff, and this is kind of what its about. There is a data source definition that confuses the hell

Re: iterator indexID

2003-10-08 Thread James Mitchell
Try indexId ^ -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 770.822.3359 AIM:jmitchtx - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 1:38 PM Subject: iterator indexID

RE: Struts and user-authentication

2003-10-08 Thread Carlos Sánchez
For the second you can add a bean to the session object with user information after successful login and access it in each page -Mensaje original- De: Ilja [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 08 de octubre de 2003 19:13 Para: [EMAIL PROTECTED] Asunto: Re: Struts and

RE: Tiles-EL?: can I find documentation somewhere? examples?

2003-10-08 Thread Carlos Sánchez
http://jakarta.apache.org/struts/userGuide/building_view.html#struts-el -Mensaje original- De: PhilNoon [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 08 de octubre de 2003 19:38 Para: [EMAIL PROTECTED] Asunto: Tiles-EL?: can I find documentation somewhere? examples? Thanks

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Cornellious Mann
This worked. :) Do you know if the order is guaranteed? From my testing it looks like the values appear in the array in the same order the parameters in the URL line. --- Adam Hardy [EMAIL PROTECTED] wrote: Yes, but because they're indexed, you will see the result as an array. On

RE: Struts and user-authentication

2003-10-08 Thread Joseph . Sadove
You can also use a filter and/or container-based authentication if you have a compliant container. I would say that's the best method. Carlos Sánchez [EMAIL PROTECTED] 10/08/2003 04:31 PM Please respond to Struts Users Mailing List To: 'Struts Users Mailing List' [EMAIL

Re: Struts/SQL Server rephrased

2003-10-08 Thread David Graham
--- Mark Lowe [EMAIL PROTECTED] wrote: On Wednesday, October 8, 2003, at 07:30 PM, David Graham wrote: --- Mark Lowe [EMAIL PROTECTED] wrote: Godfrey I think what folks are trying to say is that the SQL stuff is separate to the struts stuff, and this is kind of what its about.

Re: urlrewriting Vs Cookies

2003-10-08 Thread Craig R. McClanahan
Prashanth.S wrote: But this doesnt solve my problem as it says me to use url rewriting.. Thanks Prashanth If you use the Struts tags for generating hyperlinks, you get support for either for free ... and you as a developer don't have to worry about doing something special. Craig

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Adam Hardy
They're indexed! 0 becomes 0, 1 becomes 1 etc., i.e. the order they went out with remains the same when they come back in. I think you must be missing the point here somewhere On 10/08/2003 10:34 PM Cornellious Mann wrote: This worked. :) Do you know if the order is guaranteed? From my

Re: LookupDispatchAction, theory behind it

2003-10-08 Thread Craig R. McClanahan
Adam Hardy wrote: I thought I might just raise this here because I see struts has obviously no qualms about submit button functionality, but it bugs me. I'm not using LookupDispatchAction, but I would like to if it wasn't for the annoying browser behaviour on submit of the HTML-input submit

  1   2   >