tag:blogger.com,1999:blog-3971159817362797163.post4799879986137788017..comments2023-08-28T03:31:40.324-07:00Comments on zeroInsertionForce: Fresh Sample Application for Struts 2 in Actionchadmichaelhttp://www.blogger.com/profile/08377750824223681348noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-3971159817362797163.post-22808079259032712072015-01-14T09:28:18.897-08:002015-01-14T09:28:18.897-08:00I can't download sample application. Starts do...I can't download sample application. Starts download but only 1 mb file getting downloaded.Anonymoushttps://www.blogger.com/profile/04729806417369124977noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-83060798158548236422013-07-09T01:48:41.286-07:002013-07-09T01:48:41.286-07:00I can't see any links are working here.I have ...I can't see any links are working here.I have a <a href="http://javabynataraj.blogspot.in/2011/12/basic-struts-login-application.html" rel="nofollow">Basic Struts Login Application</a> program using Strus1.2. I think this will also very helpful to your blog followers.Muralidhar Nayanihttps://www.blogger.com/profile/07885547697916715225noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-40477473765211701512009-05-28T10:10:35.414-07:002009-05-28T10:10:35.414-07:00@Saurin
Not sure I follow your question about Ses...@Saurin<br /><br />Not sure I follow your question about SessionAware and RequestAware. These interfaces both require that you write the specific setSession or setRequest setter methods, that each take a Java Map object. This map contains all of the data in the session or request scoped maps, which basically means the stuff in the servlet session or request scope. <br /><br />Am I'm missing chadmichaelhttps://www.blogger.com/profile/08377750824223681348noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-49856332304681796612009-05-27T02:56:45.947-07:002009-05-27T02:56:45.947-07:00Hi Chad, that has been fixed. needed simple change...Hi Chad, that has been fixed. needed simple change in html code for including js file. I had a question... If a action implements both SessionAware and RequestAware, What will their setter method code. Will it be like for Session we define arg0 and for request we define arg1?? In what order it is to read? For eg. Session will arg0 and request will be arg1 if you define SessionAware First and thenSaurinnoreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-8113392517796941172009-05-27T00:25:37.596-07:002009-05-27T00:25:37.596-07:00Hi Chad, Have been reading your book Struts2InActi...Hi Chad, Have been reading your book Struts2InAction. Really really well composed book. Struts2 is looking really easy with it. Downloaded your sample app. I am using Eclipse Ganymede as IDE and ofcourse Tomcat 5.5 as server.All is going good in the sample app except AjaxBrowser when run in IDE. Clicking 'Artist Browser' link on chapter eight, I am getting blank page. Would be good if you help meSaurinnoreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-67090706218105350792009-02-01T21:00:00.000-08:002009-02-01T21:00:00.000-08:00Chad,I worked around the problem. I setup a proxy ...Chad,<BR/>I worked around the problem. I setup a proxy server on a computer I have in the states. Then connected through the proxy to the manning site.<BR/>Thanks,<BR/><BR/>Mike in ChinaMichaelhttps://www.blogger.com/profile/09141691591175437090noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-57949702878984391932009-02-01T14:35:00.000-08:002009-02-01T14:35:00.000-08:00@MichaelI just spoke with Manning. They don't kno...@Michael<BR/><BR/>I just spoke with Manning. They don't know of any reason why you wouldn't be able to get to their site. <BR/><BR/>Please let me know if this continues and I'll try to make the sample code available from another site.chadmichaelhttps://www.blogger.com/profile/08377750824223681348noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-807565388460779612009-01-30T17:20:00.000-08:002009-01-30T17:20:00.000-08:00Chad,Thanks for the quick response to my post abou...Chad,<BR/>Thanks for the quick response to my post about living in China. When I type in www.manning.com it looks like it will connect but, it just sits there until finally I get www.manning.com is taking to long to respond request timed out. Either manning.com is blocking ip addresses from China or China is blocking manning.com. Both of which I have encountered while living here. I am reading Michaelhttps://www.blogger.com/profile/09141691591175437090noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-80148683416898447002009-01-30T08:10:00.000-08:002009-01-30T08:10:00.000-08:00@ChinaI'm sorry that you can't get the sample appl...@China<BR/><BR/>I'm sorry that you can't get the sample application. What can I do? Why aren't you able to get it?chadmichaelhttps://www.blogger.com/profile/08377750824223681348noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-41532258869190882852009-01-29T18:27:00.000-08:002009-01-29T18:27:00.000-08:00I live in China and I am unable to access the mann...I live in China and I am unable to access the manning website to download the source code for Struts 2Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-2549378948145587202008-10-18T17:37:00.000-07:002008-10-18T17:37:00.000-07:00thanks anyway I'll follow your advise good luck ;)...thanks anyway I'll follow your advise <BR/>good luck ;)rassidmhttps://www.blogger.com/profile/05958191788670790108noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-66976909583619479592008-10-18T17:27:00.000-07:002008-10-18T17:27:00.000-07:00I didn't use an ant build for the sample applicati...I didn't use an ant build for the sample application. I used an eclipse tomcat plugin from sysdeo. I can't say I'd necessarily recommend it. <BR/><BR/>I would recommend creating your own ant file to do what you want. It's not that hard. I'd do one myself for you, but I'm pretty busy right now. Sorry.chadmichaelhttps://www.blogger.com/profile/08377750824223681348noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-28038960840653173732008-10-18T17:23:00.000-07:002008-10-18T17:23:00.000-07:00thank you good idea i 'm reading now tomcat doc , ...thank you good idea i 'm reading now tomcat doc , and i understand better the whole structure of java web apps, but still can't found a build.xml example that i can customize to sample Application code of "Struts 2 in Action"<BR/><BR/>that would be appreciated if u can give the build that u used to helloworld app <BR/><BR/>this my e-mail "rassidm@gmail.com"<BR/><BR/>Best regardrassidmhttps://www.blogger.com/profile/05958191788670790108noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-9598037535911213532008-10-18T16:50:00.000-07:002008-10-18T16:50:00.000-07:00@drucker If you are new to java web apps, I'd high...@drucker <BR/><BR/>If you are new to java web apps, I'd highly recommend the straightforward tutorial found in the tomcat docs.<BR/><BR/>http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html<BR/><BR/>This shows you how to use ant for builds, and explains all the high level tasks involved in building a java web app.chadmichaelhttps://www.blogger.com/profile/08377750824223681348noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-45795890712408348772008-10-18T08:43:00.000-07:002008-10-18T08:43:00.000-07:00Hello Mister ChadI have just begun in Java web dev...Hello Mister Chad<BR/><BR/>I have just begun in Java web development <BR/>I bought your book "Struts 2 in Action" wich i think is one of the best Struts 2 book's.<BR/>I download Sample Application code <BR/>i wanna change the code and redeploy the application "helloworld" to do so i need a build file <BR/>i don't know how to make one ,i need your help to provide me rassidmhttps://www.blogger.com/profile/05958191788670790108noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-84889897437052552532008-10-08T00:02:00.000-07:002008-10-08T00:02:00.000-07:00Mr Scott Stanlick, helloI am really sorry to menti...Mr Scott Stanlick, hello<BR/>I am really sorry to mention this problem. My only goal was to set up your application with Oracle to provide extensions and leave on good standard JEE. Unfortunately, I have this problem.<BR/>You can build a version of your application with many details using the oracle. This solves the problem.<BR/>MehdiAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-55203168509581893262008-10-07T08:35:00.000-07:002008-10-07T08:35:00.000-07:00@MehdiI see. Hmm. I see. So, you can probably j...@Mehdi<BR/><BR/>I see. Hmm. I see. So, you can probably just change the table name used by Hibernate and it will be fine. But I'll have to think about this a bit, there might be some other reprecussions I'm overlooking. <BR/><BR/>If you do this, please get back with how it goes. I'll eventually make an Oracle friendly version of the sample code. Unfortunatley, I can't just change the chadmichaelhttps://www.blogger.com/profile/08377750824223681348noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-91953780447134079262008-10-07T08:29:00.000-07:002008-10-07T08:29:00.000-07:00Sorry Mr,I tried to run the chapters 9, 10 and 11 ...Sorry Mr,I tried to run the chapters 9, 10 and 11 but without any succes.<BR/><BR/>The problem just because the word "user" is a reserved word for oracle. <BR/><BR/>Thus i run simple application on Oracle technology, portfolio_image table and portfolio table are created, but not the user table.<BR/><BR/>I think we should change the name of the table user by another in all the source code.<BR/><Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-40569543084534328452008-10-07T07:38:00.000-07:002008-10-07T07:38:00.000-07:00@MehdiStarting with the Chapter 9 version of the s...@Mehdi<BR/><BR/>Starting with the Chapter 9 version of the sample application, the code all uses Hibernate/JPA. First, these technologies do work on Oracle, I assure you. <BR/><BR/>Second, can you be more specific about what you mean by Oracle can't use the table "user"?chadmichaelhttps://www.blogger.com/profile/08377750824223681348noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-80377567550456947202008-10-07T02:18:00.000-07:002008-10-07T02:18:00.000-07:00Mr Chad Michael Davis, helloI am engineer at the "...Mr Chad Michael Davis, hello<BR/>I am engineer at the "caisse nationale de sécurité social" of Tunisia.<BR/>I am a developer JEE. I have read your famous book Struts 2 in Action.<BR/>I have not been able to excécute the chapter 11 on an Oracle database view you use a table called "user". it's not possible to create this table in oracle.<BR/>Can you help me? you have a version of source code thatAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-52089753478862903872008-09-08T07:55:00.000-07:002008-09-08T07:55:00.000-07:00Hello Mothership... Your comment "You cannot...Hello Mothership... Your comment "You cannot really learn these things from copy/paste." is not altogether true. For those of us with ADD or similar may find it difficult to get everything from the text. I, for one, find it much easier to learn from examples. I read what I can in the book then refer to the examples for final clarity. I would find great value in sample code for the Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-62287451469007618352008-08-05T11:27:00.000-07:002008-08-05T11:27:00.000-07:00I'm not sure what you guys are even talking about ...I'm not sure what you guys are even talking about :)chadmichaelhttps://www.blogger.com/profile/08377750824223681348noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-84893866035982131672008-08-05T10:45:00.000-07:002008-08-05T10:45:00.000-07:00Hi "mother ship",Here is the anonymous reader/writ...Hi "mother ship",<BR/><BR/>Here is the anonymous reader/writer. Don't worry about students - they can learn from anything...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-25207450759075777732008-07-31T09:29:00.000-07:002008-07-31T09:29:00.000-07:00Greetings earthlings! It is Scott coming to you f...Greetings earthlings! It is Scott coming to you from the mother ship. Someone was asking about the sample code for the advanced chapters and I would like to report that this was purposeful and deliberate. *YOU* need to experience these capabilities kinetically, and that means "finger learning!" You cannot really learn these things from copy/paste.<BR/><BR/>Peace,<BR/>ScottScotthttps://www.blogger.com/profile/09888922857627894868noreply@blogger.comtag:blogger.com,1999:blog-3971159817362797163.post-5934699941145655832008-07-31T08:07:00.000-07:002008-07-31T08:07:00.000-07:00Book has 15 chapters but SampleApplication.zip(Str...Book has 15 chapters but SampleApplication.zip(Struts2InAction.war) has only Eleven...Anonymousnoreply@blogger.com