NoClassDefFoundError
Hi, I get the following exception "java.lang.NoClassDefFoundError: articles/create_cat/CreateCategoryAction (wrong name: create_cat/CreateCategoryAction)" This is my struts-config.xml file Whats wrong with this? Uma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
displaying declarative exception with html:errors tag
I've been using struts for a long time and feel like an idiot asking this question. However, I'll ask it anyway. I decided to toy with Struts declarative exception handling. I can see that it is working because when i place a breakpoint on jsp and look into the request scope i see the exception is being placed into the ActionErrors (located under "org.apache.struts.action.ERROR"). I have the message being stored as "errors.general" under the ActionErrors object. Whenever I use I do not see it. Can anyone fill me in on what i am doing wrong or help me to diagnose my idiocy? Brandon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: DB Connection Best practice
Hi Amit, Yes,the mail reached me. Thanks Uma -Original Message- From: Amit Gupta [mailto:[EMAIL PROTECTED] Sent: Monday, December 27, 2004 9:49 AM To: Struts Users Mailing List Subject: RE: DB Connection Best practice I sent you message in separate mail on Friday. Have you got that? Also do communicate with me at [EMAIL PROTECTED] or [EMAIL PROTECTED] for immediate response. Amit Gupta 9818052171 -Original Message- From: Manisha Sathe [mailto:[EMAIL PROTECTED] Sent: Sunday, December 26, 2004 11:16 AM To: Struts Users Mailing List Subject: RE: DB Connection Best practice Hi Amit, Would appreciate if u can forward the same msg again to me too. As i am also a struggler i also might need it Thanks, Manisha Amit Gupta <[EMAIL PROTECTED]> wrote: Hi Uma, I use DBCP for this. Refer my message that I posted an hour ago on tomcat users list. I am forwarding same to you on your personal ID. -Original Message- From: uma.k [mailto:[EMAIL PROTECTED] Sent: Friday, December 24, 2004 10:20 AM To: 'Struts Users Mailing List' Subject: DB Connection Best practice Hi, I wanted to insert a record into the database or update a record in the database or get a record from the database. Where do I make my database connection? Is it in the Action class? Can I make a single java class handle all of that for me? If the above are wrong. Please let me know which is the best practice to do this. Thanks Uma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
forward on success doesnt do anything
Hi, For some reason, the action forward on success doesnt do anything when I click the submit button on my submit.jsp page. It just goes to the submit.do "blank" page, when its supposed to display the index.html file. My directory structure is as follows : $CATALINA_HOME/webapps/myapp/WEB-INF/classes/myapp/ My files look like this : http://www.simplyrender.com/Files.html Thank you. ~SJ. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to configure struts enable application to reload
Hi, I am struggling with a problem. I am giving demo of my Struts based application on a hosting server. I don't have access to tomcat manager application to reload my demo. Can I do something on my part to automatically reload my application whenever I update any class in application? Amit Gupta 91-9818052171
RE: DB Connection Best practice
I sent you message in separate mail on Friday. Have you got that? Also do communicate with me at [EMAIL PROTECTED] or [EMAIL PROTECTED] for immediate response. Amit Gupta 9818052171 -Original Message- From: Manisha Sathe [mailto:[EMAIL PROTECTED] Sent: Sunday, December 26, 2004 11:16 AM To: Struts Users Mailing List Subject: RE: DB Connection Best practice Hi Amit, Would appreciate if u can forward the same msg again to me too. As i am also a struggler i also might need it Thanks, Manisha Amit Gupta <[EMAIL PROTECTED]> wrote: Hi Uma, I use DBCP for this. Refer my message that I posted an hour ago on tomcat users list. I am forwarding same to you on your personal ID. -Original Message- From: uma.k [mailto:[EMAIL PROTECTED] Sent: Friday, December 24, 2004 10:20 AM To: 'Struts Users Mailing List' Subject: DB Connection Best practice Hi, I wanted to insert a record into the database or update a record in the database or get a record from the database. Where do I make my database connection? Is it in the Action class? Can I make a single java class handle all of that for me? If the above are wrong. Please let me know which is the best practice to do this. Thanks Uma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Required help to name a worksheet in xls
Actually, you can export text an HTML table to Excel too -- just lie and tell it the data is of type "application/excel" and then give the filename as per above. ... handy :-) On Thu, 23 Dec 2004 09:36:46 -0600, Hubert Rabago <[EMAIL PROTECTED]> wrote: > Take a look at Jakarta POI. http://jakarta.apache.org/poi/ > They make it easy to do stuff like this. > > On Thu, 23 Dec 2004 12:43:17 +0530, Shiva Narayana > <[EMAIL PROTECTED]> wrote: > > Hey this is new to me plz send me how u r creating the excel sheet.. > > I ll appreciate for it > > > > Regards -- Eddie Bush - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: accessing Actionform properties from javascript
Hi, Let me give more details. The actionForm is used through many pages. The page where the javascript is implemented does not contain the actionform property, that I would like to check before triggering an action. This property is dynamically evaluated in an action. That is why I would like to access actionform properties in a javascript function, mainly those not represented as element in the HTML; Thanks for your reply. - Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail
SOLVED: Error: Cannot find ActionMappings or ActionFormBeans collection
Yen wrote: Thanks David for very detail explanation, in fact, I cant view the file as IE only shows me the error. :p I am also new in struts, still learning the tags.. ;) rgds, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thanks :) I shall pay more attention to what I type henceforth. DOH ! It works fine now. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error: Cannot find ActionMappings or ActionFormBeans collection
Thanks David for very detail explanation, in fact, I cant view the file as IE only shows me the error. :p I am also new in struts, still learning the tags.. ;) rgds, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error: Cannot find ActionMappings or ActionFormBeans collection
Yen, maybe we should explain the syntax errors, eh? SJ, your form-bean and action elements were closed with the "/>" tag, then you added contents, and then, again, you added the other "" and "/action>" closing tags. You need to either close as a stand-alone tag "" OR use " something ... " For example, your form-bean tag should be either: OR The same goes for your tag. Since you seem new to this, perhaps you should review XML on proper tag closure. Check out w3schools.com's XML tutorial at: http://www.w3schools.com/xml/default.asp Regards, David -Original Message- From: Yen [mailto:[EMAIL PROTECTED] Sent: Sunday, December 26, 2004 9:29 PM To: Struts Users Mailing List Subject: Re: Error: Cannot find ActionMappings or ActionFormBeans collection your strust.xml consists of syntax error rgds, - Original Message - From: "SJ" <[EMAIL PROTECTED]> To: Sent: Monday, December 27, 2004 10:25 AM Subject: Error: Cannot find ActionMappings or ActionFormBeans collection > Hi, > > I've been trying to google this error for a while now, but havent found > a solution to it. > > My directory structure is as follows : > > $CATALINA_HOME/webapps/myapp/WEB-INF/classes/myapp/ > > My web.xml, struts-config.xml and JSP file look like this : > > http://www.simplyrender.com/Files.html > > > please let me know if I need to paste the file content directly in this > post. > > > Thank you. > ~SJ. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error: Cannot find ActionMappings or ActionFormBeans collection
Yen wrote: your strust.xml consists of syntax error rgds, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Could you tell me where please? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error: Cannot find ActionMappings or ActionFormBeans collection
your strust.xml consists of syntax error rgds, - Original Message - From: "SJ" <[EMAIL PROTECTED]> To: Sent: Monday, December 27, 2004 10:25 AM Subject: Error: Cannot find ActionMappings or ActionFormBeans collection Hi, I've been trying to google this error for a while now, but havent found a solution to it. My directory structure is as follows : $CATALINA_HOME/webapps/myapp/WEB-INF/classes/myapp/ My web.xml, struts-config.xml and JSP file look like this : http://www.simplyrender.com/Files.html please let me know if I need to paste the file content directly in this post. Thank you. ~SJ. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error: Cannot find ActionMappings or ActionFormBeans collection
Hi, I've been trying to google this error for a while now, but havent found a solution to it. My directory structure is as follows : $CATALINA_HOME/webapps/myapp/WEB-INF/classes/myapp/ My web.xml, struts-config.xml and JSP file look like this : http://www.simplyrender.com/Files.html please let me know if I need to paste the file content directly in this post. Thank you. ~SJ. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts and DreamWeaver
http://www.fwasi.com/products/ Extension for struts. -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 11:39 PM To: Struts Users Mailing List Subject: Re: Struts and DreamWeaver I added Struts html tags to DreamWeaver using the add tag from tld option. But it is not rendering the tags as html elements. I use DreamWeaver for visual display. rgds Antony Paul On Thu, 23 Dec 2004 07:50:02 -0800 (PST), Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > I use macro media dreamweaver and can add tag library > and so can support struts or jstl, i explained my > graphical designer to use these tags instead of html > tags and it worked out well, try teaching graphical > designer to use tags.. > Ashish > --- Erik Weber <[EMAIL PROTECTED]> wrote: > > > I completed a non-Struts JSP project with a designer > > who used > > DreamWeaver. I hooked him up with the Tortoise CVS > > client, and we didn't > > have any problems. Occasionally I would find tabs > > blown out, that was > > about it. The HTML was fine. The site is in > > production and works in IE > > and Mozilla. He told me Dreamweaver ignored stuff it > > didn't know how to > > handle, and he never complained about inability to > > edit layouts. > > > > Erik > > > > > > Wendy Smoak wrote: > > > > >This is my first time having someone else do the > > page design. I'm thrilled > > >to have someone else do it, but they use > > DreamWeaver and I'm not sure what's > > >going to happen if it sees . Then > > there's the fun of JSTL > > >tags embedded within HTML tags, which works fine > > but can't exactly be > > >considered valid syntax. > > > > > >I checked the archives, but only found suggestions > > to use something other > > >than DreamWeaver. I don't think that's going to go > > over well. > > > > > >My current plan is to have them use plain-old html > > form elements, and I'll > > >automate as much as possible the task of switching > > them over to > > > tags. Not much fun, but far better > > than having to do the > > >page design. > > > > > >Does anyone have suggestions for coordinating page > > design with Struts webapp > > >development? > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > __ > Do you Yahoo!? > Yahoo! Mail - 250MB free storage. Do more. Manage less. > http://info.mail.yahoo.com/mail_250 > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts for beginners
Hi, I would recommend Mastering Jakarta Struts book by Craig. The documentation that comes with Struts distribution is also very helpful. Best Regards, Janarthan S Ruben Cepeda <[EMAIL PROTECTED]> wrote: Hey, When I was getting started with Struts I found "Struts In Action" by Ted N. Husted, Cedric Dumoulin, George Franciscus, David Winterfeldt published Manning to be a really great book. Here is the url to the book: https://secure.manning.com/husted There are sample chapters, but the chapters are too late in the book to really let you see the use of the book. * Ruben Cepeda [EMAIL PROTECTED] * Original Message Follows From: "Krishna Mohan Radhakrishnan" Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Struts for beginners Date: Sun, 26 Dec 2004 12:44:51 +0530 Hi, I am just a beginner in STRUTS. Could u point out any book(especially PDF files of the book) which is intented for just the beginners which contains explanation of all the tags attributes properties etc. If any body has a pdf file for the same please send it to this ID or to [EMAIL PROTECTED] Regards, Krishna Mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses.
RE: Struts for beginners
Hey, When I was getting started with Struts I found "Struts In Action" by Ted N. Husted, Cedric Dumoulin, George Franciscus, David Winterfeldt published Manning to be a really great book. Here is the url to the book: https://secure.manning.com/husted There are sample chapters, but the chapters are too late in the book to really let you see the use of the book. * Ruben Cepeda [EMAIL PROTECTED] * Original Message Follows From: "Krishna Mohan Radhakrishnan" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Struts for beginners Date: Sun, 26 Dec 2004 12:44:51 +0530 Hi, I am just a beginner in STRUTS. Could u point out any book(especially PDF files of the book) which is intented for just the beginners which contains explanation of all the tags attributes properties etc. If any body has a pdf file for the same please send it to this ID or to [EMAIL PROTECTED] Regards, Krishna Mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]