RE: Retrieving Parameters from ServletContext

2002-04-15 Thread Alex Paransky
Have you tried: bean:write name=numberOfArticles scope=application / -AP_ http://www.alexparansky.com Java/J2EE Architect/Consultant http://www.myprofiles.com/member/view.do?profileId=127 -Original Message- From: Juan Alvarado [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002

Check All checkboxes

2002-04-15 Thread days
Dear All In my jsp page, I have a checkbox named Select All that will automatically select all the checkboxes that are loaded dynamically according to the number of records I have in the database. And I'm trying to do this using javascript like the following: function CheckAll(){ var len;

RE: nested tags question

2002-04-15 Thread Alex Paransky
You should be able to do that. In-fact, that's one of the ways to re-use common page presentations. If you do your job write, then your main page is composed of a bunch of includes to render different parts of the result "tree". Be-careful, however, the last time I checked the nested tags only

RE: dynamic form using nested:file?

2002-04-15 Thread Alex Paransky
Your first statement, ...I have a form that can have N number of images... Does not warrant the use of nested tag library. Simply use the standard iterator, and indexed properties of the html:file tag, to properly output your file names as file[1], file[2], file[3]. -AP_

Re: nested tags question

2002-04-15 Thread Arron Bates
The nested tags as of probably a month and a half ago, the nested tags penetrate dynamic includes. I tried to mail the few (but vocal :) people that were throwing things at me to get it done, you may have been the one that got away. Apologies. Putting up a tutorial on my site tonight to show the

Re: How to take object from the Action to jsp

2002-04-15 Thread rob
.jsp pages have access to the a reference named application from which you can gain access to objects stored in your servlet context. I believe you should use the following method to access context scoped objects within your jsp pages. You can extract the reference to your treemodel with the

Re: tiles and submenu (Struts 1.1 beta 1)

2002-04-15 Thread Cedric Dumoulin
You can write your own ComplexMenuItem as you suggest. Enable it by specifying its class name in the item tag : item value=Administration link=/administration/index.jsp subListName=submenu classtype=de.cas.bmon.beans.ComplexMenuItem Also, you need to

Re: tiles w/struts 1.0 forward - SOLVED...sort of

2002-04-15 Thread Cedric Dumoulin
The problem is now resolved with Struts 1.0 and tilesForStruts1.0.jar. You should be able to use directly action ... forward=aDefinition / in Struts1.0 as well as in Struts1.1. Cedric [EMAIL PROTECTED] wrote: Hi, After searching the archives and receiving helpful suggestions from

RE: Check All checkboxes

2002-04-15 Thread Joe Latty
This should have no effect as the name attribute in the struts html tag relates to the bean to be used the name is derived from the property tag; e.g. This tag; html:checkbox name=Clintons property=Bill value=Hilary / results in this HTML input type=checkbox name=Bill value=Hilary -Original

RE: Struts vs EJB, thoughts?

2002-04-15 Thread Maris Orbidans
for the last 4 months and don't mind it. I see it as a poor mans EJB. Poor man's EJB ? :-) No, EJB deals with very different problems. Also, seems like Struts is more useful for smaller companies and EJB is more suitable for large corporations. Is this pretty much a valid

logic-tags related to beans not derived from ActionForm?

2002-04-15 Thread @Basebeans.com
Subject: logic-tags related to beans not derived from ActionForm? From: Johannes Wolfgang Woger [EMAIL PROTECTED] === Hallo, I need logic:equal/present etc. etc in my application to make them more dynamic depending on the permissions of a user. The information for these tags should not appear

problem with html:link

2002-04-15 Thread Muthukumar Subramanian
Title: Message html:link page="/dotest1/test" html:img src="javascript:void(0);" linkName="assess" width=97 height=32 border="0"/html:link it is giving me the following error. Attribute value should be quoted, stack: org.apache.jasper.compiler.ParseException: an example of same type

Re: problem with html:link

2002-04-15 Thread Peter Pilgrim
width=97 height=32  border=0 /html:link -- Peter Pilgrim ++44 (0)207-545-9923 Swamped under electronic mails Message History From:

RE: problem with html:link

2002-04-15 Thread Joe Latty
html:link page=/dotest1/test onmouseover=assess.src='/myimages/images/ing_3_f2.gif' onmouseout=assess.src='myimages/images/ing_3.gif' html:img src=/myimages/images/aessing_3.gif width=97 height=32 border=0//html:link You needed quotes on the sizes and linkName is not a valid attribute

RE: Which Version of Struts to Use??

2002-04-15 Thread Galbreath, Mark
In the world of software, standard and stable are two very different things and if you don't know enough to articulate the difference between them, you had better find another line of work and not expect people who do know the difference to read your mind. Mark -Original Message- From:

RE: Soap and Struts

2002-04-15 Thread Galbreath, Mark
A sodium hydroxide-based cleaning agent; most social situations. Mark -Original Message- From: Yugandhar_Reddy [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 13, 2002 3:27 AM To: Struts Users Mailing List Subject: RE: Soap and Struts Hi, Cud u please tell me what a SOAP is and where

RE: logic-tags related to beans not derived from ActionForm?

2002-04-15 Thread Maris Orbidans
Yes, of course, it's possible. There is no requirement that class you work with must be derived from ActionForm. A class derived from ActionForm is a bean. Logic tags also can work with cookies, request headers etc. ( see doc. of logic tags ) I'd suggest you to create some JavaBean ( in

Re: logic-tags related to beans not derived from ActionForm?

2002-04-15 Thread Johannes Wolfgang Woger
Thank you Maris, exactly what I needed. I suppose that is the way to overcome the restriction that an Action can have only one ActionForm. Wolfgang - Original Message - From: Maris Orbidans [EMAIL PROTECTED] Newsgroups: Struts Sent: Monday, April 15, 2002 1:29 PM Subject: RE:

Passing JavaScript variable to a Java Scriptlet on a JSP page

2002-04-15 Thread sanjeev_dutt
Hi, I have this piece of code on my JSP: Script language = javascript function fnGetStates() { country = document.searchAcctForm.cboAcctAddrCountry.value; alert(country); document.write('% Hashtable states = new Hashtable(); %');

radio button help

2002-04-15 Thread Muthukumar Subramanian
Title: Message how to make a radio button checked by default in group of radio buttons? html:radio property="affiliation" value="C"/ Cbrhtml:radio property="affiliation" value="P"/ Pbrhtml:radio property="affiliation" value="U"/ Ubr how to make the first one checked? Thanks and Regards

RE: Passing JavaScript variable to a Java Scriptlet on a JSP page

2002-04-15 Thread Oliver Reflé
I don't know exactly why you want to do that ? Why don't you use % Hashtable states = new Hashtable(); states = Combo.getStates(country); % and then you use Country: %=country.toString()% You don't need to use this javascript stuff, cause the disadvantage is that you execute this

Add parameter to a setRedirect

2002-04-15 Thread rizvan . katchera
Hi everybody, I wanna know if is it possible to use setRedirect and add parameter like in request.senRedirect(htpp?...) Thanks Regards -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Add parameter to a setRedirect

2002-04-15 Thread Oliver Refle
Nope -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 2:40 PM To: [EMAIL PROTECTED] Subject: Add parameter to a setRedirect Hi everybody, I wanna know if is it possible to use setRedirect and add parameter like in

Re: Passing JavaScript variable to a Java Scriptlet on a JSP page

2002-04-15 Thread Nicolas De Loof
If I understand what you're tryin to do, you want your Javascript code to write JSP scriptlet (?) Javascript is executed on the client, instead JSP code is executed on the server. So a scriptlet can dynamicaly generate javascript code, but the oposite has no sense. You cannot execute any JSP

RE: Passing JavaScript variable to a Java Scriptlet on a JSP page

2002-04-15 Thread Oliver Reflé
Why don't you try it like this, your Option list could be derived from a collection which is stored as an attribute of the page. Each time you select a value you can call a javascript funtion which filters this collection. Maybe your data is stored like that germany.bavaria.nuremberg

Re: radio button help

2002-04-15 Thread Cory Hubert
I am having the same issue. The docs are no help. On 4/15/02 8:36 AM, Muthukumar Subramanian [EMAIL PROTECTED] wrote: how to make a radio button checked by default in group of radio buttons? html:radio property=affiliation value=C/ Cbr html:radio property=affiliation

RE: Passing JavaScript variable to a Java Scriptlet on a JSP page

2002-04-15 Thread sanjeev_dutt
Hi Oliver, The main issue here is that I don't want to reload the page. Is there some way this could be done without reloading the page ? Thanks Sanjeev -Original Message- From: Oliver Reflé [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 6:26 PM To: Struts Users Mailing List

RE: Passing JavaScript variable to a Java Scriptlet on a JSP page

2002-04-15 Thread Oliver Reflé
Nope not with JSP's. The problem is that the jsp is generated on the server side. So each time you want to change something dynamicly you have to reload the page, so the container can build up the correct static page. So for that problem i have no solution sorry. Oliver -Original

Re: Passing JavaScript variable to a Java Scriptlet on a JSP page

2002-04-15 Thread Nicolas De Loof
You will have to write JavaScript code to repopulate your State-select on onChange event of your country-select. Your could define javascript objects to encapsulate the datas (as a javascript tree), that could be initialized by JSP code from your HashTable. Hi Oliver, The main issue here is

RE: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-15 Thread Juan Alvarado \(Struts List\)
I believe that for the $100 my company spent on the IDE I use, they have gotten their money's worth 10 times over. Tell me this, what happens after you add your famous println with your famous xemacs editor. You go shut down the app. server restart it and then you finally get to debug your

RE: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-15 Thread Juan Alvarado \(Struts List\)
To begin with, I don't see the need for an IDE to debug JSPs. My main need of debugging comes on the business side of things. I guess there must be thousands if not hundreds of thousands of code weenies around the world doing their java development. I'm also sure these people are not developing

Re: logic-tags related to beans not derived from ActionForm?

2002-04-15 Thread Johannes Wolfgang Woger
Thanks, missing comercial support is often a argument against open source software , some decition maker think that way. They should have visited this wonderfull newsgroup Wolfgang - Original Message - From: Maris Orbidans [EMAIL PROTECTED] Newsgroups: Struts Sent: Monday, April 15, 2002

RE: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-15 Thread Steve Earl
Hey, lighten up everyone. I'm sure he was only having a laugh (although don't sue me if I'm misrepresenting your views, Mark!). System.out.println(Take chill pill now...); :-) __ Steve Earl -Original Message- From: Juan Alvarado (Struts List)

RE: Struts vs Javascript validation

2002-04-15 Thread Joe Latty
If you are doing Javascript validation client side, which has it's pros, I would still validate at the server. To easy to copy your html and submit the same form minus the Javascript validation. -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Monday, 15 April

RE: radio button help

2002-04-15 Thread days
Try declaring the value of the radio button you wanna checked by default using the following: String affiliation = C Note: This sets the first radio button with the value C to be selected by default. This also applies if you wanna set the value to U or P too. regards :) -- On Mon, 15 Apr

Resource access fails after serialization

2002-04-15 Thread Jürgen Lind
Hi, I encountered a resource access problem when I tried to make our application cluster-safe, i.e. I added serialization markers to all classes of which objects are stored in the session. To test out the proper serialization and de-serialization, I added some code to my mock test-cases that

RE: Struts vs Javascript validation

2002-04-15 Thread Hoang, Hai
People can disable the javascript from there browser and they can bypass your validation. I think, it's a good idea to do it at the server. Even if you're using javascript, you still need to validate at the server level. -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL

Re: Struts-menu/dropdown

2002-04-15 Thread Scott Sayles
On Fri, 2002-04-12 at 13:30, [EMAIL PROTECTED] wrote: Yes, I have the sample working. It just doesn't provide any links underneath each menu item. Actually, when you select an item from the Yes, I should probably define more links in the example. dropdown menu, it pops up a new browser

RE: Which Version of Struts to Use??

2002-04-15 Thread Bill Page
I think I understood exactly what he meant. But I've only been in this line of work for a little over thirty years so I too may have something to learn. An answer that addressed when it would be out of beta might have helped more than your answer. An additional sentence about your assumption

RE: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-15 Thread Peter Ondruska
Hi, There are people who are happy with println() and there are people happy with IDE debugger. It is matter of experience and personal preference. my $ .02 :-) Peter PS: Let's stop debugging wars. BTW not everybody can dedicate 256+ MB RAM to Java IDE with debugger... Original

RE: Which Version of Struts to Use??

2002-04-15 Thread Juan Alvarado \(Struts List\)
I agree with you Bill. Some people in this list have no idea what friendliness is and they always have to find a way to make smart ass comments about just about every post that they don't like just to make themselves feel better and boost their egos or lack thereof. But please don't let that

url mappings and J2EE authentication

2002-04-15 Thread Jasen P. Halmes
I am trying to get authentication working in a war file that is running on WebSphere 4.0.2 through a struts based ui. I have a login page that does form based auth and that works just fine. But when I link to a struts controlled url the app loses its user Principal. A call to

Creating beans dynamically from byte code in a byte[] withClassLoader.defineClass - how to do it right?

2002-04-15 Thread Thorbjørn Ravn Andersen (Scandiatransplant)
I have spent some time lately figuring out how I can generate beans on-the-fly with fields completely specified at run-time, since this would be an enourmeous help when working with JDBC and Struts in an informal matter (which is why I ask here :-) I have used Apache Jakarta BCEL to construct

Solution to: Struts vs Javascript validation

2002-04-15 Thread Pello Xabier Altadill Izura Pello Xabier Altadill Izura
I think that two validations are needed, because: -javascript validation avoids server validation efforts, badwidth and network time. -server validation avoids validation bypass by script kiddies and cross-site scripting specialists. bye! _ Pello Xabier

RE: url mappings and J2EE authentication

2002-04-15 Thread Alex Paransky
I am using struts with J2EE authentication. I am using Orion server, however. Here are some of the things which I did. When you setup your J2EE authentication, you typically tell it what path to protect, so for example if you make /member/* a password protected resource make sure that all the

Re: Problems with iPlanet web server 6.0 sp2 and struts 1.1 beta

2002-04-15 Thread ajTreece
I'm sure this is not the politically correct answer, but iPlanet is the preferred web server in my environment so here is what works for me. As for the LogFactory error... I'm not sure how you (Juan) are referencing the logging facilities. I'm using Log4J and it is working as expected. As

RE: Soap and Struts

2002-04-15 Thread Micael Padraig Og mac Grene
You have a wonderful habit, Mark, of not answering peoples' questions that seem simplistic to you, but instead exercising your limpid wit. If your ego must be massaged with inanities shot toward people new to this-and-that, try doing it off line? Thanks. I personally do not like to be

Trees JSP Recursion in Struts 1.1...

2002-04-15 Thread Arron Bates
struts-evangelism The ability to draw trees in a flexible, efficient and ultimately expandible manner is really hard. But Struts, JSP's and the Nested Tags in Struts1.1beta can do it easily and in a very elegant fashion... (or with Struts1.0/1.0.1 with a nested tags distrib younger than a

RE: Which Version of Struts to Use??

2002-04-15 Thread Micael Padraig Og mac Grene
You have no idea how much I really need your sort of help, Mark. What is: a gorrant? At 07:08 AM 4/15/02 -0400, you wrote: In the world of software, standard and stable are two very different things and if you don't know enough to articulate the difference between them, you had better find

Managing bean

2002-04-15 Thread Bhaskar Gopalan
Hi, I'm new to struts and have this question: I have a jsp that talks to a form bean. After successful validation, this formbean is passed to action.perform(). Now I am creating a bean (corresponding to a db row) in the action class using the data from the formbean. Now, where do I store this

Re: Managing bean

2002-04-15 Thread Adolfo Miguelez
- First the response: Have a look that from Jakarta documentation: http://jakarta.apache.org/struts/userGuide/building_controller.html#action_classes The controller servlet creates only one instance of your Action class, and uses it for all requests. Thus, you need to code your Action class

Action without a form.

2002-04-15 Thread Jennings, Christofer J.
I'd like to have an action without an associated form. Any suggestions? Many thanks, boz

RE: Creating beans dynamically from byte code in a byte[] withClassLoader.defineClass - how to do it right?

2002-04-15 Thread Niall Pemberton
This is exactly what DynaBeans were invented for. Using BCEL to generate classes on the fly is impressive, but wouldn't it be simpler to just use the DynaBeans, which I believe are in 1.1? Niall -Original Message- From: Thorbjørn Ravn Andersen (Scandiatransplant) [mailto:[EMAIL

Re: Action without a form.

2002-04-15 Thread Adolfo Miguelez
Use an usual HTML form. Adolfo From: Jennings, Christofer J. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: Action without a form. Date: Mon, 15 Apr 2002 12:05:17 -0700 I'd like to have an action without an

RE: Action without a form.

2002-04-15 Thread Leonardo Maciel
I don't use form here. action path=/jobopp/sortOpportunity type=SortJobOppAction scope=request forward name=success path=/jobopp/listSetup.do / /action -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 3:09 PM To: [EMAIL

RE: Action without a form.

2002-04-15 Thread Ady Das-O'Toole
I guess what you mean by this is that you don't want a form bean associated with your action mapping, but you still want to pass data either through another bean or in the request? Could you clarify? -Original Message- From: Jennings, Christofer J. [mailto:[EMAIL PROTECTED]] Sent:

RE: comparations with OR, AND, NOT... in CustomTags

2002-04-15 Thread Niall Pemberton
JSTL (Standard Tag library - requires Servlet 2.3/JSP 1.2). or I developed custom tags to do this (if/else/elseif/and/or and switch/case/default) which Ted Husted put on his site at: http://husted.com/struts/resources/logic-niallp.htm Also I have a slightly improved version, see:

RE: comparations with OR, AND, NOT... in CustomTags

2002-04-15 Thread Adolfo Miguelez
Exactly what I was looking for, cheers, adolfo From: Niall Pemberton [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: comparations with OR, AND, NOT... in CustomTags Date: Mon, 15 Apr 2002 20:13:56 +0100 JSTL

RE: Managing bean

2002-04-15 Thread Joseph Barefoot
Do you need to store more than one instance of your db-row bean per session? If not, then I would just store the bean in the session like so: request.getSession().setAttribute(MyActionClass.dbRowBeanClassName, dbRowBeanInstance) Of course, you're free to use whatever identifier you like, but I

html:link and mailto?

2002-04-15 Thread Justin Harvey
Newbie question here. If I have a bean called article, how do I form an html:link that is a mailto for the property: article.email ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Passing JavaScript variable to a Java Scriptlet on a JSP page

2002-04-15 Thread James Mitchell
http://javascript.internet.com/forms/auto-drop-down.html Have fun JM -Original Message- From: sanjeev_dutt [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 8:32 AM To: Struts Users Mailing List Subject: Passing JavaScript variable to a Java Scriptlet on a JSP page Hi,

No action instance for path [/path] could be created

2002-04-15 Thread Jason B Menard
This one is driving me crazy. I've already checked the archive but found nothing relevant. I get the following error whenever I run the following action: No action instance for path /addToCart could be created The other actions are found, just not this one. Here's the relevant parts of my

RE: No action instance for path [/path] could be created

2002-04-15 Thread James Mitchell
take out the name= JM -Original Message- From: Jason B Menard [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 4:44 PM To: Struts Users Mailing List Subject: No action instance for path [/path] could be created This one is driving me crazy. I've already checked the

RE: No action instance for path [/path] could be created

2002-04-15 Thread James Mitchell
oops...sorry, wrong action JM -Original Message- From: Jason B Menard [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 4:44 PM To: Struts Users Mailing List Subject: No action instance for path [/path] could be created This one is driving me crazy. I've already checked

(Corrected) No action instance for path [.path] could be created

2002-04-15 Thread Jason B Menard
This one is driving me crazy. I've already checked the archive but found nothing relevant. I get the following error whenever I run the following action: No action instance for path /addToCart could be created The other actions are found, just not this one. Here's the relevant parts of my

RE: (Corrected) No action instance for path [.path] could be created

2002-04-15 Thread James Mitchell
What are you using for servlet container? JM -Original Message- From: Jason B Menard [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 4:52 PM To: Struts Users Mailing List Subject: (Corrected) No action instance for path [.path] could be created This one is driving me

Re: (Corrected) No action instance for path [.path] could be created

2002-04-15 Thread Jason B Menard
I'm using Tomcat-4.0.1. - Original Message - From: James Mitchell [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, April 15, 2002 4:44 PM Subject: RE: (Corrected) No action instance for path [.path] could be created What are you using for servlet

site hosting

2002-04-15 Thread Jefferson Rodrigues de Oliveira e Silva
Hi guys, A friend of mine and I are developing a new application using struts, but not for any company, just for ourselves. We are looking for some site hosting service, free ones. Does anybody here know about that ? Is there anyone here that has already done that ? Thanks a lot Jefferson --

Re: site hosting

2002-04-15 Thread Jay sissom
If you search the archives of this list, you'll find lots of potential places. Jay On Mon, 15 Apr 2002, Jefferson Rodrigues de Oliveira e Silva wrote: Hi guys, A friend of mine and I are developing a new application using struts, but not for any company, just for ourselves. We are

RE: Action without a form.

2002-04-15 Thread Leonardo Maciel
Yes, it is null. -Original Message- From: Jennings, Christofer J. [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 4:14 PM To: 'Struts Users Mailing List' Subject: RE: Action without a form. Does this result in null being passed for the ActionForm parameter of perform? ,boz

RE: site hosting

2002-04-15 Thread Dan Cancro
Here are all the hosts I've heard about, mostly from the newsgroups: GeoCities AO Industries good java support,Tomcat 3.2.1 Great customer service Avasta Similar to Loudcloud, but also services non-web based enterprise applications. CWIHosting $30/mo, 30 GB of

RE: site hosting

2002-04-15 Thread Joe Latty
http://www.netregistry.com.au/hosting/hosting.html#themarketer http://www.estation.com.au/java.jsp These are just a couple of Aussie sites hosting JSP/Servlets, remembering that 53 cents US buys $1 Aussie. So it's close to a half price sale. -Original Message- From: Dan Cancro

Resin JSPException with Template Taglib

2002-04-15 Thread Robert Parker
Members Equity Email System I'm trying to get Struts 1.02 working with Resin 2.1.0. I have an app which works fine under Tomcat, but throws a JSPException under Resin. The stacktrace shows the error occurs in the doEndTag method. Is this a known problem? Are there any work arounds? Thanks Rob

Re: No action instance for path [/path] could be created

2002-04-15 Thread Chuck Cavaness
Look at the processActionCreate() method in the RequestProcessor. This is where the problem surfaces. Here's a fragment: try { instance = (Action)RequestUtils.applicationInstance(className); instance.setServlet(this.servlet); actions.put(className, instance); } catch

Re: full path name on file upload+MultipartIterator question

2002-04-15 Thread andexor
#1 is true, but I don't think it has much to do with security. Probably more like the path on the server may not be the same as the path on the client and the OS might be different, too. You can get around this silly limitation if necessary. Just add a hidden field to your HTML and add some

Custom tag class/package naming conventions

2002-04-15 Thread @Basebeans.com
Subject: Custom tag class/package naming conventions From: Bill Wohler [EMAIL PROTECTED] === Looking at struts.jar, it appears that the class and package naming conventions for custom tag libraries are as follows: Package containing business logic:com.business.logic Class containing

forwarding to another resource

2002-04-15 Thread Sampige, Srinivas
Hi I have a common base class called EtrackAction that checks for a valid session. All action classes subclass this base class. What I want to do is - if a valid session does not exist (which may occur due to sesison timeout) I want to forward the request to another site which is actually a web

RE: struts security

2002-04-15 Thread Phase Web and Multimedia
Greetings, I am nearing the completion of the code and it should be on sourceforge in the next day or two. I will be following it up with documentation and examples over the next week. FYI - I am finishing up an overhaul on the code so that it fits into the container managed security and yet

(Urgent) Please help - validating checkboxes

2002-04-15 Thread days
Hi I've got a Select All checkbox in my jsp that dynamically checks all the checkboxes upon clicking on it. However I've got major problem trying to retrieve the value for my checkboxes. Not only do I get a Syntax error alert box, the checkboxes also doesn't get checked when I click on the

(Urgent) Please Help - Validating checkboxes

2002-04-15 Thread days
Hi I've got a Select All checkbox in my jsp that dynamically checks all the checkboxes upon clicking on it. However I've got major problem trying to retrieve the value for my checkboxes. Not only do I get a Syntax error alert box, the checkboxes also doesn't get checked when I click on the

RE: (Urgent) Please help - validating checkboxes

2002-04-15 Thread Joe Latty
This Javascript works in IE and NN 6.02 function CheckAll(form){ for (var i=0;iform.elements.length;i++){ var e = form.elements[i]; if ((e.name == 'announcementID') (e.type=='checkbox')) { e.checked = true; } } }//end of function -Original

IBM WebSphere 3.5.4 and Struts 1.1b [Urgent]

2002-04-15 Thread Lee, Dennis
Hi, I can successfully use Struts 1.02 with WAS 3.5.4, but when I try to upgrade to Struts 1.1b, the ActionServer cannot be initialized. I got the error message from the stderr : javax.xml.parsers.ParserConfigurationException: Namespace not supported by SAXParser I used to use jaxp.jar +

(Urgent) Please help - validating checkboxes

2002-04-15 Thread days
Thanks Joe, it works great, but upon unchecking the checkbox, it doesn't uncheck the rest of the checkboxes. Do you have any solutions(anyone out there has any solution to offer too)? regards -- On Tue, 16 Apr 2002 13:32:16 Joe Latty wrote: This Javascript works in IE and NN 6.02 function

RE: (Corrected) No action instance for path [.path] could be created

2002-04-15 Thread Alex Paransky
Your AddToCartAction class does not appear to be a public class. Have you tried making the class public? -AP_ http://www.alexparansky.com Java/J2EE Architect/Consultant http://www.myprofiles.com/member/view.do?profileId=127 -Original Message- From: Jason B Menard [mailto:[EMAIL

RE: (Urgent) Please help - validating checkboxes

2002-04-15 Thread Brett Porter
e.checked = !e.checked to toggle existing, or e.checked = selectAllCB.checked -Original Message- From: days [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 16 April 2002 3:34 PM To: Struts Users Mailing List Subject: (Urgent) Please help - validating checkboxes Thanks Joe, it works great,

RE: (Urgent) Please help - validating checkboxes

2002-04-15 Thread Joe Latty
function CheckAll(form, cBox){ for (var i=0;iform.elements.length;i++){ var e = form.elements[i]; if ((e.name == 'announcementID') (e.type=='checkbox')) { e.checked = cBox.checked; } } }//end of function Here is your checkbox pSelect All: input

RE: comparations with OR, AND, NOT... in CustomTags

2002-04-15 Thread Alex Paransky
Adolfo, The problem with putting or implementing a tag that performs complex AND, ORs, NOT expressions, is that getting the data for those expressions to work on could be tricky. There are just so many places that the data can come from (page, request, session, application, beans, custom api

RE: Managing bean

2002-04-15 Thread Alex Paransky
You have a number of options: 1. If you want to store the data for a while, then put it in to a session. While you should not probably put the entire ResultSet into the session, you might read a single row in a java bean, and store the bean in the session. 2. If it's a single row that you have