i18n static html pages

2001-06-15 Thread kuni katsuya
anyone have any ingenius ideas on how to implement i18n with both static (html) and dynamic (jsp) pages that are not necessarily in the same context? in my application, i am allowing the user to switch locales on-the-fly. (don't ask!!) between jsp pages, this is taken care of simply by a

Auto Deploy folder of the WTE in Visual Age for Java

2001-06-15 Thread Magowan, Ryan(LIT)
I want to deploy say for example the example Struts application struts-example.war in the Websphere Test Environment that comes with VAJ. Can anyone tell me where the auto-deloy folder of this is?? thanks Ryan Magowan Software Developer Liberty Information Technology Direct Line: +44 (0) 28

RE: IS there any way to check in a template whether a value has been set?!

2001-06-15 Thread Jon.Ridgway
Hi Frank, You can build up a request parameter in the content url : template:put name='details' content='details.jsp?value=Jon direct='true'/ Then in the included jsp use a bean:parameter tag to define the request param as a scripting varible avalible to the write tag etc. i.e :

RE: Auto Deploy folder of the WTE in Visual Age for Java

2001-06-15 Thread Jon.Ridgway
Hi Ryan, Auto deploy WTE? Would be nice wouldn't it. Unfortunately you will have to wait a couple of months until VAJ4 is released. Manually extract the war into VAJ/ide/project resources/IBM WebSphere Test Environment/hosts/default hosts/ You will also need to configure a fair bit in WTE.

RE: Any Free JDBC Drivers

2001-06-15 Thread Jon.Ridgway
Hi Anwar, You can use the ODBCJDBC driver provided in the JDK. Or you could use a database that comes ready for java, like .cloudscape.com. See http://industry.java.sun.com/products/jdbc/drivers for a full list of available drivers. Jon. -Original Message- From: wasims@comsats

RE: Updating application resource file (Internationalization)

2001-06-15 Thread Jon.Ridgway
Hi Sandeep, You *MAY* be able to edit the appropriate file then call the getServlet().initApplication() in your action class (you may need to call getServlet().destroyApplication() first). You could also call the struts reload action, see struts-example struts-config.xml for details. Jon.

RE: Internationalization (I18N) query

2001-06-15 Thread Jon.Ridgway
Hi Sandeep, It sounds like you wish to create profiles for each user. You can not use the struts message classes (as they stand) to achieve this, as users share the .properties file for each locale. You could get a default value from the properties file in a specific locale, but override it if

Re: How can I use an Iterator's value twice?

2001-06-15 Thread Ted Husted
Your html:link needs to specify paramProperty=results. I can't tell what the paramName should be, since that would depend on what the linked page expects. Here's a reference snippet from a working page. The bean result has accessors for donor, sortName, email, and website, where donor is a

Re: nested logic:present tags do not short-circuit

2001-06-15 Thread Ted Husted
The first tags says if A.B is not null rather than if A B are not null. You may need to use more nesting, maybe something like logic:present name=A logic:present name=A property=B logic:present name=A property=B.property some jsp/html /logic:present

i18n a submit button

2001-06-15 Thread Mark Schenk
Can anyone tell me how I can internationalize the text on a submit button? i tried the obvious: html:submit value=Submit bean:message key=extern.add.submitmessage/ /html:submit But this always result in 'Submit' being the text, and not the value from my message

Re: i18n a submit button

2001-06-15 Thread Jean-Noel Ribette
I think you should remove the value attribute. html:submit bean:message key=extern.add.submitmessage/ /html:submit Jean-Noël - Original Message - From: Mark Schenk [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Sent: Friday, June 15, 2001 12:56 PM Subject: i18n a submit button

RE: i18n a submit button

2001-06-15 Thread Mark Schenk
Exactly! Thanks, Mark I think you should remove the value attribute. html:submit bean:message key=extern.add.submitmessage/ /html:submit Jean-Noël - Original Message - From: Mark Schenk [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Sent: Friday, June 15,

RE: Auto Deploy folder of the WTE in Visual Age for Java

2001-06-15 Thread Magowan, Ryan(LIT)
Jon these instructions seem to be particular to VAJ 3.5.2 and VAJ 3.5.3. I am running VAJ 3.5. Will these instructions work for that? Thanks Ryan -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: 15 June 2001 10:01 To: [EMAIL PROTECTED] Subject: RE: Auto Deploy

Re: can't remove attributes from servlet

2001-06-15 Thread antonio loureiro
thanx jon, for the great help! we´ve tested it with b3, too and it works perfectly. thanx again, antonio - Original Message - From: Jon.Ridgway [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 14, 2001 11:35 AM Subject: RE: can't remove attributes from servlet Hi All WTE

FormBeans necessary for every form

2001-06-15 Thread Felix von Delius
Is there any disadvantage in *not* having separate (Form-)Beans for every form in an application? -Felix

Re: FormBeans necessary for every form

2001-06-15 Thread Ted Husted
It would seem to me to be an organizational design decision. If you share the bean, you would also have to share the validate method, but that can be easily managed by checking the Action Mapping to see which form is using the bean in this instance. The easiest way to do that is by using the

preprocess suggestion on struts change

2001-06-15 Thread Kiet Nguyen
I think action classes should allow a method(preloadPerform) definition. This method would be called prior to the form being load. This way we can initialize form values and do pre-process stuff. Currently I have a link to doSomething.do which execute a corresponding DoSomethingAction class;

RE: Auto Deploy folder of the WTE in Visual Age for Java

2001-06-15 Thread Jon.Ridgway
Hi Ryan, No. 3.5 WTE is Servlet 2.1 and JSP 1.0 (not tag libs). You can either use the Tomcat Test Env or upgrade to 3.5.3. Jon. -Original Message- From: Magowan, Ryan(LIT) [mailto:[EMAIL PROTECTED]] Sent: 15 June 2001 12:31 To: '[EMAIL PROTECTED]' Subject: RE: Auto Deploy folder of

unsuscribe

2001-06-15 Thread Jean-Philippe Humblet
-- jean-philippe humblet network research belgium tel : +32 4 249 7277

Struts and iPlanet

2001-06-15 Thread Matt Raible
Has anyone been successfully able to get the struts-template tag library working on iPlanet Application Server 6.0 SP2. Here is a reference to the library: http://jakarta.apache.org/struts/api/org/apache/struts/taglib/template/packa ge-summary.html#package_description I was successfully able

Re: preprocess suggestion on struts change

2001-06-15 Thread Oleg V Alexeev
Hello Kiet, Friday, June 15, 2001, 4:41:22 PM, you wrote: KN I think action classes should allow a method(preloadPerform) definition. KN This method would be called prior to the form being load. This way we can KN initialize form values and do pre-process stuff. Currently I have a link to KN

help build

2001-06-15 Thread Mike Thompson
Ok, so I'm trying to build my own version of struts so that I may incorporate some of Mr. Trent's gridXXX tags. Here is what I get: C:\jakarta-strutsant distBuildfile: build.xml init: [echo] - jakarta-struts 1.0-b1 - [echo] [echo] java.class.path =

Null Pointer Exception when using on Tomcat 3.2

2001-06-15 Thread Nanduri, Amarnath
Hi everybody, I am getting this exception when i try to reference a jsp page directly without going through an Action class. Basically the user is not even logged in(when i get this exception). I do have a checkLogin/ tag which is a modified version of the checklogin/ that comes with the

multiple dynamically generated parameters in LINK tag

2001-06-15 Thread Guillaume Bressot
Hi everyone, Being a newbie to struts, i was wandering if it is possible to use LINK tag with 3 properties, using iterate tag Searching for an example of such a thing in struts documentation, i found this example: % { java.util.ArrayList list = new java.util.ArrayList();

Re: Struts and iPlanet

2001-06-15 Thread Jeff Trent
Matt, Just curious, how have you faired with struts and IAS in general? - jeff - Original Message - From: Matt Raible [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 9:20 AM Subject: Struts and iPlanet Has anyone been successfully able to get the struts-template

Re: struts-config.xml - How do I open a success path as a new window???

2001-06-15 Thread Peter Alfors
When you say 'return', do you mean you want to close the new window? Or do you want to open a new link in the original window? If you just want to close the window, then you can use a javascript command such as: window.close() However, if you want to open a link in the parent window, it is a bit

Re: select options doesn't work

2001-06-15 Thread Linnea Ahlbeck
Hi! Try to change your property for the option to a boolean!! private String strValue; private boolean value; /Linnéa - Original Message - From: Pal, Gaurav [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 4:18 PM Subject: select options doesn't work Hi, I have

RE: multiple dynamically generated parameters in LINK tag

2001-06-15 Thread Jon.Ridgway
Hi Guillaume, If you are asking is it possible to have a single link with three parameters then the answer is yes, *but* you would have to package them up into a Map see the struts-test webapp for an example. To generate a single param at a time within an iterate tag you would do something

Problem with struts-example and WAS 3.5.2

2001-06-15 Thread D'Elia, Kevin
Hello, I am trying to get Struts to work with WAS 3.5.2, using the directions available on the Struts installation page (installation-was352.html). I have done all of the steps up to the point where I put in the 1.0.1 jaxp.jar and parser.jar files. When I start the Default Server, I

RE: nested logic:present tags do not short-circuit

2001-06-15 Thread Steve Salkin
Title: RE: nested logic:present tags do not short-circuit Hi Ted- Thanks for the reply. But note that I am really looking at the case where _B_ may be null. I would have wanted the test present name=A property=B to prevent the evaluation of the test present name=A property=B.property. _A_

RE: Null Pointer Exception when using on Tomcat 3.2

2001-06-15 Thread Nanduri, Amarnath
Never mind. I figured it out. I forgot to include my custom library and this check was bypassed. cheers, Amar.. -Original Message- From: Nanduri, Amarnath [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 9:52 AM To: '[EMAIL PROTECTED]' Subject: Null Pointer Exception when using on

Problem with HttpURLConnection and struts

2001-06-15 Thread MAVOSS
I'm getting a strange error: I wrote a normal servlet which establishes a HttpURLConnection to do a POST request to a remote server. Everything works fine. I have now moved my application to use struts and implemented the same code inside the perform() method. Now, I get an

RE: select options doesn't work

2001-06-15 Thread Pal, Gaurav
Thanks for your suggestion - but it still doesn't work...I keep getting the same exception. Gaurav -Original Message- From: Linnea Ahlbeck [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 10:25 AM To: [EMAIL PROTECTED] Subject: Re: select options doesn't work Hi! Try to change

RE: select options doesn't work

2001-06-15 Thread Kiet Nguyen
look at the subscription.jsp in the strutsexample. -Original Message- From: Pal, Gaurav [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 7:18 AM To: '[EMAIL PROTECTED]' Subject: select options doesn't work Hi, I have been trying to get the select options tag to work in the html

RE: select options doesn't work

2001-06-15 Thread Krueger, Jeff
In your Form bean change your set method to take a string. public void setMarketList(String marketList) { } You will only get the item the user selected back in your bean, not the whole list. -Original Message- From: Kiet Nguyen To: '[EMAIL PROTECTED]' Sent: 6/15/2001 11:10

Re: WebSphere, Jasper and Struts 1.0b3

2001-06-15 Thread Dan Miser
Kyle, While I appreciate the magnitude of the RD on WAS/VAJ, I also think IBM has been the worst offender in adopting and conforming to standards. Issues such as the one you raise below could have been minimized by having dependency documents, or architecting the system in a more self-contained

RE: Logic:equals..

2001-06-15 Thread Charlesworth, Chico
i think u have to use jsp in the value tag, like so: logic:iterate id=itr1 name=itr1 type=class logic:iterate id=itr10 name=itr100 type=class1 bean:define id=theName name=itr10 propertyname/ % String s = (String) pageContext.findAttribute(theName); % logic:equal name=itr1 property=name

enhancement for the Struts HTML library?

2001-06-15 Thread Kwang-Shi Shu
Hi, I used to use PBP Tag library that provides some nice features, such as whether the field is required, define the input pattern, convert the input to upper/lower case, etc. These features are more less for the front-end Java Script side. However, they are very convenient. Is there

RE: Logic:equals..

2001-06-15 Thread Jon.Ridgway
Hi Shane, Juts a guess (not looked at logic tag in full) but value is being interpreted literally, ie the string itr10.name. Use a bean:define to define the returned value of itra10.name as a scripting variable, then use a scriplet in the value tag to reference it : bean:define id=name

RE: WebSphere, Jasper and Struts 1.0b3

2001-06-15 Thread Assenza, Chris
I completely agree Dan. Chris -Original Message- From: Dan Miser [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 11:42 AM To: [EMAIL PROTECTED] Subject: Re: WebSphere, Jasper and Struts 1.0b3 Kyle, While I appreciate the magnitude of the RD on WAS/VAJ, I also think IBM has been

RE: User management?

2001-06-15 Thread Michael Nash
Jon, Tom: You might want to check out what we're doing in Expresso (www.jcorporate.com) for user security. We're in the process of integrating Struts as one of the front-end/UI choices available for Expresso apps, and the models are pretty compatible. Mike Jcorporate Ltd.

RE: multiple dynamically generated parameters in LINK tag

2001-06-15 Thread Guillaume Bressot
Hi Jon, Manu thanks for your response. You wrote: To do this with a map you would code something like this (assuming that my artifact beans getParams method returns a Map): html:link forward=editArtifact name=artifact property=params bean:message key=prompt.artifact.edit/ /html:link

General DATABASE programming question

2001-06-15 Thread Mindaugas Idzelis
This may be a little off topic, please forgive me. One of my webapplications displays a group of results from a database query. These can be hundreds of rows long. I would like to break these up into smaller sections to fit on a page. My problem is, I don't want to run the entire query at once

Forwarding to an anchor tag (a name=anchor)

2001-06-15 Thread Jacob Thomas
We would like to have an ActionForward specify a path such as /context/page.jsp#anchor. This does not seem to work. Has anyone tried this before? Could this be a limitation of the JSP forward/redirect/include mechanism? -- Thanks Jacob

Re: General DATABASE programming question

2001-06-15 Thread Spencer Smith
Sure. Just use something like this: SELECT * FROM (Select * from sometable Order by sortcolumn) WHERE rownum=1 and rownum=10 This would return the first 1-10th rows of the query (sorted properly) If you were not interested in sorting properly, you could just

Query string in struts-config.xml

2001-06-15 Thread Jacob Thomas
Is there a way to a specify a query string as part of the path attribute in the forward tag within an action? Example: forward name=command path=/context/page.jsp?param=value/ -- Thanks Jacob

FYI Weblogic 6 sp2 and stuts

2001-06-15 Thread Grant Davies
Hi, I gave up on weblogic 5 with sp9 and stuts, I deployed to weblogic 6 and sp2 and it worked first time, no problems. So anyone fighting with weblogic 5 who whose app can be moved to wl6 may want to do so.

RE: FYI Weblogic 6 sp2 and stuts

2001-06-15 Thread Jason Chaffee
Title: RE: FYI Weblogic 6 sp2 and stuts I would like to add that Weblogic 5.1 sp 9 is very buggy and I couldn't get it to work either, but I am not having any problems with Weblogic 5.1 sp 8. -Original Message- From: Grant Davies [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001

RE: General DATABASE programming question

2001-06-15 Thread Mindaugas Idzelis
I've tried using the rownum before, but this is the error i get from sql server 2000 rownum is not a valid column name

Re: General DATABASE programming question

2001-06-15 Thread Ted Husted
Sun's cached rowset has a MaxRows property that you can use to limit the number of rows returned. http://developer.java.sun.com/developer/Books/JDBCTutorial/chapter5.html I'm not aware of a general way to offset a particular number of rows in the a query that will work with everyting, which

Re: General DATABASE programming question

2001-06-15 Thread Dan Marina
an idea you have to know all the time exactly where you are in result set ( start, end | step) run query, skip first first rows - do what you want with next step rows [ for ( int i = start; i start + step; i ++) ...] close result set create a

botched struts-exercise-taglib install ?

2001-06-15 Thread joey sark
after installing struts-exercise-taglib index.jsp works fine for Bean Tags and Logic Tags, but HTML tags give this error: Error: 500 Location: /struts-exercise-taglib/html-link.jsp Internal Servlet Error: javax.servlet.ServletException: Exception creating bean of class

RE: General DATABASE programming question

2001-06-15 Thread Curt Hagenlocher
My quetion: Is there anyway to specify an offset into a query using MS SQL Server? Thank you. No. You've got to read the records and throw them away. -- Curt Hagenlocher [EMAIL PROTECTED]

RE: Any Free JDBC Drivers

2001-06-15 Thread Craig R. McClanahan
On Fri, 15 Jun 2001, Jon.Ridgway wrote: Hi Anwar, You can use the ODBCJDBC driver provided in the JDK. Or you could use a database that comes ready for java, like .cloudscape.com. See http://industry.java.sun.com/products/jdbc/drivers for a full list of available drivers. Jon is

Re: ActionForms for read-only data??

2001-06-15 Thread Craig R. McClanahan
On Thu, 14 Jun 2001, Jonathan Asbell wrote: Craig, can you explain point number one Expose the data as JavaBeans *other than* the form bean. Is it that you are not using the form bean? Yes. I can think of many cases where you'd want to extract read-only data from beans other than the

Re: General DATABASE programming question

2001-06-15 Thread Stephen Welds
If you want to be able to restrict the number of rows returned from a query to a MS SQL Server database then you can use the set rowcount xx command. This command can be used as follows to return 100 rows from a query: set rowcount 100 select * from mytable where myvariable = 'mycriteria'; set

Logon API in struts?

2001-06-15 Thread Bob Byron
I would like to know from the Struts elite if there are any struts centric facilities to help with login/logout? I just don't want to reinvent the wheel if it is already out there. The username and password would be entered on the webpage itself and not entered into the user/pass dialog

Re: Query string in struts-config.xml

2001-06-15 Thread Craig R. McClanahan
Just like you did should work fine. Craig On Fri, 15 Jun 2001, Jacob Thomas wrote: Is there a way to a specify a query string as part of the path attribute in the forward tag within an action? Example: forward name=command path=/context/page.jsp?param=value/ -- Thanks Jacob

localization of numbers, etc.

2001-06-15 Thread Daniel Toms
I am wondering if the struts html:text tag supports the localization of number formats? And if not, whether it even should? thanks, dan

Extension mapping question

2001-06-15 Thread Jamie Tsao
Hi, I'm having some trouble understanding how the extension mapping works for servlets and struts. In the web.xml file, the following extension mapping for the struts ActionServlet is used: servlet-mapping servlet-nameActionServlet/servlet-name url-pattern*.do/url-pattern

RE: Query string in struts-config.xml

2001-06-15 Thread Simon Liang
Hi guys: I consider myself fairly new to Strut. I have done a login flow that allows user to edit his/her profile. The login workflow is simple using the Struts framework: Map the login screen form to a form bean, then the action bean login the user and forward to the useredit.jsp upon a

Missing configuration resource for path /WEB-INF/struts-config.xml in Webspere 3.5.2 under not Default server

2001-06-15 Thread Karmanov, Igor
Hi All, I've got Struts (1.0-b1) Example working under Default Server without any problem using standard instructions. We converted part of our application towards using Struts as well. struts-config.xml was placed under web/WEB-INF directory. The problem starts when I deploy Struts

Re: Missing configuration resource for path /WEB-INF/struts-config.xml in Webspere 3.5.2 under not Default server

2001-06-15 Thread Ted Husted
It's looking for the ApplicationResouces.property file. This can be anywhere on your class path. I like it right under the classes folder. Karmanov, Igor wrote: Hi All, I've got Struts (1.0-b1) Example working under Default Server without any problem using standard instructions. We

Error with Template Tags

2001-06-15 Thread Matt Raible
I have constructed a simple war utilizing the struts-template tag library. I have deployed it to Tomcat, but I'm getting the error below. Any ideas? Thanks, Matt html head titleh1Included servlet error: 500/h1 h2Location: /uiframework/index.jsp/h2 h2Error Location:

RE: General DATABASE programming question

2001-06-15 Thread Mindaugas Idzelis
Thanks for all your answers. This has been very nerve wrecking. I think I've come up with a solution that may work in a DB independent way. I'll use a scrollable resultset. I won't iterate through all of it, only portions at a time. I think most underlying JDBC drivers use cursors to implement

Re: Missing configuration resource for path /WEB-INF/struts-config.xml in Webspere 3.5.2 under not Default server

2001-06-15 Thread Dan Miser
Put web in your classpath. After you do this, you'll need to restart the webapp. I've tested the instructions here countless times and it's worked: http://www.distribucon.com/struts/WASInstall.htm -- Dan Miser http://www.distribucon.com - Original Message - From: Karmanov, Igor [EMAIL

Re: General DATABASE programming question

2001-06-15 Thread Ted Husted
If you use a scollable resultset, you will have to keep an open connection to the database. This can be an issue with a Web application. With a Cacheable RowSet you would not need to keep the connection open, but you would need to store the entire set in memory. Either way, you would need a

How goes the 1.0 release?

2001-06-15 Thread Moore, Robert
Is it still expected to happen today? Thanks, Rob

RE: How goes the 1.0 release?

2001-06-15 Thread Gus Delgado
is this suppose to be not-beta anymore? -Original Message- From: Moore, Robert [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 3:01 PM To: '[EMAIL PROTECTED]' Subject: How goes the 1.0 release? Is it still expected to happen today? Thanks, Rob

RE: How goes the 1.0 release?

2001-06-15 Thread Moore, Robert
Yes. A production release was announced with a June 15th availability. -Original Message- From: Gus Delgado [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 3:07 PM To: [EMAIL PROTECTED] Subject: RE: How goes the 1.0 release? is this suppose to be not-beta anymore?

strut diagram

2001-06-15 Thread Kiet Nguyen
...OLE_Obj... Does any have struts diagram I can use. I created this one, any suggestion. thanks

Re: Extension mapping question

2001-06-15 Thread Craig R. McClanahan
On Fri, 15 Jun 2001, Jamie Tsao wrote: Hi, I'm having some trouble understanding how the extension mapping works for servlets and struts. In the web.xml file, the following extension mapping for the struts ActionServlet is used: servlet-mapping

RE: Query string in struts-config.xml

2001-06-15 Thread Craig R. McClanahan
On Fri, 15 Jun 2001, Simon Liang wrote: Hi guys: I consider myself fairly new to Strut. I have done a login flow that allows user to edit his/her profile. The login workflow is simple using the Struts framework: Map the login screen form to a form bean, then the action bean login the

RE: strut diagram

2001-06-15 Thread Kiet Nguyen
The diagram is attached. -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 1:32 PM To: [EMAIL PROTECTED] Subject: Re: strut diagram Please send this diagram as an attached image. - Original Message - From: Kiet Nguyen [EMAIL PROTECTED]

Re: strut diagram

2001-06-15 Thread Jonathan
- Original Message - From: Kiet Nguyen [EMAIL PROTECTED] To: Struts-User (E-mail) [EMAIL PROTECTED] Sent: Friday, June 15, 2001 4:23 PM Subject: strut diagram ...OLE_Obj... Does any have struts diagram I can use. I created this one, any suggestion. thanks (See attached file:

The right way in Struts

2001-06-15 Thread Simon Liang
Hi guys: I consider myself fairly new to Strut. I have done a login flow that allows user to edit his/her profile. The login workflow is simple using the Struts framework: Map the login screen form to a form bean, then the action bean login the user and forward to the useredit.jsp upon a

Re: How goes the 1.0 release?

2001-06-15 Thread Craig R. McClanahan
On Fri, 15 Jun 2001, Moore, Robert wrote: Is it still expected to happen today? Yep. The last few remaining issues are either going to be addressed or left in as known issues. I do not believe there are any showstoppers. (But I still have until midnight Pacific time ... :-) Thanks,

struts-form.tld ??

2001-06-15 Thread Jamie Tsao
Hi, I noticed that there's a struts-form.tld tag library descriptor as part of the struts distribution. What is this for ? The struts site only has documentation for four tag libraries, struts-bean.tld, struts-html.tld, struts-template.tld, and struts-logic.tld. I looked at the contents and

RE: struts-form.tld ??

2001-06-15 Thread Jamie Tsao
Nevermind !! I did a little more research and found out that struts-form.tld as well as struts.tld have been deprecated. sorry for the ignorant post. - jamie -Original Message- From: Jamie Tsao Sent: Friday, June 15, 2001 2:06 PM To: '[EMAIL PROTECTED]' Subject: struts-form.tld ??

RE: need help installing struts-example

2001-06-15 Thread joey sark
FYI i did get struts-example to work after i realized that, in addition to having struts.jar in /tomcat/webapps/struts-example/WEB-INF/lib/ i *also* had copied it to /tomcat/lib/ - just as the install guide says NOT to do. this really does cause a classNotFound error. end

Re: struts-form.tld ??

2001-06-15 Thread Craig R. McClanahan
When the original Struts tag library was split into four (after version 0.5), the one containing input form stuff was named struts-form.tld. It became clear later on that struts-html.tld is a much better name, so the library was changed. The old struts-form.tld was retained (through version

moving/tailoring struts-example app

2001-06-15 Thread joey sark
Newbie question: I'm using tomcat 3.2.1 my default app is webapps/Root i have webapps/struts-example working. my understanding is that these are two separate apps each with its own web.xml etc, and that they cannot access each other's session data. I want to move struts-example to under

html:checkbox

2001-06-15 Thread Mike Thompson
Can someone clarify the following: WARNING: In order to correctly recognize unchecked checkboxes, the ActionForm bean associated with this form must include a statement setting the corresponding boolean property to false in the reset() method. Does this mean that if I use check boxes I have

DreamWeaver and Struts 504 Gateway Timeout Error

2001-06-15 Thread Scott Ryan
I am trying to use the CTLX extension that allows one to use JSP tags, specifically struts tags within the Dreamweaver environment. I am working on Window NT and I got one user working correctly. When I tried to access the environment from another environment I received a 504 Gateway timeout

Re: html:checkbox

2001-06-15 Thread Mike Thompson
Still confused. So in my reset method, I run through all my beans and if the property is false, I set it false again? Does not compute? I guess I'm not sure how to get the corresponding boolean property? What I have is a list of checkboxes that may be initialized to true or false depending on

Re: html:checkbox

2001-06-15 Thread Ted Husted
They are actually cached in the request. It's just that with boolean checkboxes, you should reset them them to false first, or there are side effects. You really, really don't have to do anything else. It's important to remember that there is not a direct connection between the HTML form and

RE: [ANNOUNCEMENT] Struts 1.0 (Final) Released

2001-06-15 Thread Moore, Robert
Thanks, Craig! -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 7:23 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [ANNOUNCEMENT] Struts 1.0 (Final) Released As promised at JavaOne,

Re: html:checkbox

2001-06-15 Thread Mike Thompson
So this means that I have to cache the original state of all my checkbox referenced vars so I can set them back in the reset method? :( --m - Original Message - From: Ted Husted [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 5:56 PM Subject: Re: html:checkbox

html:form Action path problem.

2001-06-15 Thread Jeremy Gillick
In my jsp I'm trying to submit my form to: /admin/login/LoginForm.do so my tag looks like:html:form action=/admin/login/LoginForm.do and the corresponding action tag (in the struts-config) looks like this: action path=/LoginForm type=app.LoginAction name=LoginForm scope=request

RE: [ANNOUNCEMENT] Struts 1.0 (Final) Released

2001-06-15 Thread Jason Chaffee
Title: RE: [ANNOUNCEMENT] Struts 1.0 (Final) Released Hey Craig, Will the documentation be updated anytime soon? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 5:23 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];

RE: [ANNOUNCEMENT] Struts 1.0 (Final) Released

2001-06-15 Thread Craig R. McClanahan
On Fri, 15 Jun 2001, Jason Chaffee wrote: Hey Craig, Will the documentation be updated anytime soon? Which docs in particular are you thinking about? I updated the Jakarta web site with the most current information immediately prior to sending the announcement. Craig -Original

Re: html:checkbox

2001-06-15 Thread Craig R. McClanahan
On Fri, 15 Jun 2001, Mike Thompson wrote: Still confused. So in my reset method, I run through all my beans and if the property is false, I set it false again? Does not compute? I guess I'm not sure how to get the corresponding boolean property? What I have is a list of checkboxes

Re: enhancement for the Struts HTML library?

2001-06-15 Thread Martin Cooper
You should take a look at David Winterfeldt's Struts Validator at: http://home.earthlink.net/~dwinterfeldt/ This does most, if not all, of what you want. -- Martin Cooper - Original Message - From: Kwang-Shi Shu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 8:43

Re: preprocess suggestion on struts change

2001-06-15 Thread Martin Cooper
The Action.perform() method is where you should be setting up the beans your JSP will use. That seems to be what you are doing (although typically you will forward, rather than redirect, to the JSP page). What is it that you're looking for in a pre-process method? Do you mean something that is

[ANNOUNCEMENT] Struts 1.0 (Final) Released

2001-06-15 Thread Craig R. McClanahan
As promised at JavaOne, the Struts project team is proud to announce the availability of Version 1.0 (final release) of the Struts Framework. The binary distribution is available at: http://jakarta.apache.org/builds/jakarta-struts/release/v1.0/ and the source distribution is available at: