example

2001-09-06 Thread Rajiv R
Hi when i try to run the sample application with struts it throws this error > javax.servlet.ServletException: cant remove Attributes from request scope > the index page appears but on clicking either of the links to register.jsp or logon.jsp an error occurs. could someone throw

RE: logic:iterate & JspException

2001-09-06 Thread Steven Leija
Title: Message Hi Tommy, In your xml configuration, you defined your bean to have the scope of "request", so try adding the scope attribute in the iterate tag.   scope="request">        Regards,   Steven -Original Message-From: TOMMY [mailto:[EMAIL PROTECTED]] Sent: Th

RE: Stability of Struts

2001-09-06 Thread Steven Leija
Hi Angela, I've been developing struts applications on Weblogic 6.0 sp2 and have run into no errors or instabilities. If you are running below weblogic's 6.0, you might run into some configuration problems. But the install documentation is pretty solid. Regards, Steven -Original Messag

Re: html:link + javascript. No solution

2001-09-06 Thread Robert Egan
Hello Jishan, Thank-you for response;but manually escaping the code does not help. I looked into the jsp created servlet for the non struts program.  Outer Border This generates Outer Border I put this code in the struts app and get the same "IllegalArgumentException" I have no idea what this ex

question about pagination

2001-09-06 Thread 岩 孙
hello I have problem .Please help me. I get some records from database. I wants to list this records in several pages. How can I do this ?I use struts to do this. Please give me an example Thank you . Forest _ Do You Yahoo!? µÇ¼Ãâ·ÑÑÅ»¢µ

RE: Error 500--Internal Server Error

2001-09-06 Thread Steven Leija
Hi Chandana, You might want to check the printstacktrace on the Weblogic console. There must be some other information provided to debug the situation. Regards, Steven -Original Message- From: Chandana Perera [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 06, 2001 9:16 PM To:

Q: Named w/o 'type' attribute

2001-09-06 Thread John Yu
If I have a tag looks like this:         and myAction doesn't have a name, Struts (v1.0) is not happy and wants me to put down also the 'type' attribute inside the . I'm wondering why Struts can't use the 'name' attribute as a key to lookup the formBean from the list in the struts-config.xml.

logic:iterate & JspException

2001-09-06 Thread TOMMY
Dear All I've got a question and seeking for answers. does anyone know what's wrong in the following code.       tommySelectForm-     public Collection getUse_list(){        ArrayList aa=new ArrayList()

Error 500--Internal Server Error

2001-09-06 Thread Chandana Perera
Hi Every One I tried to run my first Struts programme on the Weblogic 6, but I am getting the below mentioned error. "Error 500--Internal Server Error From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.5.1 500 Internal Server Error

Re: Stability of Struts

2001-09-06 Thread Matt Raible
In my opinion, this is a very stable infrastructure. It really depends on your application server to whether there are a lot of "workarounds" or not. It seems that Struts is very stable, but some appservers are not correct in their implementation of J2EE, and struts makes those very apparent. T

Stability of Struts

2001-09-06 Thread Angela Saval
Hello, My company is considering using struts in our web application. What has been your overall experience with the infrastructure? Do you find that you have to work around a lot of bugs? Thanks for your input. Angela

Possible to use more than 1 ressource message .properties?

2001-09-06 Thread Jean-Francois Brassard
Hello,   It is possible to use more than one ressource message file.properties?   Thanks in advance   Jeff

error run struts in VAJ4.0 why?

2001-09-06 Thread Julia Yang
When I run struts in Visual Age for Java 4.0 got error ServletInstan X Uncaught init() exception thrown by servlet {0}: {1} "action" javax.servlet.ServletException: javax.xml.parsers.FactoryConfigurationError Any one know why

Re: Hows Struts 1.1 looking?

2001-09-06 Thread Ted Husted
It will be some time yet. We are still looking which new features to add, and haven't even begun to test many of those which have already been proposed. Whatever is already available is distributed as part of the nightly build as soon as it is available. Nothing is held back. Absolutely all the d

RE: struts + pop-up windows

2001-09-06 Thread John Schroeder
Here's one way to do it function popUpWindow() { var url = '<%=request.getContextPath()%>/myAction.do?'; var win = window.open(url,'MyWindow','width=620,height=200'); popwin.focus(); } -Original Message- From: Campesato, Oswald [mailto:[EMAIL PROTECTED]] Sent: Th

RE: Examples anyone?

2001-09-06 Thread Aaron O'Hara
If I take out the useBean for task I get the following error: javax.servlet.ServletException: Cannot find bean task in scope null Any suggestions? Aaron -Original Message- From: Bill Clinton [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 06, 2001 2:53 PM To: [EMAIL PROTECTED] Sub

Re: still having a problem with MessageResources.properties

2001-09-06 Thread Leo Amigood
Hi! I've just started to work with struts and passed all these nightmares to realize how and why. So let's explain step by step. u r getting "javax.servlet.ServletException: Missing message for key index.title" cause u gotta put line like that "index.title=You own description here" in file Appli

struts + pop-up windows

2001-09-06 Thread Campesato, Oswald
Folks: I'd like to use Struts for converting an existing servlet to a JSP page with suitable Struts-based tags. Here's an example of the existing code in an HTML file: xx addDialog = window.open("AddUserDialogForm?CMD=INIT",

Hows Struts 1.1 looking?

2001-09-06 Thread Francisco Hernandez
Im wondering how Struts 1.1 is looking as far as any estimates on release dates and such.

Run Struts in Entry Editon Visual Age for Java 4.0?

2001-09-06 Thread Julia Yang
Does anyone know how to run Run Struts in Entry Editon Visual Age for Java 4.0? Any articles, tricks ? I followed the instruction of Apache Struts and VAJ part 2: Using Struts in VAJ 3.5.3 from IBM Kyle Brown. It gives me exception Any suggestion appreciated Julia

still having a problem with MessageResources.properties

2001-09-06 Thread peter
Hi again I'm having a real nightmare still with creating the most basic of struts applications. I always get the same problem: Error: 500 Location: /struts-blank/index.jsp Internal Servlet Error: javax.servlet.ServletException: Missing message for key index.title at org.apache.jasper.runtime.

Re: Struts Security part of Struts 1.1

2001-09-06 Thread Ted Husted
To make that decision, we need a few people like yourself to implement the code, and bring back their feedback. Any developer who feels strongly about adding existing code can bring it up for a vote on the Dev list. If at leaste three of the Committers agree (vote +1), then those Committers take

RE: "indexed" option does not work with html:checkbox

2001-09-06 Thread Campesato, Oswald
David + Marcelo: thank you both -- I'm now in a position where I must use the struts 'jar' files from several months ago instead of the nightly build (alas!). The problem is fairly straightforward: I'm displaying a dynamic list of checkboxes inside an 'iterate' tag. How do I specify the name

Re: Examples anyone?

2001-09-06 Thread Bill Clinton
Aaron, I believe the code you have should be accurate, but leave out the usebean directive for task (which isn't necessary and I think is interfering with your iteration id because it has the same id): this is assuming: 1) the method in General that returns the Arraylist is getT

Re: html:radio question

2001-09-06 Thread dhay
It will automatically match the value specified and the value set for that property in the underlying form bean. Dave Glenn Kidd <[EMAIL PROTECTED]> on 09/06/2001 05:33:27 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: html:rad

html:radio question

2001-09-06 Thread Glenn Kidd
Can you specify a radio button be selected by default. In straight HTML you add a checked. It does not look like the tags support this, unless I am mistaken. Anyone have any ideas on this? Glenn

Re: bean:define, bean:write

2001-09-06 Thread Erik Hatcher
Matt, My implementation is pretty domain specific though (our image tag requires a parent tag to set up some context), so my actual code is not generalizable, but here's the essence of it (cutting and pasting, and trimming down to the essentials): import org.apache.struts.taglib.html.ImgTag; pub

Examples anyone?

2001-09-06 Thread Aaron O'Hara
All, Would somebody be able to point me to an example of iteration with the following environmental "restrictions"? I've looked at sample code, but nothing seems to meet 100% what I'm trying to do and I'm still tearing my head out trying get get it to work. I have an application scope bean with

compiling struts 1.0 src - java.lang.NoClassDefFoundError: javax/xml/transform/Source

2001-09-06 Thread Matt Raible
I'm trying to compile the 1.0 version of struts and getting the error below: I have xerces.jar (1.4.0) in my build.properties, file, but it doesn't even seem to be using it for my classpath. Also, the NoClassDefFoundError seems to be in my xalan.jar (2.1.0). My ant version is 1.3 - should I be

Re: bean:define, bean:write

2001-09-06 Thread Matt Raible
Would you mind sharing this? --- Erik Hatcher <[EMAIL PROTECTED]> wrote: > My approach to externalizing image paths was to extend > org.apache.struts.taglib.html.ImgTag and use a custom tag to define image > URL's using the existing pieces ImgTag provides. Overriding src() is used > to look up

Re: bean:define, bean:write

2001-09-06 Thread Erik Hatcher
My approach to externalizing image paths was to extend org.apache.struts.taglib.html.ImgTag and use a custom tag to define image URL's using the existing pieces ImgTag provides. Overriding src() is used to look up the look up the image URL base path from a properties file. I've similarly create

Struts Security part of Struts 1.1

2001-09-06 Thread Matt Raible
I am getting ready to implement Nic Hobb's role-based Actions at http://husted.com/about/struts/struts-security.htm. I'm wondering if this is going to be incorporated into Struts 1.1? I have "plugged-in" the validator framework and feel that my app is still using a solid struts release because t

comparing two beans with logic tags

2001-09-06 Thread "Paradis, André"
Hi, I know i can use to compare a bean's property to a constant, but how do i compare two beans property for equality using tags? Thanks Andre Paradis

Action.saveErrors() overwrites previous errors

2001-09-06 Thread viet nguyen
Here is the code in Action.saveErrors() : if ((errors == null) || errors.empty()) { request.removeAttribute(ERROR_KEY); return; } // Save the error messages we need request.setAttribute(ERROR_KEY, errors); - As a result, it will over

Re: bean:define, bean:write

2001-09-06 Thread Matt Raible
I don't think there's such a thing as is there? I have a similar question - I'd like to use at the top of my page, but it is not used if one already exists... What I'm trying to do is set a path to all my images that lives on the webserver. I'd like to externalize this value into the web.xml

RE: Line of Code Counter?

2001-09-06 Thread Flying Cloud
http://www.dwheeler.com/sloccount/ This is the home page of ``SLOCCount'', a set of tools for counting physical Source Lines of Code (SLOC) -Sandra [EMAIL PROTECTED]

Re: Concurrency and Custom JSP tags

2001-09-06 Thread Erik Hatcher
Good stuff. Thanks Mac for a clearer picture on this. So I'm assuming Geary's book isn't quite accurate on this topic then, no? Erik - Original Message - From: "Mac Ferguson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 06, 2001 6:38 AM Subject: RE: Concu

html:text fields and values

2001-09-06 Thread Glenn Kidd
Hi, We are using the Struts html tag-libraires for a form. We want to prepolate some values for a couple of the fields. How can we go about this. We tried setting the initial values in the value attribute which works unless you go back in which case that value will override any previous entere

Struts vs. JADE (from IBM) - feature and usability comparison - need help!

2001-09-06 Thread Esterkin, Alex
Hello, There has emerged a new proprietary MVC framework called JADE and developed and promoted by IBM Consulting National Practice people. I sense it is inferior in comparison to Struts, but I don't have enough information about JADE, and IBM is liked very much at my firm. I need to quickly p

Re: Adding struts indexed tag capability to the select tag

2001-09-06 Thread Scott Ryan
Sorry I guess I phrased my question incorrectly. Here is a more complete description of what I am seeing. I believe the support I actually need is in the Options tag itself. I have a list of options that are presented for each row. When I select an option it comes through on the correct elemen

Re: bean:define, bean:write

2001-09-06 Thread Keith Bacon
My guess is that jsp:define creates it if not there but struts bean:define doesn't. --- David Corbin <[EMAIL PROTECTED]> wrote: > I thought that bean:define takes care of that > - Original Message - > From: "Keith Bacon" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday,

Re: Array in nested bean form class issue?

2001-09-06 Thread dhay
how about added a public Entry getEntry(index i) which returns a specific entry from your array? Dave "Gao, Gang" <[EMAIL PROTECTED]> on 09/06/2001 12:58:04 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Array in nested bean f

using the multiple attribute of the bean:parameter tag

2001-09-06 Thread Andre Beskrowni
whenever i include a value for the multiple attribute of the bean:parameter tag, i get a jsp compilation error. if remove the multiple attribute, everything works fine (except that i don't get my array of parameter values). the error i'm getting is the same one that someone else mentioned way b

RE: Bug with FileUpload

2001-09-06 Thread Tom Tibbetts
I believe I'm using 1.0 of Struts. This is the last "official" version, I hope. At 09:45 AM 9/6/01 -0700, you wrote: >Tom, > >There was/is a bug that would cause this to happen. I could >have sworn it was fixed before, but I'm a little confused as to >it's current state, and haven't had time

Error reading tag-library: PLEASE HELP

2001-09-06 Thread Shelly Dhiman
Hi i'm getting the following error. Using tomcat3.2 Error: 500 Location: /dynamic/home/testJobs.jsp Internal Servlet Error: org.apache.jasper.compiler.CompileException: /usr/local/cmc/fe/content/en_US/dynamic/home/testJobs.jsp(0,0) Unable to open taglibrary /WEB-INF/struts-template.tld : Err

Re: Line of Code Counter?

2001-09-06 Thread John Raley
Off-topic, but I just learned some awk... >awk '/;[:blank:]*/ { count++ } /(if|for|while|switch).*\(/ { count++ } END { print count; }' `find . -name \*.java` This should get reasonably close. awk exists for Windows but I don't know what the equivalent of find is. Probably faster to install

RE: Line of Code Counter?

2001-09-06 Thread Nick Chalko
try grep -c ";" *.java -Original Message- From: Lou Farho [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 06, 2001 8:11 AM To: Struts user Subject: Line of Code Counter? Can anyone point me to a good utility for performing line of code counter for Java and C++? The counter needs to

Array in nested bean form class issue?

2001-09-06 Thread Gao, Gang
Title: Array in nested bean form class issue? Hi, I'm trying to use nested class array in my project. The jsp page is like : and in the Form bean class, I define the class: import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionError; import org.apache.struts.a

iPlanet Application Server 6.0, SP3 and Struts 1.0

2001-09-06 Thread Matt Raible
To all, I've created a How To document and modified application zip file for running the struts-example application on iPlanet Application Server 6.0, SP3. The good news is that this "ported" struts-example also works on Tomcat 3.2 and WebLogic 6.0 SP1! Please read if you're interested at http:

RE: FormFile.destroy() vs DiskFile.destroy() -- bug?

2001-09-06 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
Min, Since FormFile is an interface, you're calling on DiskFile.destroy() regardless. However, DiskFile.destroy() calls on java.io.File.delete(). I've encountered problems in the past with java.io.File.delete() where the file doesn't get deleted. I'll file a bug report on this and get to it when

RE: Bug with FileUpload

2001-09-06 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
Tom, There was/is a bug that would cause this to happen. I could have sworn it was fixed before, but I'm a little confused as to it's current state, and haven't had time to look at it. You're using 1.0, right? Also, you have to explicitly get rid of the temp file. One way to do this is to cal

Re: bean:define, bean:write

2001-09-06 Thread David Corbin
I thought that bean:define takes care of that - Original Message - From: "Keith Bacon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 06, 2001 11:18 AM Subject: Re: bean:define, bean:write > Is it because you haven't done a > > request.putAttribute("pageTitle",

Iteration-Issue???

2001-09-06 Thread chiji nwankwo
Hi, Could anyone involved in the following thread please point me in the right direction.  I am having the exact same problem as the user who sent this message: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14300.html   If you were involved in the above mentioned thread, please po

Re: Mainatinig Select list state

2001-09-06 Thread Doug Smith
I have done this. The reason the contents of the boxes aren't saved when you come back is that all of the aren't sent to the server, only the selected one is. I use one field for every element of each select box. When the form loads, I populate the boxes with JavaScript by reading the hidd

Re: newbie question - confused

2001-09-06 Thread Erik Hatcher
Look at the generated HTML of logon.jsp you'll see that it submits to logon.do. looks up the action mapping to determine which form bean to use and generates the tag with the appropriate action .do extension automatically. Erik - Original Message - From: "Jose Correia" <[EMAI

Newbie to struts and weblogic 6.1

2001-09-06 Thread Hai Hoang
I am using weblogic 6.1 with struts. >From the logon page i've a link to a registration form if the user has not already registered. The problem is that weblogic serves me the old page, which is not nearly resemble my registration form. I've make some changes to the form and restarted the se

Re: Adding struts indexed tag capability to the select tag

2001-09-06 Thread dhay
Scott, Indexed capability is already available for the select tag (though, like the other tags, you need to use a nightly build). cheers, Dave "Scott Ryan" <[EMAIL PROTECTED]> on 09/05/2001 06:46:20 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/L

struts or tomcat 3.2.1 bug?

2001-09-06 Thread juraj Lenharcik
does anyone knows about a bug in tomcat 3.2.1 with struts? i mean there was a message few weeks ago, but i cant find it again. can someone give me a tip? the problem is, that i have an application under resin 2.0.2 running and when i put it on tomcat 3.2.1 it doesnt run. i get an exception: javax

RE: Dynamic Form Beans?

2001-09-06 Thread Tuscano, Stephen
Hi John, Are you able to slove this problem?if so, Can you help me out? Stephen. > -Original Message- > From: John Townsend [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, August 29, 2001 8:19 PM > To: [EMAIL PROTECTED]; 'Luis Olivares' > Subject: RE: Dynamic Form Beans? > > The

Re: re-Logon after session timeout

2001-09-06 Thread Gregor Rayman
"Ralph vd Houdt" <[EMAIL PROTECTED]> wrote: > Hi Gregor, > > This sound OK, Can you point me to documentation on this or give me > additional information? It is quite simple. The "normal" login.jsp looks like this: Username: Password: You would use something like this (for simplicity

Error Handling in Action Classes

2001-09-06 Thread Matthias Gries
Hi all, one question from a new Struts user: Is there any documentation available concerning error handling within action classes? It is mentioned that exceptions from java beans should be catched and logged to the servlet's logfile...but how can I display an error message in a jsp which I get f

Re: bean:define, bean:write

2001-09-06 Thread Keith Bacon
Is it because you haven't done a request.putAttribute("pageTitle", yourObject); in your ActionForm? Keith. --- David Corbin <[EMAIL PROTECTED]> wrote: > Why does this jsp fragment generate an exception > > javax.servlet.jsp.JspException: Cannot find bean pageTitle in scope > request > > --c

Collection in a collection iteration

2001-09-06 Thread Lisa Lui
I'm trying to display data in a report-like manner where there is a list of cases and within each case there is a sub report of details. I want to minimize the number of times I have to hit the database to 2. Once to get all the various case info and a second to get all details. My choices th

Line of Code Counter?

2001-09-06 Thread Lou Farho
Can anyone point me to a good utility for performing line of code counter for Java and C++? The counter needs to count statements. Thanks! Lou

RE: STRUTS and EJB

2001-09-06 Thread Hai Hoang
the samples codes for these patterns can be found at http://www.myhtg.com/product.html --- Barry Glasco <[EMAIL PROTECTED]> wrote: > http://developer.java.sun.com/developer/restricted/patterns/BusinessDelegate > .html > http://developer.java.sun.com/developer/restricted/patterns/ValueObject.htm

problem with application resources

2001-09-06 Thread peter
Hi Ive got a problem with the ApplicationResources.properties file. Everything works fine with the struts-blank file. However, when I make a copy of the struts-blank.war file, place it in the webapps directory and restart tomcat-3.2.3 I get the following 500 error when I try to load a simple .

Re: re-Logon after session timeout

2001-09-06 Thread Ralph vd Houdt
Hi Gregor, This sound OK, Can you point me to documentation on this or give me additional information? Greetings - Original Message - From: "Gregor Rayman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 06, 2001 4:43 PM Subject: Re: re-Logon after session timeout

RE: STRUTS and EJB

2001-09-06 Thread Barry Glasco
http://developer.java.sun.com/developer/restricted/patterns/BusinessDelegate .html http://developer.java.sun.com/developer/restricted/patterns/ValueObject.html http://developer.java.sun.com/developer/restricted/patterns/SessionFacade.ht ml EJB and Struts! -Original Message- From: craigmc

Re: re-Logon after session timeout

2001-09-06 Thread Gregor Rayman
"Ralph vd Houdt" <[EMAIL PROTECTED]> wrote: > Hi Jon, > > This is not just what I want. I want to do a login based on 3 fields > company/user/password and evaluate then to an EJB. The login should put an > object in the session. > > Greetings Ralph You can do this with form based login as well

FormFile.destroy() vs DiskFile.destroy() -- bug?

2001-09-06 Thread Mindaugas Idzelis
Struts, It seems to me that there is a problem in either FormFile or DiskFile. In order for me to get the path information about the file stored on disk, I have to cast FormFile to DiskFile and call getFilePath(). It would be convenient if DiskFile.destroy() would actually get rid of the

Re: re-Logon after session timeout

2001-09-06 Thread Ralph vd Houdt
Hi Jon, This is not just what I want. I want to do a login based on 3 fields company/user/password and evaluate then to an EJB. The login should put an object in the session. Greetings Ralph - Original Message - From: "Jon Brisbin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thurs

Re: re-Logon after session timeout

2001-09-06 Thread Jon Brisbin
this sounds like you're wanting to use Tomcat's role-based authentication...if you look in the example webapp that comes with the tomcat distro, you can find settings in web.xml that set up a secure area...if you edit tomcat's server.xml file and find the "Realm" stuff, you can set up an authentic

newbie question - confused

2001-09-06 Thread Jose Correia
Hi all I'm a bit confused with the Struts example (the one that comes with struts1.0.jar). I'm trying to determine at which point does the .do come in to being. Facts first: 1. index.jsp shows: i.e calls the file logon.jsp 2. logon.jsp defines an action form: 3. struts-config.xml defines a

Re: re-Logon after session timeout

2001-09-06 Thread Ralph vd Houdt
Too bad, I'm using Tomcat 3.2.2 together with JBoss. Keep me in touch with your development it sound good. Greetings Ralph - Original Message - From: "Erik Hatcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 06, 2001 3:29 PM Subject: Re: re-Logon after session

bean:define, bean:write

2001-09-06 Thread David Corbin
Why does this jsp fragment generate an exception javax.servlet.jsp.JspException: Cannot find bean pageTitle in scope request --cut-- <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> . . . --cut-- Thanks David Corbin

Re: Concurrency and Custom JSP tags

2001-09-06 Thread Bill Clinton
Thanks alot Mac, A very good thread. Bill Mac Ferguson wrote: >Actually, release() is only guaranteed to be called before the handler is >GC'ed (JSP1.2 specification p.166), and is intended to release any >heavyweight resources the handler may have acquired. Also from page 165 >(describing

RE: Concurrency and Custom JSP tags

2001-09-06 Thread Mac Ferguson
Actually, release() is only guaranteed to be called before the handler is GC'ed (JSP1.2 specification p.166), and is intended to release any heavyweight resources the handler may have acquired. Also from page 165 (describing the )"[1]this transition is intended to be for releasing long-term data.

More still can't you get these quotes arranged correctly?

2001-09-06 Thread Alex Colic
I appreciate everyone helping me out. I was told that you can't use a bean expression to set the text of a submit button. What about a radio button. Below I am trying to iterate through an object and create a table with a radio button, and the number and name of this object. I want the radio b

The server encountered an unexpected condition which prevented it from fulfilling the request

2001-09-06 Thread Chandana Perera
Hi Ever One I tried to run my first Struts programme on the Weblogic 6, but I am getting the below mentioned error. "Error 500--Internal Server Error From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.5.1 500 Internal Server Error

Re: re-Logon after session timeout

2001-09-06 Thread Erik Hatcher
I'm accomplishing this very thing using Resin's Servlet 2.3 Filter support. The filter determines the user is not logged in, saves the requesting URI in a session attribute, and forwards to the login page. The login action checks for the existence of the session attribute with the saved URI and

html:img error with Tomcat

2001-09-06 Thread Pellerin, Richard
In my JSP, I use the html:img tag: and each time I display my page, I have this trace in the servlet console: 2001-09-06 09:06:25 - Ctx( /struts-demo ): IOException in: R( /struts-demo + /Picture/Titel_Demo.jpg + null) Connection reset by peer: socket write error But the image is di

Tomcat 4.0 error

2001-09-06 Thread Olivier Corbun
Hi strutsolics! My Struts application stored in a WAR file works properly with Tomcat 3.2. But if I want to run it on Tomcat 4.0-b7 or on the J2EE RI that uses Tomcat 4.0-b4 I get the following error: JspException: Missing resources attribute org.apache.struts.action.MESSAGE I have struts.jar

Using the iterate tag - part II

2001-09-06 Thread chiji nwankwo
Hi, Thanks Ted for the advice on using the link tag, your advice has been heeded to. Problem for today:   page #: <%= pages %>    What I would want to happen is for each of the numbers displayed to a link to a particular page number, so that when any of the numbers is clicked

Re: Is this a bug ??

2001-09-06 Thread Jishan Li\(CN\)
if rtexprvalue is true(true), the tag can get run time expression. It means the server parse the expression before the tag. I tried these two: "/> "/> both work. somebody talked about the empty string ("") for logic tag before - Original Message - From: "Arnaud H

Performance Issues

2001-09-06 Thread CC CCC
Dear all I have couple questions which related with Struts i got from the Web. and need someone to help me out ** For the 1st question. i'm just wondering which statement's ("1" or "2") performance will be better when it fetchs the result to the JSP? and what's different if

RE: Is this a bug ??

2001-09-06 Thread Arnaud Héritier
You should write it like this : "/> and "/> All quotes used in a scriplet in a taglib parameter should be prefix by an \ As you wrote it the parser saw the parameters value with a value of "<%=" in the first tag and "<%=request.getParameter(" in the second one. arno > -Message d'ori

Mainatinig Select list state

2001-09-06 Thread Vinay Cerejo
HI, I have two select lists, one filled with data and the other empty Lets call the filled list as AllElements and the empty list as UserElements AllElements UserElements -- --- | element1| | | | ele

Is this a bug ??

2001-09-06 Thread Antonio Weber
Hi !! I had the problem that the tags wasn't translated in the html code something like this 2001-01-01 2009-12-12 I added the taglib import. I works, but only in some cases. In some cases not, something like this "/> it wouldn't work but when I changed it to it works ! At the end is another

Where to manage user logon status in Struts with EJB

2001-09-06 Thread Jaco van Staden
Title: Where to manage user logon status in Struts with EJB Which is the best place to manage user logon status if I use struts with an EJB tier? I assume the EJB session, since it must be able to work with Swing clients as well. -- Jaco van Staden Cyber Seal Information Systems Development