Re: JSP Parsing error

2001-09-28 Thread Lance Lavandowska
It looks like laboratory:laboratory actionPerformed has been defined such that it does not allow <%= %> as an attribute value. Check the tld for the taglib if true for this tag then what you did should work, if false then it'll only take a straight string: actionPerformed="didThis" Lance >

RE: JSP Parsing error

2001-09-28 Thread The elephantwalker
Althought it doesn't look it, this needs a Tag Extra Info (TEI) stuff included. A tag can't use request time variables unless TEI is used. Here is the tutorial for this: http://www.orionserver.com/taglibtut/lesson5/ To get around this, just use the actual value for LaboratoryTag.ADD_LABORATORY.

JSP Parsing error

2001-09-28 Thread Marcin Jarzab
I'm using in my pages taglibs which get parameters during invoking them on JSP page like: and during parsing I get error: -- Error parsing JSP page /webcomp/admin/add_laboratory.jsp <%=LaboratoryTag.ADD_LABORATORY%> is a request-time attribute (invalid for this

Re: Sessions Problems...........

2001-09-28 Thread Stephen Davidson
That would be the place to start. Unlike C/C++ where the keyword "static" denotes a private variable, a static variable in Java is shared among all instances of the class. This includes instances of subclasses. So if one instance of a class changes the value of a static variable, all the other

RE: DAO design..

2001-09-28 Thread Dean Parker
Go to http://java.sun.com/j2ee/blueprints/ to begin your research. Download, examine and install the Java PetStore sample application. It is founded on the concept of DAOs.   1) DAOs are plain java classes. They isolate DB connectivity from the rest of your design. 2) Any additional Finder fu

RE: QUESTIONS ABOUT MANAGING SECURITY

2001-09-28 Thread Emeline Barns
This exception is thrown when you use method that throws this exception, so as with any exception you have to put this method in try{} block and in catch(e com.evermind.server.rmi.OrionRemoteException) {} put method that shows the user message about lacking of security permissions. This is my opin

RE: DAO design..

2001-09-28 Thread Shields James
Prashant 1. A DAO is used to do BMP, and is a regular Java class. Instead coding JDBC calls directly in your EJB (find, create, store, remove), you put them in a DAO which you call from your EJB. 2. A DAO can contain multiple SQL statements, including various SELECT, INSERT, UPDATE, DELETE. For

Re: question about object pool

2001-09-28 Thread Boris Erukhimov
Looks like what you really need is to make these methods static and not bother with object instance at all. Jirka Vorac wrote: > > Hi, > > this question is not about Orion. I hope you'll answer it. > > I don't know when to use object pool. > > Following scenario is what I need, but I'll be ha

Sessions Problems...........

2001-09-28 Thread Rajiv R
We see when 2 ppl login at the same time, we see that one persons data get reflected in the others. !!! this happens only in module and not in the others   this module which gives probs, we have used some static variables... is that the reason ?   thanx     With Regards,Rajiv. RS

RE: QUESTIONS ABOUT MANAGING SECURITY

2001-09-28 Thread Johan Fredriksson
Try setting up an errorpage for the error   com.evermind.server.rmi.OrionRemoteException   //Johan -Original Message-From: David Bonilla [mailto:[EMAIL PROTECTED]]Sent: den 27 september 2001 12:56To: Orion-InterestSubject: QUESTIONS ABOUT MANAGING SECURITY I have implement

DAO design..

2001-09-28 Thread Prashant Gaikwad
Hi, I want to use DAO to access data in design. I have the following doubts and need to understand the concept :- Requirement is that session beans encapsulating business logic needs to access access database through DAO object/objects. 1.) What is DAO object suppose to be ? session/entity bea

question about object pool

2001-09-28 Thread Jirka Vorac
Hi, this question is not about Orion. I hope you'll answer it. I don't know when to use object pool. Following scenario is what I need, but I'll be hapy to hear more about pooling. I only know one reason for pooling. It is decreasing time of creation. I have class providing some methods. Metho