RE: file upload problem

2002-09-23 Thread Nicolas Robert
Hello Mark, Before upgrading my struts to beta 2, I was using DiskFile class in my form bean to store the uploaded file. After an upgrade to beta 2, the DiskFile class throws your exception. If you use a DiskFile class to, my solution is to used instead a FormFile class to store uploaded file.

Question on EJB/Session Bean usage from Action class, and some rants...

2002-09-23 Thread Bomb Diggy
1) I plan on using Session beans to hit DB directly using JDBC, and also to work with entity beans. To provide transaction safety, it seems like my Action classes would be able to provide, at most, a simple pass-through of data (maybe a value/transfer object) to a single session bean method.

How can I make my logout page not secure?

2002-09-23 Thread Michael
I'm using J2EE container managed security (in Tomcat). I set up a rule to protect all *.do actions. The problem is my logout.do is protected as well! In my web.xml I have: security-constraint web-resource-collection web-resource-nameAll DO/web-resource-name

Calling a jsp directly within WEB-INF

2002-09-23 Thread Michael Delamere
The scenario is as follows: I have a sub application called service, so obviously I would have a diectory structure like: /webapp /WEB-INF /subapp (in my case service) now in that subapp I have a folder coalled jsp which, surprise, contains my jsp files. The problem I have

RE: Calling a jsp directly within WEB-INF

2002-09-23 Thread Andrew Hill
JSPs ( other resources) under web-inf cannot be reached directly. To get to them you will need to do a forward on the server side (for example from an Action) -Original Message- From: Michael Delamere [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 18:06 To: Struts Users

RE: General Action classes question

2002-09-23 Thread Robert Taylor
Is this bad form? Michael, IMHO you've got the right idea. I leverage DispatchAction and DynaActionValidator form in a similar fashion, except I take it one more step. I group them into areas of functionality that mirror my application. For example, my web application has the following

Re: Calling a jsp directly within WEB-INF

2002-09-23 Thread Michael Delamere
the problem is that I´m integrating the application into a content management system. That means that I cannot work with virtual urls like *.do. The jsps have to be called directly. The other problem is that if I have them in the root directory, it makes calling them from a subapp-config

Question: Clean shutdown of application scope objects

2002-09-23 Thread Tal Rotbart
Hi All, I'm a new Struts user, and I've been trying to figure out how to make sure that my model's clean shutdown is called when the webapp is shutdown when using Struts. With a regular servlet, it's quite easy -- just override destroy() and put the clean-up call there, but in Struts I can't

RE: test.tomcat.41 failing due to LogService class

2002-09-23 Thread Cliff Rowley
Yes, try a Tomcat mailing list for help for starters :) -Original Message- From: Brian Buckley [mailto:[EMAIL PROTECTED]] Sent: 23 September 2002 05:18 To: Struts Users Mailing List Subject: test.tomcat.41 failing due to LogService class Hello, When I run the task test.tomcat.41 from

RE: How can I make my logout page not secure?

2002-09-23 Thread Cliff Rowley
Out of pure interest, why do you want logout unprotected? People who are logged out wont need to log out, will they? -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: 23 September 2002 09:40 To: [EMAIL PROTECTED] Subject: How can I make my logout page not secure? I'm

RE: [CRAP] This guy from the bank raised a question ?

2002-09-23 Thread Galbreath, Mark
Oh sh*t. Not you again. This guy has been kicked off servlet-interest and j2ee-interest several times over the past couple of years for his constant racist jabberings and irrelevant tortuous rhetoric. He will claim he has the support of every software architect in the world but everyone on

RE: How can I make my logout page not secure?

2002-09-23 Thread Andrew Hill
Perhaps his login logout are the same action both forwarding to the login screen, and if already logged in, logging out along the way? -Original Message- From: Cliff Rowley [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 18:54 To: 'Struts Users Mailing List' Subject: RE: How

RE: How can I make my logout page not secure?

2002-09-23 Thread Cliff Rowley
Then surely it'd work properly? If the user is logged in, the logout wont be protected and it can log them out along the way .. If they're not logged in, they'll get thrown a login screen .. Right? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 23 September 2002

RE: Question: Clean shutdown of application scope objects

2002-09-23 Thread Robert Taylor
Look at javax.ServletContextListener. The web app calls these objects when it shutsdown. robert -Original Message- From: Tal Rotbart [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 6:47 AM To: [EMAIL PROTECTED] Subject: Question: Clean shutdown of application scope

RE: [CRAP] This guy from the bank raised a question ?

2002-09-23 Thread Manomohan K Kalathil
Filter mails from [EMAIL PROTECTED]!!! Sigh! My rules list is getting longer. It never ceases to amaze me the endless harangue this guy can produce. I think he once threaten to sue me. Mano -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, September

RE: How can I make my logout page not secure?

2002-09-23 Thread Cliff Rowley
I was just curious as to why someone would want the logout process unprotected that was all - I didn't mean anything by it. Perhaps we should stop speculating and wait for the original poster to pipe up :) -Original Message- From: Cliff Rowley [mailto:[EMAIL PROTECTED]] Sent: 23

RE: How can I make my logout page not secure?

2002-09-23 Thread Andrew Hill
Well, not if its protected ;-) Really I suspect he is meaning to say login rather than logout (would certainly make a lot more sense that way). -Original Message- From: Cliff Rowley [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 19:08 To: 'Struts Users Mailing List' Subject:

RE: Logic tag

2002-09-23 Thread Tejas Bavishi
Thanks for pointing out, you are right Chris I did not include logic tag lib, I should have thought of this before. Now, I tried other ways as suggested by other members of the forum (at least now I get Exception :)) (a) logic:notPresent property='mytaglib:getvalue name=cost /' FREE

RE: How can I make my logout page not secure?

2002-09-23 Thread Andrew Hill
Yes, I think waiting for the original poster to clarify might be the most practical course. (A pity, as I had come up with a very sound reason for unprotectecting logout that involved the RAND corporation, the CIA, a global conspiracy involving Elvis Beer. (Well mostly just beer actually ;-.))

RE: Indemnification copyright

2002-09-23 Thread Galbreath, Mark
There is no liability issue as long as you abide by the license, which merely requires that credit is given to Apache for redistributed software containing ASF code. http://jakarta.apache.org/turbine/common/license.html Mark -Original Message- From: Malcolm Davis [mailto:[EMAIL

[FILTER ON] RE: OK I have a real question

2002-09-23 Thread Galbreath, Mark
-Original Message- From: Zahid Rahman [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 8:20 PM blah, blah, blah, blah, blah -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: documenting jsp tags

2002-09-23 Thread Galbreath, Mark
I don't know of an XML documenting app like JavaDoc, but it would be fairly trivial to write one (it's just a parser that outputs HTML-formatted text based on symbols and keywords). JSP tags are just Java classes that can include the JavaDoc convention for documentation. Mark -Original

RE: documenting jsp tags

2002-09-23 Thread Galbreath, Mark
Which kind of defeats the purpose for documenting JSPs, doesn't it? -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 1:42 AM That is actually kind of neat. It doesn't look for html:link .../ (or other special [and non-special - JSTL])

I have proof ----- info :- Bug in the kernel

2002-09-23 Thread Zahid Rahman
1. Windows users. You may find that you have a bug in the kernel. I use windows 2000 professional. I recently downloaded SP3 (fix pack (approx. 38 MBs). I noticed the kernel was being downloaded aswell. I wrote a java program which can show you if there is a bug in your kernel. 2. I have a

RE: Indemnification copyright

2002-09-23 Thread Andrew Hill
His employer is worried that one of the struts contributers could include some code that someone else has rights to and that as a user of struts his employer would be then be legally liable for such an infringement. In this event the Apache licence would not really be relevant as the dodgy chunk

RE: Question on EJB/Session Bean usage from Action class, and some rants...

2002-09-23 Thread Galbreath, Mark
Not if you are using stateful session beans, but I would use a stateless session bean as a facade and rely on CMP entity beans for xactions. Mark -Original Message- From: Bomb Diggy [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 4:02 AM 1) I plan on using Session beans to

RE: Question: Clean shutdown of application scope objects

2002-09-23 Thread Galbreath, Mark
The main servlet in Struts is ActionServlet. Extend it and override destroy(); Mark -Original Message- From: Tal Rotbart [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 6:47 AM I'm a new Struts user, and I've been trying to figure out how to make sure that my model's clean

RE: How can I make my logout page not secure?

2002-09-23 Thread Galbreath, Mark
Doh! BUSTED! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 7:25 AM I had come up with a very sound reason for unprotectecting logout that involved ... a global conspiracy involving Elvis Beer. Well mostly just beer actually ;-. -- To

RE: Indemnification copyright

2002-09-23 Thread Galbreath, Mark
I think that's a bit of a stretch. I have no doubt in my mind that the guys producing the nightly builds have more professional integrity than to incorporate code of questionable origins or legality into Struts. I mean, how dumb would that be? It's open-source and doing something like that

RE: How can I make my logout page not secure?

2002-09-23 Thread Michael
I have the session serialization turned off and when I restart tomcat, I have to log out and log back in. But to log out, I have to log in first. Out of pure interest, why do you want logout unprotected? People who are logged out wont need to log out, will they? -- To unsubscribe,

RE: How can I make my logout page not secure?

2002-09-23 Thread Michael
The way container managed security works, is if you click logout, you have to login in and then it's too late to change the target (which is the logout page). -Original Message- From: Cliff Rowley [mailto:[EMAIL PROTECTED]] Sent: lundi 23 septembre 2002 13:08 To: 'Struts Users

[STRUTS] Detecting multiple users with the same login

2002-09-23 Thread kiuma
Hi, how can I detect multiple logged users in my system at the same time but from differen ip? I'm using jboss 3 and struts 1.2 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [STRUTS] Detecting multiple users with the same login

2002-09-23 Thread Galbreath, Mark
Store their login names and IPs in a context-scope hashtable upon login and remove them when their session expires. I'm not sure if Tomcat/JBoss has some kind of tracking mechanism that provides concurrent session info, but the documentation should tell you this. Mark -Original

How to share Tiles between webapps ?

2002-09-23 Thread Alexandre Albert
My site is composed of many webapps (many .war files), and I can not figure out how to reuse tiles definitions and layouts in those different webapps. The definitions are relative to the servlet's root context as well as the layouts specified by the definitions. I've seen that one possible way

RE: How can I make my logout page not secure?

2002-09-23 Thread Cliff Rowley
Ok, I'm obviously missing a chunk of knowledge somewhere - but if you're already logged out, why do you want to log in - in order to log out and then log in again? Also, what is the impact of closing your browser and opening a new one? Do you get a new session? Sorry if I'm way out there with

RE: Indemnification copyright

2002-09-23 Thread Andrew Hill
Have to agree with you there. I can't imagine for an instance the struts contributors would ever be adding dodgy code, way I see it, its purely a hypothetical question as far as struts is concerned. You would need to be quite paranoid to let such a worry about struts put you off using it. Indeed

RE: How can I make my logout page not secure?

2002-09-23 Thread Michael
Ok, let's make it really simple for those who skipped their breakfast: A user logs in, uses the site, and then goes to lunch. Two hours later (or 30 minutes if you're in the US) the user returns and sees the website. He clicks on the logout link. He gets a login page. He enters his user id

RE: How can I make my logout page not secure?

2002-09-23 Thread Cliff Rowley
Now that makes perfect sense. -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: 23 September 2002 13:50 To: 'Struts Users Mailing List' Subject: RE: How can I make my logout page not secure? Ok, let's make it really simple for those who skipped their breakfast: A user

RE: How can I make my logout page not secure?

2002-09-23 Thread Cliff Rowley
-Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: 23 September 2002 13:50 To: 'Struts Users Mailing List' Subject: RE: How can I make my logout page not secure? Ok, let's make it really simple for those who skipped their breakfast: Let's try not to be condescending

Re: [STRUTS] Detecting multiple users with the same login

2002-09-23 Thread kiuma
So, if i've understood, I have to create a login runnable servlet(load-oon-startup1/load-oon-startup) with a synchronized HashMap and check it every few times? Galbreath, Mark wrote: Store their login names and IPs in a context-scope hashtable upon login and remove them when their session

RE: [STRUTS] Detecting multiple users with the same login

2002-09-23 Thread Tero P Paananen
Store their login names and IPs in a context-scope hashtable upon login and remove them when their session expires. I'm not sure if Tomcat/JBoss has some kind of tracking mechanism that provides concurrent session info, but the documentation should tell you this. Will this work, if the

RE: How can I make my logout page not secure?

2002-09-23 Thread Michael
Ok, let's make it really simple for those who skipped their breakfast: Let's try not to be condescending in the process though. It was a joke. Are they only allowed on Friday's? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: [STRUTS] Detecting multiple users with the same login

2002-09-23 Thread Manomohan K Kalathil
No. This will not work in a clustered environment. However, what Mark suggested is the simplest approach and should hold good in a normal ( not clustered) webapp. If you want to achieve this is a clustered environment, you will have to maintain a table, possibly in a Database, of user-ids and

RE: How can I make my logout page not secure?

2002-09-23 Thread Galbreath, Mark
Unfortunately, the ...30 minutes for developers in the US... was not. :-( Mark (eats lunch at workstation) -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 9:09 AM To: 'Struts Users Mailing List' Subject: RE: How can I make my logout page not

RE: CURD/CRUD: a better way?

2002-09-23 Thread Sandra Cann
You might want to have a look at the open source Expresso (which uses Struts) and provides this functionality. You can find it at www.jcorporate.com. Cheers Sandra From: Vincent Stoessel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users [EMAIL

Re: Indemnification copyright

2002-09-23 Thread Karim Saloojee
I also agree, the Struts coders would never be adding what amounts to stolen code. However if they did, it makes sense that Apache would be responsible not company XYZ running struts 1.0 Why does your boss think this problem applies to OS projects only? You guys surely have bought other closed

Re: Indemnification copyright

2002-09-23 Thread jsadove
I have run across similar situations. In all cases, you have a manager A) who simply is looking for maximum CYA and doesn't know how to operate in anything but the corporate prescribed fashion B) opposes Open Source C) Both Karim Saloojee [EMAIL PROTECTED] on 09/23/2002 09:57:06 AM Please

My action is not being called -I just get a blank page!

2002-09-23 Thread Ulrika Nordström
Hi! I am trying to access an action but it is not being called. Nothing is happening in the console. In the execute()-metgod I write AccDatabaseAction :: execute but nothing is being printed. The only thing that is happening is that I get a blank page. The URL of the first index page looks

[OT]ScanMail Message: To Sender, sensitive content found and action t aken.

2002-09-23 Thread jsadove
Gee, I wonder if Roadway corp. found CYA sensitive content. -- Forwarded by Joseph Sadove/DKBDS USA/DKB on 09/23/2002 10:29 AM --- System Attendant [EMAIL PROTECTED] on 09/23/2002 10:25:53 AM To: Joseph Sadove/DKBDS USA/DKB@DKB cc:

Struts1.1.b2 and Menu

2002-09-23 Thread Ashish Kulkarni
Hi, I have a javascript which populates a drop down menu, now i want to integrate in struts, So suppose i have a menu item which calls AddUser.jsp, In my previous version , u se to give a total path like http://servername:8080/maps/pages/AddUser.jsp in my menu so i can call it from any level,

Newbie: Problem with validation...

2002-09-23 Thread Jrg Bsner
Hello! First, sorry for my poor english, but I'm a german... I'm using Struts 1.0.2 and my problem is described as the following: -- my inputData.jsp: - %@ page import=org.apache.struts.action.Action% %@ taglib

RE: How can I make my logout page not secure?

2002-09-23 Thread Cliff Rowley
Heh, I forgot to add emoticon to my message - I was also joking :) -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: 23 September 2002 14:09 To: 'Struts Users Mailing List' Subject: RE: How can I make my logout page not secure? Ok, let's make it really simple for

RE: Question: Clean shutdown of application scope objects

2002-09-23 Thread Jason Rosen
Alternatively, implement the PlugIn interface to initiate and destroy your model factories, this way it's more of a Struts optional extension that can re-used. Jason -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 4:49 AM To: 'Struts

Re: My action is not being called -I just get a blank page!

2002-09-23 Thread David Graham
Normally, when you get a blank page there was an exception thrown. Check you server logs for the exception. Dave From: Ulrika Nordström [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: My action is not being called -I just get a blank

Re: My action is not being called -I just get a blank page!

2002-09-23 Thread Eddie Bush
... or your action returned null and Struts thought there was nothing left to do (that's what a null ActionForward indicates). I've seen it then too. David Graham wrote: Normally, when you get a blank page there was an exception thrown. Check you server logs for the exception. Dave

RE: Struts1.1.b2 and Menu

2002-09-23 Thread Gaurav . Goyal
I guess you probably have a general question as to how you should call your JSP/HTML resources from within other JSP/HTML pages. The standard way of doing this in Struts is 1) Request for every resource through the controller servlet 2) To do this you can make every request to end with an

Struts 1.1 beta 2 and sub-applications

2002-09-23 Thread Túlio Tadeu (Matriz - CPD)
(excuse me I don't know English very well) Hello, I am using Struts 1.1 (beta) and I have a problem: 1. I created an application default configured by the file struts-config.xml 2. I created a sub-application subapp1 configured by the file struts-config-subapp1.xml 3. The files JSP of the

Re: Struts 1.1 beta 2 and sub-applications

2002-09-23 Thread Eddie Bush
Hi Túlio Túlio Tadeu (Matriz - CPD) wrote: (excuse me I don't know English very well) Hello, I am using Struts 1.1 (beta) and I have a problem: 1. I created an application default configured by the file struts-config.xml 2. I created a sub-application subapp1 configured by the file

Newbie question about action forms

2002-09-23 Thread Miguel Angel Medina Lopez
Hi all: In the Struts framewok information from the form to the action class is transfer through an ActionForm, but when I want to transfer information from the Action to a new HTML (JSP) page, for example a list of products, What is better? Use an action form or directly storing the list in the

Declarative Exceptions: Message resource args in exception key..

2002-09-23 Thread Jeff_Mychasiw
I use these in many of my action declarations. exception key=error.contact path=/error/PageLoadError.jsp type=com.nlg.ar.common.exception.CustomerException/ Is there a way to insert an argument like we do in ActionMessage(my.key,arg1) I have searched and

RE: Newbie question about action forms

2002-09-23 Thread Chappell, Simon P
The Struts way is to transfer data between pages and actions using an ActionForm object. This holds true for either direction. It is standard practice to transfer this data in an Action Form. Please refrain from putting data into the session as a transfer mechanism. Struts will automagically

logging in struts

2002-09-23 Thread Mark Silva
hey there, i was wondering what people ar eusing for logging in struts. it seems that with jdk1.4, and the included logging, that would be the right framework. has anybody had readon to use something else, like the jakarta package, or log4j? also i had a question about the configuration

Re: logging in struts

2002-09-23 Thread Eddie Bush
The commons-logging package is an ultra-lightweight interface to ... whichever logging package is available: - jdk1.4? use that unless otherwise stated - log4j? use that unless otherwise stated - something else? use that unless otherwise stated (see site for the ones it will look

RE: Newbie question about action forms

2002-09-23 Thread Taylor, Jason
Simon-- do you think you should use ActionForms to transfer objects that are shared between actions and never changed on the front end? I can see arguments either way, what's your opinion? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23,

Extending Action and DispatchAction

2002-09-23 Thread Darren Hill
Hi All, If I've got common code that happens in ALL actions and I extend BOTH Action and DispatchAction .. how can I include the common methods for both actions, rather the copying that code in each? Darren. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: logging in struts

2002-09-23 Thread Galbreath, Mark
We wrote our own BS (before struts) custom logger. I'll send you a copy of the .java file, if you are interested. Mark -Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 1:08 PM To: Struts Users Mailing List Subject: logging in struts hey

RE: Extending Action and DispatchAction

2002-09-23 Thread Galbreath, Mark
How are you extending 2 classes at the same time in the same Action class? Can you describe your class hierarchy a little more clearly? Mark -Original Message- From: Darren Hill [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 1:52 PM If I've got common code that happens in

Redirected to index.jsp unexpectedly

2002-09-23 Thread Geoff Seel
I am trying to evaluate Struts for a client and have tried to build an example from the basic struts-blank.war.I am clearly making a stupid error but cannot find anything similar in the mailing archives so would appreciate help for a newbie. My first jsp (TopLevel.jsp) contains the following:

RE: Extending Action and DispatchAction

2002-09-23 Thread Darren Hill
Well, I have a bunch of common functions ( ie. accessing stateless session bean, which accesses EJB's ). I've put this functionality in a BaseAction, which extends Action. I have now got a use for a DispatchAction. I can extend this to make a BaseDispatchAction and 'copy' that code so that all

RE: Extending Action and DispatchAction

2002-09-23 Thread Sri Sankaran
I think what he means is: public class Foo extends Action { private void doCommonStuff() { } } public class Bar extends DispatchAction { private void doCommonStuff() { } } I think this calls for delegation to a class that just does the common stuff. public class Foo extends Action {

RE: Extending Action and DispatchAction

2002-09-23 Thread Darren Hill
Yeah .. guess that's my only option. -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: September 23, 2002 2:05 PM To: Struts Users Mailing List Subject: RE: Extending Action and DispatchAction I think what he means is: public class Foo extends Action { private

Re: logging in struts

2002-09-23 Thread Zahid Rahman
Here is a suggestion! Download chapter 21 of JSP PRO second edition from www.wrox.com It shows a complete struts application for a Shopping cart. It has login form, logout form etc. - Original Message - From: Mark Silva [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: Redirected to index.jsp unexpectedly

2002-09-23 Thread Zahid Rahman
Here is a suggestion! Download chapter 21 of JSP PRO second edition from www.wrox.com It shows a complete struts application for a Shopping cart. It has login form, logout form etc. - Original Message - From: Geoff Seel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 23,

SwitchAction Parameters

2002-09-23 Thread julio
Hi all, I´m using the SwithAction, but I did´t want to put the parameters prefix and page in the url.(for example http://foo/bar.do?prefixpage=foobar.jsp;). I would like to specify the parameters in the struts-config.xml: action path=/switch type=org.apache.struts.action.SwitchAction

Re: My action is not being called -I just get a blank page!

2002-09-23 Thread Bryan Hilterbrand
... or your collection/array you are using in a logic:iterate is null. Struts 1.02 gets confused and sends back part of the header and nothing else. Bryan - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 23,

RE: Redirected to index.jsp unexpectedly

2002-09-23 Thread Joe Barefoot
First, I'm pretty sure the path in your action attribute in the html:form tag needs to be prefixed with a '/' : html:form action=/TopLevelDone.do I'd change that just for a sanity check, though it doesn't appear to be your problem. Throw some sys-outs or something into your TopLevelAction in

Re: logging in struts

2002-09-23 Thread Eddie Bush
Disregard this garbage. I don't know who this guy is or what in the world he thinks he's doing, but many here have filtered him out. Don't be led astray by his unintelligible jibberish. Zahid Rahman wrote: Here is a suggestion! Download chapter 21 of JSP PRO second edition from

Re: SwitchAction Parameters

2002-09-23 Thread Eddie Bush
It says they must be request parameters. You can put them there, and the digester will ... gee, can't think right now - it will either silently ignore them or you'll get a SAXException, I think. I believe the latter is what you will find. Have you actually tried this yet? They aren't

RE: Newbie question about action forms

2002-09-23 Thread Chappell, Simon P
Good question. I'll tell you what we did on my most recent project and you can decide if it counts as a good answer. I take a 100% view (no pun intended) that the reason for existence of an ActionForm is to be the communication channel between actions and pages. On a submit, struts scrapes

Re: logging in struts

2002-09-23 Thread Zahid Rahman
What is garbage about what I wrote ? A complete struts application can be found in chapter 21 of jsp pro second edition. - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 23, 2002 7:40 PM Subject: Re: logging

RE: logging in struts

2002-09-23 Thread Hajratwala, Nayan (N.)
Agreed that some previous posts have been pretty sketchy, but it seems to me that in this case he may have just misunderstood the question logging in struts to mean logging in IN struts... in which case his suggestion is probably valid. --- - Nayan Hajratwala - Chikli Consulting LLC -

RE: logging in struts

2002-09-23 Thread Chappell, Simon P
I checked and there is an example app in the 21st chapter of the book. I haven't tried it and it may be good, bad or ugly. Buyer beware. Simon - Simon P. Chappell [EMAIL PROTECTED] Java Programming Specialist

submit button - request parameter

2002-09-23 Thread Karen Lee
I don't get what the user guide says about the submit button: property: Name of the request parameter that will be included with this submission, set to the specified value. [RT Expr] What specified value? I read this as, if I have the tag html:submit property=isDelete Delete

RE: Calling a jsp directly within WEB-INF

2002-09-23 Thread phpsurf
if you use struts 1.1b2, you should have a look at the following action class which has been designed specially for that : org.apache.struts.actions.ForwardAction hope this will help ... -Original Message- From: Michael Delamere [mailto:[EMAIL PROTECTED]] Sent: lundi 23 septembre

Re: Extending Action and DispatchAction

2002-09-23 Thread Jin Bal
How about a little helper class that sits in between them ? That ought to do the trick. HTH Jin - Original Message - From: Darren Hill [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, September 23, 2002 7:03 PM Subject: RE: Extending Action and

Re: logging in struts

2002-09-23 Thread Zahid Rahman
Thank you. This is the struts framework user mailing isn't it ? As Einstein wrote it is not the best way to learn by example, but the only way is to learn is by example. As you may have noticed, I haven't asked any questions because I don't need to. The chapter also goes on to say

Re: logging in struts

2002-09-23 Thread Eddie Bush
I highly suspicion this character is, in fact, a bot. He got lucky on a soundex match that came close to approximating the topic of interest. That's what I discount it to - nothing more. If I'm incorrect, I apologize in advance. It will take some serious convincing to make me believe he

RE: logging in struts

2002-09-23 Thread Chappell, Simon P
And it's not even Friday yet! -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 2:10 PM To: Struts Users Mailing List Subject: Re: logging in struts I highly suspicion this character is, in fact, a bot. He got lucky on a soundex match

Re: logging in struts

2002-09-23 Thread Tiago Nodari
He got kicked off the JSP-Interest list yesterday or today At 02:10 PM 9/23/2002 -0500, you wrote: I highly suspicion this character is, in fact, a bot. He got lucky on a soundex match that came close to approximating the topic of interest. That's what I discount it to - nothing

RE: logging in struts

2002-09-23 Thread Tero P Paananen
I highly suspicion this character is, in fact, a bot. ...and it is eternal Friday on the Struts User list. Kick the bot off the list. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

form bean broken - help

2002-09-23 Thread Mark . Easparro
I have been using the same form bean between actions and forms - keeping the session scope. When I get to a particular action and print the values from the perform method of the form's elements, they are all null. The scope of the form bean for this action is the default, session, as well. Can

Re: logging in struts

2002-09-23 Thread Zahid Rahman
Oh look! Mention Academia and these people get up tight. I will correct your grammar for you. I 'am' highly suspicion 'who' this character is, in fact, a bot. He got lucky on a . I was never on the JSP-INTEREST list , yesterday or today. That is your friends doing the impersonations. I

RE: logging in struts

2002-09-23 Thread Galbreath, Mark
+1 -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 2:41 PM To: Struts Users Mailing List Subject: Re: logging in struts Disregard this garbage. I don't know who this guy is or what in the world he thinks he's doing, but many here have

Re: How can I make my logout page not secure?

2002-09-23 Thread Bruce Geerdes
Michael wrote: I feel that the user should never get a login page when clicking on the logout link, and should never get the logout page when logging in. Yet with container managed security protecting *.do this is exactly what happens. Yes. The answer is to not put a security constraint

PropertyUtils.copyProperties

2002-09-23 Thread Darren Hill
Help. Can't get this to work. I've got a 'view' object Company ... trying to populate a DynaForm? Is that possible? CompanyView view = service.getCompany(Integer.valueOf(1)); DynaActionForm dynaForm = (DynaActionForm) form; System.err.println(view.getName()); --- Gives me CIBC

RE: logging in struts

2002-09-23 Thread Galbreath, Mark
When you are dealing with this lunatic, everyday is Friday. :-( -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 3:13 PM To: Struts Users Mailing List Subject: RE: logging in struts And it's not even Friday yet! -Original

Re: form bean broken - help

2002-09-23 Thread Eddie Bush
It should be there. - check your session timeout - you're not closeing/reopening your browser window are you? - you're not invalidating the session and creating another are you? ... think/ ... Hard to make a good guess based off your information. I know someone at some point in

Newbie Question: Login form submit error - Servlet action is currently unavailable

2002-09-23 Thread Tuan H. Le
Hi, I'm trying to get the login functionality to work with Struts, but when I submit data from a login form (with empty user ID/password or witth data), I got an error HTTP Status 503 - Servlet action is currently unavailable Here're my struts-config.xml, login.jsp, LoginForm.java 1)

Form Conversion.

2002-09-23 Thread Darren Hill
Hmm .. silly question ... I see my stupidity. New question. I have a DynaForm with a property ... form-property name=numEmployee type=java.math.BigDecimal/ I want to view that in a text form like so ... html:text property=numEmployee size=16 maxlength=16/ Is that possible? Or because its

HTML title attribute

2002-09-23 Thread edgar
Is there any reason this attribute is not supported in the html:text tag? It is in the HTML 4.01 spec and is supported at least by IE5. Should I just create my own tag or is there general interest in extending the tag? Thanks Edgar Dollin -- To unsubscribe, e-mail: mailto:[EMAIL

  1   2   >