Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-30 Thread Greg Callaghan
Ted, Again this is great information. I think it confirms something I have been struggling with -: I am trying to handle the CANCEL case of an edit a record screen which was arrived at from the previous list of records screen. They use the same formbean which has an action field. When

AW: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-30 Thread Moritz Björn-Hendrik, HH
Ted, a great idea, but you need to know the name of the actionForm in the jsp-Page. If you change the name in the struts-config.xml, you have to change it here, too. Doesn't this hurt struts design principles? Isn't it better (at least until struts 1.1 is released) to have two methods on the

How to get ActionForm as input

2001-11-30 Thread Abhishek Srivastava
Hello All, I have a html:form this form can be used to create, read, update and delete a record from a ejb service. Since one form can have only one html:submit / button, I have created all four of these operations as hyperlinks. Now when I click on these links My Action does get executed, but

Re: How to get ActionForm as input

2001-11-30 Thread tw . richter
Hi Abhishek! I think there are some suggestions in the mailing list concering multiple submit buttons (try 'multiple submit'). But why don't you design a selection list in the form for the CRUD-Operations? There you only have to request the concerning selection property value and you can

RE: Problem with html:errors tag

2001-11-30 Thread Jon.Ridgway
Hi, Are you getting any errors/stack traces from your web container? Jon. -Original Message- From: BinhMinh Nguyen [mailto:[EMAIL PROTECTED]] Sent: 30 November 2001 00:36 To: Struts Users Mailing List Subject: Problem with html:errors tag For some reasons, this html:errors is no

Re: Logout Action

2001-11-30 Thread tw . richter
Hi Cameron! I had exactly the same problem. Do you use Netscape or Mozilla? Tomcat JDBC Realm? Well it worked with Konqueror and IE, but not with Netscape and Mozilla. What I found out was that you have to change the default preferences settings of the cache attributes within the browsers.

RE: session id is same for different Browser

2001-11-30 Thread Rob Breeds
You will see the same session ID for two browser windows if you 'clone' the browser window with CTRL+N (in IE). To get a separate session ID you need to start two instances of the browser, not clone the existing window. Rob Breeds

RE: session id is same for different Browser

2001-11-30 Thread David Cypers
I have solved this in a former project by writing or own session (bound to httpSession) and by assigning a unique value to each browser window (in a hidden field) if no value is found in the request, it means we have opened a new window, so a new unique id should be created regards, DC

Is there anyway I can see which struts beans are loaded in Tomcat

2001-11-30 Thread antony
Hi I want to know what struts beans are loaded in Tomcat. Is there any admin utility I can do this with? Cheers Tony -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

FW: Dynamically Developing HTML forms

2001-11-30 Thread Rajeev Singh
Hi all , I am repeating my question as to is there I can create a web app using struts if I have to dynamically generate HTML forms as separate HTML pages from the application of WAR type. thanx -Original Message- From: Rajeev Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November

RE: Dynamically Developing HTML forms

2001-11-30 Thread Tom Lister
Hi Rajeev No answers as I don't understand the question. I am really curious a to what you mean by a dynamically generated application as most of struts is aimed at dynamic content. Do you mean using introspection/reflection to build an app on the fly? -Original Message- From: Rajeev

Cannot create rewrite URL: java.net.MalformedURL.Cannot retrive ActionForward

2001-11-30 Thread antony
Hi I have a logoff action which I am having problems calling. I have it defined in my struts-config.xml file as ---struts-config.xml start-- [snip] actionpath=/logoff type=com.testdomainnamefoo.LogoffAction forward name=success path=/index.jsp/

RE: Dynamically Developing HTML forms

2001-11-30 Thread Rajeev Singh
Hi Tom, By Dynamic generation I mean generation of WEB pages on Fly. If we generate web pages on fly I don't know how it can be included in the WAR. In my webapp I am having a fixed set of JSP's plus while application is running the users will create additional pages which are reports or new

DB connection pool throws exception

2001-11-30 Thread Mâris Orbidâns
I configured MySql datasource but it doesnt work if I run WEBApp with Tomcat that's embedded in Forte CE 3.0. Have you ever seen the exception I've got ? Maris Don't forget to configure your database int the struts-config.xml Ciao struts-config data-sources data-source

problems getting struts example to run

2001-11-30 Thread Darryl Nortje
I have done my homework. I just cannot get the Struts example to run in VAJ4.0 using WTE (not WAS). Please can someone help me. the following are the symptoms. I type in the url http:/localhost:8080/strutsexample/index.jsp I then get to the main page. When I click on the logon url, the

dbtags ResultSet tag problem

2001-11-30 Thread Maciej Koodziej
Hi, This code iterates ResultSet inserted into session and adds it's elements to JavaScript table: sql:resultSet id="rs" name="rset" scope="session" comTresc[licznik++] = "sql:getColumn colName="comment"/"; /sql:resultSet And it works. As You can see ResultSet is inserted into

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-30 Thread Erik Hatcher
I believe Ted actually means 'reset()' instead of 'init()'. - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 29, 2001 11:15 AM Subject: Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

struts-config not found in Websphere 3.5.2 FixPack3

2001-11-30 Thread jpablo
I'm configuring the Struts Action servlet on WebSphere 3.5.2 with fix pack 3, but I get an exception on startup (because this server uses loadonstartup). The servlet cant find the /WEB-INF/struts-config.xml file, I have the following file:

RE: problems getting struts example to run

2001-11-30 Thread Jon.Ridgway
Hi, Change the two lines of code in FormTag.doEndTag that remove attributes from the request to read: pageContext.getRequest().removeAttribute(Constants.BEAN_KEY); pageContext.getRequest().removeAttribute(Constants.FORM_KEY); Jon Ridgway www.upco.co.uk -Original Message-

RE: struts-config not found in Websphere 3.5.2 FixPack3

2001-11-30 Thread Jon.Ridgway
Hi, Have you added the ActionServlet mapping into your webapp name.webapp file? This mapping tells the action servlet where to find struts-config.xml. If you have the mapping what entry do you have for the config parameter? Jon Ridgway www.upco.co.uk -Original Message- From: jpablo

RE: File Upload Problem.

2001-11-30 Thread Jon.Ridgway
Hi Marli, No, you should be able to use the struts utils in your servlet. You will have to manually create a FormFile however. Look at the source for the html:file tag. Jon. -Original Message- From: Marli Satyadi [mailto:[EMAIL PROTECTED]] Sent: 30 November 2001 00:13 To: Struts

[REPOST FROM DEV] General Model Question...

2001-11-30 Thread Allen M. Servedio
Hi, It was correctly pointed out to me that I had posted this to the wrong list (sorry about that folks!). So, I am posting this here in the hopes that some of you can help me: I have a couple of basic questions (I have only started using STRUTS, so if this is obvious please slap some links

RE: [REPOST FROM DEV] General Model Question...

2001-11-30 Thread Rey Francois
Check the earlier discussion Design question - Action Form vs Business Delegates/Value Objects, started by this post http://www.mail-archive.com/struts-user@jakarta.apache.org/msg18315.html. If you try now, you should see all posts down this page:

RE: [REPOST FROM DEV] General Model Question...

2001-11-30 Thread Jon.Ridgway
Hi Allen, Have a look at: http://www.mail-archive.com/struts-user@jakarta.apache.org/ Ted Husted posted a response to similar question(s) yesterday. Jon. -Original Message- From: Allen M. Servedio [mailto:[EMAIL PROTECTED]] Sent: 30 November 2001 13:01 To: [EMAIL PROTECTED]

Re: browser platform compatibility

2001-11-30 Thread Martin Samm
i'm using the html taglib privided with struts and have tried the resulting pages on windows (IE 5.5) and linux (opera, mozilla and konqueror) - whilst this is hardly exhaustive testing (i need to try netscape and older versions of IE) i've yet to find any problems. Hope that helps On

Re: Logout Action

2001-11-30 Thread twrichter
Hi Cameron! I had exactly the same problem. Do you use Netscape or Mozilla? Tomcat JDBC Realm? Well it worked with Konqueror and IE, but not with Netscape and Mozilla. What I found out was that you have to change the default preferences settings of the cache attributes within the browsers.

taglibs and jsp:include

2001-11-30 Thread Martin Samm
this is not directly Struts but seemed the best qualified forum (it is for a struts based app however). I'm using a custom tag to decide which jsp to include (based on some request variables) - the tag then uses a JSP writer to create the jsp:include - trouble is the 'jsp:include tag is just

RE: Does struts provide a function to escape special characters received from a form?

2001-11-30 Thread Tom Klaasen (TeleRelay)
I imagine http://jakarta.apache.org/regexp/ might be interesting for you... hth, tomK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: vrijdag 30 november 2001 2:08 To: Struts Users Mailing List Subject: Does struts provide a function to escape special

RE: Dynamically Developing HTML forms

2001-11-30 Thread Scott Walter
Hi, I have created a dynamic html form using struts. Bascially I have a user preference page and want to dynamically show text input fields based on preference names (i.e. favorite color, age, etc.) stored inside a database table. Since my page would have both dynamic and non dynamic input

Re: Logout Action

2001-11-30 Thread Cameron Ingram
Actually I am using IE tomcat-3.2 and apache 1.3 , I havent tried it with the others browsers. I am really quite confused as to why this is happening. [EMAIL PROTECTED] 11/30/01 04:28AM Hi Cameron! I had exactly the same problem. Do you use Netscape or Mozilla? Tomcat JDBC Realm? Well it

RE: Does struts provide a function to escape special characters received from a form?

2001-11-30 Thread Mark Schenk
Hi Ladies and Gentlemen I want to insert data into a database. I have the database connection set up and in the case of data without special characters the insert works fine. However, the data is coming from a form on a html page and the user can insert special characters, in particualar

Re: FW: Dynamically Developing HTML forms

2001-11-30 Thread Ted Husted
The response is passed to the Action, and so you can use any technique you would use with a conventional servlet. Just return null to the ActionServlet when you are done. http://www.jguru.com/forums/view.jsp?EID=565863 I don't believe JSP pages can be generated dynamically. These are

Re: browser platform compatibility

2001-11-30 Thread Ted Husted
We've carefully followed the HTML 4.01 specification, to the annoyance of some developers who want to use undocumented features ;-) If there are any compatiblity issues, it would be because the browser is not compliant. But I've never seen an incompatibility reported. Only requests to support

Any Struts Reference Apps that implement DAO?

2001-11-30 Thread Matt Raible
I'd like to implement the DAO pattern in a struts application I'm building - is anyone using this - if so, would you recommend? Also, what's the advantages/disadvantages for declaring your database parameters in struts-config.xml vs. web.xml? Thanks, Matt winmail.dat Description:

RE: Any Struts Reference Apps that implement DAO?

2001-11-30 Thread Rey Francois
Not about DAO, but about the difference between web.xml and struts-config.xml: the first one is loaded by the container, reloading is a feature of the container, while the second one is loaded by Struts (ActionServlet), reloading it does not involve redeploying anything, you can just send a

Re[2]: struts-config not found in Websphere 3.5.2 FixPack3

2001-11-30 Thread jpablo
I have the myapp.webapp file in document root, but it must be in WEB-INF, I moved it to WEB-INF and it recognized the path for struts-config. Friday, November 30, 2001, 9:43:59 AM, you wrote: JR Hi, JR Have you added the ActionServlet mapping into your webapp name.webapp JR file? This mapping

RE: Directory structure of a Struts project

2001-11-30 Thread Matt Raible
Sun's recommendation is to put them in WEB-INF or WEB-INF/tlds. --- Shri [EMAIL PROTECTED] wrote: really depends on the complexity of your application. If you have just a few action classes, it may be OK. If there are far too many action classes, then perhaps it is good to separate actions

Iterate Design Question

2001-11-30 Thread John M. Corro
Consider a situation where you want to display a straght listing of items from a database. Something like where you would display a listing of 1-20 products on page 1, 21-40 on page 2, etc. There seem to be two ways this gets implemented. 1. Pull the entire table contents, store them into a

RE: Dynamically Developing HTML forms

2001-11-30 Thread Matt Raible
I've thought about doing this, and let me know if I'm on the same track as you. What I'd like to do is to stream XML from my Action class that builds all the elements of my form - label, value, and control type (text, textarea, select) - from my form bean. Then an XSL stylesheet is applied

HELP with accessing indexed, nested properties in Action

2001-11-30 Thread John Kowalik
I have search the archive and seen this bounced around, but can't seem to find a complete working example. I have: FormBean where one property is an Array of SomeBean; SomeBean has three properties, two int, one string; FormBean inits properly with an Array of SomeBean (via another Action);

Digester Util how to write to a xml file.

2001-11-30 Thread rajesh
Hi, I the stuts-example that comes with struts 1.0 has an example that has a databsase servlet that reads from a XML file, did any one work using the digester util to write to a XML file if so could you post an example please. Regards. RK - Original Message - From: Matt Raible [EMAIL

RE: Dynamically Developing HTML forms

2001-11-30 Thread Rajan Gupta
Reply to Rajeev: In your dynamic web site u probably will still have fixed type of pages with a predefined format e.g. Form, Report, Report with Graph etc. for say a Gold Customer etc, in which case these pages could be treated as templates. I believe that you would be choosing the appropriate

Re: Directory structure of a Struts project

2001-11-30 Thread Joey Gibson
WEB-INF/classes/com/iamtestdomain/testproject -(1) and my taglibs in a the directory WEB-INF/classes/taglib -(2) Is this a good way to organize things? The project I'm working on is organized thusly under a com.foo. package: actions entities forms servlets taglibs utils with actions

Is there a way to call a struts custom tag from your own custom tag?

2001-11-30 Thread Hani Hamandi
Hi, My question is actually simple. I would like to write my own custom tag that, for example, builds a form using the struts custom tags. For example, I would like to write a tag like this one: myTabLib:mytag / Which, for example, does this: html:form action = myAction.do

RE: session id is same for different Browser

2001-11-30 Thread Gao, Gang
Rob, I did start two instances of the browser. later I even try logon from IE and Netscape separately, but I can also get same session ID. I also found sometimes I get the same session id, sametimes session id is different which is what I want. Thanks a lot. Gang -Original Message-

RE: Dynamically Developing HTML forms

2001-11-30 Thread Matt Raible
This sounds like more of what I'd like to do: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg18542.html I'm just waiting for Jeff to publish his example ;-) Matt -Original Message- From: Rajan Gupta [mailto:[EMAIL PROTECTED]] Sent: Friday, November 30, 2001 8:23 AM To:

Re: HELP with accessing indexed, nested properties in Action

2001-11-30 Thread dhay
I posted working example a while back. see http://www.mail-archive.com/struts-user@jakarta.apache.org/msg12084.html HTH, Dave John Kowalik [EMAIL PROTECTED] on 11/30/2001 09:45:39 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List

Re: Is there a way to call a struts custom tag from your own custom tag?

2001-11-30 Thread Matt Raible
You could probably use findAncestorWithClass(Tag, Class) http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/jsp/tagext/TagSupport.html --- Hani Hamandi [EMAIL PROTECTED] wrote: Hi, My question is actually simple. I would like to write my own custom tag that, for example,

RE: Is there a way to call a struts custom tag from your own custom tag?

2001-11-30 Thread Hani Hamandi
Oh, well, maybe I wasn't clear in my question. I want myTagLib:myTag / to somehow replace itself by a set of struts tags. I don't think findAncestor would do it. Am I missing something in your thoughts? Thanks for your answer anyway. -Original Message- From: Matt Raible [mailto:[EMAIL

Struts 1.1 book available for order

2001-11-30 Thread Vic Cekvenich
http://www.atlasbooks.com/marktplc/00670.htm You can order it today, and it will ship next week. It will be on Amazon, etc. in a few more weeks, it takes time. This is the fastest way I know to publish it. Vic -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

RE: Struts 1.1 book available for order

2001-11-30 Thread Chappell, Simon P
I see the price is listed as $69.95! Do you know what the likely price on Amazon will be? -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Friday, November 30, 2001 11:26 AM To: [EMAIL PROTECTED] Subject: Struts 1.1 book available for order

RE: Digester Util how to write to a xml file.

2001-11-30 Thread Lou Farho
The example updates the XML file so there must be code for you to browse. Lou Farho Certes Solutions, Inc. 2485 W MAIN ST SUITE 205 Littleton, CO 80120 303.798.8079 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: File Upload Problem.

2001-11-30 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
Marli, Your multipart data seems to be right. Make sure you prefix it with the normal HTTP headers that go with a multipart request, I think something like: Content-Type: multipart/form-data; boundary=...\r\n --boundary -same stuff as you had for the multipart data goes here If you're

RE: Is there a way to call a struts custom tag from your owncustom tag?

2001-11-30 Thread David Morris
Hanikh, You can instantiate a tag from within a tag. You would need to set the appropriate tag setters like setParent and setPageContext. It may or may not work depending on how the tag was written. I also don't think it is an ideal way to nesting tags but it does work when the output of one

RE: Struts 1.1 book available for order

2001-11-30 Thread Nathan Anderson
After seeing your table of contents I wonder about what is in this book. Which of the extensions that are not part of the official struts distribution does the book cover [i.e. Validator by David Winterfeldt, Tiles by Cedric Dumoulin, Role Based Actions by Nic Hobs, etc.]? Also, will there be a

RE: Is there a way to call a struts custom tag from your own custom tag?

2001-11-30 Thread Hani Hamandi
Thanks for your answer David. Again, maybe I was not clear in my original message, even though I thought I were. But I am really not trying to do nesting here. I am simply trying to write a custom tag: Normally, when you write a custom tag, the only tags you can use in out.print( ... ) are the

Re: Struts 1.1 book available for order

2001-11-30 Thread Vic Cekvenich
There is a chapter each on Validator and Tiles. In addition, there is an appendix on Validator and Tiles (the appendix is just a reprint of the web site's by Cedric and David). The full TOC is on baseBeans.net / book. Nothing on Role Based Actions. I do cover JDBC DB security realms (JAAS),

RE: Is there a way to call a struts custom tag from your own cu stom tag?

2001-11-30 Thread Hani Hamandi
In other words, if, for example, you do out.print(html:text ... /), this will simply write the actual string html:text ... / back to the browser, and, of course, not evaluate the tag. I was just wondering if there's a way to do it. -Original Message- From: Hani Hamandi [mailto:[EMAIL

RE: Struts 1.1 book available for order

2001-11-30 Thread Tom Lister
Hi Looks just the book I've been waiting for but at $80/$90 - twice the price of most IT books - I'd need to see some sample content first. -Original Message- From: Vic Cekvenich To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Sent: 30/11/01 18:53 Subject: Re: Struts 1.1 book

Missing message for key index.title getResourceAsStream()

2001-11-30 Thread Frank Lawlor
When I try to run the struts-example in Tomcat 4.0 (jre 1.3.1, NT 4, SP6) I get the infamous Missing message for key index.title I notice tho, that the logs have an earlier exception trying to load /WEB-INF/struts-config.xml: 2001-11-30 12:45:39 action: Initializing configuration from resource

RE: Is there a way to call a struts custom tag from your owncustom tag?

2001-11-30 Thread David Morris
Hani, I still must not understand, but I think that your someStrutsTag is indeed nested in your tag. At least the output is. You may be able to get away with something like: if (getSomeStrutsTag() == null) { setSomeStrutsTag()(new SomeStrutsTag()); getSomeStrutsTag().setParent(this);

Passing information to the jsp

2001-11-30 Thread Dave J Dandeneau
If you want to pass data to a jsp, where the information will not be in an HTML form, do I need to pass it through the ActionForm that is in the mapping, or should I just put a bean in the request and use it on the jsp? Dave

My first Struts question

2001-11-30 Thread Knee, Jeff
All, I've just subscribed to the Struts Users mailing list, so Hello, all! I also took the time to try to get the FAQ for the list and to find a searchable archive but the mailing list faq is non-existant (according to ezmlm). I've looked at the Jakarta site and I'm still needing a push in the

Logic Tag question

2001-11-30 Thread Strichartz, Beth
Hi, Any ideas on what tag, or how to compare to attributes from my form bean? Typically I would do logic:greaterThan property=number value=7 A little lower... /logic:greaterThan But, I need to see to compare two properties. Thanks, Beth. This message contains information

Re: Iterate Design Question

2001-11-30 Thread Renaud Waldura
Use a cursor. MySQL does it with: SELECT name FROM customers LIMIT 5, 10 Yes, it's optimized. http://www.mysql.com/doc/L/I/LIMIT_optimisation.html All databases can do that, maybe differently. --Renaud - Original Message - From: John M. Corro [EMAIL PROTECTED] To: [EMAIL

Re: Passing information to the jsp

2001-11-30 Thread Joey Gibson
If you want to pass data to a jsp, where the information will not be in an HTML form, do I need to pass it through the ActionForm that is in the mapping, or should I just put a bean in the request and use it on the jsp? If you need to pass info that won't be in the form, then I would

Re: Is there a way to call a struts custom tag from your own custom tag?

2001-11-30 Thread Jonathan James
I think the shourt answer is, No. However, what David is saying should get the job done. For instance I wanted a tag that would allow you to say mytags:validatedText property=name / and would output html:text property=name /html:errors property=name / so I wrote a tag that extends the Struts

RE: My first Struts question

2001-11-30 Thread Ajay Chitre
Jeff, Welcome to the list. You can find the searchable archive at; http://www.mail-archive.com/struts-user@jakarta.apache.org/ Thanks. -- Original Message -- All, I've just subscribed to the Struts Users mailing list, so Hello, all! I also took the time to try to get the FAQ for the

RE: Is there a way to call a struts custom tag from your own custom tag?

2001-11-30 Thread Hani Hamandi
This is very cool! And if the tag you're calling (ErrorTag in your case) were more complicated, I would assume you would have to do the processing yourself, right? In other words, in your case, you happened to match ErrorsTag by simply calling its doStartTag(). But if, let's say, it implemented

Re: Struts 1.1 book available for order

2001-11-30 Thread martin . cooper
I guess I'd better order a copy right away, so that I can find out what we're going to be implementing in Struts 1.1 ... ;-) -- Martin Cooper At 09:25 AM 11/30/01, Vic Cekvenich wrote: http://www.atlasbooks.com/marktplc/00670.htm You can order it today, and it will ship next week. It will

RE: Struts 1.1 book available for order

2001-11-30 Thread White, George W.
What is the email address for posting a question to the user group? I subscribed but am not clear how to post or reply to a question? Thanks, George White email: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Friday, November 30, 2001

Re: Is there a way to call a struts custom tag from your own custom tag?

2001-11-30 Thread Jonathan James
Something like that. You would probably call the doAfterBody in your own doAfterBody, etc rather than one after the other, but yeah, that's the idea. There might be another way to do this, but this is what I did. -Jonathan - Original Message - From: Hani Hamandi [EMAIL PROTECTED] To:

html:radio problems

2001-11-30 Thread Christopher Book
Hi, I'm having a problem using the html:radio tag using another bean. For my text fields, I define an object bean called User and set the value using: html:text name=User property=name/ This sets the value of the text field to whatever the getName() method of my form returns. When I try to do

RE: html:radio problems

2001-11-30 Thread Mimpin Halim [Lucas]
Hi Chris, Make sure you have getFlag() and setFlag() methods in your User bean. The error says that it can't find the getFlag() method. In the example you gave for property=name, I'm sure you have getName() and setName methods in your User bean. Hope this helps, Lucas -Original

Re: Removing all beans from a session

2001-11-30 Thread Renaud Waldura
session.invalidate() @see http://java.sun.com/j2ee/j2sdkee/techdocs/api/javax/servlet/http/HttpSession .html#invalidate() - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 29, 2001 10:38 PM Subject: Removing all beans

Missing message for key index.title - Problem Found

2001-11-30 Thread Frank Lawlor
I found the problem, at least in my installation, and maybe for others. I have security turned on. This causes all the application accesses to local files (e.g., properties, struts-config.xml, etc.) to fail. This isn't apparent since many of the methods seem to silently swallow the security

Missing message for key index.title - Workaround

2001-11-30 Thread Frank Lawlor
One way to workarounf the Tomcat security bug in loading libs is to explode struts.jar into your /WEB-INF/classes directory. Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating technology strategy and software solutions. -- To

[ANN] BOOK: Open Standards Software: Tomcat / Struts / MVC Book and Training

2001-11-30 Thread Greg Seaton
[PUBLIC/PRIVATE TRAINING] BaseBeans Engineering offers both public and private training classes in developing MVC applications using the Struts framework and other open standards software. Please visit the BaseBeans web site for more information (http://www.basebeans.com). [BOOK] BaseBeans

findDataSource

2001-11-30 Thread Tim
Here's my setup: MacOS X Tomcat 4 (but also happens with orion) MySQL 3.23.43 data-sources data-source set-property property=driverClass value=org.gjt.mm.mysql.Driver / set-property property=password value=root / set-property property=user value=root /

X2J : New Code generation tool for Struts

2001-11-30 Thread acorona
X2J is a code generation tool for building Struts applications. It includes wizard for easily creating JSPs, and the required Action and ActionForm classes as well as graphical tools for updating the config file. You can check it out at http://www.objectwave.com Once there just got to tools/java

Struts Multibox

2001-11-30 Thread gwhite512
I need a form that has checkboxes (multiboxes) for all the states. First I would like to know if the parameters of the multibox allow one to save the names (state name) of the checkboxes along with an indication of whether they are checked or unchecked Too, I need to save to a database and

Struts and returning NOCONTENT

2001-11-30 Thread Mark Derricutt
Hi, in my application, after a specific post, I'm setting the NOCONTENT (204) status so that the browser doesn't refresh anything, and everythings working, but I find that Internet Explorer keeps its status bar incrementing, as thou its wanting data. I don't have the exact code on me at the

multibox

2001-11-30 Thread gwhite512
I need a form that has checkboxes (multiboxes) for all the states. First I would like to know if the parameters of the multibox allow one to save the names (state name) of the checkboxes along with an indication of whether they are checked or unchecked Too, I need to save to a database and

doing arithmitic ops

2001-11-30 Thread Henrik Chua
Hi! I have a simple question. Will I be able to produce a mathematically calculated value based on the input given without another variable? here's the scenario. JSP page 1, I have an input textfield (num) and a submit button on my form bean, I have a variable called num. on my action form, it

Re: taglibs and jsp:include

2001-11-30 Thread John Ng
Try to use template. Struts template can do exactly what you want to. --- Martin Samm [EMAIL PROTECTED] wrote: this is not directly Struts but seemed the best qualified forum (it is for a struts based app however). I'm using a custom tag to decide which jsp to include (based on some

RE: Struts 1.1 book available for order

2001-11-30 Thread Amitkumar J Malhotra
I fully agree with Nathan , since those $70 will be further converted to Indian Rupees, i would like to read a sample chapter on-line before deciding about the book rgds amit -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

iterator tag

2001-11-30 Thread Henrik Chua
Hi! how can I use the iterate tag on an arraylist in my form bean to display the elements in the arraylist the bean name = BEAN the ArrayList of strings is Arr logic:iterate id=element name=BEAN property=arr bean:write name=element property=arr / /logic:iterate is this correct?

Tokens

2001-11-30 Thread Stanley Struts
Hi, what are tokens? Do any of you have a link of a page that discusses what are tokens and what is there use? Thanks! :) __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- To unsubscribe, e-mail:

Re: Tokens

2001-11-30 Thread Matt Raible
see the example app - they're used to track if the form has already been submitted and such (back button and reload button issues). --- Stanley Struts [EMAIL PROTECTED] wrote: Hi, what are tokens? Do any of you have a link of a page that discusses what are tokens and what is there use?