R:Struts power point presentation

2001-05-08 Thread LORENA MASSIMO
you can find it in http://www.us-eh.com/craiger/articles/struts/ Max -- Da: Nick Afshartous[SMTP:[EMAIL PROTECTED]] Risposta a: [EMAIL PROTECTED] Inviato: lunedì 7 maggio 2001 22:11 A:[EMAIL PROTECTED] Oggetto: Struts power point presentation Hi, Someone

Re: update database.xml

2001-05-08 Thread Uwe Pleyer
Hi, the problem is the logic of Tomcat. If you deploy the application as *.war file in the webapps directory of Tomcat, at start time a directory with the same name as the *.war file will be created and the contents of the *.war file unpacked into this directory. So far so good, all entries in

RE: Bean:message with args

2001-05-08 Thread Jon.Ridgway
Hi Stephen, Your solution sounds like its just what I'm after. I would greatly appreciate a look at the code. Jon. -Original Message- From: Stephen Schaub [mailto:[EMAIL PROTECTED]] Sent: 04 May 2001 23:34 To: [EMAIL PROTECTED] Subject: Re: Bean:message with args Is there a way to

Antwort: Re: Struts questions for evaluation

2001-05-08 Thread William . Mee
Hi Matthias, Wir sind auch in einem Projekt wo wir die Actionreihenfolge festliegen könnten - ich hätte gern Deine Erweiterungen zu Struts. MfG, Will Mee, Hamburg Matthias Bauer [EMAIL PROTECTED] on 07.05.2001 10:20:40 Bitte antworten an [EMAIL PROTECTED]; Bitte antworten an [EMAIL

Re: JBoss and struts

2001-05-08 Thread Jim Downing
Which /lib did you put struts in? If you want it to be available to all apps running under jboss it should go in /lib/ext, but really it should go in /WEB-INF/lib of each of the web apps you develop. jim - Original Message - From: Harden ZHU [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: JBoss and struts

2001-05-08 Thread Richard Backhouse
Make sure you put your war file in the jboss/deploy directory and not the tomcat/webapps directory as you would if you were running tomcat by itself. Richard Backhouse Oak Grove Software Quoting Harden ZHU [EMAIL PROTECTED]: Any special setup for jboss? I put struts app under tomcat. And

RE: Struts power point presentation

2001-05-08 Thread Lewis Henderson
...I would also be interestedhowever I cannot access this URL ! Lewis -Original Message- From: LORENA MASSIMO [mailto:[EMAIL PROTECTED]] Sent: 08 May 2001 07:49 To: '[EMAIL PROTECTED]' Subject: R:Struts power point presentation you can find it in

RE: Struts power point presentation

2001-05-08 Thread Nanduri, Amarnath
Not able to open the webpage -Original Message- From: LORENA MASSIMO [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 2:49 AM To: '[EMAIL PROTECTED]' Subject: R:Struts power point presentation you can find it in http://www.us-eh.com/craiger/articles/struts/ Max -- Da:

RE: Struts and VisualAge 3.5.3 with WTE

2001-05-08 Thread Gaulin . David
Hello, Anyone of you encountered the following error while trying to start the WTE? resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd') Not registered, use system identifier Parse Fatal Error at line 0

javascript and struts

2001-05-08 Thread Will Spies/Towers Perrin
I have some HTML tags that have struts form data associated with them of the form input name=data.value. For example: input name =data.employeeName/input. I seem to be having difficult referencing these in Javascript due to the .'. Javascript thinks employeeName is a property of data rather than

struts final release

2001-05-08 Thread Lu, Yang
Can anyone tell me when is the final release date for Struts 1.0 Final Release? Thanks, Yang Lu

RE: Bean:message with args

2001-05-08 Thread Chris Butler
just curious... what about a minor enhancement to do it like this: bean:message key=prompt.password.sent bean:write name=someBean property=email/ bean:write name=someBean property=otherAttr/ /bean:message the listed internal body tags would be handled as arg0, arg1, arg2, etc. not that

Re: Struts and VisualAge 3.5.3 with WTE

2001-05-08 Thread Dan Miser
This is the same classloader bug that WAS has. On the Resources page, go to the Struts project and create the folder structure for org.apache.struts.resources. In that folder, add the 3 DTDs from the struts.jar. -- Dan Miser http://www.distribucon.com - Original Message - From: [EMAIL

Forward to an Action

2001-05-08 Thread Martienssen Marco
Hi, I'm trying to activate two actions for one request. After the login-action the viewCategory-action should be activated. For this I've defined a forward-statement in the action definition of login (see below). My problem is, that after finishing the login action nothing happens. I don't get

Antwort: Forward to an Action

2001-05-08 Thread William . Mee
Hi Marco, You need to tell struts that the second action should be handled by the action servlet (e.g. by using the '.do' extension, if you are using the default configuration). Try actionpath=/login type=de.softlab.bookmarkmanager.action.LoginAction name=loginForm

Re: Struts and DAO pattern. Expensive?

2001-05-08 Thread Vanderlei Silva
Struts uses a connection pool. So when you do a getConnection() you're actually pulling one out from a pool of shared connection objects, so there is no real problem with generating a new connection. In my application I have manager objects will deal with data beans, and these managers have

Re: Forward to an Action

2001-05-08 Thread Jim Richards
Try forward name=success path=/viewCategory.do/ instead of forward name=success path=/viewCategory/ -- Kumera - a new Open Source Content Management System for small to medium web sites written in Perl and using XML

R:Struts power point presentation

2001-05-08 Thread LORENA MASSIMO
hum... strange This link is present in the Resources page of the struts user guide -- Da: Lewis Henderson[SMTP:[EMAIL PROTECTED]] Risposta a: [EMAIL PROTECTED] Inviato: martedì 8 maggio 2001 14:25 A:[EMAIL PROTECTED] Oggetto: RE: Struts power point presentation

Re: Bean:message with args

2001-05-08 Thread Stephen Schaub
I'm rather new to JSP/tags, so I don't know how difficult it would be to implement your solution. I tend to prefer my solution because it doesn't require as much typing. Stephen - Original Message - From: Chris Butler [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL

Test - Please ignore

2001-05-08 Thread Turgay Zengin
Test _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Application Scoped Object Initialization

2001-05-08 Thread Jeff Trent
What is the suggested method for singleton, application scoped object initialization? Where how does it happen? I want to create a singleton containing shared cached lists to be used in populating html:options with. Thanks.

How do you use indexed properties with html:input?

2001-05-08 Thread Richard Murray
Hi, I've got the following property: String[] data. I want to iterate the array and display each String in a text input field in a table. I can get the data to display using iterate and a bean:write tag as follows: struts_logic:iterate id=element name=testGrid property=data

RE: run scripts when using struts in deployment mode

2001-05-08 Thread Sean Pritchard
You could probably use a separate servlet and set it to load on startup after struts. The servlet could read a list of URLs from a configuration file and then use the URL or URLConnection class to hit each of the URLs. Of course, that's a poor man's way to do it. It would be more elegant if

Tomcat 3.2.1 and class loader problems

2001-05-08 Thread Eric Wu
I have two struts-based web apps installed under a single instance of Tomcat (Struts Beta 1, Tomcat 3.2.1 connected to IIS). They are defined within server.xml as follows: Context path=/cdl docBase=d:/projects/cdl crossContext=false

RE: Iterate certain number of times?

2001-05-08 Thread Mac Ferguson
jakarta taglibs has a utility:for tag - http://jakarta.apache.org/taglibs Mac Ferguson Senior Developer, Communicopia Inc. -Original Message- From: shunhui zhu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 1:05 PM To: [EMAIL PROTECTED] Subject: RE: Iterate certain number of

RE: update database.xml

2001-05-08 Thread Ying Teng
This makes a lot of sense. Could you please describe the steps to deploy the application with the deploy.tomcat Target of the Struts build.xml? Thanks. Ying -Original Message- From: Uwe Pleyer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 3:13 AM To: [EMAIL PROTECTED] Subject:

why is this form not being properly submitted?

2001-05-08 Thread Alex Colic
Hi, I have a form with two buttons. If the user clicks one button the form is submitted via the standard action defined in the form tag. If it is the second button, I change the action and submit the form. The problem is that I have a text box on the form that when I check its value in the

RE: run scripts when using struts in deployment mode

2001-05-08 Thread Vanderlei Silva
Hi, - Application Servers like WebLogic have Startup/Shutdown classes. Those classes, when implemented, are automatically called when the app server is starting/shutting down. Don't know about other app servers/servlet containers. See the petstore admin (weblogic changed version) reference

RE: javascript and struts

2001-05-08 Thread Jason Chaffee
Title: RE: javascript and struts Try thg following document.form[data.emplyeeName].value -Original Message- From: Will Spies/Towers Perrin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 5:39 AM To: [EMAIL PROTECTED] Subject: javascript and struts I have some HTML tags

Tomcat 3.2.1 and class loader problems - HELP!

2001-05-08 Thread Eric Wu
Sorry if this is posted twice. I don't think my first one made it through... I have two struts-based web apps installed under a single instance of Tomcat (Struts Beta 1, Tomcat 3.2.1 connected to IIS). They are defined within server.xml as follows: Context path=/cdl

textarea and wrap

2001-05-08 Thread William Jaynes
I usually need 'wrap=virtual' as an attribute for my textareas. It isn't part of the HTML spec, but it's supported in both Netscape and IE, and it's pretty useful. I wonder how people are dealing with the lack of a wrap attribute in the struts textarea tag. -- William Jaynes | University of

RE: why is this form not being properly submitted?

2001-05-08 Thread Abraham Kang
Hi Alex, Can you put a alert(workrequest.wrNumber.value); in function doWRModify(wrNumber) after you assign the value to wrNumber? Is the form name, workrequest (View Source to check)? My JavaScript might be rusty but aren't all of the lines supposed to start with

Re: Application Scoped Object Initialization

2001-05-08 Thread William Jaynes
I create many of my application scope lists in an initialization servlet, analogous to the DatabaseServlet in the Struts example app. - Original Message - From: Jeff Trent To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 10:51 AM Subject: Application Scoped

RE: javascript and struts

2001-05-08 Thread Will Spies/Towers Perrin
Thanks! That worked.

Could not locate TLD META-INF/taglib.tld

2001-05-08 Thread Iraklis Kourtidis
Hi all, I searched the archive and realized there was no answer to the following problem that many people (including me right now) had: when I tried to view a JSP using Tomcat, I got the following error: org.apache.jasper.compiler.CompileException:

Re: Application Scoped Object Initialization

2001-05-08 Thread Jeff Trent
Nevermind, I found a solution in the Tomcat archives regarding this. I created a dummy servlet that initializes my singletons. - Original Message - From: Jeff Trent To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 10:51 AM Subject: Application Scoped Object

Re: Application Scoped Object Initialization

2001-05-08 Thread Calvin Yu
I asked this question a few weeks ago and believe the answer is to write a servlet, override init() and destroy(), and set up the servlet to load the servlet at server startup. With Servlet 2.3, you can add ServletContextListeners in the web.xml to do the same thing. Calvin --- Jeff Trent

RE: Solved: Could not locate TLD META-INF/taglib.tld

2001-05-08 Thread Iraklis Kourtidis
Hi all, I figured out what was wrong with this, and I am posting the result to be archived. It seems like another 5 people or so had asked that question in the past but got no answer. The reason is that the WEB-INF must not be misspelled in lowercase. If you're using Windows NT you won't notice,

Re: Potential Security Flaw in Struts MVC

2001-05-08 Thread Calvin Yu
Here's a quick write up. Let me know if you have problems with it. I tried to use an example that is as real world as possible and that cannot necessarily be fixed with some user realm/role solution. Calvin --- Ted Husted [EMAIL PROTECTED] wrote: Feel free. If you would like to document it,

Unchecking radio buttons?

2001-05-08 Thread dhay
Hi. I have a set of radio buttons. However, if I check one of them, I am not able to uncheck it! Any ideas what I am missing? Many thanks, Dave

Re: Struts and DAO pattern. Expensive?

2001-05-08 Thread Calvin Yu
--- Vanderlei Silva [EMAIL PROTECTED] wrote: The problems with this approach are: the DAOs are not a member of the Business objects, but work in parallel with them. Thus, the controller deals with both the business objects and the DAOs, and makes all the control, serving also as a

RE: Struts and DAO pattern. Expensive?

2001-05-08 Thread Calvin Yu
Why not have your Managers create a connection as well as taking in a connection? Calvin --- Shunhui Zhu [EMAIL PROTECTED] wrote: That opens up lots of questions I also have, I'm sure many of you have some solutions to these: (1)I went through a similar exercise, I first followed the

ArrayList of beans

2001-05-08 Thread Anthony Martin
Any idea why the following... --Snip: ActionForm BEGIN-- // List of values private List specialdatetypeList = new ArrayList() ; // Specified by: interface Specialdate public List getSpecialdatetypeList ( ) { return this.specialdatetypeList ; }

tomcat 3.2.1 and IIS problem

2001-05-08 Thread Sundaram Ramasamy
Hi, I am trying to setup tomcat and IIS in win2000, followed the tomcat-iss-howto instructions (http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.ht ml) Port for the webservers: tomcat - 8000 and IIS - 8080 While try to access the url

Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Jeff Trent
When validate() returns an error collection, the framework takes me back to the input page (page1). How do I override this? I have a multi-page input wizard as shown below. I'd like to stay on the page that resulted in the error instead of going back to page 1. action path="/someWizard"

ERROR reading d:\all\struts\webapps\bo-shop1\WEB-INF\web.xml

2001-05-08 Thread hunkpapa
Hi, when I start tomcat , this Messages come: ERROR reading D:\all\struts\webapps\bo-shop1\WEB-INF\web.xml At Illegal character at end of document, #x3c;. ERROR reading d:\all\struts\webapps\bo-shop1\WEB-INF\web.xml org.xml.sax.SAXParseException: Illegal character at end of document, #x3c;.

RE: JBoss and struts

2001-05-08 Thread Greg Ritter
I put struts.jar in /WEB-INF/lib of the web app. -Greg- -Original Message- From: Jim Downing [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 2:55 AM To: [EMAIL PROTECTED] Subject: Re: JBoss and struts Which /lib did you put struts in? If you want it to be available to

RE: Application Scoped Object Initialization

2001-05-08 Thread Niall Pemberton
Sub-class ActionServlet and override the init() method. Also a good idea to override the destroy() method to clean up allocated resources. Additionally the reload() method does the destroy and init actions to re-load the servlet. public void init() throws ServletException {

Re: Unchecking radio buttons?

2001-05-08 Thread Eric Rasmussen
Are you sure the radio buttons all have the same name? If not, they will all be treated seperately. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 11:42 AM Subject: Unchecking radio buttons? Hi. I have a set of radio buttons.

ServletException: MultipartIterator

2001-05-08 Thread hunkpapa
Hi, when I start this program this message comes: action: Error in readForm: javax.servlet.ServletException: MultipartIterator: cannot retrieve boundary for multipart request What is the cause ? ... if(contentType!=null) { try { servlet.log(MultipartIterator!!);

RE: ArrayList of beans

2001-05-08 Thread Anthony Martin
Ok there has got to be a better way to fix it than this: html:select property=specialdatetypeLinkno logic:iterate id=specialdatetypeEntry name=specialdateForm property=specialdatetypeList type=com.trams.struts.cbplus.SpecialdatetypeForm html:option

Re: Unchecking radio buttons?

2001-05-08 Thread William Jaynes
I'll presume that you mean, (1) you check a checkbox, (2) hit submit (3) page redisplays with checkbox checked (4) you uncheck it (5) hit submit (6) page displays with checkbox still checked. The problem is that an unchecked checkbox doesn't return any request parameter, so there's no way for

RE: ArrayList of beans

2001-05-08 Thread Iraklis Kourtidis
Hi Anthony, I believe you may need to declare the getters that return the ArrayList to return a Collection. I don't think that an ArrayList would work. Alternatively, you may make the getters return an array, and convert the ArrayList to an array when it gets returned. However, I believe the

RE: tomcat 3.2.1 and IIS problem

2001-05-08 Thread Nanduri, Amarnath
Yeah can somebody send an explaination as to why this happens ? Thanks a lot. cheers, Amar.. -Original Message- From: Sundaram Ramasamy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 3:13 PM To: [EMAIL PROTECTED] Subject: tomcat 3.2.1 and IIS problem Hi, I am trying to

RE: Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Nanduri, Amarnath
instead of mapping.findForward(mapping.getInput() ) use mapping.findForward("page2 or page3") ; -Original Message-From: Jeff Trent [mailto:[EMAIL PROTECTED]]Sent: Tuesday, May 08, 2001 3:17 PMTo: [EMAIL PROTECTED]Subject: Override Input Form / JSP when Errors Are

Re: Unchecking radio buttons?

2001-05-08 Thread Spencer Smith
I know. Struts doesn't handle unchecked boxes very well. In fact, it doesn't understand them at all. What you do is grab the current value from the DB display it, and then manually set the value to false from either a Reset() action in your FORM or directly from your JSP. If you don't

Form Attribute limitation

2001-05-08 Thread Nageshwar Charka
Hello All, We cannot have an attribute name in the form bean as: String aBookkeeping; I get an Exception: javax.servlet.jsp.JspException: No getter method for property aBookkeeping of bean org.apache.struts.taglib.html.BEAN I do have set/get methods for above as,

RE: Unchecking radio buttons?

2001-05-08 Thread Moore, Amy L
typically when you click a radio button that is the default behavior one or the other is always checked. The only reason it would not automatically be checked when you initially view the page, is because you do not have the 'checked' attribute set within your tag. Checkboxes, unlike radio

RE: ArrayList of beans

2001-05-08 Thread Mehta, Shail
What version of struts are you using (nightly-build)? The current production releases version 0.5 and 1.0-b1 dont allow you to use an ArrayList you have to use a vector instead. -Original Message- From: Anthony Martin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 2:50 PM To:

RE: Potential Security Flaw in Struts MVC

2001-05-08 Thread Assenza, Chris
Is it just me or has the list received this message well over 10 times? Chris -Original Message- From: Jeff Trent [mailto:[EMAIL PROTECTED]] Sent: Monday, May 07, 2001 12:51 PM To: [EMAIL PROTECTED] Subject: Re: Potential Security Flaw in Struts MVC Curt, I don't dispute what your

Re: Form Attribute limitation

2001-05-08 Thread dhay
check the bean naming rules (previous messages in this list highlight the problem). Problem arises from lower/upper case combination with first two letters. DAve Nageshwar Charka [EMAIL PROTECTED] on 05/08/2001 04:07:09 PM Please respond to [EMAIL PROTECTED] To: '[EMAIL PROTECTED]'

RE: Form Attribute limitation

2001-05-08 Thread Nanduri, Amarnath
Yeah. Check the mailing list archives. Somebody has explained the problem with a solution. cheers, Amar.. -Original Message- From: Nageshwar Charka [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 4:07 PM To: '[EMAIL PROTECTED]' Subject: Form Attribute limitation Hello All, We

RE: why is this form not being properly submitted-solved?

2001-05-08 Thread Alex Colic
Hi, thanks your hints below solved the problem. Alex quoted message: Date: Tue, 8 May 2001 10:46:52 -0700 To: [EMAIL PROTECTED] From: Abraham Kang [EMAIL PROTECTED] Subject: RE: why is this form not being properly submitted? Message-ID: 002e01c0d7e6$dd825510$[EMAIL PROTECTED] Hi Alex,

how to forward page on logic:notPresent?

2001-05-08 Thread Alex Colic
Hi, suppose you have an object in the session. If the user access a page that uses this object you want data to be displayed but if this object is not in the session you want the page submitted so that the user will end up on the next page. A sort of a wizard app.. page 1 to 2 to 3 where you

icons not showing up?

2001-05-08 Thread Alex Colic
Hi, I am trying to use struts to show a couple of icons. The following html works: IMG SRC=./Images/cancel.gif ALT=Cancel NAME=btnCancel onClick=doCancel(); but this does not? html:image src=/Images/cancel.gif alt=Cancel property=action alue=cancel/ In the struts way the form is submitted

RE: Form Attribute limitation

2001-05-08 Thread Young, Wayne
Check the archive. http://marc.theaimsgroup.com/?l=struts-userm=98900256403524w=2 Wayne [EMAIL PROTECTED] -Original Message- From: Nageshwar Charka [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 3:07 PM To: '[EMAIL PROTECTED]' Subject: Form Attribute limitation Hello All, We

Struts debugging in Emacs/JDE

2001-05-08 Thread Jon Brisbin
I've been using the awesome Emacs ECB and JDE for my Java (and now Struts) development work and really love it :-) Just wondering if anyone else on the list uses this and how they handle debugging in JDEbug?? I can debug with it fine by starting Tomcat from within JDE, but there's a lot of

RE: icons not showing up?

2001-05-08 Thread Kyle Robinson
Your src is different in each case. The first one includes a . at the beginning, the second does not. -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 13:50 To: Struts Subject: icons not showing up? Hi, I am trying to use struts to show a

Re: Unchecking radio buttons?

2001-05-08 Thread dhay
thanks for the replies. Yes, I need the checkbox capabilities, not radio buttons. Question with these, though - is there an equivalent to the checked attribute in HTML reference speck? I am creating checkbox with the following: html:checkbox property=notFolders value=true/, and underlying

RE: tomcat 3.2.1 and IIS problem

2001-05-08 Thread Sundaram Ramasamy
Hi, In Jakarta virtual directory properties, I checked scripts source access open, then rebooted my machine. Now its working. Cheers Sundaram -Original Message- From: Nanduri, Amarnath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 3:56 PM To: '[EMAIL PROTECTED]'

displaying errors using struts

2001-05-08 Thread Procek, Brett
Can someone point me to a good reference for the mechanism of displaying errors using strut's custom tags? Thanks, Brett

RE: html:text default values? how?

2001-05-08 Thread Jason Chaffee
Title: RE: html:text default values? how? Why don't you use Struts and the MVC design pattern? You should have an action class that populates your form bean, then forwards to login.jsp. Struts will get the value from the form bean and display it on your page. -Original Message- From:

Re: Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Jonathan
String referrer = request.getHeader(Referrer); requestDispatcher requestDispatcher = request.getRequestDispatcher requestDispatcher. forward(referrer); - Original Message - From: Jeff Trent To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 5:12 PM Subject: Re:

Re: Struts debugging in Emacs/JDE

2001-05-08 Thread Jonathan
Emacs is geek overload. Try textpad, jbuilder(which is free), or webgain - Original Message - From: Jon Brisbin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 4:50 PM Subject: Struts debugging in Emacs/JDE I've been using the awesome Emacs ECB and JDE for my

Re: Unchecking radio buttons?

2001-05-08 Thread Spencer Smith
All you really have to do is to manually set the checkbox value to false after you display the current value: ie: html:checkbox property=mycheckbox / // notice that no value is set % MyForm.setMycheckbox(false) %// do this after you display the above line in same JSP where:

RE: Struts debugging in Emacs/JDE

2001-05-08 Thread Jason Chaffee
Title: RE: Struts debugging in Emacs/JDE Actually, Emacs is one of the best editors you could use. -Original Message- From: Jonathan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 2:45 PM To: [EMAIL PROTECTED] Subject: Re: Struts debugging in Emacs/JDE Emacs is geek

RE: ArrayList of beans

2001-05-08 Thread Anthony Martin
All of the files inside my struts.jar file are dated 2/23/2001 2:32pm. I use ArrayList all the time with logic:iterate, just not with html:options. Anthony -Original Message- From: Mehta, Shail [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 12:59 PM To: '[EMAIL PROTECTED]'

Re: Struts debugging in Emacs/JDE

2001-05-08 Thread Jon Brisbin
Emacs is geek overload. nooo, emacs is geek heaven :-) it's like Coke or Pepsi. you have your favorite, i have mine :-) i've tried nearly every ide for java out there and none have the power and functionality of emacs/jde, including the debugging capability, all with an acceptable user

RE: displaying errors using struts

2001-05-08 Thread Nigel Ainslie
Brett, the doc in jakarta-struts\src\share\org\apache\struts\taglib\html\package.html gives an overview and indicates where to find the struts supplied examples. Just remember to add the message texts to your ApplicationResources properties file. Nige -Original Message- From: Procek,

RE: html:text default values? how?

2001-05-08 Thread struts
that would definitely work. however, it adds another class to the mix of things. something that was easy was made difficult to do. basically for something using just JSP is a cinch. my options are: add the new action and a new class, maybe add a new action that doesn't validate the form but

RE: html:text default values? how?

2001-05-08 Thread Jason Chaffee
Title: RE: html:text default values? how? It is the way Struts is intended to be used. You should read up on the MVC/Model 2 design pattern. If you strictly follow this pattern you should never directly access a jsp page, instead you should always go through an action class. -Original

RE: displaying errors using struts

2001-05-08 Thread Procek, Brett
I'm still having problems despite reading a bunch of materials on this stuff. I copied the related code snippet from various files I have. I'm guessing that I'm missing something obvious. I'd really appreciate if someone can lend a hand. Here is what I have so far:

RE: Newbie question about form beans

2001-05-08 Thread Graeme Miller
To be specific go the following url and just click the Thread -- link repeatedly to follow the thread http://www.mail-archive.com/struts-user@jakarta.apache.org/msg05429.html -Original Message- From: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]] Sent: Friday, 4 May 2001 12:08 a.m.

RE: displaying errors using struts

2001-05-08 Thread Nigel Ainslie
Brett, this works for me ... ActionClass.. ActionErrors errors = new ActionErrors(); //validate that the suplied newPassword and confirmPassword match if(newPassword.compareTo(confirmPassword) != 0) { errors.add(ActionErrors.GLOBAL_ERROR,

MultipartRequestHandler broken in nightly builds

2001-05-08 Thread Mindaugas Idzelis
Given the following code snippet: String operation = request.getParameter(op); if (operation==null) { // Maybe it's multipart java.util.Hashtable multipart = form.getMultipartRequestHandler().getTextElements(); operation =

RE: Potential Security Flaw in Struts MVC

2001-05-08 Thread Yi-Xiong Zhou
How can I am receiving this message again and again in two days? I have received over 10 copies of this message, at the rate of once every 3 hours. Is this a mail bomb? Yi-Xiong -Original Message- From: Christian Cryder [mailto:[EMAIL PROTECTED]] Sent: Monday, May 07, 2001 11:15 AM To:

RE: tomcat 3.2.1 and IIS problem

2001-05-08 Thread Chen, Yong
has anyone tried this on w2k server ? Yong Chen -Original Message- From: Sundaram Ramasamy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 4:26 PM To: [EMAIL PROTECTED] Subject: RE: tomcat 3.2.1 and IIS problem Hi, In Jakarta virtual directory properties, I checked scripts

Re: Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Jeff Trent
Interesting approach. Let me see if I can explain this back to you to make sure I understand what you are saying: Does your Wizard.jsp look something like this: template:insert template='/template.jsp' template:put name='header' content='/header.html' / template:put name='sidebar'

Re: Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Jeff Trent
Are you suggesting that I put the redirect in my base input jsp on the condition that errors exist? No offense, but this seems to be a hacky approach. Are we saying here that there is no suggested struts method to handle this situation? - Original Message - From: Jonathan

Body is supposed to be empty for html:options

2001-05-08 Thread John Miaso
The following code: html:select property=combobox2 size=1 html:options/html:options /html:select appears to be generating the following compile error: Body is supposed to be empty for html:options Anyone have any clues as to why this compile error occurs? There is

Re: Body is supposed to be empty for html:options

2001-05-08 Thread Martin Cooper
The error message you are seeing is not strictly accurate (which is a problem with your JSP container). The real problem is that the html:options tag should not have a body at all, not that the body is empty. In other words, what you should have in your JSP is this: html:select

Basics of STRUTS

2001-05-08 Thread Sudhir M
Hi there, This is sudhir from India, and have just joined the mailing forum. Can anybody help me in knowing all the Basics about STRUTS, and how can i use it. Thanks and Regards Sudhir M. -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09,