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.
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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 ;-.))
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
-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]
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
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])
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
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
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
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
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
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
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,
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
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]
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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:
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,
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
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
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
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
... 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
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
(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
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
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
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
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
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
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
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,
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:
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
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
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:
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
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 {
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
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]
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,
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
... 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,
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
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
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
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
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
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
-
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
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
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
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
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
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
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
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
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]
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
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
+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
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
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
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
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
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)
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
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 - 100 of 185 matches
Mail list logo