Sorry.. Need of blood of B Negative
Very Very Sorry to all , But I have a major requirement of ( B Negative )blood for the heart operation of My Uncle at Ruby hospital PUNE, Maharashtra State INDIA. All those who are localite Puneties and have a blood group B Negative, (Maharashtra State, INDIA) I request them to donate the blood to Uday at Ruby hospital. The operation will take place on thursday 27th Nov. 2003. the contact No. for the Uday is ...91-020-9422320155 or me. Abhijeet: 91-020-9822410348 One more thing. We need fesh blood or blood taken within last 24 hrs. Maximum. I feel that this is the best way to request such things. Sorry again for out of disscussion Request... regards Abhijeet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: forward to new window.
forward it to some JSP page and in that jsp page say window.open(test.jsp,.);; I don't thing you can forward and open a window through action class.. simple Abhijeet - Original Message - From: deepaksawdekar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 21, 2003 9:38 AM Subject: forward to new window. Hi, I have a requirement, based on certain condition in action class i want the forward to open a page in same window or different page in new window how can i implement this. thanks in advance Deepak. - 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]
One JAVA Question?
hi All Sorry for this out of forum question. But i want to check thru http protocol whether the a.txt file exists on the specified Location or not... e.g. http://1.1.1.1/test/poll/SimpleHTML.html i want to check whether SimpleHTML.html file exist at the 1.1.1.1/test/coll location or not ? I tried URL URLClassloader, File etc URL classes but i am not able to find the solution for this. Is there anybody who had such requirement previously and can GUIDE me for the same. thankx in advance.. abhijeet - Original Message - From: Mohd Fadhly [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 1:01 PM Subject: Re: Typical edit page hi again, lets say im going to use JSTL, how to change this into JSTL? input type=radio name=name value=bean:write name=mpd property=name / so izzit like this? html:radio property=name value=${mpd.name} / do i need to include the tlds (c.tld etc) libraries (jstl.jar standard.jar) please help im a JSTL newbie. im trying my best not to use ant scriptlets inside the app. thanks Richard Yee wrote: Mohd, No. Struts does not do anything with any of the static parts of your page. Why can't you use the html:text tag? You can put a JSP or JSTL expression as the value of the 'value' attribute too. -Richard At 01:37 AM 11/15/2003, you wrote: Thanks for your help there is a situation where i cant use html:text to render a text input, i use normal html tag input, is struts will know to display the values inside a normal input tag? Richard Yee wrote: Mohd, You need to retrieve the user's current settings and set the appropriate fields in your ActionForm from your Action class. If you do that, the fields will be populated when you display the form. Are you using html:select with html:options ? You might want to look at the html:optionsCollection tag too. -Richard At 06:56 PM 11/14/2003, you wrote: hi is there any automatic way that i can polulate all the fields (including html:select with html:options) in a typical edit/update page? coz right now im doing it manually. im basically stuck when try to select the option saved previously. im using html:options with the labelValueBean any help is greatly appreciated - 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] - 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: One JAVA Question?
Thankx dear for ur imme. reply will you pls tell me where will i find this commons-httpclient in which jar etc... ? thankx again abhijeet - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 1:45 PM Subject: Re: One JAVA Question? Maybe you can use commons-httpclient to connect to the url, see if you get a 404 or 200 for the response ? If you get a 200, you are good to go, 404, means file not found. Abhijeet Mahalkar wrote: hi All Sorry for this out of forum question. But i want to check thru http protocol whether the a.txt file exists on the specified Location or not... e.g. http://1.1.1.1/test/poll/SimpleHTML.html i want to check whether SimpleHTML.html file exist at the 1.1.1.1/test/coll location or not ? I tried URL URLClassloader, File etc URL classes but i am not able to find the solution for this. Is there anybody who had such requirement previously and can GUIDE me for the same. thankx in advance.. abhijeet - Original Message - From: Mohd Fadhly [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 1:01 PM Subject: Re: Typical edit page hi again, lets say im going to use JSTL, how to change this into JSTL? input type=radio name=name value=bean:write name=mpd property=name / so izzit like this? html:radio property=name value=${mpd.name} / do i need to include the tlds (c.tld etc) libraries (jstl.jar standard.jar) please help im a JSTL newbie. im trying my best not to use ant scriptlets inside the app. thanks Richard Yee wrote: Mohd, No. Struts does not do anything with any of the static parts of your page. Why can't you use the html:text tag? You can put a JSP or JSTL expression as the value of the 'value' attribute too. -Richard At 01:37 AM 11/15/2003, you wrote: Thanks for your help there is a situation where i cant use html:text to render a text input, i use normal html tag input, is struts will know to display the values inside a normal input tag? Richard Yee wrote: Mohd, You need to retrieve the user's current settings and set the appropriate fields in your ActionForm from your Action class. If you do that, the fields will be populated when you display the form. Are you using html:select with html:options ? You might want to look at the html:optionsCollection tag too. -Richard At 06:56 PM 11/14/2003, you wrote: hi is there any automatic way that i can polulate all the fields (including html:select with html:options) in a typical edit/update page? coz right now im doing it manually. im basically stuck when try to select the option saved previously. im using html:options with the labelValueBean any help is greatly appreciated - 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] - 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] - 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: One JAVA Question?
oohh great thankx - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 2:01 PM Subject: Re: One JAVA Question? Under the commons project. jakarta.apache.org Abhijeet Mahalkar wrote: Thankx dear for ur imme. reply will you pls tell me where will i find this commons-httpclient in which jar etc... ? thankx again abhijeet - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 1:45 PM Subject: Re: One JAVA Question? Maybe you can use commons-httpclient to connect to the url, see if you get a 404 or 200 for the response ? If you get a 200, you are good to go, 404, means file not found. Abhijeet Mahalkar wrote: hi All Sorry for this out of forum question. But i want to check thru http protocol whether the a.txt file exists on the specified Location or not... e.g. http://1.1.1.1/test/poll/SimpleHTML.html i want to check whether SimpleHTML.html file exist at the 1.1.1.1/test/coll location or not ? I tried URL URLClassloader, File etc URL classes but i am not able to find the solution for this. Is there anybody who had such requirement previously and can GUIDE me for the same. thankx in advance.. abhijeet - Original Message - From: Mohd Fadhly [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 1:01 PM Subject: Re: Typical edit page hi again, lets say im going to use JSTL, how to change this into JSTL? input type=radio name=name value=bean:write name=mpd property=name / so izzit like this? html:radio property=name value=${mpd.name} / do i need to include the tlds (c.tld etc) libraries (jstl.jar standard.jar) please help im a JSTL newbie. im trying my best not to use ant scriptlets inside the app. thanks Richard Yee wrote: Mohd, No. Struts does not do anything with any of the static parts of your page. Why can't you use the html:text tag? You can put a JSP or JSTL expression as the value of the 'value' attribute too. -Richard At 01:37 AM 11/15/2003, you wrote: Thanks for your help there is a situation where i cant use html:text to render a text input, i use normal html tag input, is struts will know to display the values inside a normal input tag? Richard Yee wrote: Mohd, You need to retrieve the user's current settings and set the appropriate fields in your ActionForm from your Action class. If you do that, the fields will be populated when you display the form. Are you using html:select with html:options ? You might want to look at the html:optionsCollection tag too. -Richard At 06:56 PM 11/14/2003, you wrote: hi is there any automatic way that i can polulate all the fields (including html:select with html:options) in a typical edit/update page? coz right now im doing it manually. im basically stuck when try to select the option saved previously. im using html:options with the labelValueBean any help is greatly appreciated - 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] - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dropdown and a text box
Hi Anubhav for this you have to play along with both textfield and select show Select first and then provide a button for new entry very immediate to select and when he clicks it hide select and show text field.. i hope this must be in ur mind previously ... or may help you. abhijeet - Original Message - From: Gupta, Anubhav [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 3:46 AM Subject: Dropdown and a text box Hi, I wish to have an input filed in a form which is a drop down box, but the user can also type in a value if they do not want to select from the drop down box. I know I can use html:select for dropdown and html:text for text box. But I cannot figure out how to have an input text field in which you can type in (text box), or select a value from the drop down list. Thanks, Anubhav This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dropdown and a text box
hi anubhav Continuing previous mail rather than having Buttong along with select field add Doubleclick Event to both text field and select and hide each other on double click by checking the tpe of Object it is... abhijeet - Original Message - From: Abhijeet Mahalkar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 1:45 PM Subject: Re: Dropdown and a text box Hi Anubhav for this you have to play along with both textfield and select show Select first and then provide a button for new entry very immediate to select and when he clicks it hide select and show text field.. i hope this must be in ur mind previously ... or may help you. abhijeet - Original Message - From: Gupta, Anubhav [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 3:46 AM Subject: Dropdown and a text box Hi, I wish to have an input filed in a form which is a drop down box, but the user can also type in a value if they do not want to select from the drop down box. I know I can use html:select for dropdown and html:text for text box. But I cannot figure out how to have an input text field in which you can type in (text box), or select a value from the drop down list. Thanks, Anubhav This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - 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: new to struts
bye mastering struts . good book for basics as well as masters. try out.. abhijeet - Original Message - From: sanjay paithankar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 2:47 PM Subject: new to struts Hello can any one point the basic document regarding Struts which has given small examples. thnx -cs.. __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - 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: forward problem ?
create one more tag in action ... forward name=controllerFRWD path=/controller1.jsp/ and provide this name in action class forward. this works... abhijeet - Original Message - From: Kalra, Ashwani [EMAIL PROTECTED] To: Struts (E-mail) [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 10:02 AM Subject: forward problem ? hi, I have one link http://localhost:8080/controller?id=23 when user clicks it , a page is loaded, user fills in the details in the form, and presses one button and the same page should be loaded . The problem is that redirecting to the same page is done using forward, which leaves the address bar unchanged and I get that request parameter again, which I dont want. This is done by framework which I cannot change. How to circumevent this problem ? TIA Ashwani This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - 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]
PDF File Display in JSP-Struts
Hi All, I want to display one PDF file in my websphere struts framework. when i do it without struts (only servlets ) it works but when i use JSP along with struts it does not work. it does not read binary data properly... Is there any body to help me out regards thankx in advace... Abhijeet Mahalkar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
request processor error.
Just an hour before my websphere 5.0 was working properly but suddenly it started giving following error and my websphere 5.0 server automatically stus down after few minutes. and this error comes in a loop and finally it throws StackoverFlow exception Will any body help me to underrstand the error and problem with websphere server or struts application at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle tInstance.java:110) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy cleServlet.java:174) at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycl eServlet.java:333) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc leServlet.java:116) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java :258) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer vletReferenceState.java:42) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns tanceReference.java:40) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch( WebAppRequestDispatcher.java:872) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques tDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest Dispatcher.java:173) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10 69) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso r.java:274) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces sor.java:455) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ estProcessor.java:320) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) thanks in advace... abhijeet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Java Compiler Cannot Find the Required JAR File in the Classpath
Hi copy the required jar files inthe current dir. Always the best way is set classpath= enter make it blank set the new classpath in which set the classpath of copied jar files of current dir. then no problem. Make this habit after compilation delete the jar files (if not required). This is the best practice of working with JAVA Compilers. and work with command prompt not any editor. it confuses us. thankx regards abhijeet - Original Message - From: Kirk Wylie [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 11:07 PM Subject: Re: Java Compiler Cannot Find the Required JAR File in the Classpath This might not solve your immediate problem, but someone responded to your original thread that you need to pull struts.jar out of the JDK's ext dir. Trust me, you really need to do this, at least if you're going to deploy multiple web applications using Struts in the same servlet container, and it's just generically good practice. But if I might offer a suggestion, it might be a really good idea to spend a little bit of time learning Ant. It's really ideally suited for this, and by having a script setup which will produce the proper classpath for your application, you can make sure that you don't have cases where all of a sudden things stop working. It's also easy to say things like compile everything in this directory, and use all the .jar files in this other directory in the classpath. Just a tip. It won't get you over the initial hangup, but it's probably something you should investigate for the future. Kirk Wylie M7 Corporation Caroline Jen wrote: I posted this problem before. Max and Carey answered my post right away. I tried and tried I must be missing something. I really do not understand why all of a sudden that the java compiler cannot find the required JARs in the classpath. I have done some similar compilation before successfully. My head is not sober enough to pinpoint the problem this time. I am doing the compilation manually (I am not using ANT or any IDE). 1. I have the commons-scaffold.jar in my $TOMCAT_HOME/webapps/PracticeVersion/WEB-INF/lib folder. 2. I have the struts.jar in both $TOMCAT_HOME/webapps/PracticeVersion/WEB-INF/lib folder and j2sdk1.4.1_02/jre/lib/ext folder 3. in my java program (Bean.java), I import org.apache.commons.scaffold.text.ConvertUtils; import org.apache.commons.scaffold.util.ProcessBeanBase; import org.apache.commons.scaffold.lang.Tokens; 4. I first set the classpath C:\set CLASSPATH=C:\jakarta-tomcat-4.1.18-LE-jdk14/webapps/PracticeVersion/WEB-INF/ src/java;%CLASSPATH% then, I go to the folder where Bean.java is C:\cd jakarta-tomcat-4.1.18-LE-jdk14/webapps/PracticeVersion/WEB-INF/src/java/org/ apache/artimus/article then, I try to compile and put the class file in the destination folder C:\jakarta-tomcat-4.1.18-LE-jdk14/webapps/PracticeVersion/WEB-INF/src/java/o rg/apache/artimus/articlejavac -d C:\jakarta-tomcat-4.1.18-LE-jdk14/webapps/PracticeVersion/WEB-INF/classes Bean.java But, I get compilation error: package org.apache.commons.scaffold.text does not exist package org.apache.commons.scaffold.util does not exist package org.apache.commons.scaffold.lang does not exist __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help needed on Iterate Tag
Aapko Naye Saal me... Chandragupt Ki Shakti Meerabai Ki Bhakti Ramchandra Ka Gyan Karan Ka Daan Einstein Ki Buddhi Nobel Prize Ki Siddhi Gandhi Ki Ahimsa India Ki Parampara Vajpayee Ki Maryada Nizaam Ki Sampada Michael Jordan Ki Salary Abdul Kalam Ki Vocabulary Bhagat Singh Ka Deshprem Sweetheart Ka Amarprem Microsoft Ke Share Rupiyo Ke Dher Tata Ke Senses Ambani Ke Licenses Birla Ka Bangla Daler Ka Bhangra Amitabh Ki Style Madhuri Ki Smile Shahrukh Ki Personality Aishwarya Ki Popularity Worldtour Ka Ticket Tendulkar Ka Wicket Administrator Ke Passwords Jokes Ke Forwards Mercedez Ki Car Diamond Ka Haar Aur Logon Ka Dher Saraa Pyar Prapt Ho... Wish you a Happy Diwali and a Prosperous New Year Regards Abhijeet Mahalkar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HAPPY DIWALI!
Aapko Naye Saal me... Chandragupt Ki Shakti Meerabai Ki Bhakti Ramchandra Ka Gyan Karan Ka Daan Einstein Ki Buddhi Nobel Prize Ki Siddhi Gandhi Ki Ahimsa India Ki Parampara Vajpayee Ki Maryada Nizaam Ki Sampada Michael Jordan Ki Salary Abdul Kalam Ki Vocabulary Bhagat Singh Ka Deshprem Sweetheart Ka Amarprem Microsoft Ke Share Rupiyo Ke Dher Tata Ke Senses Ambani Ke Licenses Birla Ka Bangla Daler Ka Bhangra Amitabh Ki Style Madhuri Ki Smile Shahrukh Ki Personality Aishwarya Ki Popularity Worldtour Ka Ticket Tendulkar Ka Wicket Administrator Ke Passwords Jokes Ke Forwards Mercedez Ki Car Diamond Ka Haar Aur Logon Ka Dher Saraa Pyar Prapt Ho... Wish you a Happy Diwali and a Prosperous New Year Regards Abhijeet Mahalkar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: element type null
Hi All, Will Anybody explain me How RequestPRocessor and ActionServlet works ? I am not able to figure out the actual internal working of Webserver in the Struts Framework. Will anybody pls tell me how Webserver works which threads, Classes,tags etc it uses from request to response to the client ? thanks in advance abhijeet - Original Message - From: ajay brar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 1:10 PM Subject: Re: element type null hi! thanks for that. do i still need the declaration of ApplicationResources when i have defined it in struts-config.xml with message resources tag. if not, what else could be causing this problem thanks ajay From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: element type null Date: Tue, 21 Oct 2003 16:10:10 +1000 I don't know if that's right - I had a similar problem though until I put this in my web.xml But I assumed that your properties file is, like mine, in WEB-INF/classes/resources/ApplicationResources.properties sorry, I should have been more explicit in what I meant. init-param param-nameapplication/param-name param-valueresources.ApplicationResources/param-value /init-param maybe you need this: init-param param-nameapplication/param-name param-valueresources.ApplicationResources/param-value /init-param Heya Gosper CSC Australia 212 Northbourne Ave, Braddon ACT 2612 Ph: +61 (0) 2 6246 8155 Fax: +61 (0) 2 62468100 MOB: 0401 611779 --- - This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. --- - ajay brar [EMAIL PROTECTED] 21/10/2003 02:15 PM Please respond to Struts Users Mailing List To: [EMAIL PROTECTED] cc: Subject:Re: element type null hi! tried that but didn't work i dont know about the reserved word, all struts-examples seem to use it :-) the error i posed is what i get in the log file, when i try to deploy it. after deploying(successfully?) i get the error cant find bean message resource any ideas. i know its something with the deployment descriptor, but cant figure out what. the web.xml below looks fine to me thanks cheers ajay From: Martin Gainty [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: element type null Date: Mon, 20 Oct 2003 20:26:52 -0400 my web-app has a id e.g. web-app id=WebApp Also is it wise to call servlet action I thought action was a reserved name? -M - Original Message - From: ajay brar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 20, 2003 8:18 PM Subject: element type null hi! i am getting the following error, when i try to deploy my application Element type null must be followed by either attribute specification or / could anyone help please. my web.xml looks like this ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app !-- Action Servlet Configuration -- servlet servlet-nameview/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-namedebug/param-name param-value3/param-value /init-param init-param param-namedetail/param-name param-value3/param-value /init-param load-on-startup2/load-on-startup /servlet servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-namedebug/param-name param-value3/param-value /init-param init-param param-namedetail/param-name param-value3/param-value /init-param load-on-startup2/load-on-startup /servlet !-- Action Servlet Mapping --
Request PRocessor
Sorry for previous wrong Subject Line. abhijeet - Original Message - From: Abhijeet Mahalkar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 2:39 PM Subject: Re: element type null Hi All, Will Anybody explain me How RequestPRocessor and ActionServlet works ? I am not able to figure out the actual internal working of Webserver in the Struts Framework. Will anybody pls tell me how Webserver works which threads, Classes,tags etc it uses from request to response to the client ? thanks in advance abhijeet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
html:button Not working
Hi ALL I have a code in which i have to submit the page for which i have written html:form onsubmit=return XYZFORM(this); action=/XYZ method=post //some code html:button property=/usergroupmaster bean:message key=button.details/ /html:button /html:form but when i click the button nothing happens pls suggest what to do? thanks In Advance abhijeet - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 5:23 PM Subject: RE: [POLL] ActionFrom vs DynaActionForm snip if I'm simply copying all my properties to another class (Torque Object, EJB, Business Object of some sort) why would I ever need code completion for my action forms /snip Indeed, under such situations you would likely be better of with dynaforms. IMHO The real advantages of writing an ActionForm class are when you are writing a fair bit of java code that interacts with the form. Having a solid class with strongly typed getters and setters really helps you to keep the bugs down by catching many of the simple ones at compile time and of course IDE feature like code completion can save a fair bit of time, and help jog the memory (especially when you have a big form with lots of funny named fields!) -Original Message- From: Mainguy, Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 19:47 To: 'Struts Users Mailing List' Subject: RE: [POLL] ActionFrom vs DynaActionForm BeanUtils.copyProperties also works with DynaForms (They implement DynaBean and BeanUtils treats them (for the most part) as POJB's (c). I will concede that code completion is a definite plus. My only counter to that would be that, if I'm simply copying all my properties to another class (Torque Object, EJB, Business Object of some sort) why would I ever need code completion for my action forms? Code completion is a good point anyway though... -Original Message- From: Pratik Patel [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 7:29 AM To: [EMAIL PROTECTED] Subject: Re: [POLL] ActionFrom vs DynaActionForm +1 ActionForms -1 Dyna*Forms Brandon Goodin wrote: #1 Reasons: -Dynas massive struts configs are annoying and the runtime errors bite. -DynaForm time saving is insignificant (how long does it take for your ide to generate getters/setters?). snip more reasons: - Easy to copy properties from ActionForm to domain object (using BeanUtils.copyProperties ) - code completion can be used with ActionForms cheers, Pratik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message and its contents (to include attachments) are the property of Kmart Corporation (Kmart) and may contain confidential and proprietary information. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately. - 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]
Incompatible object argument for method call
I am stuck with the following error while invoking the simple jsp file which contains few tags... Please Suggest the solutions as early as possible.. [10/1/03 12:17:08:156 IST] 6589a06b WebGroup E SRVE0026E: [Servlet Error]-[#40;class: org/apache/struts/taglib/logic/MessagesPresentTag, method: condition signature: #40;Z#41;Z#41; Incompatible object argument for method call]: java.lang.VerifyError: (class: org/apache/struts/taglib/logic/MessagesPresentTag, method: condition signature: (Z)Z) Incompatible object argument for method call at java.lang.Class.getMethods0(Native Method) at java.lang.Class.getDeclaredMethods(Class.java:1079) at java.beans.Introspector$1.run(Introspector.java:880) at java.security.AccessController.doPrivileged(Native Method) at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:878) at java.beans.Introspector.getTargetEventInfo(Introspector.java:584) at java.beans.Introspector.getBeanInfo(Introspector.java:322) at java.beans.Introspector.getBeanInfo(Introspector.java:106) at org.apache.jasper.compiler.TagCache.setTagHandlerClass(TagCache.java:124) at com.ibm.ws.webcontainer.jsp.compiler.BasicTagBeginGenerator.init(BasicTagBeg inGenerator.java:88) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspPa rseEventListener.java:1001) at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventL istener.java:179) at org.apache.jasper.compiler.ConfigurableParseEventListener.handleTagBegin(Con figurableParseEventListener.java:739) at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListe ner.java:221) at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListe ner.java:216) at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:885) at org.apache.jasper.compiler.Parser.parse(Parser.java(Compiled Code)) at org.apache.jasper.compiler.Parser.parse(Parser.java:1110) at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:899) at org.apache.jasper.compiler.Parser.parse(Parser.java(Compiled Code)) at org.apache.jasper.compiler.Parser.parse(Parser.java:1110) at org.apache.jasper.compiler.Parser.parse(Parser.java:1106) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:309) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:211) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.loadJSP(JspServlet.java:861) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.loadIfNeces sary(JspServlet.java:278) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(Jsp Servlet.java:304) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.jav a:598) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:696) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle tInstance.java:110) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy cleServlet.java:174) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ let.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc leServlet.java:116) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java :258) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer vletReferenceState.java:42) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns tanceReference.java:40) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain. java:61) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch( WebAppRequestDispatcher.java:863) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques tDispatcher.java:491) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest Dispatcher.java:173) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker .java:199) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C achedInvocation.java:71) at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(C acheableInvocationContext.java:114) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq uestProcessor.java:187) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene r.java:331) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav a:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592) thanks abhijeet - To unsubscribe, e-mail: [EMAIL PROTECTED]
Re: CTRL-N should not work in different machine...
for this you have to trap the CTRL-N key event through HTML tags. GOTO http://www.javaworld.com/javaworld/jw-12-2001/jw-1221-xslt.html? link . search you will get the solution. abhijeet - Original Message - From: Prashanth.S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 10:22 AM Subject: CTRL-N should not work in different machine... Hi all, In my application i dont want CTRL-N[copy pasting the same url in different window] to work...My application is sending sessionid in URLSo how i need to do this so that i cant browse through the application when i copy paste the url in different machine.??? Thanks prashanth - Do you Yahoo!? The New Yahoo! Shopping - with improved product search - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CTRL-N should not work in different machine...
hi prashanth http://www.javaworld.com check this and try HTML page EVENTS in that some questions are also answered please search in this site this will definitely help u out. I can't spare time otherwiese i could have given proper cod eto you. if u can wait for next day then i can... regards Abhijeet - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 12:33 PM Subject: RE: CTRL-N should not work in different machine... eh? Thats something about XSLT -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 14:54 To: Struts Users Mailing List Subject: Re: CTRL-N should not work in different machine... for this you have to trap the CTRL-N key event through HTML tags. GOTO http://www.javaworld.com/javaworld/jw-12-2001/jw-1221-xslt.html? link . search you will get the solution. abhijeet - Original Message - From: Prashanth.S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 10:22 AM Subject: CTRL-N should not work in different machine... Hi all, In my application i dont want CTRL-N[copy pasting the same url in different window] to work...My application is sending sessionid in URLSo how i need to do this so that i cant browse through the application when i copy paste the url in different machine.??? Thanks prashanth - Do you Yahoo!? The New Yahoo! Shopping - with improved product search - 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]
It's Really Urgent .
I am stuck up with the following problem from last so much time. and not able to deploy war file into the websphere 5.0 server. please GUIDE ASAP abhijeet [10/1/03 16:02:44:797 IST] 15433d06 SystemOut O register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar:file:/C:/WebSphere/AppServer/lib/struts.jar!/org/apache/struts/resource s/struts-config_1_0.dtd' [10/1/03 16:02:44:797 IST] 15433d06 SystemOut O register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'jar:file:/C:/WebSphere/AppServer/lib/struts.jar!/org/apache/struts/resource s/web-app_2_2.dtd' [10/1/03 16:02:44:797 IST] 15433d06 SystemOut O register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'jar:file:/C:/WebSphere/AppServer/lib/struts.jar!/org/apache/struts/resource s/web-app_2_3.dtd' [10/1/03 16:02:44:812 IST] 15433d06 SystemOut O resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.1//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd') [10/1/03 16:02:44:812 IST] 15433d06 SystemOut O Not registered, use system identifier [10/1/03 16:02:44:812 IST] 15433d06 ServletInstan E SRVE0100E: Did not realize init() exception thrown by servlet action: javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletIn stance.java:82) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycle Servlet.java:147) at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecy cleServlet.java:270) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleS ervlet.java:113) at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:17 5) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServlet Manager.java:761) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServle tManager.java:257) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(Web AppServletManager.java:453) at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1233) at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:273) at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:317) at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:194) at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:950 ) at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java: 133) at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:36 0) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.jav a:401) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart (DeployedApplicationImpl.java:743) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.jav a:337) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicati onImpl.java:531) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Application MgrImpl.java:254) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
It's Really Urgent .
- Original Message - From: Abhijeet Mahalkar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 4:09 PM Subject: It's Really Urgent . I am stuck up with the following problem from last so much time. and not able to deploy war file into the websphere 5.0 server. please GUIDE ASAP abhijeet [10/1/03 16:02:44:797 IST] 15433d06 SystemOut O register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar:file:/C:/WebSphere/AppServer/lib/struts.jar!/org/apache/struts/resource s/struts-config_1_0.dtd' [10/1/03 16:02:44:797 IST] 15433d06 SystemOut O register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'jar:file:/C:/WebSphere/AppServer/lib/struts.jar!/org/apache/struts/resource s/web-app_2_2.dtd' [10/1/03 16:02:44:797 IST] 15433d06 SystemOut O register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'jar:file:/C:/WebSphere/AppServer/lib/struts.jar!/org/apache/struts/resource s/web-app_2_3.dtd' [10/1/03 16:02:44:812 IST] 15433d06 SystemOut O resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.1//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd') [10/1/03 16:02:44:812 IST] 15433d06 SystemOut O Not registered, use system identifier [10/1/03 16:02:44:812 IST] 15433d06 ServletInstan E SRVE0100E: Did not realize init() exception thrown by servlet action: javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletIn stance.java:82) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycle Servlet.java:147) at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecy cleServlet.java:270) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleS ervlet.java:113) at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:17 5) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServlet Manager.java:761) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServle tManager.java:257) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(Web AppServletManager.java:453) at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1233) at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:273) at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:317) at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:194) at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:950 ) at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java: 133) at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:36 0) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.jav a:401) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart (DeployedApplicationImpl.java:743) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.jav a:337) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicati onImpl.java:531) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Application MgrImpl.java:254) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Websphere Struts -war Deployment problem...
While depoloying one war file i am getting the following error in websphere will anybody guide me. [10/1/03 15:20:07:391 IST] 51ddb8cf WebGroup I SRVE0180I: [ANMEJB.war] [/ANMEJB] [Servlet.LOG]: action: init [10/1/03 15:20:07:406 IST] 51ddb8cf WebGroup I SRVE0180I: [ANMEJB.war] [/ANMEJB] [Servlet.LOG]: action: Initializing configuration from resource path /WEB-INF/struts-config.xml [10/1/03 15:20:07:406 IST] 51ddb8cf SystemOut O register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar:file:/C:/WebSphere/AppServer/lib/struts.jar!/org/apache/struts/resource s/struts-config_1_0.dtd' [10/1/03 15:20:07:406 IST] 51ddb8cf SystemOut O register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'jar:file:/C:/WebSphere/AppServer/lib/struts.jar!/org/apache/struts/resource s/web-app_2_2.dtd' [10/1/03 15:20:07:406 IST] 51ddb8cf SystemOut O register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'jar:file:/C:/WebSphere/AppServer/lib/struts.jar!/org/apache/struts/resource s/web-app_2_3.dtd' [10/1/03 15:20:07:406 IST] 51ddb8cf SystemOut O resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.1//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd') [10/1/03 15:20:07:406 IST] 51ddb8cf SystemOut O Not registered, use system identifier [10/1/03 15:20:07:406 IST] 51ddb8cf ServletInstan E SRVE0100E: Did not realize init() exception thrown by servlet action: javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletIn stance.java:82) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycle Servlet.java:147) at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecy cleServlet.java:270) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleS ervlet.java:113) at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:17 5) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServlet Manager.java:761) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServle tManager.java:257) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(Web AppServletManager.java:453) at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1233) at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:273) at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:317) at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:194) at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:950 ) at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java: 133) at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:36 0) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.jav a:401) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart (DeployedApplicationImpl.java:743) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.jav a:337) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicati onImpl.java:531) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Application MgrImpl.java:254) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Application MgrImpl.java:458) at java.lang.reflect.Method.invoke(Native Method) at com.tivoli.jmx.modelmbean.MMBInvoker.invoke(MMBInvoker.java:46) at com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(MMBInvoker.java:115) at com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(DynamicModelMBeanS upport.java:409) at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.jav a:323) at com.tivoli.jmx.GenericMBeanSupport.invoke(GenericMBeanSupport.java:178) at com.tivoli.jmx.MBeanAccess.invoke(MBeanAccess.java:113) at com.tivoli.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:290) at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:655) at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:137) at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.perfo rm(ApplicationDeploymentCollectionAction.java:239) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja va:1791) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
Re: CTRL-N should not work in different machine...
You have to craete one jsp file in which you will accept the session value and forward the request to the respective page. (e.g. amon.jsp) the session will contains paramstring the value of this will be your request.getRequestURI(). in your every jsp page before doing any calculation you have to put this name/value pair into the session. and when you want to forward to next page then say request.sendRedirect(amon.jsp?page=nextPage.jsp); Hope this will work perfectly for u b'use i was using this in my prev. project. so tested one... abhijeet - Original Message - From: Prashanth.S [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 2:45 PM Subject: RE: CTRL-N should not work in different machine... Hi, Thanks for the solution..Actually my problem is if i copy paste my application url from my machine and use it on other machine it still lets user to go through the application but instead it should invalidate by giving session time out error...So what to do??? Waitinf gor reply Prashanth Andrew Hill [EMAIL PROTECTED] wrote: eh? Thats something about XSLT -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 14:54 To: Struts Users Mailing List Subject: Re: should not work in different machine... for this you have to trap the CTRL-N key event through HTML tags. GOTO http://www.javaworld.com/javaworld/jw-12-2001/jw-1221-xslt.html? link . search you will get the solution. abhijeet - Original Message - From: Prashanth.S To: Sent: Wednesday, October 01, 2003 10:22 AM Subject: should not work in different machine... Hi all, In my application i dont want [copy pasting the same url in different window] to work...My application is sending sessionid in URLSo how i need to do this so that i cant browse through the application when i copy paste the url in different machine.??? Thanks prashanth - Do you Yahoo!? The New Yahoo! Shopping - with improved product search - 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!? The New Yahoo! Shopping - with improved product search - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Action re-running on page refresh?
Hi Kat , You Have to put th URL value in the session say NEXTURL for this you have to write one JSP in which you will say amon.jsp String nextUrl = session.getValue(NEXTURL) ; String page = session.getValue(Page) ; response.sendRedirect(nextUrl) ; in every jsp in the application you have to say String requesturl = request.getRequestURI() ; and session.puValue(NEXTURL,requesturl ); somewhere in jsp or action class response.redirect(amon.jsp?Page=MyPage.jsp); which will return the complete uri to you and once you thru with the login validations and all then redirect to the above intermidiate.jsp in this way you are never redirecting to your original page always to intermediate and whatever session values will be there it will get redirected to that jsp page. so never login. This method is tested one... abhijeet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: No Error Message But A Blank Page Is Displayed.
have u updated the Resource files... ? abhijeet - Original Message - From: Caroline Jen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 9:45 AM Subject: No Error Message But A Blank Page Is Displayed. I am experimenting a basic application - logon. I got the first two screens working without problem. However, the third screen displays a blank page (no error message). I am having a very difficult time to figure out the problem; henceforth, seeking help. Here is the history of my application: 1. http://localhost:8080/LogonPractice/index.jsp (no problem and I clicked on Sign in) 2. http://localhost:8080/LogonPractice/Logon.do;jsessionid=170B50E4D8E07EE36290E98342E8BF9C (no problem and the screen asked for username and password. I filled out the information and clicked on Submit) 3. http://localhost:8080/LogonPractice/LogonSubmit.do (displayed a blank page) The Tomcat log file shows the following (no error message at all): 2003-09-29 23:29:26 action: Processing a GET for /Logon 2003-09-29 23:29:26 action: Looking for Action instance for class org.apache.struts.actions.ForwardAction 2003-09-29 23:29:26 action: Double checking for Action instance already there 2003-09-29 23:29:26 action: Creating new Action instance 2003-09-29 23:29:35 action: Processing a POST for /LogonSubmit 2003-09-29 23:29:35 action: Looking for ActionForm bean under attribute 'logonForm' 2003-09-29 23:29:35 action: Creating new ActionForm instance of class 'org.apache.artimus.logon.LogonForm' 2003-09-29 23:29:35 action: Storing instance under attribute 'logonForm' in scope 'request' 2003-09-29 23:29:35 action: Populating bean properties from this request 2003-09-29 23:29:35 action: Validating input form properties 2003-09-29 23:29:35 action: No errors detected, accepting input 2003-09-29 23:29:35 action: Looking for Action instance for class org.apache.artimus.logon.LogonAction 2003-09-29 23:29:35 action: Double checking for Action instance already there 2003-09-29 23:29:35 action: Creating new Action instance in my struts-config.xml, I have: action path=/LogonSubmit type=org.apache.artimus.logon.LogonAction name=logonForm scope=request validate=true input=/signin/Logon.jsp forward name=valid path=/signin/Welcome.jsp/ /action and my LogonAction.java is: package org.apache.artimus.logon; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionServlet; import org.apache.artimus.lang.Constants; public final class LogonAction extends Action { public boolean isUserLogon(String username, String password) throws UserDirectoryException { return (UserDirectory.getInstance().isValidPassword(username,password)); // return true; } public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { // Obtain username and password from web tier String username = ((LogonForm) form).getUsername(); String password = ((LogonForm) form).getPassword(); // Validate credentials with business tier boolean validated = false; try { validated = isUserLogon(username,password); } catch (UserDirectoryException ude) { // couldn't connect to user directory ActionErrors errors = new ActionErrors(); errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(error.logon.connect)); saveErrors(request,errors); // return to input page return (new ActionForward(mapping.getInput())); } if (!validated) { // credentials don't match ActionErrors errors = new ActionErrors(); errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(error.logon.invalid)); saveErrors(request,errors); // return to input page return (new ActionForward(mapping.getInput())); } // Save our logged-in user in the session, // because we use it again later. HttpSession session = request.getSession(); session.setAttribute(Constants.USER_KEY, form); // Log this event, if appropriate if (servlet.getDebug() = Constants.DEBUG) { StringBuffer message =
Re: dynamic properties in jsp
You have to handale this in JAvascript in which use document.createElement method to create the table row,td, and components and values of this u can access in dynaform ... abhijeet - Original Message - From: krishnamohan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 10:05 AM Subject: dynamic properties in jsp Hi, I am working on a page where the user will dynamically add new rows at runtime and there is no limit. This will be on a button 'Add New Option'. So I do not know what properties to create at compile time. If anybody has worked on this type of scenario in struts, pl. help me how to do this or with some code. I am using struts1.1 and tomcat. Thanks, Krishna - 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]
Urgent: No Getter Method found
hi All I am getting following error while invoking JSP file .. txtUserGroupCode of bean org.apache.struts.taglib.html.BEAN]: javax.servlet.jsp.JspException: No getter method for property txtUserGroupCode of bean org.apache.struts.taglib.html.BEAN i have following code in the Action Clas... still i am getting the error please Sugest solution for this... public String getTxtUserGroupCode() { return this.txtusergroupcode ; } public void setTxtUserGroupCode(String s) { this.txtusergroupcode = s ; }
Re: Urgent: No Getter Method found
Do i need to chnage form-bean entries name also from struts-config asd well as jsp file thanks for reply... abhijeet - Original Message - From: Navjot Singh [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, September 26, 2003 12:21 PM Subject: RE: Urgent: No Getter Method found change the variable txtusergroupcode to txtUserGroupCode. it will work. |-Original Message- |From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] |Sent: Friday, September 26, 2003 12:13 PM |To: Struts Users Mailing List |Subject: Urgent: No Getter Method found | | |hi All |I am getting following error while invoking JSP file .. | | |txtUserGroupCode of bean org.apache.struts.taglib.html.BEAN]: |javax.servlet.jsp.JspException: No getter method for property |txtUserGroupCode of bean org.apache.struts.taglib.html.BEAN | |i have following code in the Action Clas... still i am getting |the error please Sugest solution for this... | | | | public String getTxtUserGroupCode() | { | return this.txtusergroupcode ; | } | | public void setTxtUserGroupCode(String s) | { | this.txtusergroupcode = s ; | } | | - 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]
[SOLVED]Re: Urgent: No Getter Method found
Hi ALL , I got the solution for this. I removed all the gettter setters and Variables from the Action class. and now error was because of wrong mapping in struts-config file.. thanks 4 co-operation abhijeet - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, September 26, 2003 12:36 PM Subject: RE: Urgent: No Getter Method found I dont understand what the name of the instance variable used internally in the class as got to do with the error he is getting (which results from a failed introspection attempt to find a getter method)? Surely he could call the internal variable (which I presume is protected or private) bob if he liked and it should still work? -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Friday, 26 September 2003 14:51 To: Struts Users Mailing List Subject: RE: Urgent: No Getter Method found change the variable txtusergroupcode to txtUserGroupCode. it will work. |-Original Message- |From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] |Sent: Friday, September 26, 2003 12:13 PM |To: Struts Users Mailing List |Subject: Urgent: No Getter Method found | | |hi All |I am getting following error while invoking JSP file .. | | |txtUserGroupCode of bean org.apache.struts.taglib.html.BEAN]: |javax.servlet.jsp.JspException: No getter method for property |txtUserGroupCode of bean org.apache.struts.taglib.html.BEAN | |i have following code in the Action Clas... still i am getting |the error please Sugest solution for this... | | | | public String getTxtUserGroupCode() | { | return this.txtusergroupcode ; | } | | public void setTxtUserGroupCode(String s) | { | this.txtusergroupcode = s ; | } | | - 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]
what is .do mapping?
When invoke the jsp using http://localhost/xyz/pages/UserGroupMaster.jsp URL and when i submit the page trhu submit button the URL gets changed to following will anybody tell me why? and what is .do stands for? where do we make the entry of this.? is it the action mapping we are using in struts -config.xml file ? action path=/usergroupmaster type=ActionUserGroupMaster name=UserGroupMasterActionForm scope=request validate=false input=/pages/UserGroupMaster.jsp parameter=action forward name=success path=/pages/success.jsp/ forward name=failure path=/pages/failure.jsp/ forward name=usergroupmaster path=/pages/UserGroupMaster.jsp/ /action http://localhost/xyz/usergroupmaster.do
Re: what is .do mapping?
Hi swanand thanks for ur very quick reply. just guide me ... What should i do if the following code not working and not getting redirected to UserGroupMaster.jsp On Fri, 26 Sep 2003 Abhijeet Mahalkar wrote : When invoke the jsp using http://localhost/xyz/pages/UserGroupMaster.jsp URL and when i submit the page trhu submit button the URL gets changed to following will anybody tell me why? and what is .do stands for? where do we make the entry of this.? is it the action mapping we are using in struts -config.xml file ? * YES, infact it is. when you give a url like usergroupmaster.do is looks in to the struts-config.xml and matches the path attribute. After the matching ActionUserGroupMaster class is used to accomplish the task using some helper classes/beans etc and depending on the the return value (success,failure etc) corresponding page is called (success.jsp, failure.jsp etc). Hope it helps -- swan action path=/usergroupmaster type=ActionUserGroupMaster name=UserGroupMasterActionForm scope=request validate=false input=/pages/UserGroupMaster.jsp parameter=action forward name=success path=/pages/success.jsp/ forward name=failure path=/pages/failure.jsp/ forward name=usergroupmaster path=/pages/UserGroupMaster.jsp/ /action http://localhost/xyz/usergroupmaster.do ___ Meet your old school or college friends from 1 Million + database... Click here to reunite www.batchmates.com/rediff.asp - 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: what is .do mapping?
Hi swanand thanks for ur very quick reply. just guide me ... What should i do if the following code not working and not getting redirected to UserGroupMaster.jsp i am getting this error... org.apache.struts.action.RequestProcessor Invalid path /usergroupmaster was requested thanks in Advance abhijeet On Fri, 26 Sep 2003 Abhijeet Mahalkar wrote : When invoke the jsp using http://localhost/xyz/pages/UserGroupMaster.jsp URL and when i submit the page trhu submit button the URL gets changed to following will anybody tell me why? and what is .do stands for? where do we make the entry of this.? is it the action mapping we are using in struts -config.xml file ? * YES, infact it is. when you give a url like usergroupmaster.do is looks in to the struts-config.xml and matches the path attribute. After the matching ActionUserGroupMaster class is used to accomplish the task using some helper classes/beans etc and depending on the the return value (success,failure etc) corresponding page is called (success.jsp, failure.jsp etc). Hope it helps -- swan action path=/usergroupmaster type=ActionUserGroupMaster name=UserGroupMasterActionForm scope=request validate=false input=/pages/UserGroupMaster.jsp parameter=action forward name=success path=/pages/success.jsp/ forward name=failure path=/pages/failure.jsp/ forward name=usergroupmaster path=/pages/UserGroupMaster.jsp/ /action http://localhost/xyz/usergroupmaster.do ___ Meet your old school or college friends from 1 Million + database... Click here to reunite www.batchmates.com/rediff.asp - 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 again with problem points/code...
- Original Message - From: Abhijeet Mahalkar To: Rohit_Arora Sent: Friday, September 26, 2003 4:17 PM Subject: .do again Hi rohit this is the stact trace for the error i am getting.. But please tell me first that while submiting how will i write html:submit i have written something like this... html:submit property=details Details /html:submit and my action class getKeyMethodMap() method contains Map map = new HashMap(); map.put(button.save,save); map.put(button.details,details); map.put(button.error,error); map.put(button.appreset,appreset); return map; and return type of details method contains return mapping.findForward(/usergroupmaster); Are these code snippets are correct. I hope now it will make you easy to understand the error and my mistakes properly... thanks abhijeet [9/26/03 15:23:05:283 IST] 19bf2a8c WebGroup I SRVE0180I: [Phase2.war] [/phase2] [Servlet.LOG]: /pages/UserGroupMaster.jsp: init [9/26/03 15:23:05:323 IST] 19bf2a8c WebGroup E SRVE0026E: [Servlet Error]-[Cannot retrieve mapping for action /usergroupmaster]: javax.servlet.jsp.JspException: Cannot retrieve mapping for action /usergroupmaster at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:810) at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506) at org.apache.jsp._UserGroupMaster._jspService(_UserGroupMaster.java:242) at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:598) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:696) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code)) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592) [9/26/03 15:23:06:615 IST] 5a11aaae WebGroup E SRVE0026E: [Servlet Error]-[Cannot retrieve mapping for action /usergroupmaster]: javax.servlet.jsp.JspException: Cannot retrieve mapping for action /usergroupmaster at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:810) at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506) at org.apache.jsp._UserGroupMaster._jspService(_UserGroupMaster.java:242) at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:598) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:696) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code
Re: .do again with problem points/code...
Yes This Worked out atleast i am going forward now.. some error is there i will try and ask u .. Thanks for ur unexpected continuous support.. abhijeet - Original Message - From: Rohit_Arora [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, September 26, 2003 4:42 PM Subject: RE: .do again with problem points/code... while returning from the action class ...use return mapping.findForward(usergroupmasterMenu); when your struts-config.xml has the action mappings has a forward name=usergroupamasterMenu as you has sent me in the new rewritten xml Hope this will work...rest of the code portion seems to be correct :-) Regards, Rohit Arora -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 4:24 PM To: Struts Users Mailing List Subject: .do again with problem points/code... - Original Message - From: Abhijeet Mahalkar To: Rohit_Arora Sent: Friday, September 26, 2003 4:17 PM Subject: .do again Hi rohit this is the stact trace for the error i am getting.. But please tell me first that while submiting how will i write html:submit i have written something like this... html:submit property=details Details /html:submit and my action class getKeyMethodMap() method contains Map map = new HashMap(); map.put(button.save,save); map.put(button.details,details); map.put(button.error,error); map.put(button.appreset,appreset); return map; and return type of details method contains return mapping.findForward(/usergroupmaster); Are these code snippets are correct. I hope now it will make you easy to understand the error and my mistakes properly... thanks abhijeet [9/26/03 15:23:05:283 IST] 19bf2a8c WebGroup I SRVE0180I: [Phase2.war] [/phase2] [Servlet.LOG]: /pages/UserGroupMaster.jsp: init [9/26/03 15:23:05:323 IST] 19bf2a8c WebGroup E SRVE0026E: [Servlet Error]-[Cannot retrieve mapping for action /usergroupmaster]: javax.servlet.jsp.JspException: Cannot retrieve mapping for action /usergroupmaster at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:810) at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506) at org.apache.jsp._UserGroupMaster._jspService(_UserGroupMaster.java:242) at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:598) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:696) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code)) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592) [9/26/03 15:23:06:615 IST] 5a11aaae WebGroup E SRVE0026E: [Servlet Error]-[Cannot retrieve mapping for action /usergroupmaster]: javax.servlet.jsp.JspException: Cannot retrieve mapping for action /usergroupmaster at org.apache.struts.taglib.html.FormTag.lookup
Value assignment to html:hidden field...
how can we assign the JSP value to the hidden field code is as follows String date = session.getValue(BussinessDate); this date variable i want to assign to following field... html:hidden property=txtBusidate width=15 size=25 maxlength=25 / will this work ? html:hidden value = %=date % property=txtBusidate width=15 size=25 maxlength=25/ please suggest abbey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Value assignment to html:hidden field...
thanks.. - Original Message - From: Adolfo Miguelez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 25, 2003 3:37 PM Subject: Re: Value assignment to html:hidden field... What about this? bean:define id=date name=BussinessDate scope=session/ html:hidden value = %=date % property=txtBusidate width=15 size=25 maxlength=25/ Adolfo. From: Abhijeet Mahalkar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Value assignment to html:hidden field... Date: Thu, 25 Sep 2003 15:09:16 +0530 how can we assign the JSP value to the hidden field code is as follows String date = session.getValue(BussinessDate); this date variable i want to assign to following field... html:hidden property=txtBusidate width=15 size=25 maxlength=25 / will this work ? html:hidden value = %=date % property=txtBusidate width=15 size=25 maxlength=25/ please suggest abbey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - 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: html base element
) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592) Error Page Exception: Error Message: Error Code: 0 Target Servlet: null Error Stack: javax.servlet.jsp.JspException at com.ibm.ws.console.taglib.common.DetectLocaleTag.doStartTag(DetectLocaleTag.java:129) at org.apache.jsp._error._jspService(_error.java:132) at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:598) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:696) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173) at com.ibm.ws.webcontainer.webapp.WebApp.handleError(WebApp.java:977) at com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:836) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:121) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592) thanks Abhijeet mahalkar * To leave this List *** e-mail to [EMAIL PROTECTED] and, in the text of your message (not the subject line), write: SIGNOFF WEBSPHERE * To join this list e-mail to [EMAIL PROTECTED] and, in the text of your message (not the subject line), write: SUBSCRIBE WEBSPHERE yourfirstname yourlastname - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANNOUNCE] JSFCentral.com site expanded
Hi All, I am Getting this error while deploying the war file into websphere 5.0 thru admin console. Has anyone incountered this problem. Can u suggest the answer to me. Please java.lang.ClassCastException: com.ibm.etools.commonarchive.impl.ArchiveImpl at com.ibm.ws.management.application.client.AppInstallHelper.createEarWrapper(AppInstallHelper.java:402) at com.ibm.ws.console.appmanagement.action.UploadAction.formUpload(UploadAction.java:181) at com.ibm.ws.console.appmanagement.action.UploadAction.perform(UploadAction.java:99) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java(Inlined Compiled Code)) at org.apache.struts.action.ActionServlet.process(ActionServlet.java(Compiled Code)) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code)) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code)) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code)) at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java(Compiled Code)) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code)) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code)) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code)) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code)) Thanks abhijeet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple rows of editable data
Yes If you are having ur data in the Xml then generate one tag srlNo aong with other tags and add this tag for each row and id of each tag in the row has to be the same as well as it has to be row id. Then u can retireve this activelement.getAttribute(id) ; and get the TR of the table depends on this id value then retrieve cell value of this row.. this way you can retireve the values as well as you can maintain uniqeness in each row of the table.. if you do not understand pls tell me i will forward a sample code for you.. regards asbhijeet - Original Message - From: Mohd Amin Mohd Din [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 22, 2003 1:10 PM Subject: multiple rows of editable data Hi, I have a master detail form where the detail section has multiple rows which have one field to be updated per row. There is one submit button at the end of the form which will allow the data in the form to be updated in to the data store. How do I make the field represent a unique number, putting the detail row id? Thanks Amin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Log4J and Struts
hi Mahesh, No u have to keep ur log4j-1.2.8.jar into websphere\appserver\lib dir not web-inf. here it will not give any error. I was working on the same kind of error an hr before but copy paste into websphere\appserver\lib solved my problem... regards abhijeet - Original Message - From: Mahesh Joshi [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 22, 2003 2:59 PM Subject: Log4J and Struts Hi, I am moving my current web application to struts and I am facing a problem. We use Log4J for our logging (Log4J version 1.2.8) If I have the log4j-1.2.8.jar in my WEB-INF/lib directory, the Action servlet does not initialize Tomcat log file says: javax.servlet.ServletException: Error instantiating servlet class org.apache.struts.action.ActionServlet at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91 2) ... - Root Cause - java.lang.ExceptionInInitializerError Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@3a5794 for org.apache.commons.logging.impl.Log4JLogger at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja va:532) Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@3a5794 for org.apache.commons.logging.impl.Log4JLogger at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI mpl.java:432) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja va:525) ... 28 more Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590) at java.lang.Class.getConstructor0(Class.java:1762) at java.lang.Class.getConstructor(Class.java:1002) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI mpl.java:429) ... 29 more If I remove the log4J.jar from WEB-INF/lib, the ActionServlet initializes(but then my app. cant log). I searched the archive and implemented the solution provided by Sgarlata Matt http://www.mail-archive.com/[EMAIL PROTECTED]/msg79448.html Howeve, putting the commons-logging.properties in the WEB-INF/classes/ folder didnt help either. (note that our log4J config file has been kept in the WEB-INF folder. Even if I keep the commons-logging.properties in the WEB-INF folder, it doesnt work). Please help! Mahesh - 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]
New Concept.
Hi All , A Small Request... We always ask those questions only, for which we don't get solutions easily. So somebody from the group solves that question. But what about those question which we do ask and later on we only get the solution of it. In such a case we have to keep informed the other developers about the solution appeared for the question. And also if we get some small small problems which we solve ourself within 1 - 2 hrs... Please keep informed others also about those problems as well as solutions of it. So every time we will not wait for the solutions to get appeared in the list. It may be ready in the list. regards, Abhijeet Mahalkar.
Urgent:Webshpere Admin Concole Problem
I got this error while starting the websphere admin console... Please Suggest how to cure it? Or do i need to reinstall the Websphere Server ? But rest of the Application is working very fine. I can easili work on the Sample applications. what could be the problem javax.servlet.jsp.JspException at com.ibm.ws.console.taglib.common.DetectLocaleTag.doStartTag(DetectLocaleTag.java:129) at org.apache.jsp._error._jspService(_error.java:132) at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:598) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:696) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174) at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher thanks Abhijeet mahalkar
Re: Errors...help urgently
Set the classpath for struts.jar if u r using any application server like weblogic or websphere then put the file in websphere\apppserver\lib dir and also put commons-beanutils in the class path.. this works any thing else let me know... regards Abhijeet Mahalkar Pune - Original Message - From: Mahavir [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 22, 2003 6:10 PM Subject: Errors...help urgently Hi Friemds I am using html tag library inside JSP page. When i tried to use form tag for a login form like html:form action=/login --- /html:form then i got following error Error: 500 Location: /mystrutsapp6/login.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:460) at login_1._jspService(login_1.java:474) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516) at java.lang.Thread.run(Thread.java:479) Root cause: javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:798) at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506) at login_1._jspService(login_1.java:250) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516) at java.lang.Thread.run(Thread.java:479) why this error is coming? please help urgently Regards Mahavir - 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]
None has replyied this. Pls Try.
(ie. local reference vs local interface)? In case of local, are you using in your code java:comp/env namespace? -juraj. -Original Message- From: Ruben Carvalho [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 12:48 PM To: Struts Users Mailing List Subject: RE: I webshpere Struts I've just started developing a new project using Websphere IDE but the application will run on Weblogic. We're using the TestServer that comes with Websphere and we're having the same problem with the Database access, using entity beans. Eventhough the server has the JNDI names configured properly, I keep getting an exception saying that the JNDI name can't be found. I manage to call the session beans in my web module but no entity beans. Is there anybody using this arquitecture? Thanks Rben Carvalho -Mensagem original- De: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Enviada: qui 18-09-2003 11:29 Para: Struts Users Mailing List Cc: Assunto: I webshpere Struts Is there anybody working on struts -- websphere server architecture i have few queries regarding deploying the complete module using JSp-- structs -- sessionbeans --- entitybeans --- Database architecture it's not getting deployed properly... can anyone guide me to get the proper link on this... thanks abhijeet - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 2:56 PM Subject: RE: calls each method twice , logging everthing twice? I had a similar bug in IE6 where I had a submit button that invoked a js method that did some stuff and then called form.submit(). In IE5 Id only have one submission, but in 6 it would do the submission from my call to submit() AND do the submit buttons submit as well. -Original Message- From: Raju, Saravanan [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 September 2003 16:09 To: Struts Users Mailing List Subject: RE: calls each method twice , logging everthing twice? please check that you are not submitting the form twice using java script or so. one in onSubmit handler and other progrmatically using form.submit(); Thanks, -- Saravanan Raju Sr.Analyst SYNTEL (India) Ltd. Chennai Development Centre Tel: +91-44-22301101 (Board) Extn : 202 Fax: +91-44-22300369 e-mail : mailto:[EMAIL PROTECTED] Website: http://www.syntelinc.com -- -Original Message- From: Andrew Hill [SMTP:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 12:15 PM To: Struts Users Mailing List Subject: RE: calls each method twice , logging everthing twice? It looks as though the browser is sending two requests for the page. Not familiar with tiles so am not sure about the exception your getting though. -Original Message- From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi) [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 September 2003 14:26 To: Struts Users Mailing List Subject: calls each method twice , logging everthing twice? hi, we are using jdeveloper as ide , and struts as framework ,, I dont know when it is started but in debug mode it calls each method twice (calls action class execute method twice ) and struts gives followig message after calling my first action class (loginAction) ,, it seccessfull execute and fiinds mapping for the login,, but gives the following message while sending response to the client, is there anybody encountered with this problem ? here is the STRUTS log info, as you can see it does processActionForward twice [INFO] RequestProcessor - -Processing a 'POST' for path '/Login' [INFO] RequestProcessor - -Processing a 'POST' for path '/Login' processActionForward(/pages/bireysel/common/welcome.jsp, false) processActionForward(/pages/bireysel/common/welcome.jsp, false) ERROR on the browser: java.lang.NullPointerException org.apache.struts.tiles.ComponentDefinition org.apache.struts.tiles.xmlDefinition.FactorySet.getDefinition(java.lang.S tr ing, javax.servlet.ServletRequest, javax.servlet.ServletContext) FactorySet.java:156
Please Reply this Mail It's Urgent.
hi ALL , Please reply the following mail Or at least tell me where I can disscuss Websphere related problem which site or Group Forums ? I have no entry for any of my bean in the web.xml is that is MUST ? When I run the simple Session bean with struts i get the following error the same is for Entity bean.. this is the log output of ejbDeploy tool specifed by IBM websphere... and this error is coming for each class Home , remote , Action , Bean and some custom classes.. I have action class in different packege and other in different is that affecting me? Will anybody help me out? Validation of UserGrpMasterJar by Map Validator is complete. All known proble [*Error] /UserGrpMasterJar(Class: indus.coll.ejb.usergroupmaster.ZTSL_UserGroupSessionBean): CHKJ2907E: Type indus.coll.ejb.usergroupmaster.ZTSL_UserGroupSessionBean, or one of its supertypes, cannot be reflected. Check the classpath. - Original Message - From: Abhijeet Mahalkar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:32 PM Subject: Re: I webshpere Struts Thanks for reply This is my ejb-jar.xml. where i have class SettingsPK which contains 3 field which i want to use as my primary key. do I need to specify following tag for all 3 Fields? prim-key-classindus.security.setting.SettingsPK/prim-key-class And one more quetion what is the purpose of this tag? why do we specify abstract schema to it ? abstract-schema-namecol_mst_settings2/abstract-schema-name Please guide me... thanks Abhijeet XML is as below... ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ejb-jar id=ejb-jar_ID descriptionSettings Entity Bean/description display-nameSettings Entity Bean/display-name enterprise-beans entity id=ContainerManagedEntity_1 descriptionSettings Entity Bean CMP 2.0/description display-nameSettings Entity Bean CMP 2.0/display-name ejb-namecol_mst_settings/ejb-name homeindus.security.setting.SettingEntityHome/home remoteindus.security.setting.SettingEntityRemote/remote ejb-classindus.security.setting.SettingEntityBean/ejb-class persistence-typeContainer/persistence-type prim-key-classindus.security.setting.SettingsPK/prim-key-class reentrantFalse/reentrant cmp-version2.x/cmp-version abstract-schema-namecol_mst_settings2/abstract-schema-name cmp-field id=CMPAttribute_1 field-nameorgcode/field-name /cmp-field cmp-field id=CMPAttribute_2 field-nameconditiontype/field-name /cmp-field cmp-field id=CMPAttribute_3 field-namecondition/field-name /cmp-field cmp-field id=CMPAttribute_4 field-namedesc/field-name /cmp-field cmp-field id=CMPAttribute_5 field-namevaluetype/field-name /cmp-field cmp-field id=CMPAttribute_6 field-namevalue/field-name /cmp-field cmp-field id=CMPAttribute_7 field-namefromvalue/field-name /cmp-field cmp-field id=CMPAttribute_8 field-nametovalue/field-name /cmp-field cmp-field id=CMPAttribute_9 field-namefield1/field-name /cmp-field cmp-field id=CMPAttribute_10 field-namefield2/field-name /cmp-field cmp-field id=CMPAttribute_11 field-namefeild3/field-name /cmp-field cmp-field id=CMPAttribute_12 field-nameallowupdate/field-name /cmp-field cmp-field id=CMPAttribute_13 field-nameuserid/field-name /cmp-field cmp-field id=CMPAttribute_14 field-nameupdtimestamp/field-name /cmp-field /entity /enterprise-beans assembly-descriptor id=AssemblyDescriptor_1 method-permission id=MethodPermission_1 descriptionGenerated unchecked method permission/description unchecked/unchecked method id=MethodElement_1 descriptionGenerated method element for all methods/description ejb-namecol_mst_settings/ejb-name method-name*/method-name /method /method-permission /assembly-descriptor /ejb-jar - Original Message - From: Ruben Carvalho [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:17 PM Subject: RE: I webshpere Struts I think everything is configured properly. When I ask for a JNDI name starting with java:comp/env/--- I always get that --- wasn't found. Can I ask you for a bit of your web.xml where you define an entity and a session bean and a bit of your ejb.xml with the same? Thanks a lot. Rúben -Mensagem original- De: Kazda Juraj [mailto:[EMAIL PROTECTED] Enviada: qui 18-09-2003 12:09
Re: Please Reply this Mail It's Urgent.
Thanks a lot I did it in mean time.. But still thanks a lot... abhijeet - Original Message - From: Kalra, Ashwani [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, September 19, 2003 1:05 PM Subject: RE: Please Reply this Mail It's Urgent. try here [EMAIL PROTECTED] e-mail to [EMAIL PROTECTED] and, in the text of your message (not the subject line), write: SIGNOFF WEBSPHERE * To join this list e-mail to [EMAIL PROTECTED] and, in the text of your message (not the subject line), write: SUBSCRIBE WEBSPHERE yourfirstname yourlastname -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 12:49 PM To: Struts Users Mailing List Subject: Please Reply this Mail It's Urgent. hi ALL , Please reply the following mail Or at least tell me where I can disscuss Websphere related problem which site or Group Forums ? I have no entry for any of my bean in the web.xml is that is MUST ? When I run the simple Session bean with struts i get the following error the same is for Entity bean.. this is the log output of ejbDeploy tool specifed by IBM websphere... and this error is coming for each class Home , remote , Action , Bean and some custom classes.. I have action class in different packege and other in different is that affecting me? Will anybody help me out? Validation of UserGrpMasterJar by Map Validator is complete. All known proble [*Error] /UserGrpMasterJar(Class: indus.coll.ejb.usergroupmaster.ZTSL_UserGroupSessionBean): CHKJ2907E: Type indus.coll.ejb.usergroupmaster.ZTSL_UserGroupSessionBean, or one of its supertypes, cannot be reflected. Check the classpath. - Original Message - From: Abhijeet Mahalkar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:32 PM Subject: Re: I webshpere Struts Thanks for reply This is my ejb-jar.xml. where i have class SettingsPK which contains 3 field which i want to use as my primary key. do I need to specify following tag for all 3 Fields? prim-key-classindus.security.setting.SettingsPK/prim-key-class And one more quetion what is the purpose of this tag? why do we specify abstract schema to it ? abstract-schema-namecol_mst_settings2/abstract-schema-name Please guide me... thanks Abhijeet XML is as below... ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ejb-jar id=ejb-jar_ID descriptionSettings Entity Bean/description display-nameSettings Entity Bean/display-name enterprise-beans entity id=ContainerManagedEntity_1 descriptionSettings Entity Bean CMP 2.0/description display-nameSettings Entity Bean CMP 2.0/display-name ejb-namecol_mst_settings/ejb-name homeindus.security.setting.SettingEntityHome/home remoteindus.security.setting.SettingEntityRemote/remote ejb-classindus.security.setting.SettingEntityBean/ejb-class persistence-typeContainer/persistence-type prim-key-classindus.security.setting.SettingsPK/prim-key-class reentrantFalse/reentrant cmp-version2.x/cmp-version abstract-schema-namecol_mst_settings2/abstract-schema-name cmp-field id=CMPAttribute_1 field-nameorgcode/field-name /cmp-field cmp-field id=CMPAttribute_2 field-nameconditiontype/field-name /cmp-field cmp-field id=CMPAttribute_3 field-namecondition/field-name /cmp-field cmp-field id=CMPAttribute_4 field-namedesc/field-name /cmp-field cmp-field id=CMPAttribute_5 field-namevaluetype/field-name /cmp-field cmp-field id=CMPAttribute_6 field-namevalue/field-name /cmp-field cmp-field id=CMPAttribute_7 field-namefromvalue/field-name /cmp-field cmp-field id=CMPAttribute_8 field-nametovalue/field-name /cmp-field cmp-field id=CMPAttribute_9 field-namefield1/field-name /cmp-field cmp-field id=CMPAttribute_10 field-namefield2/field-name /cmp-field cmp-field id=CMPAttribute_11 field-namefeild3/field-name /cmp-field cmp-field id=CMPAttribute_12 field-nameallowupdate/field-name /cmp-field cmp-field id=CMPAttribute_13 field-nameuserid/field-name /cmp-field cmp-field id=CMPAttribute_14 field-nameupdtimestamp/field-name /cmp-field /entity /enterprise-beans assembly-descriptor id=AssemblyDescriptor_1 method-permission id=MethodPermission_1 descriptionGenerated unchecked method permission/description unchecked/unchecked method id=MethodElement_1
I webshpere Struts
Is there anybody working on struts -- websphere server architecture i have few queries regarding deploying the complete module using JSp-- structs -- sessionbeans --- entitybeans --- Database architecture it's not getting deployed properly... can anyone guide me to get the proper link on this... thanks abhijeet - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 2:56 PM Subject: RE: calls each method twice , logging everthing twice? I had a similar bug in IE6 where I had a submit button that invoked a js method that did some stuff and then called form.submit(). In IE5 Id only have one submission, but in 6 it would do the submission from my call to submit() AND do the submit buttons submit as well. -Original Message- From: Raju, Saravanan [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 September 2003 16:09 To: Struts Users Mailing List Subject: RE: calls each method twice , logging everthing twice? please check that you are not submitting the form twice using java script or so. one in onSubmit handler and other progrmatically using form.submit(); Thanks, -- Saravanan Raju Sr.Analyst SYNTEL (India) Ltd. Chennai Development Centre Tel: +91-44-22301101 (Board) Extn : 202 Fax: +91-44-22300369 e-mail : mailto:[EMAIL PROTECTED] Website: http://www.syntelinc.com -- -Original Message- From: Andrew Hill [SMTP:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 12:15 PM To: Struts Users Mailing List Subject: RE: calls each method twice , logging everthing twice? It looks as though the browser is sending two requests for the page. Not familiar with tiles so am not sure about the exception your getting though. -Original Message- From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi) [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 September 2003 14:26 To: Struts Users Mailing List Subject: calls each method twice , logging everthing twice? hi, we are using jdeveloper as ide , and struts as framework ,, I dont know when it is started but in debug mode it calls each method twice (calls action class execute method twice ) and struts gives followig message after calling my first action class (loginAction) ,, it seccessfull execute and fiinds mapping for the login,, but gives the following message while sending response to the client, is there anybody encountered with this problem ? here is the STRUTS log info, as you can see it does processActionForward twice [INFO] RequestProcessor - -Processing a 'POST' for path '/Login' [INFO] RequestProcessor - -Processing a 'POST' for path '/Login' processActionForward(/pages/bireysel/common/welcome.jsp, false) processActionForward(/pages/bireysel/common/welcome.jsp, false) ERROR on the browser: java.lang.NullPointerException org.apache.struts.tiles.ComponentDefinition org.apache.struts.tiles.xmlDefinition.FactorySet.getDefinition(java.lang.S tr ing, javax.servlet.ServletRequest, javax.servlet.ServletContext) FactorySet.java:156 org.apache.struts.tiles.ComponentDefinition org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.getD ef inition(java.lang.String, javax.servlet.ServletRequest, javax.servlet.ServletContext) ComponentDefinitionsFactoryWrapper.java:56 boolean org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(java. la ng.String, boolean, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) TilesRequestProcessor.java:175 - 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] Confidential: This electronic message and all contents contain information from Syntel, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender immediately and destroy the original message and all copies. - 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
Re: offtopic idea 876 external javadoc
I am facing this error while deploying the Session bean into Webshpere is any body working on webshepere can u help me ? please thanks regards ABhijeet [*Error] /UserGrpMasterJar(Class: indus.coll.ejb.usergroupmaster.UserGroupHome): CHKJ2907E: Type indus.coll.ejb.usergroupmaster.UserGroupHome, or one of its supertypes, cannot be reflected. Check the classpath. - Original Message - From: Kalra, Ashwani [EMAIL PROTECTED] To: Struts (E-mail) [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 4:00 PM Subject: offtopic idea 876 external javadoc hi, Sorry for the offtopic. But can any one using IDEA build 876 tell me how to associate external java docs Regds Ashwani Kalra This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I webshpere Struts
Thanks for reply This is my ejb-jar.xml. where i have class SettingsPK which contains 3 field which i want to use as my primary key. do I need to specify following tag for all 3 Fields? prim-key-classindus.security.setting.SettingsPK/prim-key-class And one more quetion what is the purpose of this tag? why do we specify abstract schema to it ? abstract-schema-namecol_mst_settings2/abstract-schema-name Please guide me... thanks Abhijeet XML is as below... ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ejb-jar id=ejb-jar_ID descriptionSettings Entity Bean/description display-nameSettings Entity Bean/display-name enterprise-beans entity id=ContainerManagedEntity_1 descriptionSettings Entity Bean CMP 2.0/description display-nameSettings Entity Bean CMP 2.0/display-name ejb-namecol_mst_settings/ejb-name homeindus.security.setting.SettingEntityHome/home remoteindus.security.setting.SettingEntityRemote/remote ejb-classindus.security.setting.SettingEntityBean/ejb-class persistence-typeContainer/persistence-type prim-key-classindus.security.setting.SettingsPK/prim-key-class reentrantFalse/reentrant cmp-version2.x/cmp-version abstract-schema-namecol_mst_settings2/abstract-schema-name cmp-field id=CMPAttribute_1 field-nameorgcode/field-name /cmp-field cmp-field id=CMPAttribute_2 field-nameconditiontype/field-name /cmp-field cmp-field id=CMPAttribute_3 field-namecondition/field-name /cmp-field cmp-field id=CMPAttribute_4 field-namedesc/field-name /cmp-field cmp-field id=CMPAttribute_5 field-namevaluetype/field-name /cmp-field cmp-field id=CMPAttribute_6 field-namevalue/field-name /cmp-field cmp-field id=CMPAttribute_7 field-namefromvalue/field-name /cmp-field cmp-field id=CMPAttribute_8 field-nametovalue/field-name /cmp-field cmp-field id=CMPAttribute_9 field-namefield1/field-name /cmp-field cmp-field id=CMPAttribute_10 field-namefield2/field-name /cmp-field cmp-field id=CMPAttribute_11 field-namefeild3/field-name /cmp-field cmp-field id=CMPAttribute_12 field-nameallowupdate/field-name /cmp-field cmp-field id=CMPAttribute_13 field-nameuserid/field-name /cmp-field cmp-field id=CMPAttribute_14 field-nameupdtimestamp/field-name /cmp-field /entity /enterprise-beans assembly-descriptor id=AssemblyDescriptor_1 method-permission id=MethodPermission_1 descriptionGenerated unchecked method permission/description unchecked/unchecked method id=MethodElement_1 descriptionGenerated method element for all methods/description ejb-namecol_mst_settings/ejb-name method-name*/method-name /method /method-permission /assembly-descriptor /ejb-jar - Original Message - From: Ruben Carvalho [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:17 PM Subject: RE: I webshpere Struts I think everything is configured properly. When I ask for a JNDI name starting with java:comp/env/--- I always get that --- wasn't found. Can I ask you for a bit of your web.xml where you define an entity and a session bean and a bit of your ejb.xml with the same? Thanks a lot. Rben -Mensagem original- De: Kazda Juraj [mailto:[EMAIL PROTECTED] Enviada: qui 18-09-2003 12:09 Para: Struts Users Mailing List Cc: Assunto: RE: I webshpere Struts I'm using this architecture and everything works... What kind of JNDI name it can't find? Bean or Datasource? Do you really have declared in web.xml and implemented corresponding interfaces (ie. local reference vs local interface)? In case of local, are you using in your code java:comp/env namespace? -juraj. -Original Message- From: Ruben Carvalho [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 12:48 PM To: Struts Users Mailing List Subject: RE: I webshpere Struts I've just started developing a new project using Websphere IDE but the application will run on Weblogic. We're using the TestServer that comes with Websphere and we're having the same problem with the Database access, using entity beans. Eventhough the server has the JNDI names configured properly, I keep getting an exception saying that the JNDI name can't be found. I manage to call the session beans in my web module but no entity beans. Is there anybody using this arquitecture? Thanks Rben Carvalho -Mensagem original- De: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Enviada: qui 18-09-2003 11:29 Para: Struts Users Mailing List Cc: Assunto: I webshpere Struts Is there anybody working
CHKJ2907E: Type *** cannot be reflected. Check the classpath. IN WEBSPHERE
hi ALL , When I run the simple Session bean with struts i get the following error the same is for Entity bean.. this is the log output of ejbDeploy tool specifed by IBM websphere... and this error is coming for each class Home , remote , Action , Bean and some custom classes.. I have action class in different packege and other in different is that affecting me? Will anybody help me out? Validation of UserGrpMasterJar by Map Validator is complete. All known proble [*Error] /UserGrpMasterJar(Class: indus.coll.ejb.usergroupmaster.ZTSL_UserGroupSessionBean): CHKJ2907E: Type indus.coll.ejb.usergroupmaster.ZTSL_UserGroupSessionBean, or one of its supertypes, cannot be reflected. Check the classpath. - Original Message - From: Abhijeet Mahalkar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:32 PM Subject: Re: I webshpere Struts Thanks for reply This is my ejb-jar.xml. where i have class SettingsPK which contains 3 field which i want to use as my primary key. do I need to specify following tag for all 3 Fields? prim-key-classindus.security.setting.SettingsPK/prim-key-class And one more quetion what is the purpose of this tag? why do we specify abstract schema to it ? abstract-schema-namecol_mst_settings2/abstract-schema-name Please guide me... thanks Abhijeet XML is as below... ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ejb-jar id=ejb-jar_ID descriptionSettings Entity Bean/description display-nameSettings Entity Bean/display-name enterprise-beans entity id=ContainerManagedEntity_1 descriptionSettings Entity Bean CMP 2.0/description display-nameSettings Entity Bean CMP 2.0/display-name ejb-namecol_mst_settings/ejb-name homeindus.security.setting.SettingEntityHome/home remoteindus.security.setting.SettingEntityRemote/remote ejb-classindus.security.setting.SettingEntityBean/ejb-class persistence-typeContainer/persistence-type prim-key-classindus.security.setting.SettingsPK/prim-key-class reentrantFalse/reentrant cmp-version2.x/cmp-version abstract-schema-namecol_mst_settings2/abstract-schema-name cmp-field id=CMPAttribute_1 field-nameorgcode/field-name /cmp-field cmp-field id=CMPAttribute_2 field-nameconditiontype/field-name /cmp-field cmp-field id=CMPAttribute_3 field-namecondition/field-name /cmp-field cmp-field id=CMPAttribute_4 field-namedesc/field-name /cmp-field cmp-field id=CMPAttribute_5 field-namevaluetype/field-name /cmp-field cmp-field id=CMPAttribute_6 field-namevalue/field-name /cmp-field cmp-field id=CMPAttribute_7 field-namefromvalue/field-name /cmp-field cmp-field id=CMPAttribute_8 field-nametovalue/field-name /cmp-field cmp-field id=CMPAttribute_9 field-namefield1/field-name /cmp-field cmp-field id=CMPAttribute_10 field-namefield2/field-name /cmp-field cmp-field id=CMPAttribute_11 field-namefeild3/field-name /cmp-field cmp-field id=CMPAttribute_12 field-nameallowupdate/field-name /cmp-field cmp-field id=CMPAttribute_13 field-nameuserid/field-name /cmp-field cmp-field id=CMPAttribute_14 field-nameupdtimestamp/field-name /cmp-field /entity /enterprise-beans assembly-descriptor id=AssemblyDescriptor_1 method-permission id=MethodPermission_1 descriptionGenerated unchecked method permission/description unchecked/unchecked method id=MethodElement_1 descriptionGenerated method element for all methods/description ejb-namecol_mst_settings/ejb-name method-name*/method-name /method /method-permission /assembly-descriptor /ejb-jar - Original Message - From: Ruben Carvalho [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:17 PM Subject: RE: I webshpere Struts I think everything is configured properly. When I ask for a JNDI name starting with java:comp/env/--- I always get that --- wasn't found. Can I ask you for a bit of your web.xml where you define an entity and a session bean and a bit of your ejb.xml with the same? Thanks a lot. Rben -Mensagem original- De: Kazda Juraj [mailto:[EMAIL PROTECTED] Enviada: qui 18-09-2003 12:09 Para: Struts Users Mailing List Cc: Assunto: RE: I webshpere Struts I'm using this architecture and everything works... What kind of JNDI name it can't find? Bean or Datasource? Do you really have
Re: CHKJ2907E: Type *** cannot be reflected. Check the classpath. IN WEBSPHERE
hi ALL , I have no entry for any of my bean in the web.xml is that is MUST ? When I run the simple Session bean with struts i get the following error the same is for Entity bean.. this is the log output of ejbDeploy tool specifed by IBM websphere... and this error is coming for each class Home , remote , Action , Bean and some custom classes.. I have action class in different packege and other in different is that affecting me? Will anybody help me out? Validation of UserGrpMasterJar by Map Validator is complete. All known proble [*Error] /UserGrpMasterJar(Class: indus.coll.ejb.usergroupmaster.ZTSL_UserGroupSessionBean): CHKJ2907E: Type indus.coll.ejb.usergroupmaster.ZTSL_UserGroupSessionBean, or one of its supertypes, cannot be reflected. Check the classpath. - Original Message - From: Abhijeet Mahalkar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:32 PM Subject: Re: I webshpere Struts Thanks for reply This is my ejb-jar.xml. where i have class SettingsPK which contains 3 field which i want to use as my primary key. do I need to specify following tag for all 3 Fields? prim-key-classindus.security.setting.SettingsPK/prim-key-class And one more quetion what is the purpose of this tag? why do we specify abstract schema to it ? abstract-schema-namecol_mst_settings2/abstract-schema-name Please guide me... thanks Abhijeet XML is as below... ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ejb-jar id=ejb-jar_ID descriptionSettings Entity Bean/description display-nameSettings Entity Bean/display-name enterprise-beans entity id=ContainerManagedEntity_1 descriptionSettings Entity Bean CMP 2.0/description display-nameSettings Entity Bean CMP 2.0/display-name ejb-namecol_mst_settings/ejb-name homeindus.security.setting.SettingEntityHome/home remoteindus.security.setting.SettingEntityRemote/remote ejb-classindus.security.setting.SettingEntityBean/ejb-class persistence-typeContainer/persistence-type prim-key-classindus.security.setting.SettingsPK/prim-key-class reentrantFalse/reentrant cmp-version2.x/cmp-version abstract-schema-namecol_mst_settings2/abstract-schema-name cmp-field id=CMPAttribute_1 field-nameorgcode/field-name /cmp-field cmp-field id=CMPAttribute_2 field-nameconditiontype/field-name /cmp-field cmp-field id=CMPAttribute_3 field-namecondition/field-name /cmp-field cmp-field id=CMPAttribute_4 field-namedesc/field-name /cmp-field cmp-field id=CMPAttribute_5 field-namevaluetype/field-name /cmp-field cmp-field id=CMPAttribute_6 field-namevalue/field-name /cmp-field cmp-field id=CMPAttribute_7 field-namefromvalue/field-name /cmp-field cmp-field id=CMPAttribute_8 field-nametovalue/field-name /cmp-field cmp-field id=CMPAttribute_9 field-namefield1/field-name /cmp-field cmp-field id=CMPAttribute_10 field-namefield2/field-name /cmp-field cmp-field id=CMPAttribute_11 field-namefeild3/field-name /cmp-field cmp-field id=CMPAttribute_12 field-nameallowupdate/field-name /cmp-field cmp-field id=CMPAttribute_13 field-nameuserid/field-name /cmp-field cmp-field id=CMPAttribute_14 field-nameupdtimestamp/field-name /cmp-field /entity /enterprise-beans assembly-descriptor id=AssemblyDescriptor_1 method-permission id=MethodPermission_1 descriptionGenerated unchecked method permission/description unchecked/unchecked method id=MethodElement_1 descriptionGenerated method element for all methods/description ejb-namecol_mst_settings/ejb-name method-name*/method-name /method /method-permission /assembly-descriptor /ejb-jar - Original Message - From: Ruben Carvalho [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:17 PM Subject: RE: I webshpere Struts I think everything is configured properly. When I ask for a JNDI name starting with java:comp/env/--- I always get that --- wasn't found. Can I ask you for a bit of your web.xml where you define an entity and a session bean and a bit of your ejb.xml with the same? Thanks a lot. Rben -Mensagem original- De: Kazda Juraj [mailto:[EMAIL PROTECTED] Enviada: qui 18-09-2003 12:09 Para: Struts Users Mailing List Cc: Assunto: RE: I webshpere Struts I'm using this architecture and everything works... What kind
Re: include a file
Why don't you try directly the jsp:include .. tag abhijeet - Original Message - From: Mariano García [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 5:00 PM Subject: include a file Hi all, Is there any tag to include html or jsp file into another jsp file? Thx. _ Mariano García Ingeniero de Sistemas Optiva Media Viriato,25 - 28010 Madrid - España t. +34 91 445 96 95 m. +34 651 03 33 86 © This message is printed on 100% recycled electrons. - 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: bean:write property= Format a Date ?
I don't thing struts provide you formating date functionality as i never tried also but frankly it will take another 20 min. to write a function for formatting date.. use string.substring methods and all after retriving the date from DB using getStirng() or use to_char(datefield,'dd/mm/ hh24:mi:ss') or any other format u want. and if you are working with Java Date class then calculate the long value of that with String s = date.getDay()+/+ getMonth()+/getYear() functions it's really simple... regards abhijeet - Original Message - From: [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 6:00 PM Subject: bean:write property= Format a Date ? one of my Bean propertys is a Date and i want to output it formated, is there a way to do that with struts ? Mit freundlichen Grüßen Christian Reps, Dipl. Inf. (FH) Web Applications - 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]