[java ee programming] maybe help

2009-06-16 Thread Munkhdalai Sain
i think you need to read there books.Pro Spring 2.5 Aug 2008 , Manning Spring in Action 2nd Edition --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this gr

[java ee programming] hibernate book

2009-06-16 Thread Munkhdalai Sain
i suggest there books. 1.Pro Hibernate 3 2.Professional Hibernate 3.Manning - Java Persistence with Hibernate --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post

[java ee programming] Hibernate vs HibernateCore

2009-06-16 Thread JoshLucas
I am trying to run the SpringHibernateDAOInjection project and when I try to add the appropriate libraries, I can't seem to locate "HibernateCore". Instead I see only Hibernate. Is that the same thing? --~--~-~--~~~---~--~~ You received this message because you are

[java ee programming] Re: homework in Spring MVC

2009-06-16 Thread Biljana Biljana
But when I run springMVCSimpleFormControll project my NetBean IDE run good. --- On Tue, 6/16/09, Biljana Biljana wrote: From: Biljana Biljana Subject: [java ee programming] homework in Spring MVC To: "J2EE Passion Group" Date: Tuesday, June 16, 2009, 8:00 AM Hello!   I rewrite hello1

[java ee programming] homework in Spring MVC

2009-06-16 Thread Biljana Biljana
Hello!   I rewrite hello1-homework, but when I run it I got this message:   HTTP Status 404 - type Status report message descriptionThe requested resource () is not available. Sun GlassFish Enterprise Server v2.1 In server Glass Fish V2 was written:   While redeploying, trying to stop the appl

[java ee programming] Re: Strip HTML Tags with Filter

2009-06-16 Thread Nirmal Kumar
Hi, What you can do is write a utility method and explicitly check the occurrence of and tags. If you encounter these days then don't replace them otherwise for all occurrences of other characters(.*?","") replace them in the result String. Thanks, Nirmal On Mon, Jun 15, 2009 at 9:15 PM, vu

[java ee programming] Re: HibernateUtil not Working (3513_hibernatestepbystep.zip)

2009-06-16 Thread Biljana Biljana
Hello! You must write what is written in that red line! Maybe you use some not deffined value, or not import classes not create database, not start driver, not add some jar file --- On Fri, 6/12/09, muhiuddin wrote: From: muhiuddin Subject: [java ee programming] HibernateUtil not Work

[java ee programming] Re: Regarding Spring-MVC Homework...

2009-06-16 Thread Biljana Biljana
Hello everyone!   I have same problem.How to include response.jsp when and only when username is input, because dispatcher servlet which we use move control to another page, not include page. Can  response.jsp be written like index.jsp with that "Hello" message, but this will be appear every tim

[java ee programming] Re: Java Servlet for Loging Details

2009-06-16 Thread Deepak Kumar Singh
Hi Nelson, Please go through following link.It might solve your problem. http://www.roseindia.net/servlets/PrintingNameUsingHtmlForm.shtml Regards Deepak Singh On Tue, Jun 16, 2009 at 2:09 PM, Nelson Rodrigo - LHQ < nelson.rodr...@loadstarlk.com> wrote: > Dear Friends > i am using resp.se

[java ee programming] Re: Java Servlet for Loging Details

2009-06-16 Thread Nirmal Kumar
Hi, You can set the UserName in the request inside your servlet like : *request.setAttribute("UserName", userName);* In the JSP you can retrieve the User Name by using: *<%=request.getAttribute("UserName")>%* Also you can fetch the IPAddress and other information from the request object in the J

[java ee programming] Re: Strip HTML Tags with Filter

2009-06-16 Thread vunet
OK, there is something pretty close I came up with: "<[^((\\s*A)|(\\s*I))].*?>" ... but it also removes the closing tags /A and /I while leaving A and I in place. How to remove closing tags? On Jun 15, 11:45 am, vunet wrote: > If this strips my HTML out of the string: > > str.replaceAll("<.*?>

[java ee programming] Service not found after i change the server port no.

2009-06-16 Thread SantoshJ
Hi, I had following problem. I have developed a web service (using Netbeans) and its is running in Glass Fish server at a IP (say 192.168.66.55) at port number (say 8181), for this web service I have developed a web service client (using netbeans), while creating web service client it asked the

[java ee programming] Re: Java Servlet for Loging Details

2009-06-16 Thread Nirmal Kumar
Hi, You cannot use an HTML page(static) to collect those values sent from the Servlet. Why you cannot use HTML is because HTML page is a static page and does not know about "request" and "response" objects. However JSP does know about the "request" and "response" implicit objects . You've to use

[java ee programming] Re: Java Servlet for Loging Details

2009-06-16 Thread Hitesh Agarwal
Hi Nelson, Are you sure you are looking to keep HomePage.html. Because the problem is in html page you cannot read the values passed through queryString or Request Object. Well if you change HomePage.html to HomePage.jsp and in web.xml you map HomePage.jsp to HomePage.html you can acheive your re

[java ee programming] Re: Java Servlet for Loging Details

2009-06-16 Thread Nelson Rodrigo - LHQ
Dear Ashish thats true i can use jsp instd of html but as my requirment i want to use html page can you please help me to pass getting values to html page. Nelson Rodrigo Staff Officer - Software Development LOADSTAR (PRIVATE) LIMITED Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892

[java ee programming] RE: Java Servlet for Loging Details

2009-06-16 Thread Nelson Rodrigo - LHQ
Dear Friends i am using resp.sendRedirect("HomePage.html"); command tag in servlet to open the html page how ever if i collected those values (Login Name, IP and act) how can i pass those values to html page if you have any sample data please share with me. Thanks in advance Nelson Rodr

[java ee programming] Java Servlet for Loging Details

2009-06-16 Thread Nelson Rodrigo - LHQ
Dear Friends, this is related to J2EE I have Login html page, when i successfully (User Name and PW veryfied by Servlet)loging Home page will apper. so my problem is when Home page comming we want to display login user name also in the Home page how can i write a Servlet to achive my ta