[java ee programming] Can we validate password frm database in client side
Hello, I am validating user entered password with database password on server side in jsp. Can any one tell is there any way to validate password with database password on client side like using JavaScript? and how? --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: HTTP Monitor problem
Hello I had this issue. Go to services (or runtime. I havent got Netbeans infrount of me so I am doing this from memory) and and expand 'servers' and each server entry: right click on the server and go to properties. Then tick the enable http monitor tickbox. Restart netbeans and http monitoring should now work. I hope this helps. Rob. On Sep 9, 5:20 pm, Payne buja...@gmail.com wrote: Do you restart AppServer? It is usually necessary to restart AppServer. On 8. Sep., 20:13 h., Henry Ramos rhen...@gmail.com wrote: Hello everybody: I need help with using the HTTP Monitor in the NetBeans IDE Quick Start Guide for Web Applications II. I've turn it on at WindowDebuggingHTTP Server Monitor, and enabled it at ToolsServersEnable HTTP Monitor, but when I run the application, it doesn't work. It just appears empty. I'm using Netbeans 6.7.1 IDE. Have I missed one step? Please help me. Thank you very much, Henry Ramos --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: Can we validate password frm database in client side
it is possible with ajax as Kamal said, but why you want to do that? as i can see it will be really insecure. On Sep 10, 9:28 am, aryan sagar.k...@gmail.com wrote: Hello, I am validating user entered password with database password on server side in jsp. Can any one tell is there any way to validate password with database password on client side like using JavaScript? and how? --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: Can we validate password frm database in client side
You can also get the hash of the password and submit the hash to the server. In that way you'll avoid cleartext passwords on the wire. -- Regards, Artashes Hovasapyan 2009/9/10 Kamal Chandana Mettananda lka...@gmail.com Exactly; while using Ajax you must pay more attention towards security. Also you should never bring the passwords from the database into your jsp page and do a check using javascript; rather send your password to the server and see whether it's valid or not. --- Kamal Mettananda http://lkamal.blogspot.com On Thu, Sep 10, 2009 at 3:21 PM, Maximiliano moraga@gmail.com wrote: it is possible with ajax as Kamal said, but why you want to do that? as i can see it will be really insecure. On Sep 10, 9:28 am, aryan sagar.k...@gmail.com wrote: Hello, I am validating user entered password with database password on server side in jsp. Can any one tell is there any way to validate password with database password on client side like using JavaScript? and how? --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: Populating the Example Dat abase needs password file
For development purposes, if you don’t want to use the NetBeans to edit your files(.java or .properties or .xml or dotwhatever) try to use the Notepad++, it knows a lot of file types, you’ll love it. http://notepad-plus.sourceforge.net/uk/site.htm Happy coding! From: java-ee-j2ee-programming-with-passion@googlegroups.com [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of peeter brunch Sent: September-10-09 3:22 AM To: migat...@gmail.com; j2ee passion Subject: [java ee programming] Re: Populating the Example Database needs password file Hi everyone, I used notepad to open the property file and rename the file. Now all the problems have gone. Thanks for the help. Cheers _ From: peeterbru...@hotmail.com To: migat...@gmail.com; java-ee-j2ee-programming-with-passion@googlegroups.com Subject: RE: [java ee programming] Re: Populating the Example Database needs password file Date: Thu, 10 Sep 2009 04:45:04 + Thanks for the clue. I have edited my build.properties file to include the passwordfile definition. But the build returned with the same failure message javaee.server.passwordfile not specified. My changes to the build.properties file are highlighted as below: # Set the property javaee.home, using the path to your # GlassFish installation. # C:/Program Files/glassfish-v3 is the GlassFish v3 default installation # path on Windows. # javaee.home=C:/Program Files (x86)/sges-v3-prelude # Set the property javaee.tutorial.home to the location where you # installed the Java EE Tutorial bundle. # javaee.tutorial.home=E:/techdoc/J2ee/javaee-5-doc-tutorial-1.0_05/javaeetuto rial5 # machine name (or the IP address) where the applications will be deployed. javaee.server.name=localhost # port number where GlassFish applications are accessed by users javaee.server.port=8080 # port number where the Admin Console of GlassFish is available javaee.adminserver.port=4848 # Uncomment the property javaee.server.username, # and replace the administrator username of the app-server javaee.server.username=admin # Uncomment the property javaee.server.passwordfile, # and replace the following line to point to a file that # contains the admin password for your app-server. # The file should contain the password in the following line: # # AS_ADMIN_PASSWORD=adminadmin # # Notice that the password is adminadmin since this is # the default password used by GlassFish. # javaee.server.passwordfile=${javaee.tutorial.home}/examples/common/admin-pas sword.txt appserver.instance=server # Uncomment and set this property to the location of the browser you # choose to launch when an application is deployed. # On Windows and Mac OS X the OS default browser is used. #default.browser=/Applications/Firefox.app/Contents/MacOS/firefox-bin # Database vendor property for db tasks # JavaDB is the default database vendor. See the settings in javadb.properties db.vendor=javadb # Digital certificate properties for mutual authentication keystore=${javaee.tutorial.home}/examples/jaxws/simpleclient-cert/support/cl ient_keystore.jks truststore=${javaee.home}/domains/domain1/config/cacerts.jks keystore.password=changeit truststore.password=changeit Is anything wrong with my changes? I use MS WORD to open the sample file and edit/save the changes(since I do not have the right software to open the sample or properties type file type in Window Vista). I renamed the file with Properties extension after saving the file. Would it be possible that Word would corrupt the properties file or its internal format so Build process is unable to read the file properly.The size of the original sample file is 2KB but the edited file is 13KB. I am attaching my property file for perusing. Can anyone whose has successfully populating the Bookstore1 example database send me their build.propertiies file so I can use it to build my database? Thanks in advance. P.S: I always try to send mail without an attachment. But I cannot cut and paste the screen shots from Dos command prompt terminal windows. Pls advise if there is any proper method to cut and paste text content from Dos. Sorry for the inconvenience if that this might cause. Date: Tue, 8 Sep 2009 20:36:58 -0700 Subject: [java ee programming] Re: Populating the Example Database needs password file From: migat...@gmail.com To: java-ee-j2ee-programming-with-passion@googlegroups.com On 8 sep, 11:41, peeter brunch peeterbru...@hotmail.com wrote: During the build of Example Database for Bookstore1 project, the build process requires a password file and to specify it in the \nbproject\project.properties file. Could someone provide the steps to accomplish these requirements for popuplating the database? Pls see attachment for error message returned from the build process. As explained in the javaeetutorial5, you should create a build.properties
[java ee programming] Lab 4016
Hi, I set up the database an create the book table but when i try tu run the Web my browser go to http://www.fastbrowsersearch.com/results/results.aspx?q=http://localhost:8084/bookstorec=webs=FDNSv=18tid={52AD233E-F9A1-C526-C4A9-09AD445803DB} Anuone know the solution for this? Thanks in advance --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: Lab 4002: unable to name and create new projects from the Tomcat distribution...
Anyone else having this problem? I have not found a work around. It seems the core files for creating 'Servlet Examples' are missing in Netbeans 6.7 Enterprise5 dir., which is where the other project files seem to be located. Suggestions? stephen wille | p.stephenwi...@yahoo.com From: p. stephen wille p.stephenwi...@yahoo.com To: Java EE (J2EE) Programming with Passion! java-ee-j2ee-programming-with-passion@googlegroups.com Sent: Wednesday, September 9, 2009 3:13:35 PM Subject: [java ee programming] Lab 4002: unable to name and create new projects from the Tomcat distribution... Attempting to create a new 'Servlet Example', I'm unable to name the project with the error 'Project Name is not a valid folder name.' The Description box states - A set of servlet examples that come from the Tomcat distribution. They can be deployed to any server. I can name and create other projects, such as 'Web Jpa', and 'Jsf Jpa', but not the Tomcat ones. Is anyone else having this issue? Do I need to install some Tomcat files, or other files? stephen wille | p.stephenwi...@yahoo.com --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~--~~~~--~~--~--~---