Re: POST and session-timeout (Extra Information)

2001-09-10 Thread Ralph vd Houdt
Hi Gregor, Are the post parameters stored if I use basic login? Grtz. ezCompanyeasy internet solutionswww.ezcompany.nl Stationsstraat 39 5038 EC Tilburg T 013 5453408 F 013 5453409 - Original Message - From: Gregor Rayman [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Form Beans quick questions

2001-09-10 Thread Shea Kelly
Is is possible within the Struts framework to have multiple Form beans definedfor anaction-mapping. This would be handy when trying to divide up larger imput forms into reusable Form components. Any comments would be appreciated. regards Shea Kelly Consultant Software EngineerObject

Re: Form Beans quick questions

2001-09-10 Thread Robert Parker
Oops, fogot to say, that the large form bean can use the 'facade' pattern and essentially dispatch through to contained smaller/reuseable components... Rob - Original Message - From: Robert Parker To: [EMAIL PROTECTED] Sent: Monday, September 10, 2001 4:52 PM

Re: struts with wl5.1(service pack10)

2001-09-10 Thread Aby Kuriakose
actually what was happening was that in weblogic 5.1(sp8 or 10) they have a JRE which comes along with weblogic and hence cant compile .java files which are created by the struts application like _index.java and _display.java...hence the path for java home in startweblogic.bat has to be changed

Re: role-based Actions and page not found error

2001-09-10 Thread Nic Hobbs
Matt, Glad you managed to sort this out. As I said I was somewhat incapacitated on the technology front on Friday! Thanks for taking a look at it and giving your feedback, Regards, Nic On Friday 07 September 2001 4:00 pm, Matt Raible wrote: I got this figured out - the SC_FORBIDDEN works

multipart/form-data problem

2001-09-10 Thread markus.colombo
Hi, we implemented a JSP with a multipart/form-data form. Everything seems to work fine except in the case when our form returns an error on validation. We have a request parameter (GPKUpdate) to tell if we do a update to an existing record or if we add a new record. When our form bean adds an

Checking for an attribute on the request

2001-09-10 Thread JRender
whats the easiest way of checking whether an attribute is present on the request? the equivalent of % if ( request.getAttribute( someFlag) == null ) % thanks.. James

RE: Checking for an attribute on the request

2001-09-10 Thread Eleonora Bider
logic:notPresent name=... scope=... ... /logic:notPresent = if(param == null){...} and logic:present name=... scope=.. /logic:present = if(param != null){...} Eleonora -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Mon, September 10, 2001 12:46

Deciphering exceptions resource

2001-09-10 Thread Angela Saval
Hello, Does anyone know where I can find a information (resource page) on deciphering what an exceptions means and how I should go about debugging? I have looked through the source code at the source of the exception and I am still have a little trouble. This is the first time I have used

Re: Broadvision 6.0 and context-relative path in form mappings

2001-09-10 Thread Rohan Oberoi
One obvious thing I've figured out is that Broadvision is returning the wrong string from request.getContextPath(). Struts (and the Servlet 2.2 spec too, I think) assumes that it can construct the entire path from / using request.getContextPath(). However, Broadvision, at least the way my

Re: newbie question

2001-09-10 Thread Chris Heinemann
This is a check to make sure that struts is there and that the ApplicationResources.properties file is found in the classpath. If you don't have that file there when struts loads then the message will show up. The file is basically a set of error messages, that is why this message is hard

Re: Some questions regarding data validation!

2001-09-10 Thread Ted Husted
Matthias Gries wrote: 1) Is there any reason why the scope for ActionErrors is the request and not the session? If the errors are kept in the session, you could, theoretically, end up exposing messages that related to another request, which would be confusing ;-) As a request object, it is

Re: Broadvision 6.0 and context-relative path in form mappings

2001-09-10 Thread Rohan Oberoi
This issue raises the issue of whether Struts can work properly on Broadvision ( and whether BV6 is servlet 2.2 compliant). Perhaps there should be a BV section on the Struts installation instructions (http://jakarta.apache.org/struts/installation.html) ? What I learned from BV support so far

Nightly build

2001-09-10 Thread Mellino, Mauro
Hi, I've been successfully using Struts 1.0 for development but I just tried the latest nightly build and received the error Exception thrown processing JSP page. javax.servlet.jsp.JspException: Cannot find global ActionForward for name logon at

JBuilder5, Tomcat4(b7), Struts

2001-09-10 Thread David Bolsover
Hi all After much work - and considerable help from this group, I managed to get up and running with JB5, Tomcat3.2.1 and Struts1.0. - I can happily develop within the JB5 environment and be confident that the app will work when deployed on TC3.2.1. But - I would now like to move to TC4.x (b7

file upload mangling files

2001-09-10 Thread Tom Tibbetts
Hi. What's the status on fixing the file upload problem of files getting mangled? I use Struts ver 1.0. Is there a fix available??? Thanks, This is very important to us. Tom Tibbetts

Re: after modify a JSP

2001-09-10 Thread Craig_Reichenbach
What version of Tomcat are you using? I believe stale JSP's aren't recompiled in Tomcat4.0 until beta 7. -Craig Ricco Lee

Re: Problems when using the jsp:include/ tag with Struts

2001-09-10 Thread Cedric Dumoulin
I think that you can't include several *.do in a same page. This is because a *.do do a forward() to forward to the associated jsp page. But, you can't do forward() if you have already committed the response (i.e. writing something in the output). As a solution, you can modify ActionServlet

building struts apps using ant

2001-09-10 Thread peter
Hi there Are there a set of instructions for building struts apps using the Ant build tool. Thanks Peter

RE: Error upgrading to latest struts build

2001-09-10 Thread Larry Maturo
I'm trying to upgrade from struts 1.0 to the latest nightly build. I'm using Forte, and I get the following error in my output: 2001-09-07 11:32:23 - Ctx( ): Error in actioninit(), error happened at 999880230498 wait -113171 : Missing configuration resource for path /WEB-INF/struts-config.xml

Re: building struts apps using ant

2001-09-10 Thread Terence Jacyno
Hi. Usually, there shouldn't be any difference building struts apps from any regular web applications. If you want some examples, though, I would be more than happy to send them to you. peter wrote: Hi there Are there a set of instructions for building struts apps using the Ant build

RE: Line of Code Counter?

2001-09-10 Thread Lou Farho
Thanks to all that have responded. I appreciate the feedback. An old friend sent me the following which included JavaNCSS. JavaNCSSFree provides basic metrics including McCabe metrics RSM $195 provides extended metrics including McCabe metrics, plus code

Re: after modify a JSP

2001-09-10 Thread Ricco Lee
i m using tomcat 4.0 b7 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: after modify a JSP Date: Mon, 10 Sep 2001 10:04:55 -0400 What version of Tomcat are you using? I believe stale JSP's aren't recompiled in Tomcat4.0 until beta 7. -Craig

Does html:errors not work proper?

2001-09-10 Thread Marcel Andres
Hi there Like most of you, I am using the html:errors-tag to show errors on the JSP page. My problem is, that I don't get any message on the JSP page. I do the following check before I return to the form: if (!errors.empty()) { saveErrors(request, errors); return (new

XML-Parsing Problem with Struts

2001-09-10 Thread Michael Frenzel
We have - like others in this Mailing List - some Problem running a Struts Application with Digester under Tomcat 3.2.x. Using the standard-packaged jar-files incluided with Tomcat, we get an Exception that Namespaces are not supported with this SaxParser. After adding xalan.jar and xerces.jar

How to get context object while in Action

2001-09-10 Thread Alex Colic
Hi, how do you get the servlet context object from within a Action class. I notice that the request.getSession.getServletContext is depreciated. I need to get values from the web.xml file. Thanks for the info. Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the

WL5.1(sp8) Web Application 2.2 dtd

2001-09-10 Thread Dinesh K B
I'm getting this error while running my struts application (deployed as a WAR) in Weblogic 5.1(sp 8). [ServletEntityResolver] : Could not resolve entity '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN'. Check your dtd reference. Mon Sep 10 20:22:35 GMT+05:30 2001:E HTTP Error reading

AW: Does html:errors not work proper?

2001-09-10 Thread juraj Lenharcik
hi marcel, did you have registered an error in your actionServlet? you have to put something like : errors.add(test, new ActionError(test.error)); your Application Ressource describes the key: test.error=This is an error in your jsp you can then output the error with: html:errors property=test

Does struts validate input field in JSP type by itself ?

2001-09-10 Thread Julia Yang
Hi, all Do you know if struts validate input fields in JSP by itself, which has matched getter and setter methods in bean,? For example: You have field called companyID in JSP and in you xxxForm bean you have int companyID(); public int getCompanyID(){ return

RE: How to get context object while in Action

2001-09-10 Thread Paradis, André
in your action code: this.getServlet().getServletContext(); (actions are initialized with a reference to the ActionServlet object); Andre Paradis -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: September 10, 2001 11:22 AM To: [EMAIL PROTECTED] Subject: How

RE: Does html:errors not work proper?

2001-09-10 Thread MacKellar, Kimberly
Are all of your errors defined in the ApplicationResources.properties? Kim MacKellar -Original Message- From: Marcel Andres [mailto:[EMAIL PROTECTED]] Sent: Monday, September 10, 2001 10:06 AM To: struts-user Subject: Does html:errors not work proper? Hi there Like most of you, I am

AW: Does struts validate input field in JSP type by itself ?

2001-09-10 Thread juraj Lenharcik
hi julia, you get, as far as I know, only strings for settings. you can validate the string in your ActionForm within the validate method. you have to look if the string can be transfered to a integer; when no you can add an error and redirect back to the jsp. public void

RE: Does html:errors not work proper?

2001-09-10 Thread Paradis, André
One possibility is that there's a redirection occuring somewhere. Since error bean is stored in request scope, it would be lost after a redirection (a new request). Andre Paradis -Original Message- From: MacKellar, Kimberly [mailto:[EMAIL PROTECTED]] Sent: September 10, 2001 11:33 AM

RE: Does html:errors not work proper?

2001-09-10 Thread Marcel Andres
hi juraj thanks for your responde. yes, in my action I have the following code: ActionErrors errors = new ActionErrors(); ... errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(error_name)); Is it not right, like this? Marcel -Original Message- From: [EMAIL PROTECTED]

RE: Does html:errors not work proper?

2001-09-10 Thread Keith Bacon
Marcel, I suppose you carefully checked the case spelling of the keys in your action class with the values in ApplicationResources.properties? One mistake I made in ApplicationResources.properties was like in the next line. (There is no equals sign in it).

AW: Does html:errors not work proper?

2001-09-10 Thread juraj Lenharcik
dont know, never used -Ursprüngliche Nachricht- Von: Marcel Andres [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. September 2001 17:44 An: struts-user Betreff: RE: Does html:errors not work proper? hi juraj thanks for your responde. yes, in my action I have the following code:

RE: Does html:errors not work proper?

2001-09-10 Thread Marcel Andres
Hi Kim Andre Yes, the errors (in my case just one error) are defined in the ApplicationResources.properties. But what do you mean Andre, with redirection? I think that after the command return (new ActionForward(mapping.getInput()));, I return control to the struts ActionServlet, and so,

RE: file upload problems

2001-09-10 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
Rightfully Disgruntled File Upload Users, I'll set aside some time next week to address all the file upload issues, I apologize for the long delay. In the interim, please use bug reports (http://nagoya.apache.org/bugzilla/) to report all file upload issues that you come across. Check to see if

Re: Some questions regarding data validation!

2001-09-10 Thread dhay
Regarding 2), displaying errors in the original frame rather than the destination, I wish you luck - I haven't been able to work out how to do it! Does anyone familiar with templates know whether this problem can be overcome by using them? Cheers, Dave Matthias Gries [EMAIL PROTECTED]

Antigen found =*.vcf file

2001-09-10 Thread ANTIGEN_MG01
Antigen for Exchange found Matthias.Gries.vcf matching =*.vcf file filter. The file is currently Deleted. The message, Re: Some questions regarding data validation!, was sent from [EMAIL PROTECTED] and was discovered in IMC Queues\Inbound located at IBC/PA1/MG01.

RE: file upload problems

2001-09-10 Thread Ricky Frank
Can you also provide an example of the tag for limiting the size of the file uploaded? Or is this not supported? I've dug through some of the underlying code and it looks like it is but I don't see anything in the tag definition on how to invoke this limitation. Thanks. Ricky Frank At

RE: Does struts validate input field in JSP type by itself ?

2001-09-10 Thread Fang, Frank
Title: RE: Does struts validate input field in JSP type by itself ? you can validate the input field by implementing a validate method in form bea. actionservlet will do it for you Frank -Original Message- From: Julia Yang [mailto:[EMAIL PROTECTED]] Sent: Monday, September 10, 2001

javascript in html:button

2001-09-10 Thread Fang, Frank
Title: javascript in html:button I am using struts 1.0, I am trying to use javascript to pick user privilege from a available privilege list to selected list like following : html:button property=addrole value= > html:button property=del value= > but it doesn't work, I remember on

RE: file upload problems

2001-09-10 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
Ricky, The maximum upload size is represented as an init-param for ActionServlet: To set it as an init-param in web.xml: servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-namemaxFileSize/param-name

RE: Does html:errors not work proper?

2001-09-10 Thread Paradis, André
You return an instance of ActionForward at the end of the perform method. In the configuration file, an action can go to a certain location by doing the equivalent of jsp:forward .../ or by doing a redirection (setting the Location header). But i think the default is using the forward

How to iterate without trouble

2001-09-10 Thread juraj Lenharcik
Cause of the lots of Questions about the ITERATE Tag, here is a simple example how to iterate over a Hastable (using the Interface java.util.Map.Entry): Juraj Michael from Germany Struts Oldbiez (over 1.5 month of experience) ;-) Action: Hashtable values = new

Example to use javascript to validate field input in JSP not null and be integer ?

2001-09-10 Thread Julia Yang
All Does anybody can give me a small Example or explanation on how to use javascript to validate field input in JSP not null and be integer ? Thanks Julia

AW: Example to use javascript to validate field input in JSP not null and be integer ?

2001-09-10 Thread juraj Lenharcik
why not server side? with ActionForm and validate? jsp: = form:form action=chart.do method=get tr td colspan=2font color=redhtml:errors property=datumFrom //font/td /tr tr tdDatum von: /td tdform:text property=from size=15//td tr ... the form bean: = public ActionErrors

Re: Problems when using the jsp:include/ tag with Struts

2001-09-10 Thread Yutaka Yokokawa
Greatful for your useful info, Cedric. I believe including is a very common issue, and it's great to know that there is a taglib that can support struts. Thanks again. Cedric Dumoulin wrote: I think that you can't include several *.do in a same page. This is because a *.do do a forward()

Redirect not working

2001-09-10 Thread Steven Leija
Hey All, I'm using the logic tag along with the Jakarta session tag and running into a problem. Inside my logic tag, I'm simply redirecting using the following code: session:isNew logic:redirect forward=SessionTimeout/ /session:isNew So I'm mapping my forward to my global forward in my

fasthashmap for validator

2001-09-10 Thread juraj Lenharcik
hi, can some one tell me where to download the struts.util.fasthasmap? i need it for the struts validator; thanks juraj

RE: AW: Struts vs. JADE (from IBM) - feature and usability comparison - n...

2001-09-10 Thread Esterkin, Alex
Thanks, Ted. Best regards, Alex Esterkin = -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 08, 2001 9:44 AM To: [EMAIL PROTECTED] Subject: Re: AW: Struts

RE: Help Error run Struts in VAJ 4 cant remove Attributes from requestscope remain

2001-09-10 Thread Mark DiNic
I can not get this to work in WAS 4.0 with these changes. Does anyone know if there is more to be done in the server to eliminate this error. Thank You, Dave --- Julia Yang [EMAIL PROTECTED] wrote: Thank you Eric. It is working now Julia -Original Message- From: [EMAIL

Struts 1.0 labelling of checkbox not working

2001-09-10 Thread Campesato, Oswald
Folks: AFAIK, I emulated the code correctly from the following archive: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg08160.html I'm struggling with this pesky checkbox problem. Here's the code: xx %

Re: Struts 1.0 labelling of checkbox not working

2001-09-10 Thread dhay
Oswald, What do you have in your form bean? As well as a getter/setter for the collection, you will need a getter to retrieve an individual member of the collection - ie a public repositoryConfig getRepositoryConfig(int index) { return (repositoryConfig)

Re: Escaping parameter value in URL

2001-09-10 Thread Mike Bridge
Hi- I just encountered a similar problem. My parameter value has a space in it: Test param. It looks like it's not getting encoded. html:link page=/newmailout.do?action=new paramId=listname paramName=newmailoutForm paramProperty=listnamebean:message

XML include hack to split struts-config.xml

2001-09-10 Thread Renaud Waldura
I found out about the XML include hack that can be used to split the struts-config.xml in more manageable portions: http://jakarta.apache.org:8080/jyve-faq/Turbine/screen/DisplayQuestionAnswer /action/SetAll/project_id/2/faq_id/16/topic_id/196/question_id/752 It's been mentioned many times

RE: XML include hack to split struts-config.xml

2001-09-10 Thread Daniel Toms
I've never gotten it to work either, but I would love to hear a solution myself. I know what is suppossed to happen, but I haven't seen anyone concretely give their example of doing it. dan -Original Message- From: Renaud Waldura [mailto:[EMAIL PROTECTED]] Sent: Monday, September

Unit Testing Actions

2001-09-10 Thread Molitor, Stephen
What's the best way to unit test Struts Actions? Create mock objects (request, session, servlet, etc.)? J2EEUnit, Catctus, HTTP Unit? Which approach are people having the most success with? Also, Craig M. mentioned a while back about a unit testing framework for Struts itself. How is that

Merging benefits of Global vs Local forwards

2001-09-10 Thread Wong, Albert
Title: Merging benefits of Global vs Local forwards Global forwards are useful if more than one action mapping needs access to the same forward object. But, if you use a Global forward then you lose the self documenting nature of an action mapping eg. action path=/editRegistration

Re: Problems when using the jsp:include/ tag with Struts

2001-09-10 Thread Jishan Li
Why don't you try to use struts-template? It would meet your needs. I am sure. Reguards! - Original Message - From: Yutaka Yokokawa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 10, 2001 9:30 PM Subject: Problems when using the jsp:include/ tag with Struts

specifying multiple=true in html:select

2001-09-10 Thread Campesato, Oswald
Specifying multiple=true in this tag generates multiple=multiple in the HTML code. Checking my HTML book shows multiple selects in a select box with just the word MULTIPLE. Is this the correct behavior? Cordially, Oswald

Re: specifying multiple=true in html:select

2001-09-10 Thread Erik Hatcher
Yes, it is correct. Its irrelevant what the value of the MULTIPLE attribute is, and its not well-formed XML to have an attribute without a value. This is addressed in XHTML in Section 4.5 here: http://www.w3.org/TR/xhtml1/#diffs Erik - Original Message - From: Campesato, Oswald