Re: Fail to load Tiles definition factory

2002-01-15 Thread Jon Ferguson
My first inclination is its a class path issue... make sure you've got the .jars in place. That class exists in the tilesForStruts1-0.jar and I've got in my WEB-INF/lib directory. Hope this helps. Cheers, Jon Cheng, Sophia wrote: Hi, I am trying to use Tiles and Struts. It seems to work

Re: Template mechanism tutorial anyone?

2002-01-15 Thread flare
On 14 Jan 2002 at 23:12, Michael Mehrle wrote: Hi guys/gals: I'm new to the list and to Struts - though I got it all up and running via Tomcat. Again, help with this would be welcome I'm using templates in almost every portal/site, I found Tiles great but often overkill, templates

Simple example of MultipartIterator() use

2002-01-15 Thread Tony
Hi Can someone please point me in the direction of a simple example of using MultipartIterator(), I am not having much luck getting it to work. I always get an error when I try and create a instance of this class using MultipartIterator iterator = new MultipartIterator(request); -- Cheers

Re: Recommend struts tutorial...

2002-01-15 Thread cody.burleson
Here's the only tutorial I have found: http://gallery.bluestone.com/Scripts/SaIsapi.dll/StrutsTrailMap.class/struts-trailmap/default.htm Alex Paransky [EMAIL PROTECTED] on 01/14/2002 08:26:02 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users

my first struts - cant find message resources

2002-01-15 Thread Wim Fournier
Hi all, Sorry to bug you with this newbie questions, but hey.. we all gonna learn some time ;o) I'm building a sample application to teach myself struts / EJB. I'm working with JBoss and have installed the CD example EJB. As I'm developping the struts frontend war I bump into 2 problems

Re: Application resources and logic:notPresent

2002-01-15 Thread Keith Bacon
Hi Jeff, is it because name=org.apache.struts.action.MESSAGE is the class name of the messages when you should specify the attribute name that class has been stored under? (It'll be defined as a constant somewhere but I don't know where off-hand). Keith. --- Jeff Oberlander [EMAIL PROTECTED]

RE: Question on Struts debugging - one more time

2002-01-15 Thread Keith Bacon
I don't use a proper IDE, I'm waiting till it's clear they are very good I can get a fast response time. So some of what I said was in ignorance, but also many people don't use IDE's yet. I don't have time to keep trying them out - last year I tried, they clearly needed a monster computer to

Re: Using the IMG tag dynamically

2002-01-15 Thread Jon Ferguson
Hi Elise, Turned out I had some other issues which were preventing resolution of my bean. I had wanted to use html:img page=... in order to be able to use an image ref relative to the application rather than server root... so my image reference could be /images/myImage.gif rather than

checkbox

2002-01-15 Thread Serge A. Redchuk
Hello struts-user, I'm newbie in Struts and encountered a problem when tried to get boolean value of checkbox state from my form bean. I always have 'true', even if I unchecked my checkbox on form. In JSP I wrote: Published: html:checkbox property=published / In Action that

RE: checkbox

2002-01-15 Thread Tom Klaasen (TeleRelay)
Check the archives -- this question has been answered many many times before on this list. Short answer: use the reset() method of your form. hth, tomK -Original Message- From: Serge A. Redchuk [mailto:[EMAIL PROTECTED]] Sent: dinsdag 15 januari 2002 13:21 To: Struts Users Mailing

RE: Nesting Beans/Iterators/Logic tags whatever else...

2002-01-15 Thread Tom Klaasen (TeleRelay)
After 25 hours, you're entitled to send more information for us to try to give help on ;-) Full stacktrace, jsp and relevant java code... I suppose the other taglibs do work? tomK -Original Message- From: Collard, John [mailto:[EMAIL PROTECTED]] Sent: maandag 14 januari 2002 20:46

Re: Template mechanism tutorial anyone?

2002-01-15 Thread Bryan Field-Elliot
I love the simplicity of Templates as well. The bummer with them is, they aren't nestable, as far as I can tell (can anyone tell me differently?). On Tue, 2002-01-15 at 02:09, flare wrote: On 14 Jan 2002 at 23:12, Michael Mehrle wrote: Hi guys/gals: I'm new to the

Re: Catalina complaining abt Action class not being servlet??

2002-01-15 Thread dion
Wim Fournier wrote: Hi all, Anyone knows why catalina complains abt my action servlet not being a servlet?? It extends Action and imports: [snipped] Because actions aren't servlets.. ActionServlet is, Actions and their subclasses aren't -- dIon Gillard, Multitask Consulting

RE: Catalina complaining abt Action class not being servlet??

2002-01-15 Thread Tom Klaasen (TeleRelay)
-Original Message- From: dion [mailto:[EMAIL PROTECTED]] Sent: dinsdag 15 januari 2002 14:16 To: Struts Users Mailing List Subject: Re: Catalina complaining abt Action class not being servlet?? Wim Fournier wrote: Hi all, Anyone knows why catalina complains abt my

Re: Catalina complaining abt Action class not being servlet??

2002-01-15 Thread Wim Fournier
On Tue, Jan 15, 2002 at 02:19:35PM +0100, Tom Klaasen (TeleRelay) wrote: Probably a conflict between servlet 2.2 and 2.3 spec. Try removing all servlet*.jar from all directories under catalina, except the one in %CATALINA_HOME%/lib/** hth, tomK

RE: Catalina complaining abt Action class not being servlet??

2002-01-15 Thread Tom Klaasen (TeleRelay)
-Original Message- From: Wim Fournier [mailto:[EMAIL PROTECTED]] Sent: dinsdag 15 januari 2002 14:28 To: Struts Users Mailing List Subject: Re: Catalina complaining abt Action class not being servlet?? On Tue, Jan 15, 2002 at 02:19:35PM +0100, Tom Klaasen (TeleRelay) wrote:

RE: multipe bean:define's in one page?

2002-01-15 Thread Jeff Martin
Out of curiosity, does % mybean=bar; % work? Jeff -Original Message- From: Moritz Petersen [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 12:47 PM To: Struts Users Mailing List Subject: RE: multipe bean:define's in one page? That's what I've thought. But there must be a way

Re: Catalina complaining abt Action class not being servlet??

2002-01-15 Thread Wim Fournier
snap That's where I know the problem from: running a J2EE app under catalina doesn't work right, unless you adapt the j2ee.jar by removing all its javax.servlet.** components. Don't know for sure if this is the problem in your case (and whether the problem still exists, must be about 8

to Tom

2002-01-15 Thread Srinidhi
thanks Tom, wish i can get back soon! - Original Message - From: Tom Klaasen (TeleRelay) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 15, 2002 7:06 PM Subject: RE: Catalina complaining abt Action class not being servlet?? Rules are great in

Re: Catalina complaining abt Action class not being servlet??

2002-01-15 Thread dion
Wim Fournier wrote: bash me on the head and call me stupid .. ;) consider yourself bashed...although public oopses are more than enough :) My bad.. I have been a little enthousiastic with find/replace ;o) My web.xml action element containted an Action class instead of the

mapping not found?

2002-01-15 Thread Wim Fournier
Hi again My catalina tells me that it cant find the mapping for /listcd log: [INFO,EmbeddedCatalinaServiceSX] action: Process servletName=action, urlPattern=*.do [INFO,EmbeddedCatalinaServiceSX] action: Mapping for servlet 'action' = '*.do' javax.servlet.ServletException: Cannot retrieve

Struts-layout menu tag : scrollbar possible?

2002-01-15 Thread DUPRAT Alexandre
Hi, I currently use struts-layout menu tag witch work fine with struts-template. My problem is that my menu is a dynamic one : it can go larger if i insert long named nodes. This is making node to wrap on next line, not so nice... How can i avoid this? How can i have something like a horizontal

RE: Question on Struts debugging - one more time

2002-01-15 Thread Rick Horowitz
I tried switching from JBuilder to NetBeans but found NetBeans too slow - on a 400Mhz XEON with 512MB RAM. I've switched back to JBuilder Personal. The JB 6.0 release now installs easily on Redhat 7.2 (unlike the 5.0 release, which I never got working). NetBeans has more functionality than the

Re: mapping not found?

2002-01-15 Thread dion
Wim Fournier wrote: Hi again My catalina tells me that it cant find the mapping for /listcd log: [INFO,EmbeddedCatalinaServiceSX] action: Process servletName=action, urlPattern=*.do [INFO,EmbeddedCatalinaServiceSX] action: Mapping for servlet 'action' = '*.do'

Re: Question on Struts debugging - one more time

2002-01-15 Thread dion
Rick Horowitz wrote: I tried switching from JBuilder to NetBeans but found NetBeans too slow - on a 400Mhz XEON with 512MB RAM. I'm running a PIII 1Ghz with 512MB on Mandrake and NB 3.3 is fine for meI've also had Eclipse running on it, but at the moment Eclipse is 'flakier' than NB by

Resin X Tomcat

2002-01-15 Thread Rubens Gama
what JSP Engine i must to use, Tomcat or Resin? what is the best? thanks in advance... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: mapping not found?

2002-01-15 Thread Wim Fournier
have this in my struts-config.xml: !-- Action Form Beans -- form-beans form-bean name=listCDForm type=nl.kern.j2ee.sample.struts.ListCDForm/ /form-beans so thats covered.. is there a reason for you to write DC instead of CD? (maybe i made a typo somewhere?) tnx On Tue, Jan

Re: Resin X Tomcat

2002-01-15 Thread Will Jaynes
Any servlet/jsp engine should be fine, although there can be problems if the engine doesn't implement the spec properly. I use Resin and love it. Others use Tomcat and love it. Those two work for sure. Many others do too. Rubens Gama wrote: what JSP Engine i must to use, Tomcat or Resin?

Problem with mapped properties

2002-01-15 Thread Maciej Koodziej
Hi, I'm building an application, which uses database as a source for configuration data. For example I have a page which enables users to customize their personal UI schema, like which columns they want to see in search result. Now that means, that I have to build dynamic html

Re: mapping not found?

2002-01-15 Thread Wim Fournier
On Tue, Jan 15, 2002 at 03:51:47PM +0100, Tom Klaasen (TeleRelay) wrote: You did restart your tomcat after modifying struts-config.xml, did you? no, i deployed it into jboss again.. jboss should take care of re-deploying into tomcat but restarting the whole doesnt help either (just tried)

RE: Problem with mapped properties

2002-01-15 Thread Rey Francois
I'm not really sure in understand you problem but in order for "property(key)" to work, you need to have the following methods on your form bean: public Object getProperty(String key) public void setProperty(String key, Object value) These methods typically store your property values in a

RE: mapping not found?

2002-01-15 Thread Tom Klaasen (TeleRelay)
-Original Message- From: Wim Fournier [mailto:[EMAIL PROTECTED]] Sent: dinsdag 15 januari 2002 16:00 To: Struts Users Mailing List Subject: Re: mapping not found? On Tue, Jan 15, 2002 at 03:51:47PM +0100, Tom Klaasen (TeleRelay) wrote: You did restart your tomcat after

Re: Problem with mapped properties

2002-01-15 Thread Peter Pilgrim
Unfortunately, this is limitiation of the JSP 1.1 specification You have to supply directly complete "java.lang.Strings" to any custom tag attributes. Spec says nothing about partial dynamic values. Here is the solution: % String key = "EMPLOYEE_PAYROLL_ID"; String prop_key =

Struts Fast Track review

2002-01-15 Thread Dick Starr
Thanks Vic, for wanting to help others learn Struts. However, as you point out in your book, you are not an author. I would rate this book at 1/2 star of a possible 5. I suppose it's true that you can do the exercises and get up on Struts, but I think that there is more useful information of this

Using Struts with other frameworks...

2002-01-15 Thread CERY Philippe
Hi, I'm a new user of Struts and my first my mission consists in combining Struts with an other generic J2EE framework. This framework contains lots of components and services like SendMail, Forums, ErrorHandling, Database Access or Workflow... I'm looking for someone who have already done this.

Help using Struts Logic tags.

2002-01-15 Thread VEDRE, RANAPRATAP REDDY
What is the best way to write the following scriptlet code using Logic Tags. I tried to do it with present and notEmpty but couldn't get it to work. % if(session.getAttribute(KEY) != null){ % if(session.getAttribute(KEY).equals(True)) { // Some HTML goes here.

Re[2]: Problem with mapped properties

2002-01-15 Thread Maciej Koodziej
Hi, In Your mail sent Tuesday, January 15, 2002 You wrote: RF I'm not really sure in understand you problem but in order for RF "property(key)" to work, you need to have the following methods on your form RF bean: RF public Object getProperty(String key) RF public void setProperty(String

RE: Can I use a jsp as the action value in: html:form

2002-01-15 Thread Zhiyong Li
I did what you suggested. However, I got the following exception: javax.servlet.ServletException: Cannot retrieve definition for form bean null Any ideas? Zhiyong Li iBiomatics R D SAS Institute (919) 653-2746 [EMAIL PROTECTED] -Original Message- From: Matt Raible [mailto:[EMAIL

RE: Loading data for html:select

2002-01-15 Thread Larry Maturo
Hi Mark, We have a method to return an ArrayList in our Business Object, and our Action Class passes that to the JSP by setting it as an attribute. We don't put it into the ActionForm at all. Although you could easily do it that way, it does not really buy you anything, as far as we call tell.

RE: Re[2]: Problem with mapped properties

2002-01-15 Thread Robert Taylor
I was just wrestling with the same problem and found the following in the JSP 1.2 Spec. JSP.2.13.1 Request Time Attribute Values snip The expression must appear by itself (multiple expressions, and mixing of expressions and string constants are not permitted). /snip HTH, robert

Using struts-template as taglib

2002-01-15 Thread Andras Balogh
Hi all, I want to ask you about the posibility to using the struts-template taglib in a project that is not using struts at all. Initally i searched for a template taglib at http://jakarta.apache.org/taglibs/ but i couldn't find any. I then thought about using the struts-template taglib. So i

RE: Help using Struts Logic tags.

2002-01-15 Thread Andrew B Forman
I've been using the session taglib http://jakarta.apache.org/taglibs/doc/session-doc/intro.html which would end up looking something like... session:existsAttribute name=KEY value=true session:equalsAttribute name=KEY matchTrue value=true // Some HTML goes here.

Report's Tag

2002-01-15 Thread Rubens Gama
could you tell me if exists any JSP report tag? thanks in advance -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Using struts-template as taglib

2002-01-15 Thread Vaughan Jackson
Andras, I believe you can download a jar file containing a templates taglib from http://www.phptr.com/advjsp/. The author of this taglib is David Geary, the same author as that of the template tags in Struts. I think this version is just an improved version of that in Struts (although some of

Getting result of JSP in Action Class - how?

2002-01-15 Thread Matt Raible
I'm trying to use filters to do my XML/XSL Transformation. I'm wondering if anyone knows how to get the JSP as XML in my action class? Basically, I want to do something like: Document doc = mapping.getXMLfromJSP(mapping.findForward(continue)); Where continue maps to a local forward (i.e.

RE: Report's Tag

2002-01-15 Thread Tom Klaasen (TeleRelay)
-Original Message- From: Rubens Gama [mailto:[EMAIL PROTECTED]] Sent: dinsdag 15 januari 2002 17:52 To: Struts-User Subject: Report's Tag could you tell me if exists any JSP report tag? If you can tell what that tag is supposed to do ... tomK -- To unsubscribe, e-mail:

RE: Application resources and logic:notPresent

2002-01-15 Thread Jeff Oberlander
Thanks Keith. It turns out that the name=org.apache.struts.action.MESSAGE was ok. Turns out I was simply missing the taglib uri=/WEB-INF/tlds/struts-logic.tld. Being new to struts, I would have guessed that would've given me a jsp compile error but it doesn't. -Original Message- From:

Re: Using struts-template as taglib

2002-01-15 Thread Cedric Dumoulin
You can use Tiles, which is compatible with Templates and can be used without Struts. If you just need template tags, you don't need to use Tile's servlet. It is planned to move Tiles to the taglib project. Cedric Andras Balogh wrote: Hi all, I want to ask you about the posibility

Port being added to URL in Netscape 4.7 causing session problems

2002-01-15 Thread @Basebeans.com
Subject: Port being added to URL in Netscape 4.7 causing session problems From: Ricky Frank [EMAIL PROTECTED] === I am having some problems maintaining a session after calling an action from a Netscape 4.7 browser. It seems to be from the addition of the port to the URL (Netscape seems to do

Re: Getting result of JSP in Action Class - how?

2002-01-15 Thread Fernando Otero
Hi, I didn't understand your problem at all. I have 3 questions that could help to clarify it: 1) Why you need to get the JSP as XML in your action class? 2) Since your JSP contains html:form, you are generating HTML code in your JSP. Is this correct? Using other HTML tags you could

RE: Question on Struts debugging - one more time

2002-01-15 Thread Sandeep Takhar
I am quite happy with it. There is some time in figuring out configuration issues and searching through mailing lists. But if you're reading this one... I have 256 ram and and p4 @home, 500 ram and p1 here at work -- both work sufficiently well. Being able to see what is being debugged is

Report Taglib

2002-01-15 Thread Rubens Gama
where can i found taglib report using the Struts Framework? thanks in advance. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Application resources and logic:notPresent

2002-01-15 Thread Keith Bacon
I've hit that trap too. It seems if the JSP compiler doesn't understand the tag it sends it down to the browser. (JSP probably doesn't even understand HTML). If the browser doesn't understand it it ignores it content directly under it but evaluates nested tags. Anybody know of any browser

RES: Report's Tag

2002-01-15 Thread Rubens Gama
well, i have a ResultSet object populated, ok? i want a header.. page break... a footer the report's body can use the ResultSet to show the data in a determined way(like 3 columns and 60 lines, etc). and the pagination feature, for example. -Mensagem original- De: Tom Klaasen

RE: Help using Struts Logic tags.

2002-01-15 Thread Keith Bacon
logic:equal name=KEY scope=session value=True /logic:equal not tested - done my best..watch the capitalisation! K. --- Andrew B Forman [EMAIL PROTECTED] wrote: I've been using the session taglib http://jakarta.apache.org/taglibs/doc/session-doc/intro.html which would end up looking

Re: my first struts - cant find message resources

2002-01-15 Thread David M. Karr
Wim == Wim Fournier [EMAIL PROTECTED] writes: Wim Hi all, Wim Sorry to bug you with this newbie questions, but hey.. we all gonna learn some time ;o) Wim I'm building a sample application to teach myself struts / EJB. I'm working with JBoss and have installed the CD example EJB.

RE: Loading data for html:select

2002-01-15 Thread Keith Bacon
Hi Larry, I agree very much with you! Use form bean only for data going to from form. Struts will call get/setSelectedItem(). On 1st use your action bean calls formBean.setSelectedItem() to specify the default later calls getSelectedItem to get what user selected. Data displayed only (ie.

RE: Execute Struts in Netbeans?

2002-01-15 Thread dhay
Has anyone produced a similar HOW-TO for Netbeans? Or will this work for Netbeans as well as Forte? Cheers, Dave Michael Mok [EMAIL PROTECTED] on 01/14/2002 02:24:27 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED]; Please respond to [EMAIL PROTECTED] To:

RE: Nesting Beans/Iterators/Logic tags whatever else...

2002-01-15 Thread Collard, John
I didn't intend to sound as negative as I did. I do owe that-- working on it. I do like it and will at least use different parts of it. There are many applications for the tags use -- even out side the iterate process. John Collard [EMAIL PROTECTED] -Original Message- From: Tom

JSPs under WEB-INF/pages/ -- how to include in WAR file using ANT?

2002-01-15 Thread Barry L. Kline
I have taken to heart everyone's suggestions and have placed my JSPs under the WEB-INF/pages directory. So far, no problem. When I use ANT's war task I can't seem to get the directory structure to remain intact. e.g.: WEB-INF/pages/mypage.jsp WEB-INF/pages/mypage2.jsp becomes:

Re: Struts Fast Track review

2002-01-15 Thread cody.burleson
I recieved my copy of the book just 2 days ago. This book seems more like a companion to some course that must be instructor led. What good are these exercises if they contain no answers? I can sit and make up exercises all day! I appreciate the author's attempt to shed some light on the world

Subclassing ActionMapping

2002-01-15 Thread Frank Lawlor
Struts makes it easy to subclass ActionForm, ActionServlet. Is there a way to specify that ActionMapping is subclassed and have struts create mappings for calls to the perform methods that are of my subclass? Thanks, Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an

RE: Execute Struts in Netbeans?

2002-01-15 Thread Rob Parker
I have been able to use struts with Netbeans by unzipping the struts-blank war file and mounting the resulting directory. Netbeans recognizes the dir as a web app and takes care of everything for you - mounting jars, setting up mount points for editing conf files, etc. What I usually do in

Re: Port being added to URL in Netscape 4.7 causing session problems

2002-01-15 Thread Peter Kordel
What platform are you on? I had the same problem on Solaris 8/SPARC Netscape 4.7. I finally switched to JDK1.3.1_02 and my problems went away. Struts Newsgroup (@Basebeans.com) wrote: Subject: Port being added to URL in Netscape 4.7 causing session problems From: Ricky Frank [EMAIL

Re: session objects disappear

2002-01-15 Thread Peter Kordel
I fixed it by upgrading to jdk1.3.1_02. Peter Kordel wrote: i'm on a sun ultra 10, solaris 8, sun jdk 1.3.1, tomcat 4.0.1, struts 1.0.1. i have a login action that stores a userbean in session scope, which i use to authenticate and look up roles, etc. i've done this many times before. if

RE: JSPs under WEB-INF/pages/ -- how to include in WAR file using ANT?

2002-01-15 Thread Jeff Oberlander
You need to move your input directory up a level like: webinf dir=${deploy.home}/WEB-INF/ / If that upper dir has extra things you don't want in the distribution, use includes: webinf dir=${deploy.home}/WEB-INF/ include name=pages/*.jsp/ /webinf -Original

bean:replace ?

2002-01-15 Thread João Guilherme Del Valle
Hi, I want to replace a bean. But bean:define does not work the way I thought. I´d like to do something like this: --- Check the new items: bean:define id=items name=recentItems toScope=request / tiles:insert page=ItemList.jsp/ Check the most popular: bean:define id=items name=mostPopularItems

Re: Struts Fast Track review

2002-01-15 Thread Dick Starr
Cody, Vic does Struts training. If I recall correctly, he did a three day course in Texas last December. I expected the book to be based on his course, but was also hoping for much more. Vic posted the following on December 18th: My intention was to get out something timely, but imperfect (as

Re: JSPs under WEB-INF/pages/ -- how to include in WAR file usingANT?

2002-01-15 Thread Barry L. Kline
Jeff Oberlander wrote: You need to move your input directory up a level like: webinf dir=${deploy.home}/WEB-INF/ / If that upper dir has extra things you don't want in the distribution, use includes: webinf dir=${deploy.home}/WEB-INF/ include name=pages/*.jsp/

Multibox...

2002-01-15 Thread Marcelo Caldas
Hei, Can somebody give me an example on how to use the html:multibox tag... It's complaining that can't find the getter method... that's what I got so far: on the JSP: html:multibox property=daysofWeek my caption /html:multibox and on my ActionFor I have... public class... private

Re: Execute Struts in Netbeans?

2002-01-15 Thread Dick Starr
I use Caldera OpenLinux Server 3.1, Tomcat 4.0.1, and Netbeans 3.3 with no problems. I deploy Struts apps as Rob describes below. Dick Starr - Original Message - From: Rob Parker [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 2:08 AM

Re: Subclassing ActionMapping

2002-01-15 Thread Ted Husted
You can create your own ActionMapping subclass, and specify that in the web.xml. If it uses additional methods, you would type-cast the mapping in the perform to access those, just as you type-case the ActionForm to get to its extended properties. To set new properties on the ActionMapping

Struts - JBuilder 5.0 or Forte 3.0 - Tomcat 4.0

2002-01-15 Thread Peter Gershkovich
Please share your success in installing development environment using Struts - JBuilder 5.0 or Forte 3.0 - Tomcat 4.0. My concern is that an important quality of rapid development tool -quick feedback- is missing. (At least for me.) I am trying to set up right tools so i could go from

RE: How to use Log4j with a startup logging servlet

2002-01-15 Thread McDowell, Mark
I use method 2, but it doesn't require a call into that servlet. I just use it to initialize log4j. After this servlet loads, I just call log4j object methods, and it works. I believe (someone correct me if I'm wrong) that the servlet loads in the same JVM, so you have access to its objects in

Re: How to use Log4j with a startup logging servlet

2002-01-15 Thread Thomas Eichberger
Hi, I use Log4J, but don't understand your question exactly. I think it's easier than you think;-) In my action classes and servlets and so on I have the usual line: static Category cat = Category.getInstance( SuchAction.class.getName() ); in web.xml I have: servlet

Implementing Remeber my logon with Struts and J2EE/JSP...

2002-01-15 Thread Alex Paransky
I need to implement a feature where a cookie stored on user's browser, contains userId and Password information. Then tie it with the J2EE/Servlet FORM LOGIN security using Struts. I can send up a cookie with the information, I just don't know how to integrate this in with JSP/J2EE

Re: Multibox...

2002-01-15 Thread David M. Karr
Marcelo == Marcelo Caldas [EMAIL PROTECTED] writes: Marcelo Hei, Marcelo Can somebody give me an example on how to use the html:multibox tag... Marcelo It's complaining that can't find the getter method... Marcelo that's what I got so far: Marcelo on the JSP: Marcelo

RE: Struts - JBuilder 5.0 or Forte 3.0 - Tomcat 4.0

2002-01-15 Thread Anthony Martin
http://www1.tramsasp.com/?section=dev -Original Message- From: Peter Gershkovich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 1:59 PM To: Struts Users Mailing List (E-mail) Subject: Struts - JBuilder 5.0 or Forte 3.0 - Tomcat 4.0 Please share your success in installing

Fw: PLEASE, LOOK AT THE LITTLE GIRL'S PICTURE THEN FORWARD

2002-01-15 Thread John McClain
John McClain 7604 Muschetto Ct. Citrus Heights, CA. 95621 [EMAIL PROTECTED] (916)728-5223 - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL

RE: How to use Log4j with a startup logging servlet

2002-01-15 Thread Jenkins, David
If you're using Tomcat 4.0.x then the documentation shows how to use a servlet to configure Log4J. Essentially you create a normal servlet, slap it in your web.xml and configure it to load on startup. I do this in all my web apps and also use the same method to init Velocity. Here's a sample

Re: Subclassing ActionMapping

2002-01-15 Thread Mark Woon
Ted Husted wrote: You can create your own ActionMapping subclass, and specify that in the web.xml. If it uses additional methods, you would type-cast the mapping in the perform to access those, just as you type-case the ActionForm to get to its extended properties. To set new properties

Re: Fw: PLEASE, LOOK AT THE LITTLE GIRL'S PICTURE THEN FORWARD

2002-01-15 Thread Mark Woon
John McClain, I know you meant well, but you just forwarded more spam. IMO it is totally inappropriate to forward this kind of stuff to a dev mailing list, but that's another story. Don't believe everything you read. This has been marked as an urban legend:

Re: Nesting Beans/Iterators/Logic tags whatever else...

2002-01-15 Thread Arron Bates
There are many applications for the tags use -- even out side the iterate process Hell yes! :) I suppose some people will just see it as a way past their nested iteration problems, but it brings so much more. Among other things, it will clean your JSP's because the markup's reduced for those

Is there a better way to write this code?

2002-01-15 Thread Alex Paransky
I am pretty new with struts and wrote the following .JSP code. Is there a better way to write this? I could not find a tag in STRUTS to let me just get the property from the object. My object does not have get/set methods, so I had to resort to using %= tag. Is there a tag in STRUTS that

RE: Execute Struts in Netbeans?

2002-01-15 Thread Michael Mok
Hi Dave Yes it should work with Netbeans 3.3. Regards Michael Mok -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 16 January 2002 2:55 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Execute Struts in Netbeans? Has anyone

Re: Is there a better way to write this code?

2002-01-15 Thread Arron Bates
For one, I recommend getting your properties into getter/setter methodology. Simply so you can use the wealth that is the Struts tagging system (as it's (the bean spec Struts runs against for it's model components) kind of what it's all about). By 'raw' String do you mean the object's