AW: Link to UML Diagrams

2001-01-29 Thread Oliver . Lauer
And how about RationalRose-Support ? Does TogetherJ export for Rose ? Thanks ! Oliver -Ursprngliche Nachricht- Von: Pete Black [mailto:[EMAIL PROTECTED]] Gesendet am: Sonntag, 28. Januar 2001 23:40 An: '[EMAIL PROTECTED]' Betreff: RE: Link to UML Diagrams How about something that us

Re: Dynamic properties

2001-01-29 Thread Matthias Bauer
Hi there, this is a very interesting question Bram raised and I would very urgently need this feature in my current application, too. So I would really like to know if this can be achieved with Struts. Does anybody know, how a form bean could be dynamically equipped with properties, so it could

XML as STRUTS-interface to EJBs ?

2001-01-29 Thread Oliver . Lauer
Hi, I need some advise although my problem not really relates to STRUTS: We have build a framework based on EJBs and MQ (for our mainframe) that only interface is an XML one. Until now the client developer had to present his screen with XSL. At this stage we became aware that for building

Re: FormTag problem

2001-01-29 Thread Anand Raman
hi Howard sorry for the late response but what kind of a mapping have u specified in the web.xml file. I think that too matters a lot to rightly match all the actions.. Thanks Anand On Mon, Jan 22, 2001 at 05:40:29PM -, Howard Moore wrote: I have the following action configured in my

comments in .properties file

2001-01-29 Thread Peter Doyle
Hi, How do I include comments in my AplicationResources.properties file? Do i use a # like in a shell or // in Java Cheers, Peter

struts-config too large

2001-01-29 Thread Peter Doyle
Hi, How can I divide struts-config into a number of smaller xml files?? The struts-config for the application Im developing is now at 400+ lines. This is too large to manage and will only get bigger. It does not make sense to divide the application into multiple smaller apps so I need to make

ActionForm population problem

2001-01-29 Thread Howard Moore
I have just updated to the latest nightly build (20010128) and have started getting an exception when accessing a form. The ActionForm bean for this form has a single property, id, of type Integer with the usual getter and setter methods. When the form is invoked with a URL of the form;

Missing getter in .org.apache.struts.taglib.html.ImgTag

2001-01-29 Thread Geddes, Mark (ANTS)
Using last night's build (20010128) I get the following error using Weblogic 6 and the struts-example web-app. Error in using tag library uri='html' prefix='/WEB-INF/struts-html.tld': There is no setter method for property 'lowsrc', for Tag class 'org.apache.struts.taglib.html.ImgTag' There

Re: Handling refresh in a web based application

2001-01-29 Thread ron talk
Craig, Thanks for your reply, I was unware of the functionality within struts, but have been doing something similar with a token in the session object. A problem with this was In our application you are allowed to click the back button and resubmit the same request again. The process would

Re: Error: 500 from web.xml ????????????

2001-01-29 Thread Steven D. Wilkinson
As Richard mentioned your xml is wrong. Try this... I assume you have the header information or else it would be a different error.;-) ?xml version="1.0" encoding="ISO-8859-1"? !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"

Re: ActionForm in this case

2001-01-29 Thread Steven D. Wilkinson
The actionForm must be registered as a form-bean and referenced within your action declaration. form-beans !-- Registration form bean -- form-bean name="registrationForm" type="com.mycompany.RegistrationForm"/ /form-beans action-mappings !-- Edit user

Re: Who is Craig ?

2001-01-29 Thread Julia Reynolds
Is there a Craig pin-up available? Ted Husted wrote: And, speak at various conferences, including ApacheCon and JavaOne. Don't imagine there's streaming media of that anyplace? -T. -- In a time of drastic change it is the learners who inherit the future. The learned find themselves

Re: comments in .properties file

2001-01-29 Thread Steven D. Wilkinson
# is a Comment label=value # another comment White space is ignored. Steve Peter Doyle wrote: Hi, How do I include comments in my AplicationResources.properties file? Do i use a # like in a shell or // in Java Cheers, Peter

Re: struts-config too large

2001-01-29 Thread Steven D. Wilkinson
My understanding is that you would need to extend the ActionServlet, pass multiple entries for each of the files as init-parameters to the ActionServlet and rewrite the initDigester() method. You will also need to create new DTDs and rebundle the struts.jar. The reason for the rebundle of the

RE: comments in .properties file

2001-01-29 Thread Peter Doyle
Thanks Steve for your reply. Peter -Original Message- From: Steven D. Wilkinson [mailto:[EMAIL PROTECTED]] Sent: 29 January 2001 14:54 To: [EMAIL PROTECTED] Subject: Re: comments in .properties file # is a Comment label=value # another comment White space is ignored. Steve Peter

RE: Dynamic properties

2001-01-29 Thread Kevin Wang
check out http://archive.covalent.net/jakarta/struts-user/2000/12/0481.xml for my previous post on handling dynamic properties with Struts. unfortunately, it is not working with the latest nightly builds as changes are significant. indexed/nested properties were not "dynamically" supported.

Server Port Problem HELP

2001-01-29 Thread Michael Mok
Hi Sorry to post such a long email. I am absolutely stump with a session problem that have been bugging my STRUTS based application. I have encountered some session persistence problem with my application trying to track if the user has logged on. I am not sure if it is due to the fact that the

Re: Server Port Problem HELP

2001-01-29 Thread Chris Smith
I found a bug a while back in the encodeURL() method in Tomcat 3.1. I was using the struts link tag to generate all my links so that struts would append the session id to the urls. Struts uses Tomcat's encodeUrl() method, which only adds the session id if the link is within your own app,

JSP probleme

2001-01-29 Thread Frederic BAGES
Hi all, i'm new to Struts and i have i problem that seems to concern Tomcat and Struts. I've installed Strut and the two exemples WAR files under tomcat 3.2. the exemples are just running fine but when i try to run my own jsp file i have an error from the jsp compiler.

Re: JSP probleme

2001-01-29 Thread Steven D. Wilkinson
Which version of struts are you using? Note my answer is how you do it in struts 1.0 (actually form the 01-28-2001 source download) I'm not sure how to do it in 0.5. If you are just starting and trying to use 0.5, I suggest you start with one of the nightly source distributions because 1.0

RE: JSP probleme

2001-01-29 Thread Frederic BAGES
Thank you Steven for your remarks. I had checked all of these before sending my first mail but it was not any of these. I've tried anything i had in mind and now it's working. I don't really know why but i think it can be a case (not all in uppercase ?) problem on the WEB-INF directory

RE: Link to UML Diagrams

2001-01-29 Thread Tom Villars
TogetherJ can export to XMI which Rose should be able import. I haven't tried this before plus I don't have Rose so even if I do get an export I willn't be able to test it. I'll try to post a file tonight for anyone brave enough to try it :-) -tv -Original Message- From: [EMAIL

Multi-page forms

2001-01-29 Thread nic.hobbs
Memo from Nic Hobbs of PricewaterhouseCoopers Start of message text Hi all, The struts user guide (http://jakarta.apache.org/struts/userGuide/building_model.html#actionform) says the following: "You should note that a "form", in the sense discussed

RE: JSP probleme - ms windows specific

2001-01-29 Thread Justin Kennedy
If you really really think it's a case problem, go to a dos window and check out the offending directory. dos won't hide the case from you. -Original Message- From: Frederic BAGES [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 9:49 AM To: [EMAIL PROTECTED] Subject: RE: JSP

Re: JSP probleme

2001-01-29 Thread Steven D. Wilkinson
Fredric, I started with a sample application. I'm going to use it for a production version once the specifications are complete. FYI, I watch the commits on the struts-dev list to see if any of the fixes are bugs that I'm having. I suggest the same especially when you are in production. If

Struts in Weblogic 6.0

2001-01-29 Thread John LeGassic
I have having problems migrating our Struts 0.5 Application from Weblogic5.1 sp6 to Weblogic6.0. Thanks in advance, John begin:vcard n:le gassic;john tel;fax:510.500.1100 tel;work:510.500.1146 x-mozilla-html:FALSE org:Nightfire Software version:2.1 email;internet:[EMAIL PROTECTED]

RE: JSP probleme - ms windows specific

2001-01-29 Thread Frederic BAGES
Yes, it was what I would have done if i could, but i can't manage to make it fail now. Remeber that under windows (and dos i think) you don't really control how your names are stored. I've just tried under dos and all is written using upercase characters ... But you know, I'm a mad guy

RE: Multi-page forms

2001-01-29 Thread Carl Tallis
Nic - I got a sample of a multi-page to work by using the action to tell the form object which validation should occur: action path="/createOrderItems" actionClass="com.supplylinks.app.CreateOrderAction" property name="formAttribute" value="orderForm"/ property

RE: bean:define clarification

2001-01-29 Thread Robert Quillen
Maybe the "scope" attribute should be "fromScope" as well? -Robert Quillen -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 3:13 PM To: [EMAIL PROTECTED] Subject: Re: bean:define clarification Dennis wrote: Hello, I'm trying to

struts and weblogic

2001-01-29 Thread john d ware
Hi, I am trying to use weblogic and struts, and am having trouble getting weblogic to read in the struts examples when I'm NOT connected to the web. I assume that I should be able to run a webapp built on struts in a stand-alone environment. Here is a partial output from weblogic when

CachedRowSet

2001-01-29 Thread Ted Husted
Is anyone actively using the early-adopter sample implementations of a CachedRowSet with Struts? http://developer.java.sun.com/developer/earlyAccess/crs/ It has the ability to reconnect to the DBMS, if needed, to make updates. The preferred method is to use a datasource via a JNDI server,

Dynamic form action?

2001-01-29 Thread Tom Janofsky
Hi: I'm relatively new to Struts and I'm trying to figure out if there's an easy way to do the following. I'm trying to solve a classic Add/Edit/Delete problem, and I want to know if there is a way to dynamically change the action that the form is posting to, based on an attribute of the

Re: struts and weblogic

2001-01-29 Thread Vincent Massol
This is a problem with weblogic not with struts. WebLogic needs to have an internet connection in order to validate the XML document against the DTD. You can use a local DTD on your disk instead of one on the web if you want to work offline. - Original Message - From: "john d ware"

Error:500 Pease Please help !!!!!!!

2001-01-29 Thread majid kamal
Hello all, I am fairly new to this mailing list. I need to run the struts-example. Browsing this Mailing list ( tomcat one) Archives I have seen that it doesn't seem too easy ( jasper issues, taglib, even the taglib example that comes with tomcat is not working) although it is said to be

Re: workaround for weblogic5.1 cast exception

2001-01-29 Thread renzo estrella
I forgot to mention another step that may be needed to make 0.5 struts-example work with weblogic5.1: If you call a *.jsp page before the ActionServlet init() method ever gets called you will get the following exception: javax.servlet.jsp.JspException: Missing resources

RE: Link to UML Diagrams

2001-01-29 Thread Hines, Bill
This guy is probably realizing now just what he got himself into by offering diagrams! Actually, what I'd like to see other than just class diagrams, is a nicely done UML sequence diagram to show how the flow and interaction works between the various components (and maybe a collaboration diagram

RE: Link to UML Diagrams

2001-01-29 Thread Hines, Bill
You can probably just import the .java files from the Struts download into Rational Rose and get the same class diagrams and build a Rose model. Bill Hines Hershey Foods -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 4:50 AM To:

Re: struts and weblogic

2001-01-29 Thread john d ware
Vincent, Thanks for the reply. Two more questions. 1) The dtd file in question is the one referenced in web.xml right? (http://java.sun.com/j2ee/dtds/web-app_2_2.dtd) 2) What is the correct location to put the dtd file on my disk so that weblogic can find it? john Vincent Massol wrote:

Re: struts and weblogic

2001-01-29 Thread john d ware
I'm using SP8, but, I don't mind telling weblogic to look on the disk when I'm disconnected. How do I tell it where to look for the dtd? thanks john ware Wong Kok Wai wrote: This is not what I've experienced. This used to be a problem but this was fixed since. Hence, make sure you've

Re: Dynamic form action?

2001-01-29 Thread Peter Alfors
Currently, we do not use the html:form tag. I haven't had a chance to look into them yet. I would think that the action attribute would not be required, but maybe there is a good reason for it to be? Someone with more experience with the html tags will have to help you there. Anyone? Pete Tom

Re: configuring database connection pool

2001-01-29 Thread Steve A Drake
As a follow-up to the problem I was having with the setReadOnly() method for the Connection object (using Informix), I downloaded the latest/greatest JDBC driver that I could find (SQLJ 2.20.JC1 from www.informix.com/evaluate) and found the same problem. From the release notes (file:

Problem with nightly build- property 'lowsrc'

2001-01-29 Thread rhayden
The example app will no longer run on Weblogic 5.1. It worked with the last build I downloaded (01-23). Has anyone else encountered this error- or is this specific to WL? Thanks, Bob Parsing of JSP File '/index.jsp' failed: /index.jsp(-1): Error in tag library at: 'html': There is no

Re: Dynamic form action?

2001-01-29 Thread Peter Alfors
In order to use forwards (that depend on the user action), wouldn't you need some sort of router action class. Would all the pages then call this class and set some flag to notify it which action to take? Ted Husted wrote: On 1/29/2001 at 3:12 PM Tom Janofsky wrote: Or would a Struts guru

Re: struts and weblogic

2001-01-29 Thread Vincent Massol
I was actually a bit wrong in my previous email. I have researched a bit the BEA web site and I have found the following information : - You should use SP6 or greater - You must modify your web.xml and change the first line from : !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web

RE: struts and weblogic

2001-01-29 Thread Deadman, Hal
I use something like the following if I want to reference a local dtd. When I build EJBs with Ant it seems to want to validate the dtd so I use local dtds in order to compile while off-line. !DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"

2 Qs

2001-01-29 Thread Steve A Drake
Any struts gurus going to the O'Reilly Conference on Enterprise Java (March 26-29)? I didn't see Struts on the schedule but that's not to say someone couldn't lead an impromptu evening session. I've got this Struts connection pool going but don't see how to snoop info regarding it's state.

Action Form

2001-01-29 Thread John Hunt
If a person invokes a ActionServlet without any submit ( say directly invoke logon.do ), I can check that he hasnt submitted any data in the ActionForm class, so I would like to send the user back to the input page from the ActionForm itself. ActionForm returns errors. If I dont want to add any

Re: Link to UML Diagrams

2001-01-29 Thread vze253rf
This is a great idea and would really help newbies like me figure out how to use Struts. A couple simple scenarios accompanied by interaction diagrams would really help. David Diskin "Hines, Bill" wrote: This guy is probably realizing now just what he got himself into by offering diagrams!

RE: struts and weblogic

2001-01-29 Thread Wong Kok Wai
This is a BAD idea! The DOCTYPE is like cast in concrete and not suppose to be modified. WebLogic and Ant should be able to locate the local copy of the DTD if the DTD is in one of the directories in the CLASSPATH. --- "Deadman, Hal" [EMAIL PROTECTED] wrote: I use something like the following

Re: struts and weblogic

2001-01-29 Thread Wong Kok Wai
The answer is you don't and you shouldn't have to. WebLogic (and for any application that uses XML) should map to the local DTD copy for you transparently. If not, they've screwed this up big time. --- john d ware [EMAIL PROTECTED] wrote: I'm using SP8, but, I don't mind telling weblogic to

Re: struts and weblogic

2001-01-29 Thread john d ware
Well, I copied the dtd file in question from C:\weblogic\classes\weblogic\ejb\deployment\xml to one of my project directories which is in my CLASSPATH and I do not get the error any more. It's too bad that weblogic can't find a file in it's own installation directory tree. I guess that for

Re: new template tag framework

2001-01-29 Thread Nathan Eric Probst
I certainly do NOT object. I've been using Cedric's Components for several weeks now and am hooked! I find that they greatly extend the utility and "admin-ability" of the Struts Framework. I would also like to offer my assistance in integrating Components into Struts. I am a junior Java

Re: Action Form

2001-01-29 Thread Anand Raman
Hi Hunt, can be done in many ways.. one way being generate errors in ActionForm but dont display in the jsp page by simple skipping the html:errors/ tag from the file.. hope this is of some help Anand On Mon, Jan 29, 2001 at 04:24:37PM -0800, John Hunt wrote: If a person invokes a ActionServlet

[Proposal] Portal Framework

2001-01-29 Thread Vincent Massol
Hi, Here is an idea for extending Struts in future versions. However, I think we must not mix it with Struts code. It should be seen as an extension (what I like in Struts is it's simplicity and cluttering it with tons of features in the core will make it harder to use/install). This is a