Re: radio button help
Hi there , just edit the html:radio element and add the following prior the end tag element as follows: Muthukumar Subramanian wrote: how to make a radio button checked by default in group of radio buttons? html:radio property=affiliation value=C checked / Cbr html:radio property=affiliation value=P/ Pbr html:radio property=affiliation value=U/ Ubr how to make the first one checked? Thanks and Regards Muthukumar .S Mysore. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Development Environment
Jonathan James wrote: Windows 2000, cygwin vim - Original Message - From: Dave Wellman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 11:41 AM Subject: Development Environment Hello, Quick question, what is the preferred development environment that you are all using, Linux - Emacs, VIM, Windows - JBuilder, VisualAge? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Hi i am using M$Win 98 , WordPad, Tomcat 3.3.a and Tomcat 4.0.2 ,Netbeans 3.1.1 IDE On my Linux RH v7.1 Box ,Netbeans 3.1.1 IDE, Emacs (gedit),Tomcat-4.0.2 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: no subject I have a question about putting jsp in web-inf
Keith wrote: Users can't get at anything under web-inf by name. So it stops them running your jsp directly or viewing their source code. They still work because they can be referenced by a Sevlet (ie the struts ActionServlet). (not all servers are the same here). It's a 'rule' for commercial/senstive sites that every reference from the browser is a symbolic ref. (eg. a webapp + a ref. to an entry in struts-config.xml). This stops hackers/spies from viewing js source or even knowing directory names or file names. Looks like paranoia but I guess people have been burned. A few years ago you could get at server directory listing from browsers steal files but these days this also is blocked. It's geting really boring... --- James Mitchell [EMAIL PROTECTED] wrote: Question? What is the point of putting jsp pages in web-inf? Someone please correct me if I am wrong but, If I see a web application URL such as http://www.someweb.com/myapp/web-inf/somedir/mypage.jsp then I can only assume that I can also go to http://www.someweb.com/myapp/web-inf/web.xml or http://www.someweb.com/myapp/web-inf/classes/ (god forbid that you have directory browsing enabled, then I could read your database connection login and passwords (if avaialable, such as poolman.xml) or any of your resource bundle files. Or worse, I could download your .class and .jar files. P.S. Did you actually click on those links? They won't work because I made them up:-) James Mitchell Software Engineer Open-Tools.org Home Phone (770) 822-3359 Cell Phone: (678) 910-8017 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 10:04 AM To: Struts Users Mailing List Subject: no subject depends on where your pages are. If you have them in the root web app dir, use: frameset frame src=myNavigation.jsp frame src=myContent.jsp /frameset If you have it , let's say under root/myjsps, use: frameset frame src=myjsps/myNavigation.jsp frame src=myjsps/myContent.jsp /frameset Having the jsps under WEB-INF doesn't work on some servers WL, for instance. From: Henry Lu Subject: Re: frame page src=? Date: Fri, 15 Feb 2002 05:59:28 -0800 No it doesn't work either. Could you show me a working examples? --- Henry Lu MCITphone: (734) 936-2063 University of Michigan Medical Center fax: (734) 763-4372 On Fri, 15 Feb 2002, Jin Bal wrote: how about src=something.do - Original Message - From: Henry Lu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 15, 2002 1:34 PM Subject: frame page src=? How to specify src path in the frame tag under struts? I did the following and it didn't work src=/WEB-INF/jsp/login/blank.jsp neither src=/do/someting neither src=/jsp/login/blank.jsp Could you show me an example? -- - Henry Lu MCITphone: (734) 936-2063 University of Michigan Medical Center fax: (734) 763-4372 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Seien Sie dabei und sichern Sie sich 100% Leistung, 100% Prmie und 100% Zufriedenheit. Jetzt unter http://club.web.de/?mc=021105 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Hi you may believe this is wrong albiet i have been briefed that the WEB-INF is accessable if you are running the service under W$ NT thus your classes,jsp and beans etc can be viewed. Apparently NT4 does not know the difference between Web-Inf ,WEB-INF or web-inf . thus this may now have been rectified. Please let me know otherwise. Note Could be the case of careless whispers Cheers Chuck Amadi Systems Programmer. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Can't find bundle for base name forms, locale en_US ,
Hi There, error message - Can't find bundle for base name forms, locale en_US , OS Win 98 Tomcat 3.2.2 (Can't get TCAT 4.0.1 to function properly) Ide Netbeans 3.2 Struts-Framework Im having a bit of trouble with this.I have a jsp serving as a controller ,i have instantiated my FormBean,Created a formPropertis file that resides with my other beans ie Web-Inf classes form.properties. whereby i believe it is located anyware in my classpath that is visible to the jsp container. Where is this ResourceBundle facility so my page can access the values for the resources by name. Sorry if this is the wrong group!! Cheers Chuck Amadi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please can someone post an example of there Environment setup 4 tomcat 4- Sorted Now
Geoffrey Mroz wrote: If I understood you right: The STARTUP script is in the C:\jakarta-tomcat-4.0.1\bin directory. If you are not directly in the \bin directory when you run it, you will need to include C:\jakarta-tomcat-4.0.1\bin somewhere in your path. Hope that helps. -- Geoff -Original Message- From: kuma.cra [mailto:[EMAIL PROTECTED]] Sent: Friday, December 28, 2001 9:09 AM To: Struts Users Mailing List Subject: Please can someone post an example of there Environment setup 4 tomcat 4 I have deleted the previous install of tomcat 3.2.3 I have installed tomcat 4 . Thus in my environment set-up i have the following Tomact unarchived and resides in C:\jakarta-tomcat-4.0.1 rem set %CATALINA_HOME%\bin\startup set CATALINA_HOME=C:\jakarta-tomcat-4.0.1 set ANT_HOME=C:\ant\jakarta-ant-1.3 set classpath=%ANT_HOME%\lib\ant.jar set PATH=%PATH%;%ANT_HOME%\bin set JAVA_HOME=C:\JDK1.3 Thus on running /DOUBLE-CLICK the script STARTUP get a Bad command or file nameon my Windows 98 Box. I have tiried various combo paths to no avail example below set TOMCAT_HOME=C:\jakarta-tomcat-4.0.1 set classpath=%TOMCAT_HOME%\bin set PATH=%PATH%;%TOMCAT_HOME%\bin set JAVE_HOME=C:\JDK1.3 Also tried and checked the three most common / likely reasons in the userguide . Nevertheless i assume it is my path any suggestions or can someone post an example of there Win98 Environment variable in Autoexec.bat Cheers Chuck Amadi Cheers 4 your reply i will try that when i get home . Nevertheles on my Win 98 Works Station i (rem the previous set paths in envirnment variables ) and just had set CATALINA_HOME=C:\ jakarta-tomcat-4.0.1 set JAVA_HOME=C:\JDK1.3 Thus works fine . Thank Chuck Amadi IT Systems Programmer -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Help with Scriptlet within jsp - Oops i know.
Hi all, I know that this goes against the idea of Struts , but nevertheless please help if possible. I have created a web service for a particuler department. that calls from a Postgresql Database details pertaining to Planning Applications as follows Planningdb.jsp retrivieve data form database for viewing and a comments tab . Submit.jsp from the comments tab the Public enters there details and comment on the App Form . UserInfoValid from the Submit.jsp this page verifies the fields are completed and forwards to ProcessForm.jsp if valid and pass it back to the Database and if incorrect back to Submit.jsp for re-submission. Thus i have created a bean named PlanBean with the required getters and setters plus a StatusMsg Method. private String firstName,etc etc etc private String statusMsg ; public String getStatusMsg () { return statusMsg; } public void setStatusMsg (String statusMsg) { this.statusMsg = statusMsg; } public boolean isValid() { boolean valid =true; statusMsg=; if (true ) { statusMsg += (Hi there must be working!!); valid = false; } if (lastName.equals()) { statusMsg += (Last Name is Blank); valid = false; } if (address.equals()) { statusMsg += (Address is Blank); valid = false; } if (postCode.equals()) { statusMsg += (Post Code is Blank); valid = false; } if (email.equals()) { statusMsg += (Email is Blank); valid = false; } if (observation.equals()) { statusMsg += (Observations is Blank); valid = false; } return valid ; } Thus in my UserInfoValid.jsp i have the below scriplet nevertheless i a unable to to get the validation to prompt a StatusMsg as required . jsp:useBean id=planBean scope=session class=PlanBean / %-- Output list of value with invalid format , if any!! --% font color=red jsp:setProperty name=planBean property=*/ /font %! boolean valid = true ; % % if ((planBean.getFirstName()).equals()) { valid = false ; planBean.setStatusMsg(planBean.getStatusMsg() + Please enter your First Name ); } % % if ((planBean.getLastName()).equals()) { valid = false; planBean.setStatusMsg(planBean.getStatusMsg() + Please enter your Last Name ); } % % if ((planBean.getAddress()).equals()){valid = false; planBean.setStatusMsg(planBean.getStatusMsg() +Please enter your Address ); } % % if ((planBean.getEmail()).equals()){ valid = false; planBean.setStatusMsg(planBean.getStatusMsg() +Please enter your Email Address ); } % % if ((planBean.getObservation()).equals()){ valid = false; planBean.setStatusMsg(planBean.getStatusMsg() +Please enter your Comments ); } % % if (valid) { % jsp:forward page=ProcessForm.jsp / % } else { % jsp:forward page=Submit.jsp / % } % Everthing pass thru but if purposly leave out a field no action is taken by the PlanBean. Please help as this is stalling me. Cheers Chuck Amadi IT Systems Programmer -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Any suggestions Prob with validation be passing to db
When the Submit.jsp form is complete it is passed to the ProcessForm.jsp (Inserted to db) Thus i have created a UserInfoValid.jsp as below. I now that i should'nt use script albeit i need something to demostrate my keep. jsp:useBean id=planBean scope=session class=PlanBean / jsp:setProperty name=planBean property=statusMsg/ %! boolean valid = true ; % % if ((planBean.getFirstName()).equals()) { valid = false ; planBean.setStatusMsg(planBean.getStatusMsg() + Please enter your First Name ); } % % if ((planBean.getLastName()).equals()) { valid = false; planBean.setStatusMsg(planBean.getStatusMsg() + Please enter your Last Name ); } % % if ((planBean.getAddress()).equals()){valid = false; planBean.setStatusMsg(planBean.getStatusMsg() +Please enter your Address ); } % % if ((planBean.getEmail().equals())){ valid = false; planBean.setStatusMsg(planBean.getStatusMsg() +Please enter your Email Address ); } % % if ((planBean.getObservation()).equals()){ valid = false; planBean.setStatusMsg(planBean.getStatusMsg() +Please enter your Comments ); } %--% % if (valid) { % jsp:forward page=ProcessForm.jsp / % } else { % jsp:forward page=Submit.jsp / % } % _ Thus recieve the following - Cheers Chuckie Error: 500 Location: /bbnpwardens/UserInfoValid.jsp Internal Servlet Error: javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at _0002fUserInfoValid_0002ejspUserInfoValid_jsp_23._jspService(_0002fUserInfoValid_0002ejspUserInfoValid_jsp_23.java:177) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) Root cause: java.lang.NullPointerException at _0002fUserInfoValid_0002ejspUserInfoValid_jsp_23._jspService(_0002fUserInfoValid_0002ejspUserInfoValid_jsp_23.java:121) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a
Re: How do i pass a constant %=request.getParameter( )% to Db
Hi all i have sorted out the missing value app_code.Cheers if you've being looking at it. bh3Planning Application Code Number:%=request.getParameter(app_code)%input type=hidden name=app_code value=%=request.getParameter(app_code)%/h3/b It mat not look good but it works , thus i can go on to using html:text/ tag instead of html tags. Chuck Amadi wrote: Hi , I have created a submitForm.jsp that has a value parameter named app_code that is a unique value from my PostgreSql Database. from a sql query/ select from my planningdb.jsp. The app_code - is required throughout the process.(This is the Planning Application Reference) sql:query select app_code, app_date, application_agent, grid_ref , location, community, proposal,comment from planning_application order by 8 /sql:query sql:getColumn position=1/ retrieves the app_code ( this works). form action=submitForm.jsp method=get input type=submit value=comment input type=hidden name=app_code value=sql:getColumn position=1/ /form In the submitForm.jsp we have %=request.getParameter(app_code)% This inserts the unique app_code ie p12121 within the submitForm.jsp, again this works. Thus on submitting all the other html input user values ie input type=text name=first_name align =center These value are passed to the proceessForm.jsp to my Database table (observe)and works fine except that app_code that is %=request.getParameter(app_code)% this appears in my Database as a null value. The processForm.jsp sql:query insert into observe (first_name, last_name, address, post_code, app_code, email,observation) values ('sql:escapeSql%=request.getParameter(first_name)%/sql:escapeSql', 'sql:escapeSql%=request.getParameter(last_name)%/sql:escapeSql', 'sql:escapeSql%=request.getParameter(address)%/sql:escapeSql', 'sql:escapeSql%=request.getParameter(post_code)%/sql:escapeSql', 'sql:escapeSql%=request.getParameter(app_code)%/sql:escapeSql', 'sql:escapeSql%=request.getParameter(email)%/sql:escapeSql', 'sql:escapeSql%=request.getParameter(observation)%/sql:escapeSql') /sql:query %-- execute the query--% sql:execute/ /sql:statement Thus 1) how do i get the %=request.getParameter(app_code)% to work. Thus 2) I have a copy of my submitForm.jsp and i am trying to invoke html:text/ tag to my current form. Thus am i on the right line for input values , but how do i invoke the app_code. User input values - html:text property=first_name size=40 maxlength=20/ app_code to be constant - html:text %=request.getParameter(app_code)%/html:text Sorry if a bit long albiet i need to make progress as this needs to be modified to struts-stubs as i am working to migrate to that example as it has all the elements. Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Am i on the right lines regarding form:text/ tags
Hi, I am replacing my HTML(input) tags with form:text/ tags , thus no problem nevertheless what do i use instead of HTML textarea name=address rows=3 cols=30 align=middle/textarea br tag. I assume that i can still use form:text property =address rows=3 cols=30 align=middle/ You may say why don't i try it out except due to extracting out the html 4 jsp standard tags. Thus i have recieved Cannot retrieve mapping for action / processform (processform.jsp). I will acttack that problem later. Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
'sql:escapeSql%=request.getParameter(app_code)% - no value
Hi, I have exstablished a connection and all but app_code values appear in my Postgresql Database. The app_code is A UNQIUE value that is required thru the process . I have a jsp called planningdb that selects the following and displays the values from the Database. Thus i have a html input hidden tag that submits the value app_code to my jsp Submit Comments form. Thus the user enters the details as follows. (first_name, last_name, address, post_code, email, observation) Note app_code is a request method. %=request.getParameter(app_code)/ the app_code number is displayed in the both planningdb jsp and submit jsp. except the processform (that im about to modify to a viewForm and use struts way of thinking and thus return any errors back to the submit form. and comments about the planning application and above the Submit Comments form there is a %=request.getParameter(app_code)- all the html input tags are able to send values to sql:query select app_code, app_date, application_agent, grid_ref , location, community, proposal,comment from planning_application order by 8 /sql:query Thus processform.jsp works(%=request.getParameter(app_code)/ I always get a null value i have used the request method at the top of the processform to see what it picks up ( null) from the jsp Submit Comments Form. sql:query insert into comments (first_name, last_name, address, post_code, app_code, email, observation) values ('sql:escapeSql%=request.getParameter(first_name)%/sql:escapeSql', 'sql:escapeSql%=request.getParameter(last_name)%/sql:escapeSql', 'sql:escapeSql%=request.getParameter(address)%/sql:escapeSql', 'sql:escapeSql%=request.getParameter(post_code)%/sql:escapeSql', /sql:escapeSql', 'sql:escapeSql%=request.getParameter(email)%/sql:escapeSql', 'sql:escapeSql%=request.getParameter(observation)%/sql:escapeSql') /sql:query %-- execute the query--% sql:execute/ /sql:statement I have trieed numerous things no joy why do i recieve a null value. Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Hard time understanding tld(s)...
Hi, there. These are tag library declarations that are modified into your application web.xml and thus declared in your JSP FILE ( %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % )as an example. Thus you can refer to ie the prefix=bean bean:write/ or bean:message/ as write and message tags and create resources ( MyApplicationResource.properties.FILE)for message and write as it's uri location are mapped in web.xml.The Best course of action is to read the documentation as im still getting to grips with struts however i find the material very good. I personally found very imformative mat's at http://www.husted.com/about/struts. Good Reading plenty of it.NOTE this is my current understanding im still learning . Cheers Chuck Venkat Jonnalagadda wrote: Hi all, can somebody point me to some documentation describing what struts.tld, struts-bean.tld, struts-logic.tld, struts-html.tld etc., are and what context(s) they are used Venkat. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: MVC ..... Model... debate
Hi all , Just thought i send a acknowledgement all the comments so far have been very interesting thus i have a folder full of MCV prints . I find that reading the MVC material as well as other documentation has made getting the grips of Struts Implemetation of MVC easier to comprehend. Keep up the good work. Cheers Chuck Rodney Smith wrote: Hi All, That was an interesting response from Ghoot, as I have several documentations from the web including jakarta.apache had useful information, but I feel they fail in a detailed explanation, even though the MVC is the same, it very daunting to me at the moment as I am writing documentation out for this and there is such a wide range of response for Struts and MVC. If Anyone on this list that can state the correct information MVC and Struts frame work with details explanations for new persons like my self that just want correct detailed information so a person off the street could read and understand Struts. That is the secret i do beleive. Kind Regards Rodney Smith Does this confusion not stem from trying to describe Struts in an MVC context ? There are parallels between Struts and MVC, but Struts is not an MVC implementation ! MVC does not map exactly to Web/Layered Applications ! This is something there is so much misinformation around about, it's no wonder people get confused. Struts uses many Patterns and shares some principles with MVC, but thats where the similarities end. It is good to have a general understanding of the principles behind MVC, but it is easy to become confused when you try to force a fit. There is much more to the Struts Patterns than simply Model View and Controller. Unfortunately there is a plethora of articles around the web, discussing Model 2 style frameworks and implying an MVC implementation. While 'comparison' between the two is useful, in my experience, it leads to people not really understanding what MVC is - and therefore - finding their own implementation more difficult. Ultimately it also limits their real appreciation of something like Struts. This is not meant to be a criticism of any individual on this list ! Just my observations on an issue that is a hot topic in our organisation. It's time there was a good explanation of the differences between MVC and Frameworks like Struts, in a language suitable for the new breed of Web Application Developers ! I have avoided specific examples of the differences, because it can open a can of worms, and i certainly dont want to initiate a war of words. I would recomend that anyone unclear on the differences, posts to this list, and perhaps we can collectively produce a suitable explanation [something I am already working on internally]. Just to avoid confusion - I have nothing against MVC - it is a Framework Pattern with many strengths. It simply isnt an exact match for Web Aplpications - nor was it ever intended to be. Historically [last couple of years], it has been touted as an explanation for emerging Web Application Frameworks - but this has only led to untold confusion. Hope this doesnt offend anyone, maybe rather just initiates a wider - much over due discussion. Thanks Ghoot Emaho -Original Message- From: Rodney Smith [mailto:[EMAIL PROTECTED]] Sent: 10 August 2001 14:07 To: [EMAIL PROTECTED] Subject: Re: MVC . Model... Hi Ted, Thanks for the information, but that still leaves many options or a lot of grey areas with my understanding, firstly is it possible to show three e.g. of architects with 3 / 5 / 7 of application layers please, text or diagrams so I know what you are referring two. The MVC paradigm has been around for a while, and the meaning of model can be a little fuzzy. Right now, architects tend to see applications, and especially Web applications, as being in several layers. Sometimes 3, sometimes 5 or more. The Container??? are you referring to the MVC as the container? This needs to be explained a little better in basic terms as 'using some JSP rendering engine' is something out in space to me. Are you referring to view 'JSP'or is there a middle man inbetween all this. I have to admit that all the diagrams an information that I have read till this day has always referred to the request going to the ActionServlet'controller' for delegation, but it is important for me to know the structural side of Struts and to be able to answer questions with in my firm, on why and where this goes from the request. A request for logon.jsp would not actually go to the ActionServlet. The container the application runs within would handle that directly, using some JSP rendering engine. OK, in a MVC is the actionform located in the view 'jsp' section of the MVC? If a request was going to be sent, it must go to the MVC so when it arrives it must hit a destination or does this hit the web.xml which then shoot the request to the actionservlet controller? The ActionForm bean is an adapter between HTTP and the rest of
Re: Can't find message Resources or DatabaseServlet
Hi all , I have a MyApplicationResources at the following level . wardens/WEB-INF/classes/org/breconbeacons/wardens/MyApplicationResources wardens/WEB-INF/src/org/breconbeacons/wardens/MyApplicationResources I have also declared the above path in my web.xml.and consructed a DatabaseServlet in preparation for connection pooling . The path has also been set as above and web.xml. Note only the ActionServlet is set to org. I intially used a dbTags (taglib) and evrything worked fine but i want to subtract all the scriptlets out of my html code and utilise the html,form,base and links tags that are availble and make better presentation of the view jsp pages. So why is my message resource missing as i have set the path as above and not as below error.To MyApplicationResources - and amended the DatabaseServlet and message resource in the application web.xml file accordingly. Any Suggstions - Cheers Chuck [EMAIL PROTECTED]"> Error: 500 Location: /wardenswork/index.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE
Acronym BMO ( Session Beans )What does it stand 4.
Hi i didn't get a response or a suggestion regarding BMO (Session Beans ) Thus i would like to know what this acronym stands for . I have come across a UML class diagram that connects a BMO TO a DAO (Data Access Object ) via Query / Update.Has or does BMO SOMETHING TO DO WITH Business Method Objects to hazard a guess as it is within the Business Layer of the UML Class Diagram Cheers Chuckie -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
acronym BMO from the Session Beans mean.
Hi there , I would like to know what does the acronym BMO from the Session Beans mean. As i am going thru the Walk Thru Tour and other Materials. My main interest is JDBC/DBTags. As we are currently designing and constructing a Database driven site. As we currently have numerous Island Windows Access box db's Thus eventually all to run on PostgreSql v7. Cheers Chuckie -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Out of memory
Martin Cooper wrote: You might have more luck with this if you ask on the tomcat-user list. I would also recommend providing a bit more information about the problem - for example, which Hi , there - is your problem (out of memeory or out of environment space ). Cheers Chuckie now using linux 4 my netbeans/tomcat/struts bye bye windows box version of Tomcat, which OS, what kind of app you're running, etc. -- Martin Cooper At 11:15 AM 8/2/01, Harden ZHU wrote: Hi After I run tomcat for couple days, I will get out of memory problem. What can be wrong? And how to solve it? Thanks. Harden
Re: struts - webapps confirmation
chuck amadi wrote: Hi , Im back again - unfortunately i am left to my own devices thus after making good progress i fell flat when i made modifications to mt action classes (Windows box). Nevertheless i am to try again albeit this time on a linux box running v7.1. Thus it may sound a stupid question but i have downloaded the jakarta-struts-1.0-b2. Thus i have renamed the struts-blank to bbnpa (acronym) thus i am going to tackle the Struts-trail exercises thus i want to know to i create a directory structure for my application as follows: - Hi again - i have figured it out . The helloworld application is a base dir so thus same level as bbnpa web app. Cheers Chuckie /home/chucka/j-tcat-3.2.2/webapps /bbnpa/helloworld/WEB-INF/lib/ /classes/helloworld/ or /home/chucka/j-tcat-3.2.2/webapps/helloworld/WEB-INF/lib/ /classes/helloworld/ I just want to make sure as i am aware that helloworld is an application. Previously i commenced with the first option everthing decending from my web app named bbnpa - on a windows box. Pls aid as this time i intend to use the ant and cvs. Cheers Chuckie
Re: Missing type on declaration - any poniters 1 error left
HI, I will be Cheers 4 yer time and effect.Thanx Calvin On 25 Jul 2001 12:51:08 +0100, Chuck Amadi wrote: Hi i have got it done to 1 error as below webapps/bbnpa/WEB-INF/classes/org/apache/struts/action/ActionForward.java [9:1] 'class' or 'interface' keyword expected. public ActionForward perform (ActionMapping mapping, ^ 1 error Errors compiling ActionForward. Chuck Amadi wrote: Hi, can someone take a peek at my ActionFoward Class - webapps/bbnpa/WEB-INF/classes/org/apache/struts/action/ActionForward.java [10:1] Missing type on declaration public perform(ActionMapping mapping, ^ webapps/bbnpa/WEB-INF/classes/org/apache/struts/action/ActionForward.java [35:1] Type expected or missing '}' ^ 2 errors Errors compiling ActionForward. - package classes.org.apache.struts.action; /*Accessing Relational Databases *Struts can define the datasources for an application from within its standard configuration file. A simple JDBC connection pool is also provided. *See The Action Mappings Configuration File section and the Utilities Developer Guide for details. *After the datasource is defined, here is an example of establishing a connection from within a Action perform method.*/ public class ActionForward { public perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response){ try { javax.sql.DataSource dataSource = servlet.findDataSource(null); java.sql.Connection myConnection = dataSource.getConnection(); //do what you wish with myConnection } catch (SQLException sqle) { getServlet().log(Connection.process, sqle); } finally { //enclose this in a finally block to make //sure the connection is closed try { myConnection.close(); } catch (SQLException e) { getServlet().log(Connection.close, e); } } } The path is C:/jakarta-tomcat-3.2.2/webapps/bbnpa/WEB-INF/classes/ do i need to creatE a base dir i.e C:/jakarta-tomcat-3.2.2/webapps/bbnpa/action/WEB-INF/classes/org/apache/struts/action/ActionForward Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Cant compile my .java files to a class - is it a path issue --
Hi, My Web App Structure does look like that below and i have that declartion. Cheers Again. Calvin Yu wrote: I'm not exactly sure what you're trying to do. If your web app directory is C:\jakarta-tomcat-3.2.2\webapps, then your structure needs to look like this: C:\jakarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes\helloworld\HelloWorldResources.properties C:\jakarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes\helloworld\HelloWorld.java if you HelloWorld.java class has a package declaration of: package helloworld; Calvin On 25 Jul 2001 12:10:25 +0100, Chuck Amadi wrote: Hi , I have been posting this problem for a while now - sorry. Albeit i was on a role until i modified my Action Class. Thus or hell broke loose. I had got to the stage whereby i had exstablished a connection to PostgreSQL v6( though posted a bug on PostgreSQL v7.1- same code don't work) and created a jsp submit form, an jsp extraction database form jsp select page . Nevertheless i have come to a ground halt due to my inquisitiveness . I have transfered my original classes files but on commencing again , hit the same hurdle. my path is C:\jarkarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes(package name)\.java file Thus do i have to implement a base dir above /WEB-INF/ -- example below -- /bbnpa/helloworld/WEB-INF/classes/helloworld/HelloWorldResources.prperties /bbnpa/helloworld/WEB-INF/classes/(package name)/.java file or As my path above without the base dir (helloworld) Note all my other jsp work with my current path set-up except i won't to utilise form beans instead of html/javascript pages so need to get this class issue sorted for the next level. Sorry 4 this long winded Q. Pls Help Cheers Chuck 8^{ -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Cant compile my .java files to a class - is it a path issue --
Hi , I have been posting this problem for a while now - sorry. Albeit i was on a role until i modified my Action Class. Thus or hell broke loose. I had got to the stage whereby i had exstablished a connection to PostgreSQL v6( though posted a bug on PostgreSQL v7.1- same code don't work) and created a jsp submit form, an jsp extraction database form jsp select page . Nevertheless i have come to a ground halt due to my inquisitiveness . I have transfered my original classes files but on commencing again , hit the same hurdle. my path is C:\jarkarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes(package name)\.java file Thus do i have to implement a base dir above /WEB-INF/ -- example below -- /bbnpa/helloworld/WEB-INF/classes/helloworld/HelloWorldResources.prperties /bbnpa/helloworld/WEB-INF/classes/(package name)/.java file or As my path above without the base dir (helloworld) Note all my other jsp work with my current path set-up except i won't to utilise form beans instead of html/javascript pages so need to get this class issue sorted for the next level. Sorry 4 this long winded Q. Pls Help Cheers Chuck 8^{ -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Missing type on declaration - any poniters
Hi, can someone take a peek at my ActionFoward Class - webapps/bbnpa/WEB-INF/classes/org/apache/struts/action/ActionForward.java [10:1] Missing type on declaration public perform(ActionMapping mapping, ^ webapps/bbnpa/WEB-INF/classes/org/apache/struts/action/ActionForward.java [35:1] Type expected or missing '}' ^ 2 errors Errors compiling ActionForward. - package classes.org.apache.struts.action; /*Accessing Relational Databases *Struts can define the datasources for an application from within its standard configuration file. A simple JDBC connection pool is also provided. *See The Action Mappings Configuration File section and the Utilities Developer Guide for details. *After the datasource is defined, here is an example of establishing a connection from within a Action perform method.*/ public class ActionForward { public perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response){ try { javax.sql.DataSource dataSource = servlet.findDataSource(null); java.sql.Connection myConnection = dataSource.getConnection(); //do what you wish with myConnection } catch (SQLException sqle) { getServlet().log(Connection.process, sqle); } finally { //enclose this in a finally block to make //sure the connection is closed try { myConnection.close(); } catch (SQLException e) { getServlet().log(Connection.close, e); } } } The path is C:/jakarta-tomcat-3.2.2/webapps/bbnpa/WEB-INF/classes/ do i need to creatE a base dir i.e C:/jakarta-tomcat-3.2.2/webapps/bbnpa/action/WEB-INF/classes/org/apache/struts/action/ActionForward Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Missing type on declaration - any poniters 1 error left
Hi i have got it done to 1 error as below webapps/bbnpa/WEB-INF/classes/org/apache/struts/action/ActionForward.java [9:1] 'class' or 'interface' keyword expected. public ActionForward perform (ActionMapping mapping, ^ 1 error Errors compiling ActionForward. Chuck Amadi wrote: Hi, can someone take a peek at my ActionFoward Class - webapps/bbnpa/WEB-INF/classes/org/apache/struts/action/ActionForward.java [10:1] Missing type on declaration public perform(ActionMapping mapping, ^ webapps/bbnpa/WEB-INF/classes/org/apache/struts/action/ActionForward.java [35:1] Type expected or missing '}' ^ 2 errors Errors compiling ActionForward. - package classes.org.apache.struts.action; /*Accessing Relational Databases *Struts can define the datasources for an application from within its standard configuration file. A simple JDBC connection pool is also provided. *See The Action Mappings Configuration File section and the Utilities Developer Guide for details. *After the datasource is defined, here is an example of establishing a connection from within a Action perform method.*/ public class ActionForward { public perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response){ try { javax.sql.DataSource dataSource = servlet.findDataSource(null); java.sql.Connection myConnection = dataSource.getConnection(); //do what you wish with myConnection } catch (SQLException sqle) { getServlet().log(Connection.process, sqle); } finally { //enclose this in a finally block to make //sure the connection is closed try { myConnection.close(); } catch (SQLException e) { getServlet().log(Connection.close, e); } } } The path is C:/jakarta-tomcat-3.2.2/webapps/bbnpa/WEB-INF/classes/ do i need to creatE a base dir i.e C:/jakarta-tomcat-3.2.2/webapps/bbnpa/action/WEB-INF/classes/org/apache/struts/action/ActionForward Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Missing type on declaration - any poniters- perform Q
I have tried numerous variations public ActionForward perform ( public class ActionForward perfrom ( Please explain a bit more as my code is more or less the same as in the Building Controller Components - Action Classes.R ef Struts User Guide - Note i thought that the method perform will as it say's on the tin perform ActionMapping and ActionForm etc thus why they are not functionally.Thus what point am i missing. Cheers Chuck suhas wrote: perform method returns ActionForward - Original Message - From: Chuck Amadi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 5:11 PM Subject: Missing type on declaration - any poniters Hi, can someone take a peek at my ActionFoward Class -- --- webapps/bbnpa/WEB-INF/classes/org/apache/struts/action/ActionForward.java [10:1] Missing type on declaration public perform(ActionMapping mapping, ^ webapps/bbnpa/WEB-INF/classes/org/apache/struts/action/ActionForward.java [35:1] Type expected or missing '}' ^ 2 errors Errors compiling ActionForward. -- --- package classes.org.apache.struts.action; /*Accessing Relational Databases *Struts can define the datasources for an application from within its standard configuration file. A simple JDBC connection pool is also provided. *See The Action Mappings Configuration File section and the Utilities Developer Guide for details. *After the datasource is defined, here is an example of establishing a connection from within a Action perform method.*/ public class ActionForward { public perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response){ try { javax.sql.DataSource dataSource = servlet.findDataSource(null); java.sql.Connection myConnection = dataSource.getConnection(); file://do what you wish with myConnection } catch (SQLException sqle) { getServlet().log(Connection.process, sqle); } finally { file://enclose this in a finally block to make file://sure the connection is closed try { myConnection.close(); } catch (SQLException e) { getServlet().log(Connection.close, e); } } } The path is C:/jakarta-tomcat-3.2.2/webapps/bbnpa/WEB-INF/classes/ do i need to creatE a base dir i.e C:/jakarta-tomcat-3.2.2/webapps/bbnpa/action/WEB-INF/classes/org/apache/stru ts/action/ActionForward Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
ActionForward.java [11:1] 'class' or 'interface' keyword expected.
Hi again i have one error but this is the example from 2.6 Accessing Relational Databases found within the struts - documentation. Any Pointers as i assumed that Action.class was the interface/abstract class and thus i am totally confused. ActionFoward at the below address. file:///C|/jakarta-tomcat-3.2.2/webapps/struts-documentation/userGuide/building_model.html --- WEB-INF/classes/org/apache/struts/action/ActionForward.java [11:1] 'class' or 'interface' keyword expected. public ActionForward ^ 1 error Errors compiling ActionForward. -- package classes.org.apache.struts.action; /*Accessing Relational Databases *Struts can define the datasources for an application from within its standard configuration file. A simple JDBC connection pool is also provided. *See The Action Mappings Configuration File section and the Utilities Developer Guide for details. *After the datasource is defined, here is an example of establishing a connection from within a Action perform method.*/ public ActionForward -// public ActionForward (class/interface) ?? perform (ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response){ try { javax.sql.DataSource dataSource = servlet.findDataSource(null); java.sql.Connection myConnection = dataSource.getConnection(); //do what you wish with myConnection } catch (SQLException sqle) { getServlet().log(Connection.process, sqle); } finally { //enclose this in a finally block to make //sure the connection is closed try { myConnection.close(); } catch (SQLException e) { getServlet().log(Connection.close, e); } } } Cheers Chuckie -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: ActionForward.java [11:1] 'class' or 'interface' keyword expected.
Hi , again i have been told that these type of queries/problems should be directed at java-user group. Thus i shall subscribe i only know the basic fundamentals to java thus i find it misleading when one who has a problem trying to construct a web development project that contains Controller components that struts includes promotes with it's servlets that implements the Action.class that this is the wrong group as the Building Controller Components is fundamental to MVC. So apologize for posting so many queries but this user group did get up and running . So i'll be back with only struts queries cheers all. suhas wrote: ActionForward is class - public class ActionForward Suhas - Original Message - From: Chuck Amadi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 6:29 PM Subject: ActionForward.java [11:1] 'class' or 'interface' keyword expected. Hi again i have one error but this is the example from 2.6 Accessing Relational Databases found within the struts - documentation. Any Pointers as i assumed that Action.class was the interface/abstract class and thus i am totally confused. ActionFoward at the below address. file:///C|/jakarta-tomcat-3.2.2/webapps/struts-documentation/userGuide/build ing_model.html -- - WEB-INF/classes/org/apache/struts/action/ActionForward.java [11:1] 'class' or 'interface' keyword expected. public ActionForward ^ 1 error Errors compiling ActionForward. -- package classes.org.apache.struts.action; /*Accessing Relational Databases *Struts can define the datasources for an application from within its standard configuration file. A simple JDBC connection pool is also provided. *See The Action Mappings Configuration File section and the Utilities Developer Guide for details. *After the datasource is defined, here is an example of establishing a connection from within a Action perform method.*/ public ActionForward -// public ActionForward (class/interface) ?? perform (ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response){ try { javax.sql.DataSource dataSource = servlet.findDataSource(null); java.sql.Connection myConnection = dataSource.getConnection(); file://do what you wish with myConnection } catch (SQLException sqle) { getServlet().log(Connection.process, sqle); } finally { file://enclose this in a finally block to make file://sure the connection is closed try { myConnection.close(); } catch (SQLException e) { getServlet().log(Connection.close, e); } } } Cheers Chuckie -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Baisc q 2 Cannot find message resources u/key -
No i am using tomcat 3.2.2. Cheers Chuck Jon Brisbin wrote: are you using tomcat 4? i get this message in tomcat 4 with struts applications as well... it's an issue with catalina working with struts, though i can't get anyone to help me figure out what it is... Jon Brisbin - Original Message - From: Chuck Amadi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 23, 2001 10:49 AM Subject: Re: Baisc q 2 Cannot find message resources u/key - Hi , in my wem.xml i have the following defined for the apllication init-param. init-param param-nameapplication/param-name param-valuehelloworld.HelloWorldResources/param-value /init-param load-on-startup1/load-on-startup /servlet Tried the second option previously and again no joy. The first option can i drag drop into the classes .jar the property file as all my jar's are in my WEB-INF/lib dir. Cheers Chuck Peter Alfors wrote: In your web.xml, what do you have defined for the application init-param? where is your properties file located? You have a couple of options: You could place the properties file in your classes jar (in the appropriate directory structure) or you can place it in the WEB-INF/classes directory (within the appropriate directory structure specified in the application init-param). Pete Chuck Amadi wrote: Hi , can anyone work out this one i have followed the correct procedures albeit i am missing somthing. (bbnpa the name of my application) My path C:\jakarta-tomcat\webapps\bbnpa\helloworld\hello.jsp 1) declared directives. 2) created property file. 3) created web.xml file. 4)Copied all necessary .tld to /helloworld/WEB-INF/ 5)Copied all necessary .jar's to /WEB-INF/lib 6)Copied and deployed the struts-trailmap war's to /bbnpa/ my app's dir. Wats left error below Error: 500 Location: /bbnpa/helloworld/hello.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE Cheers Chuck. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Baisc q 2 Cannot find message resources u/key -
Yes my property file is located there. Cheers Chuckie. Peter Alfors wrote: Is your property file then located here ? WEB-INF/classes/helloword/HelloWorldResources.properties Pete Chuck Amadi wrote: Hi , in my wem.xml i have the following defined for the apllication init-param. init-param param-nameapplication/param-name param-valuehelloworld.HelloWorldResources/param-value /init-param load-on-startup1/load-on-startup /servlet Tried the second option previously and again no joy. The first option can i drag drop into the classes .jar the property file as all my jar's are in my WEB-INF/lib dir. Cheers Chuck Peter Alfors wrote: In your web.xml, what do you have defined for the application init-param? where is your properties file located? You have a couple of options: You could place the properties file in your classes jar (in the appropriate directory structure) or you can place it in the WEB-INF/classes directory (within the appropriate directory structure specified in the application init-param). Pete Chuck Amadi wrote: Hi , can anyone work out this one i have followed the correct procedures albeit i am missing somthing. (bbnpa the name of my application) My path C:\jakarta-tomcat\webapps\bbnpa\helloworld\hello.jsp 1) declared directives. 2) created property file. 3) created web.xml file. 4)Copied all necessary .tld to /helloworld/WEB-INF/ 5)Copied all necessary .jar's to /WEB-INF/lib 6)Copied and deployed the struts-trailmap war's to /bbnpa/ my app's dir. Wats left error below Error: 500 Location: /bbnpa/helloworld/hello.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE Cheers Chuck. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Baisc q 2 Cannot find message resources u/key -
Hi, I have tried that thanks. Cheers Chuck [EMAIL PROTECTED] wrote: give this a try.. add the classes folder to classpath... -Original Message- From: Chuck Amadi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 10:19 AM To: [EMAIL PROTECTED] Subject: Re: Baisc q 2 Cannot find message resources u/key - Hi i still get the following error message. My path is /bbnpa/helloworld/WEB-INF/classes/helloworld/HelloWorldResources.properties Any more pointers Cheers Chuck Error: 500 Location: /bbnpa/helloworld/hello.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE Chuck Amadi wrote: Hi , can anyone work out this one i have followed the correct procedures albeit i am missing somthing. (bbnpa the name of my application) My path C:\jakarta-tomcat\webapps\bbnpa\helloworld\hello.jsp 1) declared directives. 2) created property file. 3) created web.xml file. 4)Copied all necessary .tld to /helloworld/WEB-INF/ 5)Copied all necessary .jar's to /WEB-INF/lib 6)Copied and deployed the struts-trailmap war's to /bbnpa/ my app's dir. Wats left error below Error: 500 Location: /bbnpa/helloworld/hello.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE Cheers Chuck. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The information in this Internet email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Internet email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Internet email are subject to the terms and conditions expressed in any applicable governing ING Barings' terms of business or client engagement letter. Visit us at www.ingbarings.com -- -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Baisc q 2 Cannot find message resources u/key -
Hi, there only promlem is that i am not running tomcat 4. Cheers Chuck Jon Brisbin wrote: i have discovered that this is an xml parser issue of some sort...i have this problem when running tomcat 4...the fix for that is to remove crimson and jaxp jars from the catalina/jasper directory and add xerces.jar to the catalina/lib directory... your solution may have to do with any other xml parsers in the classpath, or making sure that there is no duplication of any jars in your classpath...if xerces is duplicated, this error will probably also appear... just a thought... Jon Brisbin -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Baisc q 2 Cannot find message resources u/key -
My path is as follows bbbnpa/helloworld/WEB-INF/classes/helloworld/HelloWorldResources.properties. bbnpa is my web app.I assumed that the helloworld example being my base dir was under the web app. Thus i have got another main WEB-INF/ that contains the similar tld's jar's in the correct location. is that ok. or must i have only one WEB-INF/ as i believed this is where i might have gone wrong by not having the base dir's with separate WEB-INF/ . ie /base dir /WEB-INF/classes/ .etc .etc Cheers Chuck Peter Alfors wrote: The name of your web app is bbnpa? Then shouldn't your WEB-INF directory be located here? /bbnpa/WEB-INF Pete Chuck Amadi wrote: Hi i still get the following error message. My path is /bbnpa/helloworld/WEB-INF/classes/helloworld/HelloWorldResources.properties Any more pointers Cheers Chuck Error: 500 Location: /bbnpa/helloworld/hello.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE Chuck Amadi wrote: Hi , can anyone work out this one i have followed the correct procedures albeit i am missing somthing. (bbnpa the name of my application) My path C:\jakarta-tomcat\webapps\bbnpa\helloworld\hello.jsp 1) declared directives. 2) created property file. 3) created web.xml file. 4)Copied all necessary .tld to /helloworld/WEB-INF/ 5)Copied all necessary .jar's to /WEB-INF/lib 6)Copied and deployed the struts-trailmap war's to /bbnpa/ my app's dir. Wats left error below Error: 500 Location: /bbnpa/helloworld/hello.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE Cheers Chuck. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Baisc q 2 Cannot find message resources u/key -
Hi, Ted i have been using the following path. C:\jakarta-tomcat-3.2.2\webapps\bbnpa\META-INF \WEB-INF\classes /// dont work thus temp shifted them. \css///all work cascade style sheets dir \graphics ///all work graphics \helloworld\WEB-INF\classes\helloworld\HelloWorldProperties. \templates \index.jsp \other jsp //all work All the other Work Web-Site html including Javscript pages migrated to jsp work fine . Except my classes under the first WEB-INF\ Thus Invalid Package Declarations . Oh Oh Cheers Chuck Jon Brisbin wrote: i have discovered that this is an xml parser issue of some sort...i have this problem when running tomcat 4...the fix for that is to remove crimson and jaxp jars from the catalina/jasper directory and add xerces.jar to the catalina/lib directory... your solution may have to do with any other xml parsers in the classpath, or making sure that there is no duplication of any jars in your classpath...if xerces is duplicated, this error will probably also appear... just a thought... Jon Brisbin -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: SV: pls Help .java File Wont compile/wrong name packages
Hi , cheers 4 the return within the IDE when i go to ApplicationMappings a mouseover prompt states invalid package declaration. Thus path is as u noted plus the name of my package is package action; Thus i intend to create another Action Class From the package com.ora.jsp.servlets. Thus can i just modify the package path Peter Alfors wrote: Part 1.1Type: Plain Text (text/plain) Encoding: 8bit -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Any Pointers regarding Action Classes
Cheers i believe that is the best line of action. Excuse the pun. Calvin Yu wrote: If you don't figure out why ApplicationMappings.java and ActionForward.java isn't compiling, it isn't going to help you to compile an Action class. I imagine the problem that is causing the compilation of those two classes is going cause the compilation failures of many of your other classes. The best thing you can do is start from scratch. Move all your java files somewhere else and start adding them back one by one, compiling each file along the way. Calvin On 20 Jul 2001 15:34:40 +0100, Chuck Amadi wrote: Hi , i require to create another Action Class contoller as the ApplicationMappings ActionForward.java won't compile so i would like to create an Action.java and run ant to compile. Thus is there a n example of this class and is it a abstract class with no methods(uniplemented methods-empty bodies ) as my java is only at fundamental level. I have checked the struts-example no joy albiet there is at 4.2 Action Classes userGuide/building_controller thus appears Abstract enough. Cheers Chuck. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Properties file notation / Java won't compile /calvin yu
Hi , the path was the same as described (calvin yu ) , nevertheless i have started again thus redeploy as you mentioned. Only other query .properties files what is the correct notation as i am creating the property files in Ms WordPad and the result is a txt notations ie Form.properties.txt Thus i have tried the alternative file extensions no joy. I have been playing around with this 4 ages so i have experienced a few errors - thus i will commence from the begin thus go over the examples again.As i was myself who modified the works to eventually mess it all up Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Properties file notation / Java won't compile /calvin yu
Hi Pls ignore that request from above it hit me to go to W/EXPLORER VIEW FOLDER OPTIONS VIEW UNCHECK HIDE FILE EXT FOR KNOWN FILE TYPES. Chuck Amadi wrote: Sorry folks. Hi , the path was the same as described (calvin yu ) , nevertheless i have started again thus redeploy as you mentioned. Only other query .properties files what is the correct notation as i am creating the property files in Ms WordPad and the result is a txt notations ie Form.properties.txt Thus i have tried the alternative file extensions no joy. I have been playing around with this 4 ages so i have experienced a few errors - thus i will commence from the begin thus go over the examples again.As i was myself who modified the works to eventually mess it all up Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Baisc q 2 Cannot find message resources u/key -
Hi , can anyone work out this one i have followed the correct procedures albeit i am missing somthing. (bbnpa the name of my application) My path C:\jakarta-tomcat\webapps\bbnpa\helloworld\hello.jsp 1) declared directives. 2) created property file. 3) created web.xml file. 4)Copied all necessary .tld to /helloworld/WEB-INF/ 5)Copied all necessary .jar's to /WEB-INF/lib 6)Copied and deployed the struts-trailmap war's to /bbnpa/ my app's dir. Wats left error below Error: 500 Location: /bbnpa/helloworld/hello.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE Cheers Chuck. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Baisc q 2 Cannot find message resources u/key -
Hi , in my wem.xml i have the following defined for the apllication init-param. init-param param-nameapplication/param-name param-valuehelloworld.HelloWorldResources/param-value /init-param load-on-startup1/load-on-startup /servlet Tried the second option previously and again no joy. The first option can i drag drop into the classes .jar the property file as all my jar's are in my WEB-INF/lib dir. Cheers Chuck Peter Alfors wrote: In your web.xml, what do you have defined for the application init-param? where is your properties file located? You have a couple of options: You could place the properties file in your classes jar (in the appropriate directory structure) or you can place it in the WEB-INF/classes directory (within the appropriate directory structure specified in the application init-param). Pete Chuck Amadi wrote: Hi , can anyone work out this one i have followed the correct procedures albeit i am missing somthing. (bbnpa the name of my application) My path C:\jakarta-tomcat\webapps\bbnpa\helloworld\hello.jsp 1) declared directives. 2) created property file. 3) created web.xml file. 4)Copied all necessary .tld to /helloworld/WEB-INF/ 5)Copied all necessary .jar's to /WEB-INF/lib 6)Copied and deployed the struts-trailmap war's to /bbnpa/ my app's dir. Wats left error below Error: 500 Location: /bbnpa/helloworld/hello.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE Cheers Chuck. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Any Pointers regarding Action Classes
Hi , i require to create another Action Class contoller as the ApplicationMappings ActionForward.java won't compile so i would like to create an Action.java and run ant to compile. Thus is there a n example of this class and is it a abstract class with no methods(uniplemented methods-empty bodies ) as my java is only at fundamental level. I have checked the struts-example no joy albiet there is at 4.2 Action Classes userGuide/building_controller thus appears Abstract enough. Cheers Chuck. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Help Pls regarding Action Classes - Path
Hi, is it feasiable to drop my .java file into classes dir instead of the path bbnpa/WEB-INF/classes/org/apache/struts/action bbnpa/WEB-INF/classes/org/apache/struts/custom bbnpa/WEB-INF/classes/org/apache/struts/logon Use bbnpa/WEB-INF/classes/action and so on. As i have tried to create a interface class albiet Netbeans IDE isn't happy with the package bbnpa/WEB-INF/classes/org/apache/struts/action I have tried just using package action; out of WEB-INF . Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Wer is d/load 4 Actions.classes - need 2 reinstall !!
Hi, all i previously had config/editing problems regarding Action Classes.ie ActionMappings,ActionForward, and ApplicationMappings . Thus Pls can someone direct me to what download file as i have checked my jakarta-struts-1.0-b2,struts-trail-map. Thus there are no examples and in relation to the sutruts-examples either as on open the .java file in a editor (notepad) the code is encrypted/un-readable. Thus Pls point me were i can check or obviously download again.As this has now caused me to fall back a fair bit . Cheers All Chuck -- Chuck Amadi wrote: Hi, all i previously had config/editing problems regarding Action Classes.ie ActionMappings,ActionForward, and ApplicationMappings . Thus Pls can someone direct me to what download file as i have checked my jakarta-struts-1.0-b2,struts-trail-map. Thus there are no examples and in relation to the sutruts-examples either as on open the .java file in a editor (notepad) the code is encrypted/un-readable. Thus Pls point me were i can check or obviously download again.As this has now caused me to fall back a fair bit . Cheers All Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Ant Q sorted root element missing
Hi, all (re-sent) from a created build file project i have the following error:- C:\development\test\build.xml:6: Document root element is missing. I have checked line 6 seems ok didn't like - property name= typo i keep on doing this Cheers Chuck Calvin Yu wrote: Chuck Amadi wrote: Hi, all from a created build file project i have the following error:- C:\development\test\build.xml:6: Document root element is missing. Any Takers Cheers Chuck Calvin Yu wrote: > I wouldn't do this. What kind of jars are you dealing with? If the > jars are used by Ant to run tasks, then put them in ANT_HOME/lib. If > they belong to your project and only required to build your project, I > would recommend putting them in a 'lib' directory under your project > directory. You could put them in C:\jars, but that might cause some > confusion later on if you're building different projects with > conflicting libraries in C:\jars. > > Calvin > > On 18 Jul 2001 13:52:26 +0100, Chuck Amadi wrote: > > Hi, I am currently working thru ant's and from a few articles and > example they > > lay claim to create deploying all jar's to C:\jar . > > > > Thus within the -target name="init"> the property name- value would > be > > "C:\jars"/> > > Is this the correct procedure as i will be downloading the auxillary > jars and i > > want to no do i deploy to by ant/lib dir with the ant.jar , parser.jar > > > jaxp.jar. Or as long as i add them to my classpath ie > > > > > > set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2 > > set ANT_HOME=C:\ant > > set classpath=%ANT_HOME%\lib\ant.jar > > set ANT_HOME=C:\jars --// will this locate all my > jars > > set PATH=%PATH%;%ANT_HOME%\bin > > set JAVA_HOME=C:\JDK1.3 > > Pls advise Cheers Chuck > > > > "Hampton, Paul" wrote: > > > > > Chuck, > > > The error that you mentioned was on line 35 of your build > file, for > > > some reason though word is corrupting the xml all I get on line 35 > is > > > Error! Hyperlink reference not valid. target name="init"> which I > assume > > > has been added by word as it attempts to interpret the xml as html. > Could > > > you open your build.xml up in notepad copy+paste the entire thing > into an > > > email to me? - hopefully I'll be able to spot your problem... > > > > > > Paul > > > > > > > -Original Message- > > > > From: Chuck Amadi [SMTP:[EMAIL PROTECTED]] > > > > Sent: Monday, July 16, 2001 10:39 AM > > > > To: Hampton, Paul > > > > Subject: Ant Problem - Copy of Build.xml File > > > > > > > > > > > > Cheers 4 taking a peek. > > > > -- > > > > The views expressed by the sender of this message don't > > > > necessarily represent those of Brecon Beacons National Park > > > > Authority. This message is intended for the addressee(s) only > > > > and is sent in confidence; if you receive it in error, please can > you > > > > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > > > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > > > > mewn camgymeriad, a fyddech gystal rhoi gwybod i > > > > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > > > > File: buildxml.doc >> > > > > > > This private and confidential e-mail has been sent to you by Egg. > > > The Egg group of companies comprises Prudential Banking plc > > > (registered no. 2999842), Egg Financial Products Ltd (registered > > > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > > > carries out investment business on behalf of Egg and is regulated > > > by the Personal Investment Authority. All members of the Egg group > > > are registered in England and Wales. Registered offices: 142 > > > Holborn Bars, London EC1N 2NH > > > > > > If you are not the intended recipient of this e-mail and have > > > received it in error, please notify the sender by replying with > > > 'received in error' as the subject and then delete it from your > > > mailbox. > > > > -- > > The views expressed by the sender of this message don't > > necessarily represent those of Brecon Beacons National Park > > Authority. This message
Re: Basic ant's q regarding unexpected element copy
Cheers i will look it up from doc's , sorry about that albeit prerequiste software for struts is inclusive of the Any Build System and is strongly recommended for use in developing web apps based on struts. Thus i wasn't aware it was a different kettle of fish as people bring into the domain a realm of other issues. I stand corrected and will seek the mailing list for ant's Cheers 4 mentioning it .Chuck [EMAIL PROTECTED] wrote: Name: BDY.TXT BDY.TXTType: Plain Text (text/plain) Encoding: 8bit -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Antigen found =*.vcf file
Sorry about that i have been trying 2 post mail to ant's-user mailing list ANTIGEN_MG01 wrote: Antigen for Exchange found peter.alfors.vcf matching =*.vcf file filter. The file is currently Deleted. The message, Re: Basic ant's q regarding unexpected element copy, was sent from Peter Alfors and was discovered in IMC Queues\Inbound located at IBC/PA1/MG01. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Basic ant's q regarding unexpected element copy
Well played typo error again - sorry 4 posting this 2 struts-user group i have now subscribed Cheers Again. Chuck Peter Alfors wrote: You are ending your target prematurely. target name=copy depends=jar/ should be: target name=copy depends=jar HTH, Pete Chuck Amadi wrote: Hi there folks, I have taken the second plunge into my buildfile experience the first was fine nevertheless i have a question my second buildfile states an error ie Unexpected element copy \build.xml:37: !-- ===-- !-- Copy the jar files to release directory-- !-- ===-- target name=copy depends=jar/ copy todir=${jardir} ///this is line 37 fileset dir=${basedir} includes=*jar/ /copy /target /project Any ideas Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. Name: peter.alfors.vcf peter.alfors.vcf Type: VCard (text/x-vcard) Encoding: 7bit Description: Card for Peter Alfors -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Ant Q regarding deployment of jar's
Hi, I am currently working thru ant's and from a few articles and example they lay claim to create deploying all jar's to C:\jar . Thus within the -target name="init"> the property name- value would be "C:\jars"/> Is this the correct procedure as i will be downloading the auxillary jars and i want to no do i deploy to by ant/lib dir with the ant.jar , parser.jar jaxp.jar. Or as long as i add them to my classpath ie set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2 set ANT_HOME=C:\ant set classpath=%ANT_HOME%\lib\ant.jar set ANT_HOME=C:\jars --// will this locate all my jars set PATH=%PATH%;%ANT_HOME%\bin set JAVA_HOME=C:\JDK1.3 Pls advise Cheers Chuck "Hampton, Paul" wrote: Chuck, The error that you mentioned was on line 35 of your build file, for some reason though word is corrupting the xml all I get on line 35 is Error! Hyperlink reference not valid. target name="init"> which I assume has been added by word as it attempts to interpret the xml as html. Could you open your build.xml up in notepad copy+paste the entire thing into an email to me? - hopefully I'll be able to spot your problem... Paul > -Original Message- > From: Chuck Amadi [SMTP:[EMAIL PROTECTED]] > Sent: Monday, July 16, 2001 10:39 AM > To: Hampton, Paul > Subject: Ant Problem - Copy of Build.xml File > > > Cheers 4 taking a peek. > -- > The views expressed by the sender of this message don't > necessarily represent those of Brecon Beacons National Park > Authority. This message is intended for the addressee(s) only > and is sent in confidence; if you receive it in error, please can you > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > mewn camgymeriad, a fyddech gystal rhoi gwybod i > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > File: buildxml.doc >> This private and confidential e-mail has been sent to you by Egg. The Egg group of companies comprises Prudential Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Personal Investment Authority. All members of the Egg group are registered in England and Wales. Registered offices: 142 Holborn Bars, London EC1N 2NH If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: Ant Q regarding deployment of jar's
They belong to my project so i will create a lib dir under my project dir . Cheers again Calvin Yu wrote: I wouldn't do this. What kind of jars are you dealing with? If the jars are used by Ant to run tasks, then put them in ANT_HOME/lib. If they belong to your project and only required to build your project, I would recommend putting them in a 'lib' directory under your project directory. You could put them in C:\jars, but that might cause some confusion later on if you're building different projects with conflicting libraries in C:\jars. Calvin On 18 Jul 2001 13:52:26 +0100, Chuck Amadi wrote: > Hi, I am currently working thru ant's and from a few articles and example they > lay claim to create deploying all jar's to C:\jar . > > Thus within the -target name="init"> the property name- value would be > "C:\jars"/> > Is this the correct procedure as i will be downloading the auxillary jars and i > want to no do i deploy to by ant/lib dir with the ant.jar , parser.jar > jaxp.jar. Or as long as i add them to my classpath ie > > > set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2 > set ANT_HOME=C:\ant > set classpath=%ANT_HOME%\lib\ant.jar > set ANT_HOME=C:\jars --// will this locate all my jars > set PATH=%PATH%;%ANT_HOME%\bin > set JAVA_HOME=C:\JDK1.3 > Pls advise Cheers Chuck > > "Hampton, Paul" wrote: > > > Chuck, > > The error that you mentioned was on line 35 of your build file, for > > some reason though word is corrupting the xml all I get on line 35 is > > Error! Hyperlink reference not valid. target name="init"> which I assume > > has been added by word as it attempts to interpret the xml as html. Could > > you open your build.xml up in notepad copy+paste the entire thing into an > > email to me? - hopefully I'll be able to spot your problem... > > > > Paul > > > > > -Original Message- > > > From: Chuck Amadi [SMTP:[EMAIL PROTECTED]] > > > Sent: Monday, July 16, 2001 10:39 AM > > > To: Hampton, Paul > > > Subject: Ant Problem - Copy of Build.xml File > > > > > > > > > Cheers 4 taking a peek. > > > -- > > > The views expressed by the sender of this message don't > > > necessarily represent those of Brecon Beacons National Park > > > Authority. This message is intended for the addressee(s) only > > > and is sent in confidence; if you receive it in error, please can you > > > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > > > mewn camgymeriad, a fyddech gystal rhoi gwybod i > > > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > > > File: buildxml.doc >> > > > > This private and confidential e-mail has been sent to you by Egg. > > The Egg group of companies comprises Prudential Banking plc > > (registered no. 2999842), Egg Financial Products Ltd (registered > > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > > carries out investment business on behalf of Egg and is regulated > > by the Personal Investment Authority. All members of the Egg group > > are registered in England and Wales. Registered offices: 142 > > Holborn Bars, London EC1N 2NH > > > > If you are not the intended recipient of this e-mail and have > > received it in error, please notify the sender by replying with > > 'received in error' as the subject and then delete it from your > > mailbox. > > -- > The views expressed by the sender of this message don't > necessarily represent those of Brecon Beacons National Park > Authority. This message is intended for the addressee(s) only > and is sent in confidence; if you receive it in error, please can you > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > mewn camgymeriad, a fyddech gystal rhoi gwybod i > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: Ant Q regarding deployment of jar's
Hi, all from a created build file project i have the following error:- C:\development\test\build.xml:6: Document root element is missing. Any Takers Cheers Chuck Calvin Yu wrote: I wouldn't do this. What kind of jars are you dealing with? If the jars are used by Ant to run tasks, then put them in ANT_HOME/lib. If they belong to your project and only required to build your project, I would recommend putting them in a 'lib' directory under your project directory. You could put them in C:\jars, but that might cause some confusion later on if you're building different projects with conflicting libraries in C:\jars. Calvin On 18 Jul 2001 13:52:26 +0100, Chuck Amadi wrote: Hi, I am currently working thru ant's and from a few articles and example they lay claim to create deploying all jar's to C:\jar . Thus within the -target name=init the property name- value would be C:\jars/ Is this the correct procedure as i will be downloading the auxillary jars and i want to no do i deploy to by ant/lib dir with the ant.jar , parser.jar jaxp.jar. Or as long as i add them to my classpath ie set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2 set ANT_HOME=C:\ant set classpath=%ANT_HOME%\lib\ant.jar set ANT_HOME=C:\jars --// will this locate all my jars set PATH=%PATH%;%ANT_HOME%\bin set JAVA_HOME=C:\JDK1.3 Pls advise Cheers Chuck Hampton, Paul wrote: Chuck, The error that you mentioned was on line 35 of your build file, for some reason though word is corrupting the xml all I get on line 35 is Error! Hyperlink reference not valid. target name=init which I assume has been added by word as it attempts to interpret the xml as html. Could you open your build.xml up in notepad copy+paste the entire thing into an email to me? - hopefully I'll be able to spot your problem... Paul -Original Message- From: Chuck Amadi [SMTP:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 10:39 AM To: Hampton, Paul Subject: Ant Problem - Copy of Build.xml File Cheers 4 taking a peek. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. File: buildxml.doc This private and confidential e-mail has been sent to you by Egg. The Egg group of companies comprises Prudential Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Personal Investment Authority. All members of the Egg group are registered in England and Wales. Registered offices: 142 Holborn Bars, London EC1N 2NH If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Wer is d/load 4 Actions.classes - need 2 reinstall !!
Hi, all i previously had config/editing problems regarding Action Classes.ie ActionMappings,ActionForward, and ApplicationMappings . Thus Pls can someone direct me to what download file as i have checked my jakarta-struts-1.0-b2,struts-trail-map. Thus there are no examples and in relation to the sutruts-examples either as on open the .java file in a editor (notepad) the code is encrypted/un-readable. Thus Pls point me were i can check or obviously download again.As this has now caused me to fall back a fair bit . Cheers All Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Unable to run both Ant Tomcat (set classpath)
Hi,all I have just installed and configured the ant's build and thus ran a few examples and it running ok.Albeit on trying to run the tomcat container i have recieved a bad command on startup. I have still got the set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2 in my classpath. If this is the case i assume i can't set both Tomcat and Ant within the same classpath.I if i require to run the tomact container i must reset the set classpath and rem the set ANT_HOME=C:\ant Cheers Chuck Pls Confirm. Gregor Rayman wrote: "Chris Callaghan" [EMAIL PROTECTED]> asks: > Hey all, > > I want to be able to map a URL to certain JSPs which may or may not have > an action involved with them e.g > map /logon to logon.jsp which also has as action also called logon > also /tour to tour.jsp which has no associated action. > > How can I do this with struts? > > Cheers > Chris You can do it with your http server, not with struts. -- gR -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Working with Ant - Confirm package name
Hi, I have just installed ant, thus i am toying with a few simple examples. Nevertheless i just like to confirm that when creating .java files i save them into a C:\development directory (as text doc) thus i am led to believe that this dir isthe name of my package name i.e package development; class ProjectForm { public static void main (String etc etc Pls could you confirm Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: Unable to run both Ant Tomcat (set classpath)rectified
Hi Calvin your right , i mispelt jakarta,within the classpath. I would also like to know does it matter that i have copied from tomcat/lid dir to my webapp/WEB-INF/lib dir the servlet.jar as at first when i edit the tomcat.bat it stated it couldn't locate the servlet.jar. I recall the struts-group stating it should stay at tomvat/lib. Secondly when one constructs ant's builds do thet reside in the same dir as i have a dir named C:\development and within the ms-dos it works fine thus i have downloaded an example containing a .java file and a build.xml file thus do both these file reside in a separate dir i.e VKCapture.java , sp.tif build.xml to a new folder named C:\capture dir. am i on the right lines of thinking. Cheers All Calvin Yu wrote: This really shouldn't be the case. You should be able to set both TOMCAT_HOME and ANT_HOME. What you should do is not set CLASSPATH at all b/c ant.bat and tomcat.bat should handle the classpath for you. Empty the CLASSPATH ('set CLASSPATH='), and send the error that you are getting when you run the batch files. Also, if you can edit the ant.bat and tomcat.bat and echo the command that is being run, that would be helpful. Calvin On 17 Jul 2001 11:30:31 +0100, Chuck Amadi wrote: > Hi,all > I have just installed and configured the ant's build and thus ran a few > examples and it running ok.Albeit on trying to run the tomcat container i have > recieved a bad command on startup. > I have still got the set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2 in my classpath. > If this is the case i assume i can't set both Tomcat and Ant within the same > classpath.I if i require to run the tomact container i must reset the set > classpath and rem the set ANT_HOME=C:\ant > > Cheers Chuck Pls Confirm. > > Gregor Rayman wrote: > > > "Chris Callaghan" [EMAIL PROTECTED]> asks: > > > > > Hey all, > > > > > > I want to be able to map a URL to certain JSPs which may or may not have > > > an action involved with them e.g > > > map /logon to logon.jsp which also has as action also called logon > > > also /tour to tour.jsp which has no associated action. > > > > > > How can I do this with struts? > > > > > > Cheers > > > Chris > > > > You can do it with your http server, not with struts. > > > > -- > > gR > > -- > The views expressed by the sender of this message don't > necessarily represent those of Brecon Beacons National Park > Authority. This message is intended for the addressee(s) only > and is sent in confidence; if you receive it in error, please can you > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > mewn camgymeriad, a fyddech gystal rhoi gwybod i > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: Unable to run both Ant Tomcat (set classpath)rectified
Cheers wicked, ta 4 now Calvin Yu wrote: Keep servlet.jar in TOMCAT_HOME/lib. I usually follow Ant build structure, which for you would be something like this: capture/ build.xml samples/ src/ conf/ etc/ main/ VKCapture.java build/ classes/ VKCapture.class depending on what you do with sp.tif, it'll go in src/etc, src/conf, samples/, or under src/main. If it is just a sample tif, I would put it under samples. If it is necessary for the code to run properly, I'd put it in etc. Calvin On 17 Jul 2001 14:40:17 +0100, Chuck Amadi wrote: Hi Calvin your right , i mispelt jakarta,within the classpath. I would also like to know does it matter that i have copied from tomcat/lid dir to my webapp/WEB-INF/lib dir the servlet.jar as at first when i edit the tomcat.bat it stated it couldn't locate the servlet.jar. I recall the struts-group stating it should stay at tomvat/lib. Secondly when one constructs ant's builds do thet reside in the same dir as i have a dir named C:\development and within the ms-dos it works fine thus i have downloaded an example containing a .java file and a build.xml file thus do both these file reside in a separate dir i.e VKCapture.java , sp.tif build.xml to a new folder named C:\capture dir. am i on the right lines of thinking. Cheers All Calvin Yu wrote: This really shouldn't be the case. You should be able to set both TOMCAT_HOME and ANT_HOME. What you should do is not set CLASSPATH at all b/c ant.bat and tomcat.bat should handle the classpath for you. Empty the CLASSPATH ('set CLASSPATH='), and send the error that you are getting when you run the batch files. Also, if you can edit the ant.bat and tomcat.bat and echo the command that is being run, that would be helpful. Calvin On 17 Jul 2001 11:30:31 +0100, Chuck Amadi wrote: Hi,all I have just installed and configured the ant's build and thus ran a few examples and it running ok.Albeit on trying to run the tomcat container i have recieved a bad command on startup. I have still got the set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2 in my classpath. If this is the case i assume i can't set both Tomcat and Ant within the same classpath.I if i require to run the tomact container i must reset the set classpath and rem the set ANT_HOME=C:\ant Cheers Chuck Pls Confirm. Gregor Rayman wrote: Chris Callaghan [EMAIL PROTECTED] asks: Hey all, I want to be able to map a URL to certain JSPs which may or may not have an action involved with them e.g map /logon to logon.jsp which also has as action also called logon also /tour to tour.jsp which has no associated action. How can I do this with struts? Cheers Chris You can do it with your http server, not with struts. -- gR -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y
Re: Working with Ant - Confirm package name
Cheers again it is making sence as this has been one of my main problems when i create .java files and then messing up the relative paths.Thus causing my .java files not to compile. All the Best Chuck Calvin Yu wrote: It doesn't have to be. Package names have very little association with the directory that a java file is in. With ant, all you should have to do is point it to a source directory (C:\development), and it'll try to compile all java files in that directory. However, you probably want to declare a package structure for organization and access control purposes. If you are going to define a package, it is recommend that you build a complimentary package structure that is *relative* to your source directory. So if your class's package is 'com.mycompany', your java file should be in 'C:\development\com\mycompany'. The reason you would want to do this is because javac will look for this kind of directory structure to compile the source files that are required by the source file you are currently compiling. I believe you can have all java files under one directory despite their package declaration and javac will resolve the dependencies, but your project organization will suffer. So just remember, package declaration is *relative* to the source directory. Calvin On 17 Jul 2001 13:44:34 +0100, Chuck Amadi wrote: Hi, I have just installed ant, thus i am toying with a few simple examples. Nevertheless i just like to confirm that when creating .java files i save them into a C:\development directory (as text doc) thus i am led to believe that this dir isthe name of my package name i.e package development; class ProjectForm { public static void main (String etc etc Pls could you confirm Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Ant problem - but getting closer any suggestions on snippet
Hi, I have installed ant and for some unknown reason my set up can't locate the build.xml file.Firstly i downloaded a good sample build.xml file and placed it alongside my bin,lib doc's files to no avail. Thus i have tried the - find option albeit same response. Thus i am wondering have i got to place the build.xml file in my Netbeans dir as apparently the -find option will look for the build.mxl file in thecurrent directory and thus towards the root dir. Thus my dos-prompt does not have a build.xml file eventhough there is a build file in the same folder. Any Suggestions cheers Chuck Chuck Amadi wrote: Part 1.1.1Type: Plain Text (text/plain) Encoding: 8bit Name: buildxml.doc buildxml.doc Type: Winword File (application/msword) Encoding: base64 Download Status: Not downloaded with message -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
A copy of my Ant Build.xml File (Ant Problems)
I apologise 4 mailing u direct, regarding your comments in relation to C:\ant (My current problem) I haven't got a dir named nbuild, thus i have digested your remarks which make sence to me now. Albiet i have placed the build.xml file in numerous places in order 4 it to be located to no avail. Thus below is the build.xml file if u fancy a peek. Thus how on earth do i get to nbuild dir to make the neccessary procedures/tasks. Cheers Chuck. ?xml version="1.0" encoding="UTF-8" ?> Error! Hyperlink reference not valid. !-- Sun Public License Notice The contents of this file are subject to the Sun Public License Version 1.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is available at http://www.sun.com/ The Original Code is NetBeans. The Initial Developer of the Original Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved. --> Error! Hyperlink reference not valid. project basedir="." default="netbeans" name="MyModule Unit Tests"> - !-- Properties --> property name="buildnumber" value="0" /> property name="netbeans.home" location="../../../nbbuild/netbeans" /> property name="netbeans.test.home" value="${netbeans.home}" /> property name="xtest.home" location="../../../xtest" /> property name="xtest.mode" value="code" /> property name="xtest.file" value="test.jar" /> property name="xtest.build" location="." /> property name="xtest.results" location="results" /> property name="xtest.includes" value="**/*.class" /> property name="xtest.excludes" value="" /> property name="build.compiler.deprecation" value="off" /> property name="build.compiler.debug" value="off" /> - !-- Task definitions --> Error! Hyperlink reference not valid. target name="init"> - !-- basic tasks --> taskdef name="nbtaskdef" classname="org.netbeans.xtest.NbMultiTaskDef" classpath="${xtest.home}/lib/xtest.jar" /> Error! Hyperlink reference not valid. nbtaskdef classpath="${xtest.home}/lib/xtest.jar"> taskdef name="nbpath" classname="org.netbeans.xtest.NbPath" /> taskdef name="sysinfo" classname="org.netbeans.xtest.SysInfo" /> taskdef name="nbpatternset" classname="org.netbeans.xtest.NbPatternset" /> taskdef name="pathdef" classname="org.netbeans.xtest.PathDef" /> /nbtaskdef> Error! Hyperlink reference not valid. !-- NbPath creates following variables - junit.path : junit-extensions.jar;junit.jar xerces.path : xerces.jar xalan.path : xalan.jar | ${xerces.path} xtest.path : xtest.jar;xtest-ext.jar netbeans.test.library.path : netbeans.test.class.path : netbeans.test.bootclass.path : --> nbpath nbhome="${netbeans.test.home}" xthome="${xtest.home}" /> - !-- XML, XSLT reporters --> Error! Hyperlink reference not valid. nbtaskdef classpath="${xtest.path};${xalan.path}"> taskdef name="xalan" classname="org.netbeans.xtest.XalanLauncher" /> taskdef name="nbjr" classname="org.netbeans.xtest.junit.XMLResultAggregator" /> /nbtaskdef> - !-- JUnit --> nbtaskdef name="nbjunit" classname="org.netbeans.xtest.junit.JUnitTaskExt" classpath="${junit.path};${xtest.path};${xerces.path}" /> Error! Hyperlink reference not valid. nbpatternset useid="xtest.pattern"> Error! Hyperlink reference not valid. patternset includes="${xtest.includes}" excludes="${xtest.excludes}"> exclude name="**/*Suite.class" /> exclude name="**/*$$*.class" /> exclude name="**/data/**" /> /patternset> /nbpatternset> Error! Hyperlink reference not valid. pathdef useid="test.basepath"> Error! Hyperlink reference not valid. path> pathelement path="${junit.path};${xtest.path};${xerces.path}" /> pathelement location="${xtest.results}/work" /> /path> /pathdef> /target> - !-- Test Targets --> Error! Hyperlink reference not valid. target name="test" depends="clean_results"> - !-- Init --> mkdir dir="${xtest.results}/work" /> mkdir dir="${xtest.results}/html" /> mkdir dir="${xtest.results}/xml" /> unjar dest="${xtest.results}/work" src="${basedir}/lib/${xtest.file}" /> antcall target="${xtest.mode}_test_bootstrap" /> antcall target="test_report" /> /target> - !-- Code test bootstrap --> target name="code_test_bootstrap" depends="init, code_test_init, junit_test" /> Error! Hyperlink reference not valid. target name="code_test_init"> property name="junit.fork" value="yes" /> Error! Hyperlink reference not valid. pathdef useid="test.classpath"> path refid="test.basepath" /> - !-- additional path elements --> Error! Hyperlink reference not valid. path> pathelement location="../../src" /> /path> /pathdef> /target> - !-- IDE test bootstrap --> Error! Hyperlink reference not valid. target name="ide_test_bootstrap" depends="init"> Error! Hyperlink reference not valid. pathdef useid="test.classpath"> path refid="test.basepath" /> - !-- additional path elements --> /pathdef> property name="test.class" value="org.netbeans.xtest.AntRunner" /> property name="test.classpath" refid="test.classpath" /> property name="test.target" value="ide_test_helper" /> Error! Hyperlink reference not valid.
Ran another ant( build.xml) new problem - messages -
Hi again, i have a new build.xml file from the joinstruts.zip business.zip . Anyway from C:\jakarta-tomcat-3.2.2\webapps\bbnpa\business\build.xml:43: Compile failed ,messages should have been provided. Any Ideas. Regarding these messages as on line:43: The only thing is as follows jar jarfile="${app.name}.war" basedir="build=/joinStruts" includes="**"/> /target> /project> Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: Ant problem - build.xml file does not exist
I also have cygwin so i'll try that later once i have sorted ms-dos first Cheers Chuck Pham Thanh Quan wrote: Because Ant is intended for UNIX, You should download cygwin.com from jakarta.apache.org or elsewhere, install and run it instead of dos command prompt Quan - Original Message - From: kuma.cra [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 7:14 AM Subject: Re: Ant problem - build.xml file does not exist Hi Peter i hace cd to ant ie C:\cd ant C:\ant Thus i excute ant prompt and no respose whats so ever only response is when i prompt C:\ant\bin\ant.bat thus get can't find build file. Any ideas Cheers Chuck Peter Alfors wrote: how are you executing ant.bat? In your dos prompt, move to the ant/bin directory, then execute it. Pete Chuck Amadi wrote: Hi all i have just downloaded a exampl from netbeans of a sample build.xml Thus i have installed in the ant's dir at the same level as bin,doc,lib is this correct as when i run the ms- dos prompt C:C:\ant\bin\ant.bat -find I recieve a responce stating build.xml does not exist. Any Suggestions Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Ant problem - build.xml file does not exist
Hi all im back , I have got a response from ms-dos prompt , albiet when i enter C:\ant\bin\ant.bat -find i recieve a searching for a build.xml ... could not locate a build file but the fact of the matter is that i have downloaded a sample and located it within the ant\bin dir .Nevertheless it still can't find it. My class path is as follows- the name of my dir is C:\ant set ANT_HOME=C:\ant set classpath=%ANT_HOME%\lib\ant.jar set PATH=%PATH%;%ANT_HOME%\bin\ant.bat set JAVA_HOME=C:\JDK1.3 Thus i have a build.xml sample with content at C:\ant\bin\build.xml Pham Thanh Quan wrote: Sorry! You can run it from Dos command prompt, but you have to set some following environment variables : JAVA_HOME=your java home (e.g. C:\jdk1.3) PATH=%PATH%;C:\jakarta-ant-1.3\bin ANT_HOME=your ant home (e.g. C:\jakarta-ant-1.3) After that, at the directory, which include the file build.xml, run "ant" Quan - Original Message - From: Pham Thanh Quan [EMAIL PROTECTED]> To: [EMAIL PROTECTED]>; [EMAIL PROTECTED]> Sent: Friday, July 13, 2001 9:41 AM Subject: Re: Ant problem - build.xml file does not exist > Because Ant is intended for UNIX, You should download "cygwin.com" from > jakarta.apache.org or elsewhere, install and run it instead of dos command > prompt > Quan > > - Original Message - > From: kuma.cra [EMAIL PROTECTED]> > To: [EMAIL PROTECTED]> > Sent: Friday, July 13, 2001 7:14 AM > Subject: Re: Ant problem - build.xml file does not exist > > > > Hi Peter i hace cd to ant ie C:\>cd ant > > C:\ant Thus i excute ant prompt and no respose whats so ever only > > response is when i prompt C:\>ant\bin\ant.bat thus get can't find build > > file. > > > > Any ideas Cheers Chuck > > > > Peter Alfors wrote: > > > > > > how are you executing ant.bat? > > > In your dos prompt, move to the ant/bin directory, then execute it. > > > > > > Pete > > > > > > Chuck Amadi wrote: > > > > > > > Hi all i have just downloaded a exampl from netbeans of a sample > > > > build.xml Thus i have installed in the ant's dir at the same level > > > > as bin,doc,lib is this correct as when i run the ms- dos prompt > > > > C:>C:\ant\bin\ant.bat -find > > > > I recieve a responce stating build.xml does not exist. > > > > Any Suggestions Chuck > > > > > > > > -- > > > > The views expressed by the sender of this message don't > > > > necessarily represent those of Brecon Beacons National Park > > > > Authority. This message is intended for the addressee(s) only > > > > and is sent in confidence; if you receive it in error, please can > > > > you > > > > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > > > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > > > > mewn camgymeriad, a fyddech gystal rhoi gwybod i > > > > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > > > > > > > > -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Ant Problem any ideas from here Build Failed!!
Hi , getting closer within MS- DOS prompt i changed dir to - C:\>cd:\ant C:\ant>ant Buildfile: buildfile.xml Build FAILED C:\ant\build.xml:19: The file or path you specified (..\..\..\nbuild\netbeans) is invalid realative to C:\ant Total time : 1 second Getting Closer :^}. This my set classpath note what's going on relating to line :19 :within the build.xml as i think it refers to -nbtaskdef classpath="${xtest.home}/lib/xtest.jar"> set ANT_HOME=C:\ant set classpath=%ANT_HOME%\lib\ant.jar set PATH=%PATH%;%ANT_HOME%\bin set JAVA_HOME=C:\JDK1.3 Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: Ant(bash) problem - build.xml file does not exist
Hey wats the bash command as no joy with{ $ cd :c } Cheers Chuck Pham Thanh Quan wrote: Because Ant is intended for UNIX, You should download "cygwin.com" from jakarta.apache.org or elsewhere, install and run it instead of dos command prompt Quan - Original Message - From: kuma.cra [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Sent: Friday, July 13, 2001 7:14 AM Subject: Re: Ant problem - build.xml file does not exist > Hi Peter i hace cd to ant ie C:\>cd ant > C:\ant Thus i excute ant prompt and no respose whats so ever only > response is when i prompt C:\>ant\bin\ant.bat thus get can't find build > file. > > Any ideas Cheers Chuck > > Peter Alfors wrote: > > > > how are you executing ant.bat? > > In your dos prompt, move to the ant/bin directory, then execute it. > > > > Pete > > > > Chuck Amadi wrote: > > > > > Hi all i have just downloaded a exampl from netbeans of a sample > > > build.xml Thus i have installed in the ant's dir at the same level > > > as bin,doc,lib is this correct as when i run the ms- dos prompt > > > C:>C:\ant\bin\ant.bat -find > > > I recieve a responce stating build.xml does not exist. > > > Any Suggestions Chuck > > > > > > -- > > > The views expressed by the sender of this message don't > > > necessarily represent those of Brecon Beacons National Park > > > Authority. This message is intended for the addressee(s) only > > > and is sent in confidence; if you receive it in error, please can > > > you > > > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > > > mewn camgymeriad, a fyddech gystal rhoi gwybod i > > > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > > > > -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: ant's Classpath just(ANT'S need some guidance!!)
Hi, all i have got the correct path as below- Nevertheless i recieved a BuildFile: build.xml does not exist - buildfile. Thus i believe that all i need to do is build ant. set ANT_HOME=C:\jakarta-ant-1.3 set classpath=%ANT_HOME%\lib\ant.jar set PATH=%PATH%;%ANT_HOME%\bin\ant.bat set JAVA_HOME=C:\JDK1.3 Cheers 4 your help Chuck Amadi wrote: I have tried that already no joy . Thus must i do away with set TOMCAT_HOME as i assumed that i needed this for the container. set JAVA_HOME=C:\JDK1.3 set set classpath=%ANT_HOME%\lib\ant.jar Again this didn't work . Thus i try again at home as after i solve this it's time 4 linux Cheers all. Peter Alfors wrote: Part 1.1Type: Plain Text (text/plain) Encoding: 8bit -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: just d/l installed ANT'S need some guidance!!
Hi i believe that i have now installed ant , now have i got to install the source from the Ant source distribution. As i can see the syntax code for build ant - build -Ddist.dir=directory_to_contain_Ant_distribution>dist (windows) Calvin Yu wrote: Part 1.1 Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: just d/l installed ANT'S need some guidance!!
Sorry foliks excuse my igorance i have the binary distribution and have installed it now i want to run ant , except my ant does'nt have a build.xml file in the current dir. Thus i d/loaded a build.xml from joinstruts that is in my netbeans filesystem thus can i utilise that build.xml. Any suggestions as i rather have ant look for build.xml file within it's dir Calvin Yu wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: SV: just d/l installed ANT'S need some guidance!!
Hi i have got ant installed i want to know how best to run ant as i assuming that i can creat a basic build.xml file albeit empty thus is there examples of how to creat the content for the build.xml files. as all the ant doc's states is use -find option that'll search the current root dir or use another buildfile ie -buildfile option. So any tips. Cheers Chuck suhas wrote: Download the Ant again , and do it afresh . :-) Or set classpath to all jars present in ur ANT_HOME>/lib directory andpath to ANT_HOME>/bin directory. It should work . :-) Suhas - Original Message - From: Chuck Amadi [EMAIL PROTECTED]> To: [EMAIL PROTECTED]>; [EMAIL PROTECTED]> Sent: Thursday, July 12, 2001 9:18 AM Subject: Re: SV: just d/l installed ANT'S need some guidance!! > As discussed a copy of my ant.bat file . > Current classpath. > On the command prompt typed C:>C:\jarkarta-ant-1.3\bin\ant.bat > > set ANT_HOME=C:\jakarta-ant-1.3\lib\ant.jar > set PATH=%PATH%;%ANT_HOME%\bin > set JAVA_HOME=C:\JDK1.3 > Cheers Chuck > > Calvin Yu wrote: > > > It doesn't look like you're using the right ant.bat file. Did you > modify > it, or are you using an ant.bat that you wrote yourself? Make sure you > use > ant.home>/bin/ant.bat. Try fully declaring it ([prompt:] > C:\jakarta-ant-1.3\bin\ant.bat). It you're still seeing the problem, > send > me the ant.bat file. > > Calvin > > > - Original Message - > From: "Chuck Amadi" [EMAIL PROTECTED]> > To: [EMAIL PROTECTED]> > Sent: Wednesday, July 11, 2001 10:15 AM > Subject: Re: SV: just d/l installed ANT'S need some guidance!! > > > > I have since removed the TOMCAT_HOME path that resulted the fact that > my > > classpath is directing towards the tool.jar. > > > > I haven't got a tool.jar in the ant dir. > > Cheers Chuck. > > > > > > Peter Alfors wrote: > > > > > print out your classpath and see which ant.jar is being used. > > > > > > Pete > > > > > > Chuck Amadi wrote: > > > > > > > Oops forgot to mention that i am running Netbeans v 3.2.2 wereby > ant's > is > > > > apparently alreay bundled nevertheless i would like a standalone , > as > the > > > > ant 1.3 download is the current realease. > > > > Anyway would this cause any problems . > > > > Cheers Chuck > > > > > > > > Mikkel Bruun wrote: > > > > > > > > > please post the exception so we can look into it... > > > > > > > > > > Mikkel > > > > > > > > > > -Oprindelig meddelelse- > > > > > Fra: Chuck Amadi [ mailto:[EMAIL PROTECTED] > mailto:[EMAIL PROTECTED]> ] > > > > > Sendt: 11 July 2001 14:43 > > > > > Til: [EMAIL PROTECTED] > > > > > Emne: Re: just d/l installed ANT'S need some guidance!! > > > > > > > > > > Hi, tried that and just ant from the ms-dos command line and got > > > > > > Exception in Thread - I assume that i have a classpath issue > regarding > > > > > multithreading . > > > > > Any Suggestions Cheers Chuck > > > > > > > > > > suhas wrote: > > > > > > > > > > > Part 1.1 Type: Plain Text (text/plain) > > > > > > Encoding: quoted-printable > > > > > > > > > > -- > > > > > The views expressed by the sender of this message don't > > > > > necessarily represent those of Brecon Beacons National Park > > > > > Authority. This message is intended for the addressee(s) only > > > > > and is sent in confidence; if you receive it in error, please > can > you > > > > > let us know (at [EMAIL PROTECTED]) and then destroy all > copies. > > > > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > > > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > > > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > > > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > > > > > mewn camgymeriad, a fyddech gystal rhoi gwybod i > > > > > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > > > > > > > > -- > > > > The views expressed by the sender of this message don't > > > > necessarily represent those of Brecon Beacons National Park > > > > Authority. This message is intended for the addressee(s) only > > > > and is sent in confidence;
just d/l installed ANT'S need some guidance!!
Hi, all eventhugh Ant's is bundled with netbeans 3.2.2 i have just downloaded (binary) , installed and config the set up environment - C:\jakarta-ant.Thus do i mount the C:\jakarta-ant-1.3 onto the netbeans filesystem or do i just add ant.jar and any jars/classes that i require to my webapp's WEB-INF/lib dir, also i am not sure wheather you just utilise the ant command from dos-prompt or as i hope via Scripts netbeans IDE. It feels a bit ambiguous as it states that one should download any auxiliary jars required to build tasks i am interested in . Well i am interested testlet.jar,rhino.jar and jpython.jar for now. Thus can i install these libraries later once i have a feel and look of this applicaion build tool. Thus finally can i from the netbeans IDE menu run ant . As once i have accomplished this i have got to do it all over again on Linux . Cheers All. Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: just d/l installed ANT'S need some guidance!!
Hi again i have set my classpath within AutoExec.bat as follows set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2 set ANT_HOME=C:\jakarta-ant-1.2 set JAVA_HOME=C:\JDK1.3 set PATH=%PATH%;%ANT_HOME%\bin Thus on checking the ant's bin dir the ant.bat states the following. Exception in thread "main" java.lang. NoClassDefFoundError org/apache/tools/ant/main. Any Ideas.- Cheers Chuck suhas wrote: Part 1.1 Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: just d/l installed ANT'S need some guidance!!
Hi, tried that and just ant from the ms-dos command line and got Exception in Thread - I assume that i have a classpath issue regarding multithreading . Any Suggestions Cheers Chuck suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: SV: just d/l installed ANT'S need some guidance!!
Hi, as follows i have rebooted as usually, included the %PATH%;%ANT_HOME% thus invoking ant.jar and any other jar's within the bin, and from ms-dos command line entered ant . Cheers Chuck Mikkel Bruun wrote: please post the exception so we can look into it... Mikkel -Oprindelig meddelelse- Fra: Chuck Amadi [mailto:[EMAIL PROTECTED]] Sendt: 11 July 2001 14:43 Til: [EMAIL PROTECTED] Emne: Re: just d/l installed ANT'S need some guidance!! Hi, tried that and just ant from the ms-dos command line and got Exception in Thread - I assume that i have a classpath issue regarding multithreading . Any Suggestions Cheers Chuck suhas wrote: > Part 1.1 Type: Plain Text (text/plain) > Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. Post as requested note the same response within ant.doc
Re: SV: just d/l installed ANT'S need some guidance!!
Oops forgot to mention that i am running Netbeans v 3.2.2 wereby ant's is apparently alreay bundled nevertheless i would like a standalone , as the ant 1.3 download is the current realease. Anyway would this cause any problems . Cheers Chuck Mikkel Bruun wrote: please post the exception so we can look into it... Mikkel -Oprindelig meddelelse- Fra: Chuck Amadi [mailto:[EMAIL PROTECTED]] Sendt: 11 July 2001 14:43 Til: [EMAIL PROTECTED] Emne: Re: just d/l installed ANT'S need some guidance!! Hi, tried that and just ant from the ms-dos command line and got Exception in Thread - I assume that i have a classpath issue regarding multithreading . Any Suggestions Cheers Chuck suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: SV: just d/l installed ANT'S need some guidance!!
Is this ok Peter Alfors wrote: print out your classpath and see which ant.jar is being used. Pete Chuck Amadi wrote: Oops forgot to mention that i am running Netbeans v 3.2.2 wereby ant's is apparently alreay bundled nevertheless i would like a standalone , as the ant 1.3 download is the current realease. Anyway would this cause any problems . Cheers Chuck Mikkel Bruun wrote: please post the exception so we can look into it... Mikkel -Oprindelig meddelelse- Fra: Chuck Amadi [mailto:[EMAIL PROTECTED]] Sendt: 11 July 2001 14:43 Til: [EMAIL PROTECTED] Emne: Re: just d/l installed ANT'S need some guidance!! Hi, tried that and just ant from the ms-dos command line and got Exception in Thread - I assume that i have a classpath issue regarding multithreading . Any Suggestions Cheers Chuck suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. classjar.doc
Re: .Re: SV: just d/l installed ANT'S need some guidance!!
Hi again thus if im reading it right ditch my current path and set just the ant.jar and leave jaxp parser.jar in the lib of ant's dir. set classpath=ANT_HOME=C:\jakarta-ant-1.3\bin\ant.jar set JAVA_HOME=C:\jdk1.3 Is the above ok if not pls post your classpath set up. Cheers Chuck suhas wrote: Hi , Cheers Chuck Only ant.jar should be in the classpath . The system not required to boot up . Also keep jaxp.jar and parser.jar in the lib directory in the classpath set bin directory in the path Before doing all this set classpath and path to null Suhas - Original Message - From: Chuck Amadi [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Sent: Wednesday, July 11, 2001 2:00 PM Subject: Re: SV: just d/l installed ANT'S need some guidance!! Hi, as follows i have rebooted as usually, included the %PATH%;%ANT_HOME% thus invoking ant.jar and any other jar's within the bin, and from ms-dos command line entered ant . Cheers Chuck Mikkel Bruun wrote: please post the exception so we can look into it... Mikkel -Oprindelig meddelelse- Fra: Chuck Amadi [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]> ] Sendt: 11 July 2001 14:43 Til: [EMAIL PROTECTED] Emne: Re: just d/l installed ANT'S need some guidance!! Hi, tried that and just ant from the ms-dos command line and got Exception in Thread - I assume that i have a classpath issue regarding multithreading . Any Suggestions Cheers Chuck suhas wrote: > Part 1.1 Type: Plain Text (text/plain) > Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: SV: just d/l installed ANT'S need some guidance!!
I have since removed the TOMCAT_HOME path that resulted the fact that my classpath is directing towards the tool.jar. I haven't got a tool.jar in the ant dir. Cheers Chuck. Peter Alfors wrote: print out your classpath and see which ant.jar is being used. Pete Chuck Amadi wrote: Oops forgot to mention that i am running Netbeans v 3.2.2 wereby ant's is apparently alreay bundled nevertheless i would like a standalone , as the ant 1.3 download is the current realease. Anyway would this cause any problems . Cheers Chuck Mikkel Bruun wrote: please post the exception so we can look into it... Mikkel -Oprindelig meddelelse- Fra: Chuck Amadi [mailto:[EMAIL PROTECTED]] Sendt: 11 July 2001 14:43 Til: [EMAIL PROTECTED] Emne: Re: just d/l installed ANT'S need some guidance!! Hi, tried that and just ant from the ms-dos command line and got Exception in Thread - I assume that i have a classpath issue regarding multithreading . Any Suggestions Cheers Chuck suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. classjar.doc
Re: ant's Classpath just(ANT'S need some guidance!!)
I have tried that already no joy . Thus must i do away with set TOMCAT_HOME as i assumed that i needed this for the container. set JAVA_HOME=C:\JDK1.3 set set classpath=%ANT_HOME%\lib\ant.jar Again this didn't work . Thus i try again at home as after i solve this it's time 4 linux Cheers all. Peter Alfors wrote: Part 1.1Type: Plain Text (text/plain) Encoding: 8bit -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
[Fwd: revised struts visual]
Here we go UML diagrams of Struts (specialy the class model diagram) ? this was forwarded on as Jonathan Asbell visual a few day's ago i found it pretty good. All the Best Chuck. Thanks. Bruno Morin -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi. struts_function.gif
Ant build tools - Need to get to grips with.
ANT is part of the Apache Jakarta project i know, and is fast becoming the defacto build tool for Java projects.Pls can anyone suggest a good src other than within netbeans Ant 1.3 manual as it is difficult to print intact and will take a bit of editing.Thus any other src doc's ie. ant's made simple .or ant's for dummies Cheers Chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: ActionForward snippet can any work out!
Hi, this is my modified ActionForward class that i believe i made a serious bo bo. package classes.org.apache.struts.action; /*Accessing Relational Databases *Struts can define the datasources for an application from within its standard configuration file. A simple JDBC connection pool is also provided. *See The Action Mappings Configuration File section and the Utilities Developer Guide for details. *After the datasource is defined, here is an example of establishing a connection from within a Action perform method.*/ public class ActionForward { public perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response){ try { javax.sql.DataSource dataSource = servlet.findDataSource(null); java.sql.Connection myConnection = dataSource.getConnection(); //do what you wish with myConnection } catch (SQLException sqle) { getServlet().log(Connection.process, sqle); } finally { //enclose this in a finally block to make //sure the connection is closed try { myConnection.close(); } catch (SQLException e) { getServlet().log(Connection.close, e); } } } Errors below WEB-INF/classes/org/apache/struts/action/ActionForward.java [10:1] Missing type on declaration public perform(ActionMapping mapping, ^ WEB-INF/classes/org/apache/struts/action/ActionForward.java [35:1] Type expected or missing '}' ^ 2 errors Errors compiling ActionForward. Jon.Ridgway wrote: Hi Bruno You could try donwloading a copy of TogetherJ and pointing it at a copy of the source. It will automatically generate a class diagram for you. See www.togethersoft.com Jon. -Original Message- From: MORIN BRUNO [mailto:[EMAIL PROTECTED]] Sent: 10 July 2001 09:23 To: '[EMAIL PROTECTED]' Subject: UML diagrams of Struts How can I get UML diagrams of Struts (specialy the class model diagram) ? Thanks. Bruno Morin -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: SV: Ant build tools - Need address to get grips with.
Pls could you post this ant website address or link. Cheers chuck. Mikkel Bruun wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Java files won't compile- compilation errors/utlise Ant's
Excuse me 4 mailing u direct. I have just seconded a linux box for home use as well as my home windox box is practically full). Thus as per your mail u mentioned i should try and compile it via the command line(ant prferrably) that would give you sufficient data to work with. Thus it may download netbeans and tomcat onto my linux box or can i just get on with it with the those packages already on my window box.Hence i assume that within windows i'll be utilising ms-dos prompt once i switch dir to my java_ home add ANT_HOME.to my autoexec.bat path.` 1) Can i crack on with netbeans on my window box((ant 1.3 ) or do i need to download the optional .jar files that contain the implemetation of ANT's style command i assume i do. as if the case i will need to install netbeans,tomcat ant onto the linux box. uh oh. ( Just on converted from a Bill-gatesfile 2 open community) hence still learning the ssh commands. Thus i hope it is easily grasped . Cheers for your help- Chuckie Sorry 4 keeping on but i've lost a lot of ground due to my constuctivness and petulence . -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: pls help java files wont compile - take a look ****
Hi, Cheers for that i will try and endevour to use ants prcedure. Chuckie Calvin Yu wrote: Chuck, This error in NetBeans is due some other compilation error or some problem with the way your source is setup in the project. I would recommend that you do *not* use NetBeans for now and try to figure this thing out via the command line. Also, one problem you might be having is that your java files have a package declaration of 'org.apache.struts.action' and your file is in /WEB-INF/classes/example. It should be in /WEB-INF/classes/org/apache/struts/action. In any case, using NetBeans and describing how it is behaving for you is not giving me enough information about what exactly your problem is. If you could try to compile it via the command line (via ant preferrably), that should give me the sufficiently data I need to fix your problem. Calvin - Original Message - From: Chuck Amadi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 5:56 AM Subject: Re: pls help java files wont compile - take a look Hi, can anyone work this one out visual attached. Cheers Chuck. Chuck Amadi wrote: Part 1.1Type: Plain Text (text/plain) Encoding: 8bit -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Ant 1.3 build process (check errors etc config)
Hi strutters , can anyone recommend help / demo ( online-print) regarding ant's build other that netbeans ideV2. I would like to verbose/print thus have a good read in the bath.I am aware of the Ant 1.3 Manual never the less it is not user printable foramt. Well not 4 me anyway. Cheers chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Iterate tag update / expalin/why what form bean!!
Hi, i am currently reading up on delegating as much processing as possible to javabeans components hence i have come across various beans regarding html forms ie html:select,html:option, logic:iterate etc etc . Pls could anyone explain or advise were one can get an understanding on selection to the desired form bean. Cheers chuck Gregor Rayman wrote: The problem is, the generated names of the HTML form elements do not correspond to the names of properties of your ActionForm. Here a sample, how this can be done: logic:iterate name=myForm property=elements id=element indexId=i type=de.grayman.test.struts.MyElement tr td html:checkbox property='%= element[ + i + ].member %' / html:hidden property='%= element[ + i + ].elementName %' / /td tdbean:write name=element property=elementName //td tdbean:write name=element property=elementDescription //td /tr /logic:iterate In the MyForm class, there have to be two properties (getter methods): 1) the collection elements 2) indexed property element private Vector elements; public Collection getElements() { return this.elements; } public MyElement getElement(int i) { while (getGroups().size() = i) { this.element.add(new MyElement()); } return (MyElement) this.elements.get(i); } Note: Class MyElement has read/write properties member, elementName, elementDescription, ... Note: The getElement(int i) fills the Vector with empty elements, if they do not exist. In this way, the form will be filled correcly from the submitted HTML-Form. Of course, you could use another approach, e.h. HashTable or an Array instead of Vector. -- gR - Original Message - From: Vaibhav Patil [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 09, 2001 2:02 PM Subject: Iterate tag update Hi, I am using logic:iterate tag as follows to print a table with text boxes. logic:iterate id=product name=productSearchForm property=productList tr td align=left bean:write name=product property=productNumber filter=true/ /td td align=center html:text name=product property=quantity size=3/ /td /tr /logic:iterate I have a array of objets(Product) in productList. When I update the quantity and submit the page, it does not update the information into the productList. What might be the problem??? Vaibhav -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Invalid package declarations:action / and my others packages
Hi , I have constructed a classpath bbnpa/WEB-INF/classes/org/apache/struts/action . Thus within ActionForward.class hence the package name is as follows package classes.org.apache.struts.action; Now is this correct or shpuld the package name simply be package action; As i have on numerous occasions seen (package action;)this as the defined package name. nevertheless i still recieve invalid package declaration action: I have included the .jar's in the WEB-INF/lib and the TLD'S and checked the struts-config albeit awaiting suggestions regarding action-path within action-mappings. Cheers Chuckie -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: pls help java files wont compile - take a look
Hi, i have insured that the tld are also within the \WEB-INF of my web app,create a claaspath as follows- C:\jakarta-tomcat-3.2.2\webapps\bbnp\WEB-INF\classes\org\apache\struts - Thus within here reside CustomForm,FormBean,CustomMapping,LogonForm,LogonAction DBHandler. etc etc.There are two of THE SAME FILE each one with a file notation ie GroupAction.java the other GroupAction.java~(miltida) the uncompiled class . Thus the is a further dir action were ActionForward,ActionMapping reside again with the similar state notation. Can anyone post a map or snip of the Action Classes. or there path. Any Suggestions as i i have come against a brick wall. Chuck Amadi wrote: Hi again, i have encountered within the strus-examples a class path that states the wrong name.I have attached a visual for your perusal. Please comment Cheers chuck. Peter Alfors wrote: > Are you looking for the ActionMapping class file or java file? > either way, it should be in your download of struts??? > > Pete > > Chuck Amadi wrote: > > > Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of > > ActionMappings.class. > > As i have located a copy in the struts-example in another application albeit i > > can't access it. > > Cheers Chuck > > > > Calvin Yu wrote: > > > > > Is struts.jar in WEB-INF/lib? If so, check to make sure > > > ActionMappings.class is in it. The package name is correct, its just that > > > javac cannot find the struts.jar. > > > > > > Calvin > > > > > > - Original Message - > > > From: "Chuck Amadi" [EMAIL PROTECTED]> > > > To: [EMAIL PROTECTED]> > > > Sent: Tuesday, July 03, 2001 9:13 AM > > > Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont > > > compile > > > > > > > Hi, pls can some one confirm the package name for ActionMappings as i > > > > recieve the following error. > > > > > > > > I am aware that i have the incorrect package thus were does ActionMappings > > > > reside. > > > > Cheers Chuck > > > > > > > > WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found > > > > in type declaration or import. > > > > import org.apache.struts.action.ActionMapping; > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in > > > > type declaration or import. > > > > import org.apache.struts.action.ActionForm; > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found > > > in > > > > type declaration or import. > > > > import org.apache.struts.action.ActionErrors; > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in > > > > type declaration or import. > > > > import org.apache.struts.action.ActionError; > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in > > > > type declaration or import. > > > > public final class LogonForm extends ActionForm { > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found > > > > in type declaration or import. > > > > public void reset(ActionMapping mapping, HttpServletRequest request) { > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found > > > > in type declaration or import. > > > > public ActionErrors validate(ActionMapping mapping, > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found > > > > in type declaration or import. > > > > public ActionErrors validate(ActionMapping mapping, > > > > ^ > > > > 8 errors > > > > Errors compiling LogonForm. > > > > > > > > Chuck Amadi wrote: -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. --
Re: pls help java files wont compile - take a look ****
Hi me again. After burning the midnight oil i have found and utlised the struts-examples. Firstly i have a classpath C:\jakarta-tomcat-3.2.1\webapps\bbnpa\WEB-INFclasses\examples Thus resides ActionMapping.class and many others. So i have c p my other .java files within this dir as the previous occasions they wouldn't compile as they couldn't located ActionMapping.class (class ActionMapping not found in type declartion or import).Thus i will try and compile the .java files. Secondly cheers for all those that helped diganois my symstoms im not out of the woods yet but getting there. Cheers Folks Chuck. Chuck Amadi wrote: Part 1.1 Type: Plain Text (text/plain) Encoding: 8bit -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: Basic Q were can i gets details on BMO DAO(SESSION BEANS)
Hi , i am after details regarding BMO DAO - Process Bussniess logic Session Beans. Cheers chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: Basic Q were can i gets details on BMO DAO(SESSION BEANS)
Cheers suhas suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Regarding JavaOne Presentations
I will try my password for JDC Community cheers again suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Regarding JavaOne Presentations - no joy :^{
Hi again not much there , can you explain what theses ancorithms are BMO DAO (presentations) or are they just abbreviations for what was requries inside of the Process Business Logic Session Bean. Cheers Chuck suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: SV: pls Help .java File Wont compile/wrong name packages
Hi Peter Alfors, i added the dir structure that corresponds to the package ie. WEB-INF/classes/org/apache/struts/action/ActionMapping.class. I recieve a mouseOver prompt saying wrong name -i am unable to edit these white crosses on red bground. Any other ideas. Peter Alfors wrote: Are you looking for the ActionMapping class file or java file? either way, it should be in your download of struts??? Pete Chuck Amadi wrote: > Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of > ActionMappings.class. > As i have located a copy in the struts-example in another application albeit i > can't access it. > Cheers Chuck > > Calvin Yu wrote: > > > Is struts.jar in WEB-INF/lib? If so, check to make sure > > ActionMappings.class is in it. The package name is correct, its just that > > javac cannot find the struts.jar. > > > > Calvin > > > > - Original Message - > > From: "Chuck Amadi" [EMAIL PROTECTED]> > > To: [EMAIL PROTECTED]> > > Sent: Tuesday, July 03, 2001 9:13 AM > > Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont > > compile > > > > > Hi, pls can some one confirm the package name for ActionMappings as i > > > recieve the following error. > > > > > > I am aware that i have the incorrect package thus were does ActionMappings > > > reside. > > > Cheers Chuck > > > > > > WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found > > > in type declaration or import. > > > import org.apache.struts.action.ActionMapping; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in > > > type declaration or import. > > > import org.apache.struts.action.ActionForm; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found > > in > > > type declaration or import. > > > import org.apache.struts.action.ActionErrors; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in > > > type declaration or import. > > > import org.apache.struts.action.ActionError; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in > > > type declaration or import. > > > public final class LogonForm extends ActionForm { > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found > > > in type declaration or import. > > > public void reset(ActionMapping mapping, HttpServletRequest request) { > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found > > > in type declaration or import. > > > public ActionErrors validate(ActionMapping mapping, > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found > > > in type declaration or import. > > > public ActionErrors validate(ActionMapping mapping, > > > ^ > > > 8 errors > > > Errors compiling LogonForm. > > > > > > Chuck Amadi wrote: > > > > > > > Hi, pls could anyone confirm the ActionMappings package ActionForward > > > > package name within WBE-INF\classes\. dir as im lead to believe this > > > > might be the cause of my problems. > > > > > > > > Chuck Amadi wrote: > > > > > > > > > Part 1.1 Type: Plain Text (text/plain) > > > > > Encoding: 8bit > > > > > > > > -- > > > > The views expressed by the sender of this message don't > > > > necessarily represent those of Brecon Beacons National Park > > > > Authority. This message is intended for the addressee(s) only > > > > and is sent in confidence; if you receive it in error, please can you > > > > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > > > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > > > > mewn camgymeriad, a fyddech gystal rhoi gwybod i > > > > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > > > > > > -- > > > The views expressed by the sender of this message don't > > > necessarily represent those of Brecon Beacons National Park > > > Authority. This message is intended for the addressee(s) only > > &g
Re: SV: pls Help .java File Wont compile/wrong name packages
Hi suhas, cheers 4 info regardong Data Access Objects (DAO), Regarding my dilema some how i had modified the ActionMapping.class files etc Thus i created a package path to suit my companies. Thus i renamed the files (post change to) org.breconbecons.it.the class nevertheless i then recieved invalid package declartions , then wrong name (package) thus on copying the classes from struts-examples path. i am presented with no access errors introspecting - wrong name: I have checked that the jar's are in my WEB-INF/lib and my tld's and played around with the package names( i.e package action; - public ActionMapping ( ) ; ) and the full path org.breconbeacons.it.Thus brought the class to different levels ie WEB-INF/classes/action.java file Basically none of the java files will compile since i made a silly regretable modificatio somewhere. I haven't touched ANTS yet.so all this build business is another game all together until i read the doc's Cheers Chuck :^{ suhas wrote: Part 1.1 Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: the build process !!/invalid package declarations
Hey no problems i unmounted the filesystem anyway . The JoinStruts( joinstruts.jar business.jar) is part of open - source MVC implementation see - www-106.ibm.com/developerworks/library/ j-struts/. Very good source of material and tutorail etc.Thus back to my problem i redeployed all the neccessary files for the taglib's joinstruts and business and all's well except in the classes files again i have got invalid package declarations!!. This is my classpath C:\jakarat-tomcat-3.2.2\webapps\bbnpa (filesystem) My work project which fortunately are jsp database access are ok except for a problem with sql insert tag sql:escapeSql>%=request.getParameter("")%>/sql:escapeSql> On checking my PostgreSql relation/table there are null values instead of valid data. So what the hell is going on i don't really like start again as i have migrated all the html resources to .jsp and trying to add the dynamic elements i.e awaitng to transform the planning application form(submit form) from html to a bean. Cheers had a good cry then :^} suhas wrote: dunno - but from below messages it looks to me as though you are in deep trouble What is Join struts project Suhas - Original Message - From: Chuck Amadi [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Sent: Thursday, July 05, 2001 2:20 PM Subject: Re:the build process !! > On attempting to creat the joinstruts project recieved the following > error. > Cheers Chuck > compile: > Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Copying 1 file to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Compiling 2 source files to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve > symbol > symbol : class ServletException > location: package servlet > import javax.servlet.ServletException; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve > symbol > symbol : class HttpServletResponse > location: package http > import javax.servlet.http.HttpServletResponse; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinAction > HttpServletRequest request, > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve > symbol > symbol : class HttpServletResponse > location: class web.mailinglist.JoinAction > HttpServletResponse response) > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve > symbol > symbol : class ServletException > location: class web.mailinglist.JoinAction > throws IOException, ServletException { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > public void reset(ActionMapping mapping, HttpServletRequest request) > { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > HttpServletRequest request) { > ^ > 9 errors > joinStruts/build.xml [21] Compile failed, messages should have been > provided. > suhas wrote: > > > Part 1.1 Type: Plain Text (text/plain) > > Encoding: quoted-printable > > -- > The views expressed by the sender of this message don't > necessarily represent those of Brecon Beacons National Park > Authority. This message is intended for the addressee(s) only > and is sent in confidence; if you receive it in error, please can you > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > mewn camgymeriad, a fyddech gystal rhoi gwybod i > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fyneg
Re: the build process !!/Servlet.jar
Guesss WHAT No Peter pleasse go on , im a looking for it as we speek albiet i don't recall deleting that servlet.jar or seeing it. Cheers Chuck Peter Alfors wrote: Do you have the servlet.jar in your classpath? Pete Chuck Amadi wrote: On attempting to creat the joinstruts project recieved the following error. Cheers Chuck compile: Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes Copying 1 file to C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes Compiling 2 source files to C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve symbol symbol : class ServletException location: package servlet import javax.servlet.ServletException; ^ joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve symbol symbol : class HttpServletRequest location: package http import javax.servlet.http.HttpServletRequest; ^ joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve symbol symbol : class HttpServletResponse location: package http import javax.servlet.http.HttpServletResponse; ^ joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve symbol symbol : class HttpServletRequest location: class web.mailinglist.JoinAction HttpServletRequest request, ^ joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve symbol symbol : class HttpServletResponse location: class web.mailinglist.JoinAction HttpServletResponse response) ^ joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve symbol symbol : class ServletException location: class web.mailinglist.JoinAction throws IOException, ServletException { ^ joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve symbol symbol : class HttpServletRequest location: package http import javax.servlet.http.HttpServletRequest; ^ joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve symbol symbol : class HttpServletRequest location: class web.mailinglist.JoinForm public void reset(ActionMapping mapping, HttpServletRequest request) { ^ joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve symbol symbol : class HttpServletRequest location: class web.mailinglist.JoinForm HttpServletRequest request) { ^ 9 errors joinStruts/build.xml [21] Compile failed, messages should have been provided. suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. Name: peter.alfors.vcf peter.alfors.vcf Type: VCard (text/x-vcard) Encoding: 7bit Description: Card for Peter Alfors -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: the build process !! found servlet others
Hi there again Peter i found them in jarkarta-tomcat-3.2.2\lib there was also parser,ant,jasper,webserver,jaxp and servlet.jar thus i have cp to my C:\jt-3.2.2\webapps/bbnpa/WEB-INF/lib. I assume that is the correct . Cheers Chuck Peter Alfors wrote: Do you have the servlet.jar in your classpath? Pete Chuck Amadi wrote: > On attempting to creat the joinstruts project recieved the following > error. > Cheers Chuck > compile: > Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Copying 1 file to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Compiling 2 source files to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve > symbol > symbol : class ServletException > location: package servlet > import javax.servlet.ServletException; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve > symbol > symbol : class HttpServletResponse > location: package http > import javax.servlet.http.HttpServletResponse; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinAction > HttpServletRequest request, > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve > symbol > symbol : class HttpServletResponse > location: class web.mailinglist.JoinAction > HttpServletResponse response) > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve > symbol > symbol : class ServletException > location: class web.mailinglist.JoinAction > throws IOException, ServletException { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > public void reset(ActionMapping mapping, HttpServletRequest request) > { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > HttpServletRequest request) { > ^ > 9 errors > joinStruts/build.xml [21] Compile failed, messages should have been > provided. > suhas wrote: > > > Part 1.1 Type: Plain Text (text/plain) > > Encoding: quoted-printable > > -- > The views expressed by the sender of this message don't > necessarily represent those of Brecon Beacons National Park > Authority. This message is intended for the addressee(s) only > and is sent in confidence; if you receive it in error, please can you > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > mewn camgymeriad, a fyddech gystal rhoi gwybod i > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. Name: peter.alfors.vcf peter.alfors.vcf Type: VCard (text/x-vcard) Encoding: 7bit Description: Card for Peter Alfors -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi, you got it i couldn't recall what i had done as i have been install a few taglib's in order to have the right tools . Anyway i will try out your suggestion. Much appreciated for you help.Can't wait when i get a clear understanding of jsp and beans. Cheers Chuckie Peter Alfors wrote: Ahh... I think I see what you are trying to do. You have your own modified version of the AcitonMappings class. If you want to add classes to the web-inf/classes directory, then you will need to add the appropriate directory structure that corresponds to the package. Therefore, make an web-inf/classes/org/apache/struts/action directory and place your ActionMapping class in it. HTH, Pete Chuck Amadi wrote: Hi does explain anything that can be digestable and config my .java files problems as i am aware that i have declared the right package path. except for ActionMappings.class thus any suggstions. I have inc a visual of the problem. Cheers all Calvin Yu wrote: Is struts.jar in WEB-INF/lib? If so, check to make sure ActionMappings.class is in it. The package name is correct, its just that javac cannot find the struts.jar. Calvin - Original Message - From: Chuck Amadi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 03, 2001 9:13 AM Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont compile Hi, pls can some one confirm the package name for ActionMappings as i recieve the following error. I am aware that i have the incorrect package thus were does ActionMappings reside. Cheers Chuck WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found in type declaration or import. import org.apache.struts.action.ActionMapping; ^ WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in type declaration or import. import org.apache.struts.action.ActionForm; ^ WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found in type declaration or import. import org.apache.struts.action.ActionErrors; ^ WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in type declaration or import. import org.apache.struts.action.ActionError; ^ WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in type declaration or import. public final class LogonForm extends ActionForm { ^ WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found in type declaration or import. public void reset(ActionMapping mapping, HttpServletRequest request) { ^ WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found in type declaration or import. public ActionErrors validate(ActionMapping mapping, ^ WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found in type declaration or import. public ActionErrors validate(ActionMapping mapping, ^ 8 errors Errors compiling LogonForm. Chuck Amadi wrote: Hi, pls could anyone confirm the ActionMappings package ActionForward package name within WBE-INF\classes\. dir as im lead to believe this might be the cause of my problems. Chuck Amadi wrote: Part 1.1Type: Plain Text (text/plain) Encoding: 8bit -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi, Peter i have completed the file structure albiet it is sensative to the hyphen separting. package WEB-INF.classes.org.apache.struts; Thus i am aware that i have to use the dot notation.or can i begin the package path from say org\apache\struts\action\ActionMappings.java Cheers Chuck. Peter Alfors wrote: Ahh... I think I see what you are trying to do. You have your own modified version of the AcitonMappings class. If you want to add classes to the web-inf/classes directory, then you will need to add the appropriate directory structure that corresponds to the package. Therefore, make an web-inf/classes/org/apache/struts/action directory and place your ActionMapping class in it. HTH, Pete Chuck Amadi wrote: > Hi does explain anything that can be digestable and config my .java files > problems as i am aware that i have declared the right package path. except for > ActionMappings.class thus any suggstions. > I have inc a visual of the problem. > > Cheers all > > Calvin Yu wrote: > > > Is struts.jar in WEB-INF/lib? If so, check to make sure > > ActionMappings.class is in it. The package name is correct, its just that > > javac cannot find the struts.jar. > > > > Calvin > > > > - Original Message - > > From: "Chuck Amadi" [EMAIL PROTECTED]> > > To: [EMAIL PROTECTED]> > > Sent: Tuesday, July 03, 2001 9:13 AM > > Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont > > compile > > > > > Hi, pls can some one confirm the package name for ActionMappings as i > > > recieve the following error. > > > > > > I am aware that i have the incorrect package thus were does ActionMappings > > > reside. > > > Cheers Chuck > > > > > > WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found > > > in type declaration or import. > > > import org.apache.struts.action.ActionMapping; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in > > > type declaration or import. > > > import org.apache.struts.action.ActionForm; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found > > in > > > type declaration or import. > > > import org.apache.struts.action.ActionErrors; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in > > > type declaration or import. > > > import org.apache.struts.action.ActionError; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in > > > type declaration or import. > > > public final class LogonForm extends ActionForm { > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found > > > in type declaration or import. > > > public void reset(ActionMapping mapping, HttpServletRequest request) { > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found > > > in type declaration or import. > > > public ActionErrors validate(ActionMapping mapping, > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found > > > in type declaration or import. > > > public ActionErrors validate(ActionMapping mapping, > > > ^ > > > 8 errors > > > Errors compiling LogonForm. > > > > > > Chuck Amadi wrote: > > > > > > > Hi, pls could anyone confirm the ActionMappings package ActionForward > > > > package name within WBE-INF\classes\. dir as im lead to believe this > > > > might be the cause of my problems. > > > > > > > > Chuck Amadi wrote: > > > > > > > > > Part 1.1 Type: Plain Text (text/plain) > > > > > Encoding: 8bit > > > > > > > > -- > > > > The views expressed by the sender of this message don't > > > > necessarily represent those of Brecon Beacons National Park > > > > Authority. This message is intended for the addressee(s) only > > > > and is sent in confidence; if you receive it in error, please can you > > > > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > > > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > > > > mewn camgymeriad, a fyddech gystal rhoi gwyb
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi, again i believe that i can create a classes dir at the same level as WEB-INF\ Thus if i C P and thereby i will then i have a class path as follows classes\org.apache.struts.action.ActionMapping.class is this feasiable as i can do away with hyphen within WEB-INF. Peter Alfors wrote: Ahh... I think I see what you are trying to do. You have your own modified version of the AcitonMappings class. If you want to add classes to the web-inf/classes directory, then you will need to add the appropriate directory structure that corresponds to the package. Therefore, make an web-inf/classes/org/apache/struts/action directory and place your ActionMapping class in it. HTH, Pete Chuck Amadi wrote: > Hi does explain anything that can be digestable and config my .java files > problems as i am aware that i have declared the right package path. except for > ActionMappings.class thus any suggstions. > I have inc a visual of the problem. > > Cheers all > > Calvin Yu wrote: > > > Is struts.jar in WEB-INF/lib? If so, check to make sure > > ActionMappings.class is in it. The package name is correct, its just that > > javac cannot find the struts.jar. > > > > Calvin > > > > - Original Message - > > From: "Chuck Amadi" [EMAIL PROTECTED]> > > To: [EMAIL PROTECTED]> > > Sent: Tuesday, July 03, 2001 9:13 AM > > Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont > > compile > > > > > Hi, pls can some one confirm the package name for ActionMappings as i > > > recieve the following error. > > > > > > I am aware that i have the incorrect package thus were does ActionMappings > > > reside. > > > Cheers Chuck > > > > > > WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found > > > in type declaration or import. > > > import org.apache.struts.action.ActionMapping; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in > > > type declaration or import. > > > import org.apache.struts.action.ActionForm; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found > > in > > > type declaration or import. > > > import org.apache.struts.action.ActionErrors; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in > > > type declaration or import. > > > import org.apache.struts.action.ActionError; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in > > > type declaration or import. > > > public final class LogonForm extends ActionForm { > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found > > > in type declaration or import. > > > public void reset(ActionMapping mapping, HttpServletRequest request) { > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found > > > in type declaration or import. > > > public ActionErrors validate(ActionMapping mapping, > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found > > > in type declaration or import. > > > public ActionErrors validate(ActionMapping mapping, > > > ^ > > > 8 errors > > > Errors compiling LogonForm. > > > > > > Chuck Amadi wrote: > > > > > > > Hi, pls could anyone confirm the ActionMappings package ActionForward > > > > package name within WBE-INF\classes\. dir as im lead to believe this > > > > might be the cause of my problems. > > > > > > > > Chuck Amadi wrote: > > > > > > > > > Part 1.1 Type: Plain Text (text/plain) > > > > > Encoding: 8bit > > > > > > > > -- > > > > The views expressed by the sender of this message don't > > > > necessarily represent those of Brecon Beacons National Park > > > > Authority. This message is intended for the addressee(s) only > > > > and is sent in confidence; if you receive it in error, please can you > > > > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > > > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > > > > mewn camgymeriad, a fyddech gystal rhoi gwybod i > > > > n
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi , i have located and redeployed struts-package ( jakarta-struts1-.0-b2) to tomcat-3.2.2 . Thus renemd the struts-blank to bbnp ( my other webapp is bbnpa ) anyway on restarting tomcat -3.2.2 i have the following - ROOT,admin,bbnpa(original webapp),examples,bbnp(struts-blank),test the other struts-files. Thus the claases within these files all work albeit i still cant find Action Classes. I have also tried the \struts-examples.index.jsp and everything compiled. So i am continplating transfering my old to the new bbnp (webapp).And then redploy all the jar's tld's. Any pointers to were that Action Class is or is it a Abstract class - final modifer (can't be over ridden). Peter Alfors wrote: Are you looking for the ActionMapping class file or java file? either way, it should be in your download of struts??? Pete Chuck Amadi wrote: > Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of > ActionMappings.class. > As i have located a copy in the struts-example in another application albeit i > can't access it. > Cheers Chuck > > Calvin Yu wrote: > > > Is struts.jar in WEB-INF/lib? If so, check to make sure > > ActionMappings.class is in it. The package name is correct, its just that > > javac cannot find the struts.jar. > > > > Calvin > > > > - Original Message - > > From: "Chuck Amadi" [EMAIL PROTECTED]> > > To: [EMAIL PROTECTED]> > > Sent: Tuesday, July 03, 2001 9:13 AM > > Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont > > compile > > > > > Hi, pls can some one confirm the package name for ActionMappings as i > > > recieve the following error. > > > > > > I am aware that i have the incorrect package thus were does ActionMappings > > > reside. > > > Cheers Chuck > > > > > > WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found > > > in type declaration or import. > > > import org.apache.struts.action.ActionMapping; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in > > > type declaration or import. > > > import org.apache.struts.action.ActionForm; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found > > in > > > type declaration or import. > > > import org.apache.struts.action.ActionErrors; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in > > > type declaration or import. > > > import org.apache.struts.action.ActionError; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in > > > type declaration or import. > > > public final class LogonForm extends ActionForm { > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found > > > in type declaration or import. > > > public void reset(ActionMapping mapping, HttpServletRequest request) { > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found > > > in type declaration or import. > > > public ActionErrors validate(ActionMapping mapping, > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found > > > in type declaration or import. > > > public ActionErrors validate(ActionMapping mapping, > > > ^ > > > 8 errors > > > Errors compiling LogonForm. > > > > > > Chuck Amadi wrote: > > > > > > > Hi, pls could anyone confirm the ActionMappings package ActionForward > > > > package name within WBE-INF\classes\. dir as im lead to believe this > > > > might be the cause of my problems. > > > > > > > > Chuck Amadi wrote: > > > > > > > > > Part 1.1 Type: Plain Text (text/plain) > > > > > Encoding: 8bit > > > > > > > > -- > > > > The views expressed by the sender of this message don't > > > > necessarily represent those of Brecon Beacons National Park > > > > Authority. This message is intended for the addressee(s) only > > > > and is sent in confidence; if you receive it in error, please can you > > > > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > > > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydyc
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi again, i have encountered within the strus-examples a class path that states the wrong name.I have attached a visual for your perusal. Please comment Cheers chuck. Peter Alfors wrote: Are you looking for the ActionMapping class file or java file? either way, it should be in your download of struts??? Pete Chuck Amadi wrote: Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of ActionMappings.class. As i have located a copy in the struts-example in another application albeit i can't access it. Cheers Chuck Calvin Yu wrote: Is struts.jar in WEB-INF/lib? If so, check to make sure ActionMappings.class is in it. The package name is correct, its just that javac cannot find the struts.jar. Calvin - Original Message - From: Chuck Amadi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 03, 2001 9:13 AM Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont compile Hi, pls can some one confirm the package name for ActionMappings as i recieve the following error. I am aware that i have the incorrect package thus were does ActionMappings reside. Cheers Chuck WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found in type declaration or import. import org.apache.struts.action.ActionMapping; ^ WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in type declaration or import. import org.apache.struts.action.ActionForm; ^ WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found in type declaration or import. import org.apache.struts.action.ActionErrors; ^ WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in type declaration or import. import org.apache.struts.action.ActionError; ^ WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in type declaration or import. public final class LogonForm extends ActionForm { ^ WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found in type declaration or import. public void reset(ActionMapping mapping, HttpServletRequest request) { ^ WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found in type declaration or import. public ActionErrors validate(ActionMapping mapping, ^ WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found in type declaration or import. public ActionErrors validate(ActionMapping mapping, ^ 8 errors Errors compiling LogonForm. Chuck Amadi wrote: Hi, pls could anyone confirm the ActionMappings package ActionForward package name within WBE-INF\classes\. dir as im lead to believe this might be the cause of my problems. Chuck Amadi wrote: Part 1.1Type: Plain Text (text/plain) Encoding: 8bit -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all
Re: help with package struts-classpath
Hi, Can any one confirm if it is feasiable to create a classes file at tomcat's level along with ,bin ,conf src ,work ,doc's etc etc .Thus according to the tomcat's doc's Any class that you add to this dir will find it's place in tomcat's classpath. Thus will this been seen as i was under the impressin that in oder for my webapp's to locate it that it had to be beaneath my WEB-INF as it's the deployment descipter. Any view's , help or suggestions appreciated as i have ground to a halt as i have fairly to much html snippets that i rather embrace within beans. Cheers Chuck "kuma.cra" wrote: Hi,there since my last altication my .java files wont compile into .class files i am recieveing invalid package declaretions . Thus can i create a class dir that 's the same top level as tomcat's bin,conf,lib,logs,src,webapps and work as per the tomcat doc's as im have spent considerable time on this invalid path. Cheers Chuck Jonathan wrote: > > FIRST > you need put the jars that are in the ora directory inside the lib directory > instead > take the "struts-documentation", "the struts-example" etc.etc. etc. out of > WEB-INF. They dont belong there. In fact, the .war files are what you > should be working with and they should be in c:\jakarta-tomcat-3.2.1\webapps > inside the lib directory you should have struts.jar > > ALSO > for compiling your project your classpath should be > c:\..the jars inside c:\jakarta-tomcat-3.2.1\lib > c:\..the jars inside > c:\jakarta-tomcat-3.2.1\webapps\struts-bbnpa\WEB-INF\lib > c:\jakarta-tomcat-3.2.1\webapps\struts-bbnpa\WEB-INF\classes > > Now try and tell me what happened > > - Original Message - > From: "Chuck Amadi" [EMAIL PROTECTED]> > To: [EMAIL PROTECTED]> > Sent: Thursday, June 14, 2001 10:50 AM > Subject: Re: help with package struts-classpath > > > Is This Better Jonathan !! Cheers Chuck > > > > Jonathan wrote: > > > > > Part 1.1 Type: Plain Text (text/plain) > > > Encoding: quoted-printable > > > > -- > > The views expressed by the sender of this message don't > > necessarily represent those of Brecon Beacons National Park > > Authority. This message is intended for the addressee(s) only > > and is sent in confidence; if you receive it in error, please can you > > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > > mewn camgymeriad, a fyddech gystal rhoi gwybod i > > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > > > > -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Basic Q, I have concluded that Web Applications handlers must reside in one of the following standard locations for java classes:- 1) in a JAR file in the WEB-INF\l ib dir. 2) in a dir in the \WEB-INF\ classes dir. 3) checked xml file for the necessary tld's look ok (pls state any ambiguous code/typo problems that could cause Invalid Package Declarations). 4) gone over typo's and snippets. Thus my java .file's confirm to the above have declared my package's and imports with the correct syntax. i.e. Capitol letter to begin name of java class also name within the file itself. The package path is as follows WEB-INF\classes\org\breconbeacons\it\ActionMapping. The name within the .java file is package org.breconbeacons.it; within this java file i have an import declaration as below import org.apache.struts.action.ActionMapping; Hence i receive the following errors WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [66:1] Class ActionMapping not found in type declaration or import. import org.apache.struts.action.ActionMapping; ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Class ActionMapping not found in type declaration or import. public final class ApplicationMapping extends ActionMapping { ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Public class org.breconbeacons.it.ApplicationMapping is defined in C:\jakarta-tomcat-3.2.1\webapps\bbnpa\WEB-INF\classes\org\breconbeacons\it\ActionMapping.java and must be defined in a file called "ApplicationMapping.java". public final class ApplicationMapping extends ActionMapping { ^ 3 errors Errors compiling ActionMapping. Chuck Amadi wrote: Hi, here is a copy of my clipboard. Cheers Chuckie WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [66:1] Class ActionMapping not found in type declaration or import. import org.apache.struts.action.ActionMapping; ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Class ActionMapping not found in type declaration or import. public final class ApplicationMapping extends ActionMapping { ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Public class org.breconbeacons.it.ApplicationMapping is defined in C:\jakarta-tomcat-3.2.1\webapps\bbnpa\WEB-INF\classes\org\breconbeacons\it\ActionMapping.java and must be defined in a file called "ApplicationMapping.java". public final class ApplicationMapping extends ActionMapping { ^ 3 errors Errors compiling ActionMapping. HELP I can't think of anything else why my .java files won't comile into .class files.+ Cheers Chuckie Mikkel Bruun wrote: > Part 1.1 Type: Plain Text (text/plain) > Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.