Re: code snippet...

2003-04-02 Thread Martin Gainty
protected by law. LDS does not own and endorse any other content. < >From: "Ceron, Jay" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: code snippet... >

code snippet...

2003-04-02 Thread Ceron, Jay
The following snippet works without a problem: try { ... ReferenceDataBean ref = new ReferenceDataBean(); ref.connect(); session.setAttribute("resultsbean", ref); getServletContext().getRequestDispatcher("/idpayCreateDist.jsp").forward(req uest, response); } Bu

Re: On the MQ code snippet

2003-02-13 Thread Zerbe John W
riginal Message- From: Pillai Jaideep, App Spec, SCS-SD [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 2:21 AM To: [EMAIL PROTECTED] Subject: On the MQ code snippet Hi Zerbe, I do not see your concern in the code snippet attached by Urvesh. The JVM guarantees that construct

On the MQ code snippet

2003-02-12 Thread Pillai Jaideep, App Spec, SCS-SD
Hi Zerbe, I do not see your concern in the code snippet attached by Urvesh. The JVM guarantees that constructors are thread safe. Your cobcern should only apply when the instantiation happens within a method that is not synchronized and hence not thread safe. Thanks, Jaideep

Re: this doesn't work.why...code snippet

2000-12-06 Thread Rich Carreiro
> this doesn't work,,why? I thought this would be a simple > procedure, but no. > The IF test doesn't work it ignore the parameter field1 and laways > prints > the first thing "you didn't ." regardless... why? It doesn't work because you're not testing the right thing. Remember, in Java,

this doesn't work.why...code snippet

2000-12-06 Thread Dean Sacramone
this doesn't work,,why? I thought this would be a simple procedure, but no. The IF test doesn't work it ignore the parameter field1 and laways prints the first thing "you didn't ." regardless... why? String title = "Deans First Example"; if(request.getParameter("field1") !="dean")

Re: JSP 0.91 Code Snippet

1999-07-17 Thread David Wall
> Can someone tell me if this snippet of JSP code is valid? > ... > > <% bean.checkIndex(x); %> > > <% bean.checkIndex(y); %> > > $(BEAN=bean PROPERTY=test(x,y))"; > > > > ... A bit of the topic here, but you m

JSP 0.91 Code Snippet

1999-07-17 Thread Hai-Bang Pham
Hello, Can someone tell me if this snippet of JSP code is valid? ... <% bean.checkIndex(x); %> <% bean.checkIndex(y); %> $(BEAN=bean PROPERTY=test(x,y))"; ... Basically, what I want to know is: can the PROPERTY

JSP 0.91 Code Snippet (2nd Try)

1999-07-16 Thread Hai-Bang Pham
Hello, My last attempt of sending this message did not seem to make it to the list, so I apologize if some of you are getting this message twice. Anyways, can someone tell me if this snippet of JSP code is valid? ... <% bean.checkIndex(x); %> <% bean.checkIndex(y); %>

Re: What's wrong with this code snippet?

1999-06-28 Thread Daniel Lopez
.jsp file which is called by a servlet. > > It works fine when only out.println("CHECKED") is present. > As soon as I add the If condition it gives the Error as shown below > the code snippet. > > > <% if ((dataBean.getMastVendID()).equals(d

What's wrong with this code snippet?

1999-06-25 Thread Joe Blow
Hi Everybody, I written the following in my .jsp file which is called by a servlet. It works fine when only out.println("CHECKED") is present. As soon as I add the If condition it gives the Error as shown below the code snippet. onClick = ""> Master