servlet-api.jar in tomcat5 is equivalent to what in tomcat41?

2004-12-11 Thread bhutkar
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

Re: Help with new installation...

2004-12-11 Thread Eric D. Nielsen
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... >

Help with new installation...

2004-12-11 Thread Eric D. Nielsen
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

RE: Help with new installation...

2004-12-11 Thread David G. Friedman
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

Re: Best practice question: Properties (ShoppingCart) per user

2004-12-11 Thread Frank W. Zammetti
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

RE: Best practice question: Properties (ShoppingCart) per user

2004-12-11 Thread David G. Friedman
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

cascading messageresource lookups

2004-12-11 Thread Wayne Christian
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

RE: Transmission of a session using jsessionID

2004-12-11 Thread Vadim Petrenko
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

Global way to handle jsp exceptions

2004-12-11 Thread Purohit, Sapan \(Sapan\)
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.

RE: Nested Struts Tags

2004-12-11 Thread Vadim Petrenko
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:

Best practice question: Properties (ShoppingCart) per user

2004-12-11 Thread Simon MARTIN
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

Cross web app communication

2004-12-11 Thread avinash_shirol
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

Re: [OT - Friday]Corporate Stupidity -- We are onto you Barrows!

2004-12-11 Thread Dakota Jack
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

Re: html:errors and manual iterate

2004-12-11 Thread Erik Weber
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

Re: html:errors and manual iterate

2004-12-11 Thread StrutsUser
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

Re: html:errors and manual iterate

2004-12-11 Thread Laconia Data Systems
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:

html:errors and manual iterate

2004-12-11 Thread StrutsUser
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