[java ee programming] Form

2011-02-11 Thread Rafał Laczek
Hi, In my Form.jsp page I have a simple checkbox. I need to send selected results to CategoryResult servlet. I can do that but in the browser the name of the servlet is automatically appended to the address as follow: http://localhost:8080/Rss/CategoryResult I know that this is executed by

Re: [java ee programming] How to redirect from JSP to Servlet

2011-02-10 Thread bambang passion
Hi Rafal, If that the case, i think you should consider taking the JAVA online class conducted by Sang Shin. Thats what i can think of bpassion 2011/2/10 Rafał Laczek rafal_lac...@wp.pl Hi, Yes. I think that it should be done also in web.xml but I don't know exactly how. Regards,

[java ee programming] How to redirect from JSP to Servlet

2011-02-09 Thread Rafał Laczek
Hi, So far I was working in Wicket and JSP and servlets are not my stron side :) I have index.jsp and also CreareRssServlet. Index is a welcome page. Here the user will log-ing. When the project is opened the address in browser is: http://localhost:8080/RssProject Now I need to be redirected to

Re: [java ee programming] Message from ActMQ

2011-02-09 Thread Rafał Laczek
Hi, Thanks. I will check in later on. regards, Rafal Dnia 8-02-2011 o godz. 6:20 bambang passion napisał(a): hi,pls. check on http error 303 or 304. it is occurred at client side and 304 means : not modified, it is just a message.do check thoroughly the possible outputs for your getDateHeader,i

Re: [java ee programming] How to redirect from JSP to Servlet

2011-02-09 Thread Rafał Laczek
...@wp.plSubject: [java ee programming] How to redirect from JSP to ServletTo: "Java EE Programming with Passion!" java-ee-j2ee-programming-with-passion@googlegroups.comCc: "Java EE Programming with Passion!" java-ee-j2ee-programming-with-passion@googlegroups.comReceived: Wednesday, Febru

[java ee programming] Categories in RSS

2011-02-09 Thread Rafał Laczek
Hi, I need to add to my RSS the categories menu where the user can add subscriptions. It can by in the form as in enclosed picture or in other form. Thanks Regards, Rafal -- You received this message because you are subscribed to the Google Groups Java EE (J2EE) Programming with Passion!

Re: [java ee programming] How to redirect from JSP to Servlet

2011-02-09 Thread bambang passion
Hi, I am not sure about yours, normally you should forward to a jsp page or in your case, a defined servlet name : CreareRssServlet which i think should be incorporated in your web.xml UNLESS you have web framework in your system. bpassion 2011/2/9 Rafał Laczek rafal_lac...@wp.pl Hi,

Re: [java ee programming] Message from ActMQ

2011-02-07 Thread Rafał Laczek
Hi, Yes. Now it works. But I have the other small problem. In my servlet I want to send date of last modification and when I refresh the browser to get back this date. In response I try to send the date and in request to get this date. Unfortunately in response I get -1 Please look for following

[java ee programming] Problem with request.getDateHeader

2011-02-07 Thread Rafał Laczek
Hi, In my servlet I want to send date of last modification and when I refresh the browser to get back this date. In response I try to send the date and in request to get this date. Unfortunately in response I get -1 Please look for following code: response.setDateHeader(Last-Modified,

Re: [java ee programming] Message from ActMQ

2011-02-07 Thread Rafał Laczek
Hi, The result of createRss.getTimestamp_long() is date in long format of last modification of my feed in RSS. This is the date when new message has been registered. I try to display 303 error when there is no changes. Please have a look for my present code. I know that there is here something

Re: [java ee programming] Message from ActMQ

2011-02-07 Thread bambang passion
hi, sorry i dont understand what you want, may be you could elaborate more? by the way, what is the result of createRss.getTimestamp_long() ? also check what are the required attributes for response.setDateHeader() ? b.l 2011/2/7 Rafał Laczek rafal_lac...@wp.pl Hi, Yes. Now it works. But

Re: [java ee programming] Message from ActMQ

2011-02-07 Thread bambang passion
hi, pls. check on http error 303 or 304. it is occurred at client side and 304 means : not modified, it is just a message. do check thoroughly the possible outputs for your getDateHeader, i think the output will be an http message not DATE. b.l 2011/2/7 Rafał Laczek rafal_lac...@wp.pl Hi,

Re: [java ee programming] Message from ActMQ

2011-02-06 Thread bambang passion
HI, you need to define the : ConnectionFactory and TOPIC b.l 2011/2/3 Rafał Laczek rafal_lac...@wp.pl Hi, Can somebody help me to get Message using following code. Thanks Rafal try{ Properties props = new Properties(); props.setProperty(Context.INITIAL_CONTEXT_FACTORY,

Re: [java ee programming] calendar for java EE, files pdf inside mysql

2011-02-06 Thread bambang passion
Hi, mr. google provide us lots of samples like : http://www.java-examples.com/simple-java-calendar-example good luck ! b.l On Sun, Jan 16, 2011 at 6:33 AM, Evgeniy Pol. yone...@gmail.com wrote: Hi everyone, Anyone know the calendars ,to choose a date, for java ee pages? Thanks..

Re: [java ee programming] upload excel to servlet

2011-02-05 Thread bambang passion
hi, you need to change the content type to multipart/form-data b.l On Fri, Feb 4, 2011 at 6:45 PM, vinay basavanal vins1...@gmail.com wrote: HI all, I am trying to upload an excel sheet and read it.I am using apache commons file upload and apache poi to read excel. This is my jsp %@

Re: [java ee programming] upload excel to servlet

2011-02-04 Thread Kunal Raikar
Hey Use *enctype=multipart/form-data *in form tag example as follows html:form styleId=conhtmlform action=/entrepreneurSupport.do *enctype=multipart/form-data *disabled=%=formDisableFlag% Warm regards Kunal Raikar P *SAVE PAPER* - *Please consider our environment before printing *ü On

[java ee programming] Message from Active MQ

2011-02-02 Thread Rafał Laczek
Hi Colleagues, For my RSS project I need to take Message from Active MQ. Whole action is executed in Servlet. In Servlet I can open and close session. It works. The servlet has also overrive method onMessage(Message argMsg). My problem is that I don't know how to use onMessage() to get

Re: [java ee programming] how can i refresh the page when I press back in browser??

2011-02-02 Thread John P Masseria
:37 PM To: java-ee-j2ee-programming-with-passion@googlegroups.com Subject: [java ee programming] how can i refresh the page when I press back in browser?? Hi everyone!! description of problem: in the bigining browser load the jsp page with data. then user goes to another my page, then some data

Re: [java ee programming] Servlet

2011-02-01 Thread Rafał Laczek
Hi , I try to display in Servlet feed title but I get the exception. I use here Roma library. Can somebody advise me what Im doing wrong. public void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{ res.setContentType("text/html;charset=UTF-8");

Re: [java ee programming] Servlet

2011-02-01 Thread Rafał Laczek
Hi, I have solved problem. I had to use different solution. public void doGet (HttpServletRequest req, HttpServletResponse response) throws ServletException, IOException{ response.setContentType( "text/html;charset=UTF-8" ); PrintWriter out = response.getWriter(); //Writer out

[java ee programming] servlet advance lab exercise 1 (LAB-4005) problem

2011-02-01 Thread patco
Hi all When trying to deploy Filter for servlet advance lab exercise 1 (LAB-4005) I get the following exception Checking on google I think it is an issue with netbeans and tomcat. I am using glashfish v3 and latest netbeans 6.9.1 Can anyone help with this? WARNING: StandardWrapperValve[default]:

[java ee programming] how can i refresh the page when I press back in browser??

2011-02-01 Thread Evgeniy Pol.....
Hi everyone!! description of problem: in the bigining browser load the jsp page with data. then user goes to another my page, then some data from the first page are changed, and when the user press BACK button in the browser the browser bring the first page with original data. the problem is: the

[java ee programming] RSS as WEB project

2011-01-31 Thread Rafał Laczek
Hi, I try to create RSS fedd as Servlet (Web project). Can maybe somebody help me. Below in doGet() I have code which works fine in main method in my other non-web project. I must create RSS web project. Pls. help Regards, Rafal public class WebFeedServlet extends HttpServlet{

[java ee programming] Servlet

2011-01-31 Thread Rafał Laczek
Hi, I have a sample HelloWord servlet. I have also created web.xml I have a problem to display it in the browser. I use NeatBeans. I don't want to have any jsp in this sample project. All htlm is in servlet. Can you help BR Rafal -- You received this message because you are subscribed to the

Re: [java ee programming] Servlet

2011-01-31 Thread Rafał Laczek
Hi, Finally I have used Eclipse and created simple servlet and created web.xml as follow: ?xml version="1.0" encoding="UTF-8"? web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Re: [java ee programming] Servlet

2011-01-31 Thread bambang passion
Hi, Just code : response.out(htmlbodyptest/p/body/html) ; will do. b.l 2011/2/1 Rafał Laczek rafal_lac...@wp.pl Hi, I have a sample HelloWord servlet. I have also created web.xml I have a problem to display it in the browser. I use NeatBeans. I don't want to have any jsp in this sample

Re: [java ee programming] java.lang.ClassNotFoundException: org.jdom.JDOMException

2011-01-29 Thread bambang passion
Hi, may be you need to check your jdom library i guess. rgds b.l 2011/1/27 Rafał Laczek rafal_lac...@wp.pl Hi Colleagues, I create RSS feed. When I execute the main class I receive following exception: in thread main java.lang.NoClassDefFoundError: org/jdom/JDOMException at

Re: [java ee programming] java.lang.ClassNotFoundException: org.jdom.JDOMException

2011-01-29 Thread Rafał Laczek
Hi, I have added jdom.jar and it little bit helped but now I have following exception. Can you help. java.lang.IllegalArgumentException: Invalid feed type [rss=2.0] at com.sun.syndication.feed.synd.SyndFeedImpl.createWireFeed(SyndFeedImpl.java:227) at

PD: Re: [java ee programming] java.lang.ClassNotFoundException:org.jdom.JDOMException

2011-01-29 Thread Rafał Laczek
Hi, The problem is solved. It was small mistake from my side in syntax. I should use String feedType = "rss_2.0" instead of String feedType = "rss=2.0"; Thank you colleagues for all advices! Regards, Rafal Dnia 27-01-2011 o godz. 22:40 Rafał Laczek napisał(a): Hi, I have added jdom.jar

Re: [java ee programming] Servlet

2011-01-29 Thread Chandrashekhar K. Singh
pls chk out your mapping, it's not correct. servlet display-nameWeb Feed/display-name !-- servlet-nameWeb Feed/servlet-name -- * servlet-nameWebFeedServlet/servlet-name* servlet-classno.backend.webfeed.web.WebFeedServlet/servlet-class load-on-startup 1

Re: [java ee programming] java.lang.ClassNotFoundException: org.jdom.JDOMException

2011-01-29 Thread Rafał Laczek
Hi, The problem wasin syntax in rss=2.0 Should be rss_2.0 Regards, Rafal Dnia 29-01-2011 o godz. 11:43 bambang passion napisał(a): Hi,may be you need to check the argument : output.output(feed, writer); WHAT SHOULD BE THE INPUT TO BE FED TO :SyndFeedOutputrgdsbl 2011/1/28 Rafał Laczek

[java ee programming] java.lang.ClassNotFoundException: org.jdom.JDOMException

2011-01-27 Thread Rafał Laczek
Hi Colleagues, I create RSS feed. When I execute the main class I receive following exception: in thread "main" java.lang.NoClassDefFoundError: org/jdom/JDOMException at com.sun.syndication.io.SyndFeedOutput.init(SyndFeedOutput.java:44) at

[java ee programming] 4011_netbeans_webapp2.zip

2011-01-27 Thread Sang Shin
Just to let you know 4011_netbeans_webapp2.zip is now updated with NetBeans 6.9.1. Thanks. -Sang Shin -- --- Sang Shin, sangshinpass...@gmail.com Founder and Chief Instructor of JavaPassion.com

[java ee programming] Class dates are updated

2011-01-27 Thread Sang Shin
Folks, Sorry for being late on updating the dates on the class website. The dates are now updated reflecting current session's schedule. Thanks. -Sang Shin P.S.: By the way, the early registration discount for the EJB 3.0/JPA/Spring/Hibernate/Java EE 6 is ending on Jan. 31st. --

[java ee programming] Servlet

2011-01-26 Thread Rafał Laczek
Hi, Bellow I send my web.xml. I create war file and then I deploy it in Tomcat. The file is deployed and I can see it in webapps folder but I can t see it at the main list/menu. Can somebody advise me. Regards, Rafal version=1.0 encoding=UTF-8? web-app id=WebApp_ID version=2.4

[java ee programming] UI Developer With E-Commerce Requirement in Woonsocket, RI::Please respond back at di...@abacuscs.com::

2011-01-25 Thread Dipin Sukumaran
Hi, Hope you are doing well. This is Dipin (di...@abacuscs.com ) from Abacus Management consultancy services. Please review my Urgent Client requirement below. ::Please respond back at di...@abacuscs.com:: Position: UI Developer With E-Commerce . Location: Woonsocket, RI. Duration: 6-8 Months

[java ee programming] Tomcat problems

2011-01-24 Thread Rafał Laczek
Hi Colleagues, I create war file using Maven. Than this file is deployed in Tomcat. Finally I can find war file in webapps of Tomcat but I can see nothing at Applications in Tomcat menu. Below there are my web.xml and POM.xml. Can you maybe help. Regards, Rafal Web.xml web-app

[java ee programming] RSS sample project

2011-01-21 Thread Rafał Laczek
Hi Coleagues, I'm new in RSS feed technology. In educational purposes I must create sensible RSS project with java class/classes and xml. Can you maybe advise me how to start it or maybe I could any sample (maybe any links etc.) Thanks Regards, Rafal -- You received this message because

[java ee programming] Attaching Calendar in Java ee pages

2011-01-17 Thread Teran Subasinghe
Goto the Following Links http://www.roseindia.net/software-tutorials/detail/13250 -- You received this message because you are subscribed to the Google Groups Java EE (J2EE) Programming with Passion! group. To post to this group, send email to

[java ee programming] calendar for java EE, files pdf inside mysql

2011-01-15 Thread Evgeniy Pol.....
Hi everyone, Anyone know the calendars ,to choose a date, for java ee pages? Thanks.. -- You received this message because you are subscribed to the Google Groups Java EE (J2EE) Programming with Passion! group. To post to this group, send email to

[java ee programming] Re: graphical reports for JAVA EE

2011-01-14 Thread Live in Java
You can check Pentaho reports Its open source... On Jan 13, 10:33 pm, Evgeniy Pol. yone...@gmail.com wrote: *Hi everyone. Anyone know some nice graphics reporting for JAVA EE?? Thanks for answers..* -- You received this message because you are subscribed to the Google Groups Java

[java ee programming] when i use ModelDriven I am not getting my Been populated

2011-01-14 Thread Live in Java
I am trying to ModelDriven in struts 2 but its not working CustomerFormBeanis not filled with values i tried many techiques but i cant get it fixed. It would be really helpful if any one fix this thanks in advance. The following is the sample of my code public class

[java ee programming] graphical reports for JAVA EE

2011-01-13 Thread Evgeniy Pol.....
*Hi everyone. Anyone know some nice graphics reporting for JAVA EE?? Thanks for answers..* -- You received this message because you are subscribed to the Google Groups Java EE (J2EE) Programming with Passion! group. To post to this group, send email to

[java ee programming] Servlet not FOUND

2011-01-11 Thread Evgeniy Pol.....
Hi everyone. I need some help PLease. my page when I run with eclipse works perfect, but when i publish my page on the server I have this message. Not Found The requested URL /myservlet was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an

Re: [java ee programming] Digest for java-ee-j2ee-programming-with-passion@googlegroups.com - 1 Message in 1 Topic

2011-01-11 Thread Wang Disi
you are sure you depolied right? On Wed, Jan 12, 2011 at 3:42 AM, java-ee-j2ee-programming-with-passion+nore...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bnore...@googlegroups.com wrote: Today's Topic Summary Group:

[java ee programming] Initial Setup problem

2011-01-09 Thread Rayesh Upadhyay
Hi All, I am new to the Java world and was going through the first webapplication exercise after installing the net-beans. Upon creating the first webapplication, I am getting following issues with the newt-beans. 1) Resolve reference Problem: junit library could not be found and junit_4

[java ee programming] versioning error

2011-01-09 Thread Rammohan Vadlamani
Hello Everyone, While executing the JAX-WS programs I am getting a versioning error. *You are running on JDK6 which comes with JAX-WS 2.1 API, but this tool requires JAX-WS 2.2 API. Use the endorsed standards override mechanism (

[java ee programming] Happy New Year 2011

2010-12-31 Thread Siva K
Hi all Wish you a Very Happy New Year 2011 -- మీ, శివ కలిదిండి -- You received this message because you are subscribed to the Google Groups Java EE (J2EE) Programming with Passion! group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To

[java ee programming] innerHTML-like method for scraping

2010-12-31 Thread soichi
HI. I am looking for a way to obtain a portion of html data. And I have done in other languages such as Ruby and JavaScript, now I want to do it with Java. Is there any function or something that works like innerHTML in JavaScript? I wrote up to... //-- URL

Re: [java ee programming] check user availability while his typing his name and password weakness

2010-12-14 Thread Marco Pivetta
If you don't have some ajax FW dropped in your project, like ICEFaces or similar stuff, you could try implementing it with some jQuery check I would for sure absolutely drop the idea of loading the user list array inside the page... You don't know how much that user list could grow, and it's

[java ee programming] Re: check user availability while his typing his name and password weakness

2010-12-14 Thread Saurabh Manohar
That's a very general Query. You can check user availability on two events.On value change of the text box, or after the user has completed the name and submitted the info. Better go for the later as 'Do' might not be available but 'Doe' would be. To check availability, you will have to see if the

[java ee programming] check user availability while his typing his name and password weakness

2010-12-13 Thread Evgeniy Pol.....
Hi, everyone! I need some help.. o the user registration page, the user must type his nickname, and password The Question is: How can I check user availability and password wickness while he typing his nickname. ??? And I using Java Persistence to acces MyDB. -- You received this message

Re: [java ee programming] check user availability while his typing his name and password weakness

2010-12-13 Thread Michał Kościowski
you can try to find this in some frameworks. Eg. In PRIMEFACES. Evgeniy Pol. yone...@gmail.com napisał: Hi, everyone! I need some help.. o the user registration page, the user must type his nickname, and password The Question is: How can I check user availability and password wickness while

Re: [java ee programming] check user availability while his typing his name and password weakness

2010-12-13 Thread Abdel Moneim Emad
You have many solutions, just to mention two of them: 1- Load the user nicknames from the database in a string array [Don't worry, it will not take a space as you think] and then lookup into them using javascript function with onkeypress event handler. but this is the poor solution 2- The good

Re: [java ee programming] Using Thread waiting() method

2010-12-12 Thread Sunil Namdev
use NotifyAll() method. Regards, Sunil On Sat, Dec 11, 2010 at 8:46 PM, anthony anthonysvalen...@gmail.com wrote: I am trying to send a notify to an available Thread (first Thread i can find in a pool currently in a WAITING state), but am unable to. I am trying to send the notify alert to a

[java ee programming] Re: need some help with regards to struts programming homework

2010-12-12 Thread Rammohan Vadlamani
On Wed, Dec 8, 2010 at 7:18 AM, Rammohan Vadlamani rmmo...@gmail.comwrote: Hello everyone, In the struts lab 4207_strutsexamples home work we are supposed to edit the struts-example project. I have tried to understand the flow of the program and make the changes

[java ee programming] Using Thread waiting() method

2010-12-11 Thread anthony
I am trying to send a notify to an available Thread (first Thread i can find in a pool currently in a WAITING state), but am unable to. I am trying to send the notify alert to a thread running in a separate class, although this class is included in the same package. Here is the Server.java file

Re: [java ee programming] Servlet Error

2010-12-09 Thread jitesh dundas
-with-passion@googlegroups.com; rameshcharyko...@gmail.com; mearajah...@gmail.com; harshani perera; Ramesh A Subject: Re: [java ee programming] Servlet Error Please check if the values are present in the database I.e. table -tbllogin Next, please use a while loop,remove if stmt.. PLEASE GIVE

[java ee programming] Connection in jsp bookstore

2010-12-05 Thread hhb bhh
Hi all, I need help to understand the connection in jsp bookstore 1) why in bookstore1 the connection use b protected synchronized/ b but in example 5 there isn't any protected synchronized 2) if I have class call DBConnection , and my dbo is in a separate java class how can I call the

[java ee programming] HashMap

2010-12-02 Thread Rafał Laczek
Hi Colleagues, I have HashMap. I have also method getAttrib() which returns 2 strings (key, value). I must in any way divide these data and get key and value in 2 separate strings (for example lists). In my application I must display them in to seperate columns. I look for in internet but can't

Re: [java ee programming] HashMap

2010-12-02 Thread Georgiana Filote
Hi, Actually, getAttrib() will return a Map, not only 2 strings(key, value). But with the code that you gave it here, you can do like this: TestHashMap thm = new TestHashMap(); thm.addAttrib(1, test1); thm.addAttrib(2, test2); MapString, String m =

Re: [java ee programming] can not able to give access specifer to class declaration

2010-12-02 Thread Georgiana Filote
Hi, It's because in Java, for top-level classes(not inner/nested class) you can have for classes only default or public access level, so if you already have a public class in your file, you cannot declare another public class. Regards, Georgiana On Fri, Nov 26, 2010 at 8:42 AM, SantoshJ

Re: [java ee programming] can not able to give access specifer to class declaration

2010-12-02 Thread Chil-Hoan Kwon
operation }   Enjoy programming Chil --- On Thu, 12/2/10, Georgiana Filote georg...@gmail.com wrote: From: Georgiana Filote georg...@gmail.com Subject: Re: [java ee programming] can not able to give access specifer to class declaration To: santoshbjag...@gmail.com Cc: Java EE (J2EE) Programming

Re: [java ee programming] Using DLL in Java

2010-12-01 Thread Ali Ekber Çelik
Did you put your .dlls into your */windows/system32* directory? Ali Ekber. 2010/12/1 Seyed Mahmood Hosseini web@gmail.com Hello Using DLL in Java I have a working sample program on how to use DLL in java with JNI. I use to be properly implemented: /* Test.java */ public class Test {

Re: [java ee programming] Strut

2010-12-01 Thread thiago moraes
There is a good tutorial about spring + struts2 + jpa + ajax http://struts.apache.org/2.0.14/docs/struts-2-spring-2-jpa-ajax.html but using eclipse instead. I prefer eclipse too. On Sun, Nov 28, 2010 at 8:42 PM, ignacio giagante igiaga...@gmail.comwrote: Unbelieve!! It must active the

PD: [java ee programming] Eclipse/Maven

2010-11-30 Thread Rafał Laczek
Hi, I have just solved the problem. The project have some subprojects. Commend mvn eclipse:eclipse must be done at each project. Regards, Rafal Dnia 30-11-2010 o godz. 13:22 Rafał Laczek rafal_lac...@wp.pl napisał(a): Hi Colleagues, I have imported Maven project from SVN. Unfortunately

[java ee programming] Using DLL in Java

2010-11-30 Thread Seyed Mahmood Hosseini
Hello Using DLL in Java I have a working sample program on how to use DLL in java with JNI. I use to be properly implemented: /* Test.java */ public class Test { /*Load the dll that exports functions callable from java*/ static {System.loadLibrary(TestImp);} /* Name Of DLL : TestImp.dll */

Re: [java ee programming] Strut

2010-11-28 Thread ignacio giagante
Unbelieve!! It must active the plugin of any framewrok which you wish use. And then, the option appear. 2010/11/28 ignacio giagante igiaga...@gmail.com HI, I ve just downloaded the last version of netbens with 266Mb and look at this! I don't have the fourth step to choose the framework

Re: [java ee programming] Strut

2010-11-27 Thread Alvin Reyes
Struts 1.3.8 is the most basix j2ee framework i've used and i would pefer you to use eclpise as it has more support and easy to configure. On 28 Nov 2010 10:08, ignacio giagante igiaga...@gmail.com wrote: Hi, I was trying to start with the practice of struts and when I try to create a new web

[java ee programming] Logging real time system

2010-11-27 Thread Kasim Sert
Hello, İ have a real time system in production environment and i would like to persist its logs in database.Approximately there will be 5 million records each day.What is the best way to do this without affecting the system and db performance too bad. can you suggest me some document or opinion..

[java ee programming] Re: cannot understand this section

2010-11-24 Thread Saji
Hi Rammohan I had also faced problems in understanding struts, I am slowly and consistently learning it. I have prepared some notes for my reference. I have copied almost all of it from manning pubisheser Struts in Action). My notes is as follow # Struts explanation Struts

[java ee programming] Newbie help needed for JBoss AS on NetBeans

2010-11-22 Thread Koen Thomeer
I'm normally a PHPMySQL Developper, but I wanted to try JBoss. I tried to find the solution on the internet, but no ... 1. I installed JBoss 5.1.0 on my ubuntu 10.10 following the guide http://thewiki4opentech.org/index.php/How_to_install_JBoss_AS_in_CentOS_/_RedHat_/_Fedora(but translated to

Re: [java ee programming] Exercise 2 StrutsExamples :- Where where editRegistration.do comes

2010-11-22 Thread Joseph John
Thanks Antonio Your Tip helped me it is from the action.xml !-- Edit user registration -- actionpath=/editRegistration actionClass=org.apache.struts.webapp.example.EditRegistrationAction formAttribute=registrationForm

[java ee programming] Exercise 2 StrutsExamples :- Where where editRegistration.do comes

2010-11-21 Thread Saji
Hi I am trying to understand the struts examples on 4207_strutsexamples . I am working on Exercise 2: Build and run struts-example sample application In index.jsp , there is code like this h3bean:message key=index.heading//h3 ul lihtml:link

Re: [java ee programming] fop.getDefaultHandler());

2010-11-19 Thread rajesh sawant
-j2ee-programming-with-passion@googlegroups.com Sent: Thu, 18 November, 2010 7:14:45 PM Subject: Re: [java ee programming] fop.getDefaultHandler()); Hi Chil-Hoan,   Thank you very much for your detailed response. My problem was with fop jar. I have updated it. Now I create PDF but it is empty... I

[java ee programming] fop.getDefaultHandler());

2010-11-19 Thread Rafał Laczek
Hi Colleagues, I have added all missing jars. Now I receive communicate as follow: log4j:WARN No appenders could be found for logger (org.apache.fop.util.ContentHandlerFactoryRegistry). log4j:WARN Please initialize the log4j system properly. mpUt is Error I/O error reported by XML parser

[java ee programming] fop.getDefaultHandler());

2010-11-18 Thread Rafał Laczek
Hi, Can sobmbody advise me please why by fop.getDefaultHandler()) I get error: The method getDefaultHandler() is undefined for the type Fop. Thanks for help! Regards, Rafal private static void createReceiptPDF() throws IOException, TransformerFactoryConfigurationError, FileNotFoundException,

Re: [java ee programming] fop.getDefaultHandler());

2010-11-18 Thread Chil-Hoan Kwon
xml and fo:XSL.  This will give you some idea how to write in Java.   Good Luck   Chil --- On Thu, 11/18/10, Rafał Laczek rafal_lac...@wp.pl wrote: From: Rafał Laczek rafal_lac...@wp.pl Subject: [java ee programming] fop.getDefaultHandler()); To: Java EE (J2EE) Programming with Passion! java

Re: [java ee programming] fop.getDefaultHandler());

2010-11-18 Thread Rafał Laczek
using xml and fo:XSL. This will give you some idea how to write in Java. Good Luck Chil --- On Thu, 11/18/10, Rafał Laczek rafal_lac...@wp.pl wrote: From: Rafał Laczek rafal_lac...@wp.plSubject: [java ee programming] fop.getDefaultHandler());To: "Java EE (J2EE) Programming with Passion!"

[java ee programming] From XML to PDF - please check this code

2010-11-17 Thread Rafał Laczek
Hi Colleagues, I have some code from internet and I try to adopt it to my requirements. Im new in transforming xml into PDF. I decided to use FOP. I would like to ask you to verify this code. In this code I have following problems: 1. I get ArrayIndexOutOFBoundsException. My comment

[java ee programming] Re: How to generate PDF from xml

2010-11-16 Thread javacioc
Hi Rafal, you can have a look on Apache FOP (http://xmlgraphics.apache.org/ fop/). Also consider Jasper Reports (http://jasperforge.org/projects/ jasperreports), I remember it should be able to use XML as Data Source. Ciao Gianni On Nov 15, 9:34 am, Rafał Laczek rafal_lac...@wp.pl wrote: Hi

[java ee programming] How to generate PDF from xml

2010-11-15 Thread Rafał Laczek
Hi Colleagues, I need to learn how to generate PDF files from xml. Can you advise me please any sensible learning materials. Thanks in advance for your help! Regards, Rafal -- You received this message because you are subscribed to the Google Groups Java EE (J2EE) Programming with Passion!

[java ee programming] Re: Problem in running GetParamMetaData.java

2010-11-08 Thread Michèle Garoche
Saji, Could you give the name of the lab, not a link to it (because it goes simply to the home web page). Michèle Garoche On Nov 2, 7:01 am, Saji jjk.s...@gmail.com wrote: Hi    I am going through the work assignment /tutorials athttp://www.javapassion.com/portal/java-ee-programming-basics

[java ee programming] Re: DigitalClock.class not found.in bookstore2 project

2010-11-08 Thread Michèle Garoche
See here: http://groups.google.com/group/java-ee-j2ee-programming-with-passion/browse_thread/thread/d62e64d4deda7e3a/9f22cc2952ba3d8a?hl=en_US#9f22cc2952ba3d8a I give a method to get the applet clock running, though it may not work on your system. As explained in the thread if it does not work

[java ee programming] Problem in running GetParamMetaData.java

2010-11-02 Thread Saji
Hi I am going through the work assignment /tutorials at http://www.javapassion.com/portal/java-ee-programming-basics-i-with-passion/java-ee-programming-with-passion#JDBC When I run GetParamMetaData.java I am getting this error java.sql.SQLException: Parameter metadata not available

[java ee programming] Lessons ordering

2010-11-01 Thread mp
Hi, Who else considers that the Lessons should be ordered a bit different? I am referring to actually 2 lessons: Struts Sample Application and Struts Validation Framework. Struts Validation Framework should be in front of Struts Sample Application. The homework for Struts Sample Application can

[java ee programming] Which bucket does a null key map to?

2010-10-30 Thread Nirmal Kumar
Hi All, HashMap allows one key as null but Hashtable does not allow any of the keys to be null. Now if HashMap allows a one key to be null then *Which bucket does a null key map to?* * * *Also please tell me in which scenarios one would like to place a null key in HashMap?* *Thanks*, -Nirmal

Re: [java ee programming] File upload using AJAX

2010-10-29 Thread Kunal Raikar
Hi Alexander Do you have any sample code??? 2010/10/28 Alexander Jose Sanchez Niño alez...@gmail.com yes is posible, you cand do it with swfupload. and is very simple. 2010/10/27 Kunal Raikar kunal...@gmail.com Hi I want to upload file on server without clicking on submit

Re: [java ee programming] File upload using AJAX

2010-10-29 Thread Alexander Jose Sanchez Niño
yes i have, i found in internet and works so well El 29 de octubre de 2010 03:21, Kunal Raikar kunal...@gmail.com escribió: Hi Alexander Do you have any sample code??? 2010/10/28 Alexander Jose Sanchez Niño alez...@gmail.com yes is posible, you cand do it with swfupload. and is very

Re: [java ee programming] File upload using AJAX

2010-10-28 Thread Kunal Raikar
Hi Mahesh Can you give me some sample code??? Regards Kunal Raikar On Thu, Oct 28, 2010 at 10:38 AM, Mahesh Kapure mahesh.kap...@gmail.comwrote: simple way... get the hidden form in ur page in some iframe and put the file input (hidden) by javascript and then submit that

[java ee programming] Why only CreateCoffees.java execute when I run JDBCSamples_mysql project

2010-10-27 Thread Saji
Hi When I am running JDBCSamples_mysql I have notices only one table is created ie COFFEES. This is because only CreateCoffees.java is executed. Can any one guide me, How only CreateCoffees.java is run when the project is run thanks Joseph John -- You received this message

[java ee programming] Struts Basics - Reusing the ActionForm's validation

2010-10-27 Thread Mike M. Lin
Re: Homework for Struts Basics I want to have a special error page (.jsp) in addition to the indexpassionname.jsp and indexnopassionname.jsp. So my controller HelloAction needs to figure out when to forward the request to the error page. Right now I'm doing something like this in

[java ee programming] Re: Why only CreateCoffees.java execute when I run JDBCSamples_mysql project

2010-10-27 Thread Michèle Garoche
On 28 oct, 07:45, Saji jjk.s...@gmail.com wrote: Hi Michele   Thanks for the reply   My  doubt was that why CreateCoffees.java only runs when I run the project, How is it decided that CreateCoffees.java only should run   I have done the necessary changes for the con parameter for all other

[java ee programming] How to call the methods of .DLL file from Java class

2010-10-26 Thread h...@rsh v...@rdh@n
Hi, I have a small application which needs integration of .Net DLL file with my Java class. Basically there is a payment gateway that is already developed in the .Net technology and has few exposed DLL files that provides access to the other API. I am looking for a help that shows , How we can

[java ee programming] richfaces components are not getting displayed on jsf 2.0 tomcat 6.0

2010-10-24 Thread puneet goyal
i am using jsf 2.0 mojarra implementation with tomcat 6.0 and richfacess 4.0. I have imported the required dependencies and the namespace i use is xmlns:rich=http://richfaces.org/rich; but the richfaces components do not get displayed on the browser and the following is displayed *Warning: This

[java ee programming] Method Overriding Rules in Java

2010-10-18 Thread Nirmal Kumar
Hi All, Can anyone explain the following Method Overriding Rules in Java: The access level *cannot be more restrictive* than the overridden method's access level. However the access level *can be less restrictive* than the overridden method's access level. The overridden method should not throw

[java ee programming] Re: Method Overriding Rules in Java

2010-10-18 Thread Jayesh
See the code explains. public class A { protected void test() throws Exception { System.out.println(in A); } } public class B extends A { public void test() throws IOException { System.out.println(in B); } } As pre

[java ee programming] Re: Method Overriding Rules in Java

2010-10-18 Thread Mayank Gupta
class Parent{ public void methodA(){ } } class Child{ private void methodA(){ //private method not possible so The access level *cannot be more restrictive* than the overridden method's access level. } } class Parent{ public void methodA() throws IOException{ } } class Child{

[java ee programming] Re: Method Overriding Rules in Java

2010-10-18 Thread Sergey Nikiforov
Hi, All. Here is the sequence of java access levels: public-protected-default-private As public is the strongest so child's method can only be public. And it can throw only IOException or its subclasses or nothing at all. import java.io.IOException; class Farther{ public void

[java ee programming] HttpServletRequest

2010-10-14 Thread Carlos Álvares
Hi there, I need to create a SSO token to let clients applications access content files over a link But to generate the token I need to have an HttpServletRequest, how can I do it?? Thanks -- You received this message because you are subscribed to the Google Groups Java EE (J2EE) Programming

<    1   2   3   4   5   6   7   8   9   10   >