USEBEAN

1999-05-06 Thread Sharma, Anand (Anand)
Hi, I am new to JSP and have been trying to go through the JSP Version 1 Public Draft to get an idea of the concept behind JSP. While having declaratives, actions, expressions etc. were all making sense, the one thing which I could not be sure about was this - "When you define a class in US

USEBEAN

2000-06-01 Thread Alan Goodenough
Does anybody know whether it is possible to use more than one bean in a JSP page using the JSP usebean tag? cheers alan goodenough === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST&q

usebean

2002-02-13 Thread Eric Cho
what is the equivalent code for this usebean tag? is this right? beanStuff.Mapping aMappingBean = (beanStuff.Mapping) request.getAttribute("aMappingBean"); Thanks, Eric ** The c

UseBean?

2002-12-22 Thread Steven J. Owens
Hi, I'm seeing some odd behavior that I suspect is related to the useBean directive. This is in Tomcat 4.1.12, with Jasper. I have a fairly straightforward javabean to hold data from an SQL query, including a method (public void select()) to do the query and load the results int

Re: usebean

1999-05-07 Thread LAURENCE CABLE
When you define a class in USEBEAN, is it just > any java class or is it some kind of a special class implementing a certain > interface etc." > > I did not see anything in the documentation that talked about how to write > the beans referred to in the "USEBEAN" tag.

Re: usebean

1999-05-07 Thread Kirkdorffer, Daniel
SMTP:[EMAIL PROTECTED]] > Reply To: LAURENCE CABLE > Sent: Friday, May 07, 1999 11:57 AM > To: [EMAIL PROTECTED] > Subject: Re: usebean > > <> > > Hi, > > > > I am new to JSP and have been trying to go through the JSP Version 1 > Public &

Re: usebean

1999-05-07 Thread LAURENCE CABLE
IL PROTECTED] > Web: http://www.syllogistics.com/ > > > -- > > From: LAURENCE CABLE[SMTP:[EMAIL PROTECTED]] > > Reply To: LAURENCE CABLE > > Sent: Friday, May 07, 1999 11:57 AM > > To: [EMAIL PROTECTED] > > Subject: Re: usebean > >

Re: usebean

1999-05-10 Thread Laurence Cable
fficient to generate the creation code at "translation" time, rather than using introspection at runtime. Note also the tag is called "usebean" not "useobject", a JavaBean is required to have a public no-args constructor. If yo

Re: usebean

1999-05-10 Thread Vanlerberghe, Luc
27;model 2' approach of jsp 0.92 (ie. a servlet creates the objects) or using the redirect or include application models of the jsp 1.0 spec. In fact, why not allow an interface to be used in the 'class' attribute of the usebean tag? This would decouple the data generation/presentation

Ignoring useBean

1999-12-01 Thread Cory L Hubert
For some reason my useBean syntax is being ignored. When I do a view source I see unrendered code. If I use scripting it works fine though. ?!? Help! === To unsubscribe: mailto [EMAIL PROTECTED] with body

useBean question

2000-03-09 Thread Dennis Huang
Hi, friends: When I use java bean in a JSP page, should I always use .class file not .jar file? None of examples I have ever seen so far is using .jar file. That's why I ask this question. If I want to use a bean in jar file, how do I write useBean tag? Thanks Regards, Dennis

useBean tag ????

2000-08-22 Thread sufi malak
How to change this to a useBean tag : <% BasketBean basket = (BasketBean)session.getAttribute(BasketBean.BASKET); %> _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information

multiple useBean

2000-11-02 Thread Michał Trojanowski
er part of script - compiler says that it doesn't know what is a string that I entered as useBean id. And in the same time the second bean is well visible at every call. There is no matter, which useBean is defined first. The problem is always with the same one. Here is the code: <%@ p

Re: useBean

2001-01-08 Thread Ehab Taleb
no just decide the scope of the bean like session scope for example or application scope | request -Original Message- From: JSP Ask [mailto:[EMAIL PROTECTED]] Sent: Monday, January 08, 2001 9:39 AM To: [EMAIL PROTECTED] Subject: jsp:useBean Hi, Guru, If I want to share the same betw

JSP-useBean

2000-05-31 Thread Vinay K.V. Menon
Hi! I am new to using Java Beans in JSP. I have the following line of code for the Bean instantiation and am trying to get a property Sample on the bean. For this I tried <% mybean.getSample(); %> Doesn't seem to work! Has anyone faced this problem? Also, when I try to add the page direct

Re: USEBEAN

2000-06-01 Thread Vinod Govindan
Yes it is possible to use more that one use bean tab in a jsp page! Does anybody know whether it is possible to use more than one bean in a JSP page using the JSP usebean tag? cheers alan goodenough === To unsubscribe

Re: USEBEAN

2000-06-01 Thread Lee Elenbaas
as far as i know you can't define more then one bean per useBean tag, but you can repeat the tag to define different beans. lee -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Goodenough

Re: USEBEAN

2000-06-01 Thread Tarun Dewan
Hi alan, You can use more than one bean in JSP with JSP usebean tag by giving id in each bean tag. for eg.: After this you can use id in JSP. Bye, Tarun Dewan. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On

Re: USEBEAN

2000-06-01 Thread Danny Trieu
Yes, it is possible Alan Goodenough wrote: > Does anybody know whether it is possible to use more than one bean in a JSP > page using the JSP usebean tag? > > cheers > > alan goodenough > > ===

Re: UseBean?

2002-12-23 Thread Steven J. Owens
Hi folks, On Sun, Dec 22, 2002 at 07:43:28PM -0500, Steven J. Owens wrote: > I'm seeing some odd behavior that I suspect is related to the > useBean directive. This is in Tomcat 4.1.12, with Jasper. [] Yeesh, I feel stupid. Found the obvious bug. Please disregard

Re: Ignoring useBean

1999-12-02 Thread Daniel Tillin
al Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Cory L Hubert Sent: Wednesday, December 01, 1999 8:52 PM To: [EMAIL PROTECTED] Subject: Ignoring useBean For some reason my useBean syntax is being ignored. When I

Re: Ignoring useBean

1999-12-02 Thread Cory L Hubert
, December 02, 1999 3:56 AM To: [EMAIL PROTECTED] Subject: Re: Ignoring useBean What version of JSP does your web server support? I don't think 0.92/0.91 support , but do support syntax. Also, these versions only have request and response implicit objects. Basically, I would find a server

Re: useBean question

2000-03-09 Thread Oliver Enseling
Dennis: You can use the useBean directive irrespective of whether your Java classes resides within a JAR file or within a .class file in a directory, as long as the JAR file and/or the .class file directory are included in your JSP container's class path. So, don't change the useBean

Re: useBean question

2000-03-14 Thread Dennis Huang
Thanks everything who help me. I have another question about useBean: When using a bean, does it mean we always have to use Javabean or we can use both Javabean and Enterprise Java Bean? Does it run slower if you put codes in a bean? Thanks, Dennis -Original Message- From: [EMAIL

Re: useBean tag ????

2000-08-23 Thread Veronique Dupierris
package is just in case yoiur bean is in a package ... Regards veronique sufi malak a écrit : > How to change this to a useBean tag : > <% >BasketBean basket = (BasketBean)session.getAttribute(Baske

usebean autocreate Param?

2000-09-01 Thread Hines, Bill
In JSP .9x, I think there was an autocreate param in the tag to specify whether the bean should be created with the null constructor if it wasn't found in the scope identified by the scope param. I don't see that in any of the descriptions of JSP 1.0 . Is it automatic now? What if you had a page

useBean vs. getAttribute

2000-09-16 Thread Howard Lee
Hi guys, Someone here said awhile ago that useBean and getAttribute is the same thing. e.g. I setAttribute(someBean, "myBean") in a servlet, and then I forward it to a JSP. Inside the JSP, I do getAttribute("myBean") and I can get the someBean, but he mentioned that I can a

multiple useBean II

2000-11-05 Thread Michał Trojanowski
hursday, November 02, 2000 2:31 PM Subject: [JSP-INTEREST] multiple useBean > Hi! > > I'm using JBuilder 3.5 Enterprise and running my JSPs > on the internal server integrated with JBuilder. > > I've got a problem with multiple using > in one JSP script. > >

Re: JSP-useBean

2000-05-31 Thread Ken Torimaru
<%=mybean.getSample()%> >-Original Message- >From: A mailing list about Java Server Pages specification and reference >[mailto:[EMAIL PROTECTED]]On Behalf Of Vinay K.V. Menon >Sent: Tuesday, May 30, 2000 5:48 AM >To: [EMAIL PROTECTED] >Subject: JSP-useBean > &g

Re: usebean tag

2000-06-29 Thread Jaffa, Dan
Yes, You now have two session Beans. One named connection and one named sqldb Daniel Jafa -Original Message- From: Asri Ismail [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 29, 2000 4:41 AM To: [EMAIL PROTECTED] Subject: jsp:usebean tag can we use more the once ==

session in useBean

2000-07-04 Thread Paras Sharma
hi guys i am making site for database access i have used one connectionbean( serialized ) for connection to database now i am using the following bean tag i have many jsp pages & in every page i am using the same tag now my question is that does this session mean for every page a di

USEBEAN and DISPLAY tags

1999-10-26 Thread Telmo Sá
Hi! Are the tags writen in the subject JSP native code? I'm sorry if it sems a stupid question. I'm only asking because i could not find anything refering to this in the JSP spec. Thank you! Telmo === To unsubscribe:

API behind usebean tag

1999-11-16 Thread Bosch Ricardo
What exactly is the code a JSP page compiles when you put in a usebean tag. Like as if I was trying to use/create a session bean in a servlet. I'd also like to come up with some way to redirect a user who directly tries to go to page that uses a bean , when they should be coming f

useBean problem in JSP!!!!!!!!!

2000-03-21 Thread satya b
Hi, I have problem by using useBean in JSP,the error is Error: 500 Internal Servlet Error: javax.servlet.ServletException: Cannot create bean of class AiirDatabaseQuery at rg.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:367) at

useBean class name problem

2000-08-17 Thread Dave Lin
dear Sir, I got a problem when I use the tag, I have a bean in package com.xxx.yyy.zzz, when I write the code: <%@ import="com.xxx.yyy.zzz.*"%> it doesn't work!!! but when I use <%@ import="com.xxx.yyy.zzz.*"%> it works!! what's wrong w/ me? I use Linux + jdk.1.2.2 + tomcat, and I sure t

Re: useBean vs. getAttribute

2000-09-17 Thread Jacek Laskowski
Howard Lee wrote: > > Hi guys, > > Someone here said awhile ago that useBean and getAttribute is the same > thing. e.g. I setAttribute(someBean, "myBean") in a servlet, and then I > forward it to a JSP. Inside the JSP, I do getAttribute("myBean") and I ca

jsp in iplanet4.1 - useBean ?????

2000-10-19 Thread Venkatesh Kesavan
Please help, I am not able to get through this issue so far. I have installed iPlanet Webserver 4.1 SP3. The HelloBean.class file in the directory /usr/netscape/server4/apps/jsp/beans which is in the classpath, still I am getting this errors. HelloBean.java -- import java.io.*; pub

Re: multiple useBean II

2000-11-06 Thread V.A. Kozhevnykov
Hi Misha !! Instead of use to tags jsp:useBean use somthing like this code <% package.class1 class1 = new package.class1(); // ?? any constructor Object class2 = session.getAttribute("class2"); or Object class2 = request.getSession(false).getAttribute("class2");

problem with jsp useBean

2000-11-06 Thread Vishnu Akkaraju
Hi, i'm using tomcat in standalone mode on win 2000 for jsps. when i use jsp:useBean i get the following exception. Unhandled error! You might want to consider having an error page to report such errors more gracefully java.lang.Error: Fatal Error: missing resource: java.util.PropertyResourceBundl

jsp and useBean question

2001-03-14 Thread Carlos
in a jsp file i put: <%@page import ="Contador"%> <%String conta=application.getInitParameter("contadorDir"); String IP=request.getRemoteAddr(); %> this doesn't work why? but if i put: <%@page import="Contador"%> <%String conta=application.getInitParameter("contadorDir"); %> <% String Ip =

Re: session in useBean

2000-07-04 Thread Graham Cruickshanks
PROTECTED] Subject: session in useBean hi guys i am making site for database access i have used one connectionbean( serialized ) for connection to database now i am using the following bean tag i have many jsp pages & in every page i am using the same tag now my question is that does

Re: USEBEAN and DISPLAY tags

1999-10-26 Thread Craig R. McClanahan
Telmo Sá wrote: > Hi! > Are the tags writen in the subject JSP native code? > I'm sorry if it sems a stupid question. I'm only asking because i could not > find anything refering to this in the JSP spec. > Thank you! > > Telmo > It is not defined in the specification because it is up to

Use of USEBEAN and INCLUDEIF

1999-11-11 Thread Richard Stedham 3343
I am trying to use with Netscape Enterprise Server 4.0 and it is giving an error Incomplete tag ending of If I use instead it is okay. Is there anywhere that defines these tags, along with and ? Richard Stedham British Aerospace Tel: 0181-942-9661 Apex Tower, 7

Re: API behind usebean tag

1999-11-16 Thread Craig R. McClanahan
Bosch Ricardo wrote: > What exactly is the code a JSP page compiles when you put in a usebean tag. > Like as if I was trying to use/create a session bean in a servlet. I'd also > like to come up with some way to redirect a user who directly tries to go to > page that uses a

Re: API behind usebean tag

1999-11-17 Thread Karl Roberts
Bosch Ricardo wrote: > What exactly is the code a JSP page compiles when you put in a usebean tag. > Like as if I was trying to use/create a session bean in a servlet. I'd also > like to come up with some way to redirect a user who directly tries to go to > page that uses a

Fw: useBean class name problem

2000-08-17 Thread Dave Lin
- Original Message - From: "Dave Lin" <[EMAIL PROTECTED]> To: "A mailing list about Java Server Pages specification and reference" <[EMAIL PROTECTED]> Sent: Friday, August 18, 2000 12:06 PM Subject: useBean class name problem > dear Sir, > I got

Re: useBean class name problem

2000-08-17 Thread Yasir Feroze Minhas
Hi there, You have to specify fully qualified path for a bean class in tag y - Original Message - From: Dave Lin <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 18, 2000 9:06 AM Subject: useBean class name problem > dear Sir, > I got a prob

Re: useBean class name problem

2000-08-18 Thread Joseph B. Ottinger
This is accurate to the spec. doesn't use imported packages. Some JSP engines (GnuJSP, notably) ignore this. On Fri, 18 Aug 2000, Dave Lin wrote: > dear Sir, > I got a problem when I use the tag, I have a bean in > package com.xxx.yyy.zzz, when I write the code: > <%@ import="com.xxx.yyy.z

Re: jsp tags ( useBean & include)

2000-09-13 Thread Sunil Kumar Roy
]> To: "Sunil Roy" <[EMAIL PROTECTED]> Sent: Thursday, September 14, 2000 1:10 AM Subject: Re: jsp tags ( useBean & include) > JSWDK is an old product. You should be using one of the newer > containers, like tomcat's 3.1 (@ jakarta.apache.org) > >

Re: jsp tags ( useBean & include)

2000-09-13 Thread Martin Cooper
other contemporary container). -- Martin Cooper Tumbleweed Communications - Original Message - From: "Sunil Kumar Roy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 13, 2000 1:38 PM Subject: Re: jsp tags ( useBean & include) > Hi Edua

Re: jsp tags ( useBean & include)

2000-09-16 Thread Sunil Roy
thanks a lot. that solves my problem. sunil roy - Original Message - From: "Martin Cooper" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 14, 2000 3:12 AM Subject: Re: jsp tags ( useBean & include) > Yes, it's the reference imp

Re: jsp in iplanet4.1 - useBean ?????

2000-10-20 Thread vivek tiwari
Do the following : 1.) Put the bean in a package 2.) Include the package in the classpath 3.) In jsp reference it using packagename.classname That should do Vivek --- Venkatesh Kesavan <[EMAIL PROTECTED]> wrote: > Please help, I am not able to get through this issue > so far. I have > i

Scope attribute in useBean tag

2001-01-30 Thread Salian, Santosh (GXS, TCS)
Hi , In the following tag, Can anybody tell me what's the significance/importance of "scope" attribute ? Whats the difference between scope=page and scope=session ? Regards, Santosh === To unsubscribe: mailto [EMAIL PROT

Re: jsp and useBean question

2001-03-14 Thread Sachin S. Khanna
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 2:30 PM Subject: jsp and useBean question > in a jsp file i put: > <%@page import ="Contador"%> > <%String conta=application.getInitParameter("contadorDir"); > String IP=reque

JWS: problems with useBean tag

2000-03-23 Thread Hörður Hauksson
I just downloaded a trial version of Java Web Server 2.0. For some reason i can't get the JSP examples that include the element to work correctly. If I try to load http://machine-name:9090/examples/jsp/samples/counter/counter.jsp I get something like "This page has been accessed times. " with

question about useBean and session

2000-04-26 Thread Marco M
hi all, i am using model 2 architecture and i have a doubt about the usebean tag and session. if i forward a page to the servlet, then i create a JavaBean and i put it in the session with the value of "UserBean", when the servlet sends the request back to another page which ha

Re: Use of USEBEAN and INCLUDEIF

1999-11-11 Thread Kirkdorffer, Daniel
Sent: Thursday, November 11, 1999 3:58 AM > To: [EMAIL PROTECTED] > Subject: Use of USEBEAN and INCLUDEIF > > I am trying to use with > Netscape > Enterprise Server 4.0 and it is giving an error > > Incomplete tag ending of > > If I use > > instead

Dealing with variables within usebean tags

1999-11-29 Thread Joshua Lannin
I have a rather simple database connection bean, which I call with a 'set' method to set the query string, then call with a 'get' method to return the results. My problem is that I want to dynamically affect the query using other stored variables, such as where tablename is a variable. This w

Using UseBean tag in weblogic 4.5.1

2000-02-26 Thread vaidyanathan_g
Hi , If I have a bean as follows public class try1{ private String userName; public void setUserName(String str1) { userName = str1; } public String getUserName() { return userName ; } } In the jsp I am us

USEBEAN tag with lifespan="session" scope

2000-03-15 Thread Balasubramanian
Hi, I have tested the Bean with lifespan="page" and "application". It is working as expected. But, i am not satisfied with the output of the lifespan="session". I will explain the flow : ENTRY.JSP is the JSP program in which i am declaring the Bean with lifespan="session" SetonCreate value is

USEBEAN tag with lifespan="session" scope

2000-03-17 Thread Balasubramanian
Hi, Sorry, if you receive this mail again. I am sending this mail again as i got "mail failed, returned to sender" message. I have tested the Bean with lifespan="page" and "application". It is working as expected. But, i am not satisfied with the output of the lifespan="session". I will exp

Re: Scope attribute in useBean tag

2001-01-30 Thread Tosa, Alex
Tuesday, January 30, 2001 11:54 AM To: [EMAIL PROTECTED] Subject: Scope attribute in useBean tag Hi , In the following tag, Can anybody tell me what's the significance/importance of "scope" attribute ? Whats the difference between scope=page an

Re: Scope attribute in useBean tag

2001-01-30 Thread Peter Bishop
. Hope that helps. -Pete -Original Message- From: Tosa, Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 1:16 PM To: [EMAIL PROTECTED] Subject: Re: Scope attribute in useBean tag Santosh, What JSP book are you using? In mine they don't say anything about "scope&

Re: Scope attribute in useBean tag

2001-01-30 Thread Hung Yee
Take a look at this link for JSP 1.0 and 1.1 syntax: http://www.java.sun.com/products/jsp/technical.html -Original Message- From: Tosa, Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 10:16 AM To: [EMAIL PROTECTED] Subject: Re: Scope attribute in useBean tag Santosh

Re: Scope attribute in useBean tag

2001-01-31 Thread Ingeniero Atilio Ranzuglia Buteler
How can you say that?? The scope attribute is really important, in every jsp course it is teached. Page means scope for that page only Request means scope for the entire request Session means scope for the session with the webserver All three are for one client The last, application means for th

useBean, setProperty, and repeating form fields

2001-05-22 Thread Kevin HaleBoyes
In order to set my bean properties based on an incoming (POST'ed) HTML form, I'm using the following construct in a JSP page: It works fine except now I want to process something a little different. I'm working on an Order entry system and the Order Items are a repeating group of fields.

Re: JWS: problems with useBean tag

2000-03-23 Thread Isa Hashim
t-Transfer-Encoding: 7bit ]Date: Thu, 23 Mar 2000 16:08:38 - ]From: Hörður Hauksson <[EMAIL PROTECTED]> ]Subject: JWS: problems with useBean tag ]To: [EMAIL PROTECTED] ] ]I just downloaded a trial version of Java Web Server 2.0. For some reason i ]can't get the JSP examples that include

usebean problem, JSP Beginner, Please Help

2000-05-16 Thread Claybrook, Cecelia
my code I keep getting this error: warning (305): JSP comilation error: java.lang.Exception: JSP parse Error (line 10) - USEBEAN tag is invalid, stack: java.lang.Exception: JSP parse error (line 10) - USEBEAN tag is invalid at and then it lists a lot of paths to different http's Ce

JSP 0.92 USEBEAN - Nested vs. Indexed Properties?

1999-05-04 Thread Bruce Bantos
I am having trouble understanding what a NESTED, as opposed to an INDEXED property is in Java Beans. Here is a snip from the JSP 0.92 spec document, detailing the properties of a bean named Ticker. My questions are: In the example discussed below, if the property 'companyName[]' is just an array o

Re: Using UseBean tag in weblogic 4.5.1

2000-03-01 Thread Ted Fritsch
Try putting your bean into a package (say, package try), then placing that package dir (containing the bean classfile) into the classes directory for the server. Then, use that package name in referenceing the class in the useBean tag. I remember running into some problems on Weblogic when

Re: Using UseBean tag in weblogic 4.5.1

2000-03-01 Thread Shriver, Ryan
Is your bean in a package? I've used JSP's w/ Weblogic 4.5.1 and you must put the fully qualified name in the useBean tag. For instance: package com.simple.example public class try1{ } <@page import="com.simple.example"> Even though you put the package in the i

what is advantage of using useBean tag

2000-09-25 Thread SANDEEP UPPAL
what is advantage of using useBean tag when same thing can be done without that? regards, Sandeep Uppal === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Se

Re: useBean, setProperty, and repeating form fields

2001-05-22 Thread Hans Bergsten
Kevin HaleBoyes wrote: > > In order to set my bean properties based on an incoming (POST'ed) HTML form, > I'm using the following construct in a JSP page: > > > > > > It works fine except now I want to process something a little different. I'm > working on an Order entry system and the Order

Re: useBean, setProperty, and repeating form fields

2001-05-23 Thread Kevin HaleBoyes
8:55:00 -0700 > From: [EMAIL PROTECTED] > Subject: Re: useBean, setProperty, and repeating form > fields > MIME-Version: 1.0 > Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit > > >N

Re: useBean, setProperty, and repeating form fields

2001-05-23 Thread Hans Bergsten
Kevin HaleBoyes wrote: > > Thanks for your help. I ended up doing something similar to this. I had > intended to package the request info into the Order beans and then forward > to a servlet to do some database checking. So I reversed the order a bit > and POST to the servlet, have it construct

Re: usebean problem, JSP Beginner, Please Help

2000-05-16 Thread Pedro Meza
ion: JSP parse Error > (line 10) - USEBEAN tag is invalid, stack: java.lang.Exception: JSP parse > error (line 10) - USEBEAN tag is invalid > at > and then it lists a lot of paths to different http's > > Cecelia Claybrook > > ===

Re: usebean problem, JSP Beginner, Please Help

2000-05-16 Thread Richard Yee
Cecelia, You should not have a separate end tag for jsp:useBean. Your code should be: Regards, Richard -Original Message- From: Claybrook, Cecelia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 16, 2000 8:33 AM To: [EMAIL PROTECTED] Subject: usebean problem, JSP Beginner, Please

Re: JSP 0.92 USEBEAN - Nested vs. Indexed Properties?

1999-05-04 Thread Craig R. McClanahan
atest The variable "x" acts like an iterator through the multiple Company objects returned by the getCompany() method, and one row of the table gets created for each company. Because JSP knows that an "x" object really is

Re: JSP 0.92 USEBEAN - Nested vs. Indexed Properties?

1999-05-04 Thread Christopher Cobb
Bruce Bantos wrote: > I am having trouble understanding what a NESTED, as opposed to an INDEXED > property is in Java Beans. If a property is indexed, it can still have several different types. For example, and indexed collection of: * ints * chars * Integers * Characters * Jav

useBean : how does it get the object instance

1999-09-20 Thread Rupesh Choubey
Title: useBean : how does it get the object instance the useBean uses a Java bean and not an EJB. the javabean is a place holder for the data coming back from EJBs (potentially).. i know one mechanism the java bean instance can be sent to the jsp. *** session beans create the holder

What is the difference between Import and useBean

2000-02-01 Thread SoftLiban KEYROUZ Charbel
Title: JSP-INTEREST Digest - 30 Jan 2000 to 31 Jan 2000 (#2000-32) I am a little confused where should I use import and where should I use useBean, example: if I have a class that manipulates a string which method should I choose stringMainpulator.reverseString(astring); OR <%@ page imp

Re: what is advantage of using useBean tag

2000-09-25 Thread Rathna
hi sandeep, There are few advantages by using useBean tag over normal instance, * scope (page,request,session and application) *introspection with regards, rathna. SANDEEP UPPAL wrote: > what is advantage of using useBean tag when same thing can be done without > that? >

Re: what is advantage of using useBean tag

2000-09-25 Thread SANDEEP UPPAL
can u explain introspection what is it. regards, Sandeep - Original Message - From: Rathna <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 25, 2000 2:10 PM Subject: Re: what is advantage of using useBean tag > hi sandeep, > > There are fe

Re: what is advantage of using useBean tag

2000-09-25 Thread Ganesh N.M
Dear All, 1. How will you instantiate Bean other than "UseBean"? 2. What is Introspection? Ganesh -Original Message- From: Rathna [mailto:[EMAIL PROTECTED]] Sent: Monday, September 25, 2000 2:10 PM To: [EMAIL PROTECTED] Subject: Re: what is advantage of using useBean tag

Re: what is advantage of using useBean tag

2000-09-25 Thread Rathna
, rathna. SANDEEP UPPAL wrote: > can u explain introspection what is it. > > regards, > > Sandeep > > - Original Message - > From: Rathna <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, September 25, 2000 2:10 PM > Subject: Re: wh

Re: what is advantage of using useBean tag

2000-09-25 Thread Rathna
"Ganesh N.M" wrote: > Dear All, > > 1. How will you instantiate Bean other than "UseBean"? you can get a instance of the bean by new operator but you will lose the features of useBean. > > 2. What is Introspection? Bean introspection is d

Re: what is advantage of using useBean tag

2000-09-25 Thread Rathna
hi !, 1. you can get a instance of the bean by new operator but you will lose the features of useBean. 2.Bean introspection is done to discover what properties are present, and, for each, its name, whether they are simple or indexed, their type, and setter and getter methods. This will help

Diff. between usebean tag and normal class instantiation

2000-12-03 Thread [EMAIL PROTECTED]
Can any body explain difference between Usebean tag and instantiation of normal class, is there any difference by using usebean tag. Thnx in aadvance Srinivas Gandhari === To unsubscribe: mailto [EMAIL PROTECTED] with

useBean does not work on Jrun2.3.3 on Linux

2000-04-06 Thread Sanjay Radhakrishnan
Heres my JSP page --- Untitled <%@ page import = "americaii.chpfindr.beans.HelloBean" %> <%= test.getName() %> ------ The useBean tag doesn't seem to work. If

Re: useBean : how does it get the object instance

1999-09-20 Thread Murali Krishna Devarakonda
Title: useBean : how does it get the object instance I see the JavaBean as an extension of the JSP, i.e., it's CLIENT code. Using JavaBeans cleans up your JSP code, which should remain predominantly HTML. The useBean tag should be used just as you would use a client side javabean- to ge

Re: What is the difference between Import and useBean

2000-02-02 Thread SoftLiban KEYROUZ Charbel
It is not the style that bothers me rather what is really the difference between using import and useBean, for example useBean will instantiate the object, plus you have the ability to give it a scope and we shouldn't forget the get and setProperty.  The problem is, which is better i

Re: What is the difference between Import and useBean

2000-02-02 Thread Craig R. McClanahan
SoftLiban KEYROUZ Charbel wrote: > It is not the style that bothers me rather what is really the > difference between using import and useBean, for example useBean will > instantiate the object, plus you have the ability to give it a scope > and we shouldn't forget the get an

Re: Diff. between usebean tag and normal class instantiation

2000-12-04 Thread Ravi
through useBean u can instntiate only no arg constructor only but with <%%> u can instantiate constructors with arguments Ravi - Original Message -- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: To:[EMAIL PROTECTED]

difference between import and usebean in a JSP Page

2000-04-05 Thread Jyoti Bongarala
Hi! Listees, I have a question which is what is the difference between importing classes and the http://im.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/S

Setting the useBean class value from a sesssion variable?

2002-05-07 Thread Brian Moynihan
Hi there, Can the useBean class value be set using a variable? Our application requires that an initial servlet sets the JavaBean to be used by the JSP files as a session variable. The JSP files then get the value of this session variable and then call the bean using the I have searched the

How can one modify a USEBEAN statement at request time?

1999-05-05 Thread Kirkdorffer, Daniel
wever, when we call JSP files directly we're faced with the problem that we cannot alter the USEBEAN references at request time. Yet it would seem that this would be quite a useful thing to be able to do. So instead we have had to write things a little differently so that instead of storing separ

usebean tag : where to store the class files on tomcat

2001-02-27 Thread veena mallya
Hi, I am working on a JSP application. I NEED TO KNOW AS TO WHERE TO STORE THE BEAN CLASS FILE ON on Tomcat engine. Anybody working on tomcat out there?? Please help!! Thanks in advance, Veena _ Get Your Private, Free E

Re: usebean tag : where to store the class files on tomcat

2001-02-27 Thread Nishit Trivedi
\webapps\examples\WEB-INF\classes\ Nishit -Original Message- From: veena mallya [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 27, 2001 11:15 AM To: [EMAIL PROTECTED] Subject: usebean tag : where to store the class files on tomcat Hi, I am working on a JSP application. I NEED TO

Re: usebean tag : where to store the class files on tomcat

2001-02-27 Thread 최희탁
D]> Sent: Wednesday, February 28, 2001 1:15 AM Subject: usebean tag : where to store the class files on tomcat > Hi, > > I am working on a JSP application. I NEED TO KNOW AS TO WHERE TO STORE THE > BEAN CLASS FILE ON on Tomcat engine. Anybody working on tomcat out > there?

Re: usebean tag : where to store the class files on tomcat

2001-02-27 Thread 최희탁
D]> Sent: Wednesday, February 28, 2001 1:15 AM Subject: usebean tag : where to store the class files on tomcat > Hi, > > I am working on a JSP application. I NEED TO KNOW AS TO WHERE TO STORE THE > BEAN CLASS FILE ON on Tomcat engine. Anybody working on tomcat out > there?

  1   2   >