Re: Accessing action object inside the form bean

2002-03-28 Thread Nicolas De Loof
Be carreful, your action class must be threadsafe, so you cannot store datas as intance variable. Use session scope instead. Hi, I open a form, collect user input and on submit store it in the action class (inside perform()) as instance variables. Next time when the same form is opened, I

RE: Why Struts - Ryan Norman

2002-03-28 Thread Jon.Ridgway
Hi Ryan, Most of the frameworks available are very similar to Struts. The only difference is that they tie you into the specific app server in most cases. Also as they are only used by a subset of developers that use the specific app server their user base and hence experience base will be much

Re: Form Beans - Vector

2002-03-28 Thread Ian Tomey
This will work if the form is in session scope, but NOT if it is in request scope. the reason being is that the form is recreated every time, and the parameterList will be null. what is needed is some kind of creation description in the config file - which I built a quick version of

RE: Cannot preload ActionServlet in JRun3.1using Struts1.1-b1

2002-03-28 Thread Jesse Alexander (KADA 12)
Hi, having done some classloading lately... I would say it is a standard issue with J2EE-compatible servlet-engines. It depends where you have the struts- and logging-jars. If they are in one of the parent-classloader-paths then they cannot load the classes from WEB-INF/lib (and classes) as

Incompatibility between Struts 1.0.x and 1.1.x ?

2002-03-28 Thread Slimane Zouggari
Hi, I decided today to migrate to the last build of Struts (nightly build of 27/03/2002) and to my surprise it didn't work. Previously, I was using a nightly build of February (don't remember which one). Here's a part of the error message I get (the complete error message is just below):

Problem with select and option tag

2002-03-28 Thread Slimane Zouggari
Hi, When I tru to use the following piece of code, it doesn't work : html:form action=handleprojecteditrequest.do method=post scope=session html:options collection=listParticipant property=id labelProperty=name name=projecteditrequestform / /html:form I think the previous

RES: Struts Config Problem - Ryan Norman

2002-03-28 Thread Gilson Nascimento D Elrei
What about the error message ? What error message do you receiving ? Could you send it!? cheers - Mensagem original - De: Ryan Norman [SMTP:[EMAIL PROTECTED]] Enviada em: quarta-feira, 27 de março de 2002 21:42 Para: [EMAIL PROTECTED]; LA

RES: Struts Config Problem - Ryan Norman

2002-03-28 Thread Gilson Nascimento D Elrei
Send us the error message that you're receiving. cheers Gilson DElrei - Mensagem original - De: Ryan Norman [SMTP:[EMAIL PROTECTED]] Enviada em: quarta-feira, 27 de março de 2002 21:42 Para: [EMAIL PROTECTED]; LA Java User Group Assunto:

Re: struts get and set methods in formbeans

2002-03-28 Thread @Basebeans.com
Subject: Re: struts get and set methods in formbeans From: David Bolsover [EMAIL PROTECTED] === Hi Jose. Check out the standard rules for JavaBeans - generally: private String foo; public String getFoo(){ return this.foo; } public void setFoo(String foo){ this.foo = foo; } Note the case of

Re: Save/Update data to XML-File

2002-03-28 Thread Ted Husted
The digester is bi-directional, and can create a JavaBean from XML, or XML from a JavaBean. The RSS digester is a good example. http://jakarta.apache.org/commons/digester/commons-digester-1.1.1/docs/api/org/apache/commons/digester/rss/RSSDigester.html This approach could be used to store user

Re: Logical OR, AND etc....in Struts

2002-03-28 Thread Ted Husted
The logic tags are not designed to do anything so complex. Generally complex logic would be resolved in the Action before forwarding to the bean, or by some helper JavaBean in the request that would return a simple value that would be meaningful to a page designer. It's important to remember that

Re: Error: Cannot find message resources

2002-03-28 Thread Ted Husted
If it seems like JRUN issue then take it up with JRUN. It's a commercial product and should have people who are paid to solve problems like this. If it works under Tomcat, Sun's reference implementation, but not under JRUN, then the implication is that JRUN is non-compliant. -- Ted Husted,

Re: Which action to go back?

2002-03-28 Thread Ted Husted
It sounds like that you need some type of JavaBean in the session that will store that you can set to the name of an ActionForward representing the current SomeCaller. A html:link tag on the page could then look for that bean, and obtain the correct action forward for that user. -- Ted Husted,

Re: email format

2002-03-28 Thread Ted Husted
I wasn't actually aware that a change had taken place. If it has changed, it was at the system admin level. It would probably affect all the digest, not just ours, and so you might want to take it up with the PMC on the General list. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing

Re: Struts and Client Side JavaScript Design Question

2002-03-28 Thread Ted Husted
Managing JavaScripts in a Struts application is not much different than managing it any Java application, so everything you've already read should apply. One trick is to use the html:rewrite tag to resolve the address to JavaScripts and other HTML assets, so that the path does not have to be

RE: Struts Config Problem - Ryan Norman

2002-03-28 Thread Mike Finn
Ryan, Please include more detail than it is not working, like what the error or exception thrown is. Otherwise we can't help troubleshoot. Also, if it's an option, you may want to take a look at declarative security. The container manages the authentication and authorization procedures. You

Re: html:options Iterator Creation error -

2002-03-28 Thread Ted Husted
If PersonalForm has a Collection getSecurityOptions(); method then it does look OK. This shouldn't matter, but you could try a type property with bean:define -Ted. Sunder wrote: Hi, I am trying to implement the html:options tag in one of our applications, I have a form bean with

Re: Can Dreamweaver and Struts work together

2002-03-28 Thread Daniel WAMARA
I'm using Dreamweaver since the version 2 and now I'm in the 4th and work with Struts, you can use DW4 qith Struts by adding an extension that you can find on http://javacentral.compuware.com and download OptimalJ Dreamweaver Integration Kit 1.0.9 and you will be able to directly add Struts

Re: Websphere specific problem with template:get tag (flushing..

2002-03-28 Thread Marcelo Caldas
Hi guys, I realized that adding the flush=true to my templage:get tag works just fine... The problem is that inside that template:put direct=true tag, I have some jsp:include flush=true that is the reason for all my problems... Does anyone knows a good workaround for that? I'm trying

RE: Save/Update data to XML-File

2002-03-28 Thread Tero P Paananen
The digester is bi-directional, and can create a JavaBean from XML, or XML from a JavaBean. The RSS digester is a good example. http://jakarta.apache.org/commons/digester/commons-digester-1. 1.1/docs/api/org/apache/commons/digester/rss/RSSDigester.html This approach could be used to

RE: struts get and set methods in formbeans

2002-03-28 Thread Jose Casas
Thanks David, Does the foo member variable have to be exactly the same as the property in the jsp? THanks. Jose Casas E-Commerce Applications (501) 277-3112 [EMAIL PROTECTED] -Original Message- From: Struts Newsgroup [SMTP:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 5:55 AM

Problem starting struts beta 1.1

2002-03-28 Thread Juan Alvarado \(Struts List\)
After following the directions for installation of the 1.1 beta of struts, I got the following message when I started tomcat: The lib folder of my app contains all the jar files that I believe are needed. Additionally, my classpath is set to include jaxp.jar, crimson.jar and jdbc2_0-stdext.jar

RE: Problem starting struts beta 1.1

2002-03-28 Thread Juan Alvarado \(Struts List\)
Thanks for the quick reply. I will give it a try also. ** Juan Alvarado Internet Developer -- Manduca Management (786)552-0504 [EMAIL PROTECTED] AOL Instant Messenger: [EMAIL PROTECTED] -Original Message- From: Marcelo Vanzin [mailto:[EMAIL

RE: Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-28 Thread Yu, Yanhui
Mike, Actually I did have data in the ArrayList, but I still get this no collection found error. Which version of Struts are you using? Please post the solution if you find it too :) Yanhui -Original Message- From: Mike Finn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002

RE: self.close() exception

2002-03-28 Thread Dimitar Stavrakov
Try using this : function loadOne() { document.PipelineFilterForm.submit(); setTimeout(self.close(),5000); } This should give the form enough time to get submitted, before you actually close the window. If you're still getting an error, try increasing the time( which is

Struts 1.1Beta and Log4J, No appender Issue

2002-03-28 Thread hemant
Fellow Strutters and Loggers, I have a webapp using Struts1.0.2 and it works fine. Iam currently using Tomcat 4.0.2 and Log4J 1.1.3. I read about the enhancements in 1.1beta and decided to use it my webapp. I suddenly get the following... log4j: No appenders could be found for category

Re: error

2002-03-28 Thread Jim Crossley
Hi Jose. The name property should refer to an actual name, not a class. The name you should use will be the one referred to in the name attribute specified in the corresponding action tag in struts-config.xml. -- Jim Jose Casas [EMAIL PROTECTED] writes: Does anybody know what this error

error

2002-03-28 Thread Jose Casas
Does anybody know what this error means. Cannot find bean com.walmart.telecomorder.formbeans.RelocationForm in scope null THe following line seems to be causing this error. When i take it out of my jsp, the jsp works fine. bean:define id=somebean

RE: error

2002-03-28 Thread Jose Casas
Jim, I tried changing the name to the one in the struts-config file and it gave me this error Cannot find bean logonForm in scope null bean:define id=somebean name=logonForm property=SelectBox1List type=java.util.ArrayList/ Here's my struts-config file struts-config form-beans

ANN: Struts BOF-2293 / Thu 28 Mar

2002-03-28 Thread Ted Husted
Original Message Subject: Design Strategies Using Struts Date: Wed, 27 Mar 2002 10:19:33 -0800 (PST) From: Christine Eckstein [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: [EMAIL PROTECTED] I'm currently on a project that is one-year into implementing

Re: Struts 1.1Beta and Log4J, No appender Issue

2002-03-28 Thread Marcelo Vanzin
hemant wrote: log4j: No appenders could be found for category (org.apache.commons.digester.Digester). log4j: Please initialize the log4j system properly Struts 1.1b is using the commons-logging package for logging, and in your case it is falling back to the Log4j system. It

Re: Need example on using roles in struts-tiles

2002-03-28 Thread mharris
Hello, We are trying to do a similar thing (authentication and role-based security based on user and role info acquired from database). Can someone point me to a good resource to get started or explain how they set up their system. Users will number in the thousands and there will be some

RE: Problem starting struts beta 1.1

2002-03-28 Thread Juan Alvarado \(Struts List\)
A work around for this in Tomcat 3.3a is to put the commons-logging.jar in the /lib/common folder. The documentation does not state this. It would be nice to know if this is a bug, or if this is the way the designers implemented it. Thanks ** Juan

FW: Beans Tutorial

2002-03-28 Thread Tarek M. Nabil
I'll try to post this maybe too simple question again. -Original Message- From: Tarek M. Nabil Sent: Tuesday, March 26, 2002 3:41 PM To: Struts (E-mail) Subject: Beans Tutorial Hi everyone, I'm new to Struts, and the first thing I learned was that Struts uses a lot of Java beans :)

RES: Beans Tutorial

2002-03-28 Thread RODRIGO CARVALHO DOS SANTOS
Hi Tarek, Have you tried http://java.sun.com/j2ee/tutorial/? Rodrigo. -Mensagem original- De: Tarek M. Nabil [mailto:[EMAIL PROTECTED]] Enviada em: quinta-feira, 28 de março de 2002 13:49 Para: Struts (E-mail) Assunto: FW: Beans Tutorial I'll try to post this maybe too

Re: FW: Beans Tutorial

2002-03-28 Thread Rick Reumann
Actually you probably won't find many tutorials on this. Someone will correct me if I'm wrong but all a bean is is basically a java class with set and get methods. The neat thing about using the set and get methods in a j2ee world is that there are ways that the application can just call these

Upload problem

2002-03-28 Thread Frederic Bidet
Hi, I'm working on a content management project and I'm having some problem with upload. I have a document bean and I'm trying to upload files as attachements. When I run my app, the file is uploaded on the server and the database is updated. Then my uploadAction forward to the

dynamic select box

2002-03-28 Thread Jose Casas
when you build a dyanmic select tag, do you need a bean:define tag? Jose Casas E-Commerce Applications (501) 277-3112 [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely

Forwarding to action

2002-03-28 Thread Bhaskar Gopalan
Hi, what's the way to forward to another action? This doesn't work: action path=/LoanPipeline type=com.mortgagehub.cba.actions.LoanPipelineAction name=LoanPipelineForm scope=session input=jsp/Pipeline.jsp validate=true/ action path=/PipelineFilter

Is FindDataSource method deprecated ?

2002-03-28 Thread Gilson Nascimento D Elrei
I have read that FindDataSource is deprecated ? Is it correct ? In positive case, what do I must to use in place ? thanks Gilson -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Struts 1.1Beta and Log4J, No appender Issue

2002-03-28 Thread hemant
Marcelo , Thanks for your response, The Log4J configuration loaded property when I used Struts 1.0.2. If it worked then, shouldn't it work now with struts 1.1beta? Yes, I did look at the Logging class for Log4J, Log4JCategoryLog. but, it should not interfere with my Log4J settings unless I

RE: error

2002-03-28 Thread Joseph Barefoot
Hi Jose, You need a scope attribute in the action tag for your RelocationAction, to tell Struts in what context the associated form bean gets placed (legal values are request, session, and application). Seems to me that Struts should complain about the struts-config file if this is missing and

RE: error

2002-03-28 Thread Jose Casas
Thanks for your reply Joseph, but I just finished doing that and now it tells me this: Cannot find bean logonForm in scope session Thanks. Jose Casas E-Commerce Applications (501) 277-3112 [EMAIL PROTECTED] -Original Message- From: Joseph Barefoot [SMTP:[EMAIL PROTECTED]] Sent:

Long Live Poolman

2002-03-28 Thread hemant
Yep, Poolman rocks, Its insanely easy to use and setup. Iam currently using it in my webapp and it works like a charm. Iam curious to know if anyone has setup poolman as a Server(ala JDBC datasources on WebSphere) and was able to do a JNDI lookup on its datasources. How did you get the

Re: Struts 1.1Beta and Log4J, No appender Issue

2002-03-28 Thread Marcelo Vanzin
hemant wrote: The Log4J configuration loaded property when I used Struts 1.0.2. If it worked then, shouldn't it work now with struts 1.1beta? It worked with 1.0.2, but Struts did not use the commons-logging package then, so the log messages weren't printed through Log4j, which is the

Newbie question

2002-03-28 Thread Hairon, Patrick
Hi, I'm new with Struts and I try to make a sample application, but it doesn't work! I got this error: Error: 500 Location: /stjco/Index.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null at

Re: Long Live Poolman

2002-03-28 Thread mharris
I should comment that when we used poolman with Weblogic running against MySQL at my last job, we suffered performance problems that were fixed by using the Weblogic pool manager. However, we're tomcat where I'm at now -- not weblogic. Have not had to deal with performance yet. I believe we'll

Re: error

2002-03-28 Thread Jim Crossley
What you have looks correct to me, Jose. What are you trying to pull up in the browser: the JSP or the Action? The error you're getting makes me think you're not invoking the ActionServlet (the C in MVC) so it's not instantiating your formbean (the M in MVC) and making it available to the JSP

RE: error

2002-03-28 Thread Jose Casas
What do you mean by invoking the ActionServlet? I put it in the web.xml and my html:form action looks like this html:form action=logon.do Also, what do you mean when you say that trying to pull up the JSP in the browser directly won't work? How am I supposed to do it? Is there a right

Re: Multiple Selects in a JSP

2002-03-28 Thread @Basebeans.com
Subject: Re: Multiple Selects in a JSP From: Ken Holzer [EMAIL PROTECTED] === Hi Larry, Do you have a sample app demoing this concept? I am not sure how the Action Form, Action Class and JSP should be setup. Are the lists built in the Action Form or the Action Class? Thanks for your help,

error compiling source code bean

2002-03-28 Thread Gilson Nascimento D Elrei
I'm trying to implement this piece of code extracted from http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_model.html#dat abases but i'm receiving some errors. Which packages i have to import in my source bean ? thanks in advance. Gilson -- from struts documentation --- public

Elegant way of displaying error message - Ryan Norman

2002-03-28 Thread Ryan Norman
Hi, I am Ryan Norman. I am using struts framework for my application. I have a login screen. I authenticate the the user id and password. When the authentication fails, I want to display an error message saying User ID X does not exist. Where X is the typed user id. My error message

Sun's application compatibility kit?

2002-03-28 Thread Joey Trevino
Does anyone know anything about the new application compatibility kit that Sun announced at JavaOne. Supposedly, it will ensure that your app will work across all compliant app servers. Joey --- Ted Husted [EMAIL PROTECTED] wrote: If it seems like JRUN issue then take it up with JRUN. It's

Re: Struts 1.1Beta and Log4J, No appender Issue

2002-03-28 Thread hemant
Marcelo Thanks, Will try to make sure that Log4J initializes prior to ActionServlet load. Earlier, I had a Logger class which had a Category instance initialized in a static block. Looks like my Logger was loaded prior to ActionServlet with 1.0.2. Now, I guess I have to write a startup servlet

Automatic way of transferring to login screen - Ryan Norman

2002-03-28 Thread Ryan Norman
Hi, I am running Win 2K advanced server, JDK 1.3, Tomcat 4.0 and struts framework. I would like to know whether there is an automatic way of transferring the user to the login screen in the below given scenarios. . The first time he enters the application. . When the session variables expire.

RE: Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-28 Thread Yu, Yanhui
Thanks for quite a few very kind people who spent a lot of time trying to help, but I've not found the solution yet. Here is our problem again, please help us if you find a way to solve this problem: 1. There is a class called ConflictBean which has a few String attributes and a boolean

Re: error

2002-03-28 Thread Jim Crossley
You probably need to set aside an hour and take a gander at the user guide: http://jakarta.apache.org/struts/doc-1.0.2/userGuide/index.html You need to understand why you put these lines in your web.xml file: servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern

RE: error

2002-03-28 Thread Jose Casas
I know how all that works. The only thing that's giving me problems is the bean:define declaration. As soon as I take it out my jsp (accessing directly!!!) works. Thanks for trying. Jose Casas E-Commerce Applications (501) 277-3112 [EMAIL PROTECTED] -Original Message- From: Jim

RE: Multiple Selects in a JSP

2002-03-28 Thread Maturo, Larry
Hi Ken, I have a Struts white paper, with an example of this. It also has lots of other examples as well. You can get it at: http://stealthis.athensgroup.com/presentations/ under Model Layer Framework. Basically you set up both lists in the Action Class and put them into the session or

RE: Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-28 Thread Maturo, Larry
Hi Yu, I'm pretty sure you are going to need the indexed attribute to get this to work. You might also want to try the mutibox instead of the checkbox. I have never gotten the checkbox to work in a table. I have an example of how it should work, at least as far as I can tell. When I tried

Re: error

2002-03-28 Thread Jim Crossley
Jose Casas [EMAIL PROTECTED] writes: I know how all that works. The only thing that's giving me problems is the bean:define declaration. The eternal paradox, eh? To be all-knowing and still have problems... The bean:define expects there to be a bean named logonForm in scope. Something has

Re: lajug - Where is struts-config.xml specification - Ryan Norman

2002-03-28 Thread Jeremy Leader
Is http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd (the DTD, Document Type Definition, for the struts-config.xml file) what you're looking for? That's the official machine readable specification of what goes in the struts-config.xml file. Or are you looking for something more

Installing Struts with WebSphere3.5.4,I can not even make struts-example work

2002-03-28 Thread kelly lan
Hi,roger My name is Kelly. I am working on a project using Struts. I do not have any problem on using Struts with Tomcat. However, my boss decided our project had to use WebSphere on Window 2000. Since then, I have been struggling for almost a week. I can not even make struts-example work

Re: Can Dreamweaver and Struts work together

2002-03-28 Thread Rick Kalifa
Tony, I've been trying to get it work also. I've installed the custom tag library extension but I can't seem to get it to work. Have you gone down this path also? Thanks, RK. - Original Message - From: $B% %s%H%K!(B $B%9%F%$%9(B [EMAIL PROTECTED] Newsgroups: Struts Sent:

RE: error

2002-03-28 Thread Jose Casas
So you're saying that when I post the form, the logonForm bean is not used at all. All my values are being set by something...I don't understand what you're trying to say when you say that the bean:define is the only thing that is expecting the logonForm bean to be there. Thanks. Jose Casas

Re: error

2002-03-28 Thread Marcelo Vanzin
Jose Casas wrote: I don't understand what you're trying to say when you say that the bean:define is the only thing that is expecting the logonForm bean to be there. He's saying that since you're calling the JSP file directly (instead of calling the related action mapping, e.g.,

Re: error

2002-03-28 Thread Jim Crossley
Jose Casas [EMAIL PROTECTED] writes: So you're saying that when I post the form, the logonForm bean is not used at all. Not quite. The problem occurs when you *retrieve* the form, not when you *post* it. Assuming that the scope attribute of your action is session, try this little test.

RE: error

2002-03-28 Thread Jose Casas
Thanks, I'll try this. Jose Casas E-Commerce Applications (501) 277-3112 [EMAIL PROTECTED] -Original Message- From: Jim Crossley [SMTP:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 2:14 PM To: Struts Users Mailing List Subject: Re: error Jose Casas [EMAIL

RE: error

2002-03-28 Thread Jose Casas
I think this worked. Now I'm getting another error, but I'll try to figure it out. Thanks. Jose Casas E-Commerce Applications (501) 277-3112 [EMAIL PROTECTED] -Original Message- From: Jim Crossley [SMTP:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 2:14 PM To: Struts

Re: Getting a value from the request object for variable for a custom tag?

2002-03-28 Thread David M. Karr
Struts == Struts Newsgroup (@Basebeans.com) [EMAIL PROTECTED] writes: Struts Subject: Getting a value from the request object for variable for a custom tag? Struts From: Preston Crawford [EMAIL PROTECTED] Struts === Struts I'm writing a custom pager for a resultset my company

Re: Sun's application compatibility kit?

2002-03-28 Thread bhatia10
Hey Joey, Do u have an online link that points to that compatibility kit. Thanks. - Original Message - From: Joey Trevino [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 28, 2002 1:01 PM Subject: Sun's application compatibility

declarative exception

2002-03-28 Thread See Yam Lim
After i look at the struts-config_1_1.dtd for element exception, i do not see the bundle as an attribute for user to specify which bundle should the framework use to look up by using key attribute to retrieve the I18N message. so does it mean declarative exception only support default

Re: FW: Beans Tutorial

2002-03-28 Thread humera . f . arshi
http://jakarta.apache.org/struts/userGuide/index.html this should give u an idea about the java beans used as form beans -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Preview OReilly Struts Chapters Online - Soon

2002-03-28 Thread struts-user
It looks like I'm going to get approval to post preview chapters from my OReilly Struts book somewhere on the net. There are still a few preliminary things that have to be worked out, but I don't think they will be a big deal. There are a few things that I'm not sure about yet. If anyone has

multiple html:image tags used as submits

2002-03-28 Thread @Basebeans.com
Subject: multiple html:image tags used as submits From: Scott Danzig [EMAIL PROTECTED] === Hi, I have a jsp page that has a number of images, each acting as a submit button for a form, as follows: html:image page=/someimage.gif Now, I know when doing a normal submit button, you can specify

Changing the Browser url from action.do to the real JSP

2002-03-28 Thread Gennadiy Civil
Hello: After the logon that has been processed by LogonAction the browser URL shows logon.do How do I make it actually show the actual /cmm - the path for this forward? I can not use redirect=true because that causes me to lose current session. TIA Gennadiy Here is the snipped from

RE: Preview OReilly Struts Chapters Online - Soon

2002-03-28 Thread Chappell, Simon P
This is a wonderful idea. The chapter at a time thing will also force us to read the chapter you want reviewed rather than the one that grabs our attention at the time, given that these may not always be the same chapter! :-) You have my commitment to read and comment upon each chapter that

RE: multiple html:image tags used as submits

2002-03-28 Thread Greg Hess
Scott, One way is to write a JavaScript method to respond to the onClick event of the image that would set a hidden input field named action to a specific value and then call form.submit(). That way bean introspection would work matching html input fields to bean properties. Greg -Original

Error when success page is the SAME JSP - cannot find form bean

2002-03-28 Thread Sexton, Allane (ELS)
I'm building a struts application based on the struts example app. Here's the problem: The user logs in. The user is redirected to receipt.jsp which has an hmtl form. The user fills out the form and hits submit. ---Everything is fine so far--- The ActionServlet validates everything. BUT when

RE: Preview OReilly Struts Chapters Online - Soon

2002-03-28 Thread Robert J. Sanford, Jr.
i vote for the struts design strategies, packaging, and taglibs as the most interesting. rjsjr Chapter 2.The Web Server/Servlet Container Relationship Chapter 3.Overview of the Struts Framework Chapter 4.Configuring web.xml and struts-config.xml Chapter 5.Struts Controller

RE: Preview OReilly Struts Chapters Online - Soon

2002-03-28 Thread John Menke
when does the book come out in print? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 4:49 PM To: Struts Users Mailing List Subject: RE: Preview OReilly Struts Chapters Online - Soon This is a wonderful idea. The chapter at a

RE: Preview OReilly Struts Chapters Online - Soon

2002-03-28 Thread Chuck Cavaness
I'm scheduled to finish it in July. There's a technical editor process that must be completed also a copy edit process (to fix all of my typos and check the formatting). Probably about August. Chuck p.s. I'm going as fast as I can :) At 05:18 PM 3/28/2002 -0500, you wrote: when does the

Re: multiple html:image tags used as submits

2002-03-28 Thread @Basebeans.com
Subject: Re: multiple html:image tags used as submits From: Scott Danzig [EMAIL PROTECTED] === Well, unless someone has a better idea than this hack I found in the archives: In the JSP: html:image page=/someimage.gif property=firstSubmit value=whatever border=0/ html:image page=/someimage.gif

RE: Preview OReilly Struts Chapters Online - Soon

2002-03-28 Thread Kelm, Scott
Internationalization would be one I would be interested in. -Original Message- From: John Menke [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 4:18 PM To: Struts Users Mailing List Subject: RE: Preview OReilly Struts Chapters Online - Soon when does the book come out in

RE: Preview OReilly Struts Chapters Online - Soon

2002-03-28 Thread Thinh Doan
My vote: Chapter 13. Struts and Enterprise JavaBeans (EJB) Thank you, Thinh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 3:32 PM To: [EMAIL PROTECTED] Subject: Preview OReilly Struts Chapters Online - Soon It looks like I'm

RE: Preview OReilly Struts Chapters Online - Soon

2002-03-28 Thread Marc-André Thibodeau
Very good idea! Chapters 13, 16, 19 and 21 look the most interesting to me... MA -Message d'origine- De : Kelm, Scott [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 28 mars 2002 17:20 À : 'Struts Users Mailing List' Objet : RE: Preview OReilly Struts Chapters Online - Soon

Passing JSP Variable Values to html:link tag - Ryan Norman

2002-03-28 Thread Ryan Norman
Hi, I am Ryan Norman. The JSP variable userID is never evaluated. It displays the URL as a href=/strutstest1/viewUser.do?UserID=%= userID %ADMINISTRATOR/a Does anybody know how to make this work. html:link page=/viewUser.do?UserID=%= userID % %= userID % /html:link Thanks Ryan Norman

RE: Passing JSP Variable Values to html:link tag - Ryan Norman

2002-03-28 Thread Tim Sawyer
Try: html:link page=/strutstest1/viewUser.do paramId=UserID paramName=BeanName paramProperty=userIDbean:write name=BeanName property=userID//html:link Where BeanName is a JavaBean and userID is a property of that bean that contains the value of userID you want to pass on the URL. Try to get

RE: Newbie question

2002-03-28 Thread phil_hershkowitz
Hi Patrick, I would suggest that you first install one of the sample applications distributed with struts to make sure you have your tomcat environment set up correctly. Then, there a several excellent struts tutorials available on the web that take you through the process of creating and

Re: Long Live Poolman

2002-03-28 Thread $B%"%s%H%K!<(B $B%9%F%$%9(B
I should comment that when we used poolman with Weblogic running against MySQL at my last job, we suffered performance problems that were fixed by using the Weblogic pool manager. Is Poolman a lot faster than the inbuilt db pool manager in Struts. What are the advantages of Poolman over

Re: Preview OReilly Struts Chapters Online - Soon

2002-03-28 Thread Aaron Oathout
+1 for chapters 13, 19, 21. I'll gladly read and provide feedback on any chapters you make available. Can't wait to buy the book. Aaron Marc-André Thibodeau wrote: Very good idea! Chapters 13, 16, 19 and 21 look the most interesting to me... MA -Message d'origine- De : Kelm, Scott

Re: Elegant way of displaying error message - Ryan Norman

2002-03-28 Thread Mikael Eriksson
The elegant way to do this is to have a placeholder for the user id. Why would you not want to do that? Regards Mikael I have a login screen. I authenticate the the user id and password. When the authentication fails, I want to display an error message saying User ID X does not

height and width of html:image?

2002-03-28 Thread @Basebeans.com
Subject: height and width of html:image? From: Scott Danzig [EMAIL PROTECTED] === How do I set the height and width of a graphic using html:image ? - Scott -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Automatic way of transferring to login screen - Ryan Norman

2002-03-28 Thread Mikael Eriksson
Check out this link http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Security4.html#67530 Regards The standard J2EE web security does all the things you want. At 11:03 2002-03-28 -0800, you wrote: Hi, I am running Win 2K advanced server, JDK 1.3, Tomcat 4.0 and struts framework. I would like

RE: Automatic way of transferring to login screen - Ryan Norman

2002-03-28 Thread Tero P Paananen
Check out this link http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Security4.html#67530 Regards The standard J2EE web security does all the things you want. Unless your application needs a customized login process. If that's the case, it's kludge hacking time...

Re: Need example on using roles in struts-tiles

2002-03-28 Thread @Basebeans.com
Subject: Re: Need example on using roles in struts-tiles From: Matt Raible [EMAIL PROTECTED] === http://www.mail-archive.com/struts-user@jakarta.apache.org/msg27034.html In response to this thread, I'm wondering if it's possible to specify multiple roles in the role attribute - similar to how

Error Explanation Needed - Ryan Norman

2002-03-28 Thread Ryan Norman
Hi, Can somebody tell me what this error message mean? Also can you please tell me what I should do to solve this problem. Thanks in advance Ryan Norman javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null at

RE: Automatic way of transferring to login screen - Ryan Norman

2002-03-28 Thread HERSHKOWITZ,PHIL (A-Sonoma,ex1)
Hi Ryan, Check out the example application struts-example.war which is in the current struts distribution. Each JSP page uses the custom tag app:checkLogon/ to determine if a user is logged in. If not, the user is redirected to a login page. Phil -Original Message- From: Ryan

WebSphere3.5.4 and Struts Example Application

2002-03-28 Thread kelly lan
Hi, I install struts example with WebSphere3.5.4 After done , I can successfully access http://localhost/struts-example/index.jsp¡±. When I click ¡°A Walking Tour of the Example Application¡±,it work successfully. However, I got error messages when I click¡±Register with the MailResder

errors tag

2002-03-28 Thread Juan Alvarado
Does anyone know why in Struts 1.02 when using the html:errors/ tag, any error that gets added to the ActionErrors object is displayed in the following format: null message string null An example would be as follows The html output of my errors tag in Struts 1.02 would yield the following when

  1   2   >