[java ee programming] Re: How to output HTML within java code

2009-11-07 Thread bambang teleinfocom
hi Moly : are you sure you print out the output after ? rgds On Fri, Nov 6, 2009 at 10:43 AM, Molly wrote: > > Hello, > > I am trying to figure out how to output my HTML code. When I run the > program I want "Your IP Address Is: (IP here)" to appear at localhost: > 3000. It appears when I e

[java ee programming] Re: Question about Lab 4323:JPA Query - Getting Exception

2009-11-09 Thread bambang teleinfocom
HI : I have not delved much into the JPA, but the name "toplink" catch my eye, as toplink is oracle orm ( similar with hibernate ) are you sure you put toplink as the persistent provider ? --- ignore it if the JPA excercise indeed incorporated toplink into it. sincerely bambang On 11/6/09,

Re: [java ee programming] Error running web application on server - Setting Claspath for glassfish

2009-11-23 Thread bambang teleinfocom
Hi Chetana : Where do you put your .properties file ? sincerely bambang "Java Samurai with Passion!" On Mon, Nov 23, 2009 at 2:12 PM, Chetana Shenoy wrote: > Hello: >I was trying to run a web application viz Lottery Annotation. I got the > following error: > > The following error occurre

Re: [java ee programming] Help Me with JSF + Spring + Hibernate + Facelets

2010-02-21 Thread bambang teleinfocom
HI : I saw "java.lang.ClassNotFoundException: org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl" have you checked it ? cheers bb On Mon, Feb 22, 2010 at 3:28 AM, Rodrigo Oliveira < rodrigo.anjos.olive...@gmail.com> wrote: > >1. Hello everyone! I'm using JSF + Spring + Hiber

Re: [java ee programming] sorting in displaytag.

2010-03-02 Thread bambang teleinfocom
Hi Naveen : Can i see your codes ? tq bb On Wed, Mar 3, 2010 at 2:40 PM, navS wrote: > Hello team, > > I am facing some problem with sorting in displaytag. > > > Statement :- > > > I have one jsp page in which the top portion is adding a > transaction. > second portion is to display the

Re: [java ee programming] Re: sorting in displaytag.

2010-03-03 Thread bambang teleinfocom
  > > > > > > > decorator="com.pit.incomeexpense.decorator.IncomeExpenseDecorator" >pagesize="10" > requestURI="/secure/pitIncomeExpense.do" id="expTbl" > defaultsort="1" defaultorder="descending" >sort="list" style="widt

Re: [java ee programming] Spring

2010-03-14 Thread bambang teleinfocom
Hello Rafal : In order to use Jdbc and Spring, you can use the JdbcTemplate provided by spring then you do not need to write so much "connection setup" codes cheers bb 2010/3/13 Rafał Laczek > Hi, > > > The Spring is quite new for me but in my project I must use it to > extract data from da

Re: [java ee programming] Spring

2010-03-14 Thread bambang teleinfocom
Hi Rafal : Based on the links : http://www.vogella.de/articles/SpringJDBC/article.html First : you need to add spring-jdbc.jar to your classpath (in addition to the standard jars described in the above installation link). Second : Create the POJO of something ( as your domain MODEL ) say : pack

Re: [java ee programming] Spring with JSF

2010-03-14 Thread bambang teleinfocom
Hi : IMHO, JSF uses the faces-config.xml to do the wiring and configuration: ( here is one example from the manning -- great books written by struts expert -- spring2 in action ) Say your jsf has form : Register Motorist E-mail . Model / JSF's managed bean i

Re: [java ee programming] alternate to request,getParameter

2010-03-22 Thread bambang teleinfocom
HI, I suggest if you have real b2b, you might considering using web framework : like spring webflow, struts2, etc --- you need mvc2 ( front controller design pattern ) to handle such traffics. This is just my idea thx bb On Mon, Mar 22, 2010 at 7:37 PM, vinay basavanal wrote: > Hi all, >

Re: [java ee programming] how to access the scope variable from outside the application.

2010-03-22 Thread bambang teleinfocom
Hi, a.There are type of scopes : page ( only in jsp ), session, request, application ( servletcontext ) Which one you are talking about ? b. You can use pageContext ( in jsp ) to get all four scopes c. one jsp will ( internally ) create one servlet so in your case you can imagine sharing infos

Re: [java ee programming] alternate to request,getParameter

2010-03-22 Thread bambang teleinfocom
Yes, JSF is cool also On Tue, Mar 23, 2010 at 3:05 AM, Senthil Chidambaram wrote: > You should consider the available frameworks out there or consider writing > your own. JSF has built in support for validation, you can consider > Richfaces. > > thx > Senthil > > On Mon, Mar 22, 2010 at 4:37 AM,

Re: [java ee programming] response.sendRedirect() using tag

2010-03-26 Thread bambang teleinfocom
m your jsp c.afaik, jsp can not initiate sevlet response Hope you understand the logic thx bb On Fri, Mar 26, 2010 at 5:54 PM, bambang teleinfocom < bambang.teleinfocomproj...@gmail.com> wrote: > Hi, > > a.response.sendRedirect() is residing in the client, your browser will >

Re: [java ee programming] response.sendRedirect() using tag

2010-03-28 Thread bambang teleinfocom
Right, You can do it at the client side using javascript but you Can't do it at the client side if you want use : response.redirect() bb On Sat, Mar 27, 2010 at 2:03 AM, Senthil Chidambaram wrote: > Let me understand this clearly. You have an link and when the > user clicks this link you wan

Re: [java ee programming] Can we write a constructor in Servlets?

2010-03-30 Thread bambang teleinfocom
HI, Let me add a little bit here, a.Servlet is built purposely as helper for dynamic web app server and it the container that control the Servlet; it is the java answer for dynamic web page to old cgi/bin. Servlet is loaded, initialized and created aka lifecycle ( defined in Deployment Descripto

Re: [java ee programming] Re: [javaee_advanced] Need this PDF

2010-03-31 Thread bambang teleinfocom
Hell Kamala, I suggest you to take struts2 directly. thx bb On Thu, Apr 1, 2010 at 12:36 PM, Kamala Kannan JS wrote: > Hello Friends, > Just now i joined a company as Java programmer and my task is > related to struts framework. Am very well known in servlets. But i have no > kno

Re: [java ee programming] Re: [javaee_advanced] Need this PDF

2010-04-01 Thread bambang teleinfocom
This is a good page to start : http://www.roseindia.net/struts/struts2/index.shtml bb On Thu, Apr 1, 2010 at 2:13 PM, bambang teleinfocom < bambang.teleinfocomproj...@gmail.com> wrote: > Hell Kamala, > > I suggest you to take struts2 directly. > > thx > > bb > &g

Re: [java ee programming] Re: [javaee_advanced] Need this PDF

2010-04-01 Thread bambang teleinfocom
Hi Kamala, Yes, I 100% agree with Mihai's suggestion, you should join the javapassion.com online class, which can help you rapidding develop your applications for your company, and also i think the price is worth it and i think next year the price will go up. So hurry. thx bb On Thu, Apr