I see in documentation to add jar file in eclipse called servlet-api.jar
But I am using tomcat 4? Which file is in this version?
I need to add this in classpath.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
I see the response from David Friedman on my question in the archive;
I'm on the digest so I haven't received the email. I hope its ok that
I've replying to my own post, while quoting his response into this:
>From: David G. Friedman <[EMAIL PROTECTED]>
>Subject: Help with new installation...
>
I'm a developer new to Java and Struts. I've been working with other
scripting languages for several years, and am excited about an
opportunity to return to Java. I'm getting a little
frustrated/over-whelmed with getting everything configured properly,
however.
I've gotten Tomcat installed a
Eric,
Are you sure your web.xml taglib directive is in the right place (usually
about last)? Have you checked your tomcat logs to see if there are any
loading errors?
Regards,
David
-Original Message-
From: Eric D. Nielsen [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 11, 2004 10:5
You asked this same question last week... I'll try and give you some
specific answers this time...
(1) You have a class member (shoppingCartManager) in your Action. This
is bad. Here's a direct quote from the Struts User's Guide:
"The controller servlet creates only one instance of your Actio
Simon,
Why would the shopping cart be in the ActionMapping?
I would think it belongs in the session or new data
for the cart would come in to the FORM.
Regards,
David
-Original Message-
From: Simon MARTIN [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 7:01 AM
To: [EMAIL PROTE
We've got a situation where a customer wants to have the option of
providing overrides to some of the contents of our message resource
file. This could occur during rebranding, if a customer essentially
sells our software under their own brand name. We're trying to see if
its possible for Struts
Congrats then.
More generic way:
Authentication webapp authenticates the user, obtains it's data, like name,
age, all parameters you were talking about, then saves them in the database,
in a row with a primary key which == id of the session of the authentication
webapp. Then it redirects to the m
Hello,
if you define a global exception handler in struts-conf.xml file, it takes care
of all the exceptions occuring in any of the action class's execute method. Is
there any way I can handle exceptions occuring from all my jsp files globally?
Thanks.
That means that dataStewardId in your form isn't a String, to circumvent the
compilation error you can use the following construction:
value="<%= test.toString() %>"
Vadim.
-Original Message-
From: Lee Harrington [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 10:48 PM
To:
Hi,
I'm currently writing a short Struts application without a database (I know
that this would be better, but as it is only for teaching purposes, I don't
want to 'overflow' my audience with databases and ORM).
It should be a small online sales system -- I've got ShoppingItems,
ShoppingUsers (whi
Hi,
I have following questions
1. I have two web applications deployed on different m/c. When I
login to one web application, I would like to view a page provided by
the other application. Basically, redirecting a user to a different
web application.
Is this possible? If so, how?
2. I tried
Jim,
H! Now I remember, Clyde Barrow, Bonnie Parker, the Barrows Gang.
On the one hand, I know that nominative possessives in English, such
as "Barrows" in "Barrows Gang" do not take an apostrophe. So, that
could be a singular "Barrows". On the other hand, people rarely know
that rule and
StrutsUser, weren't you are part of this earlier Thread?
http://www.mail-archive.com/user%40struts.apache.org/msg15734.html
Maybe that was a different Struts user. Also this might help (Sorry,
mail-archive.com doesn't go back this far. It also has a crappy search,
but that's another thread).
Hop
Martin,
I need to manually iterate through the messages to find out if the message
is empty or not in the JSP.
Thanks,
Leonard
- Original Message -
From: "Laconia Data Systems" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, December 11, 2004 5:37 A
Leonard-
The Action class getErrors() method returns the contents of ActionErrors or
creates new ActionMessages object
http://struts.apache.org/api/org/apache/struts/action/Action.html
Is this what you're looking for?
Martin-
- Original Message -
From: "StrutsUser" <[EMAIL PROTECTED]>
To:
I have a situation in which I have to add an ActionError without a message (use
it to indicate field in error on the page). If I use the generic html:errors
tag, it displays lineitems without a message. Is there a way to iterate over
html:errors to check that a message should be displayed only i
17 matches
Mail list logo