Re: Passing Value from one frame to another

2000-10-30 Thread Sven van 't Veer
"Mukka, Srikanth" wrote: > > Hi All, > > I have two frames,frame1 and frame2, I am displaying one a.html in frame1 > and b.html in frame2. User selected value from the list box from a.html and > depending on the value selected in a.html, I want to display the values in > frame two using b.html. I

Re: auto-compile of JSP

2000-10-27 Thread Sven van 't Veer
ninewest wrote: > > I'm working on some software that creates/deploys JSP files automatically > from an external source. Some servlet/app server engines (ie Weblogic, > others?) > have flags that allow the engine to compile all JSP files on startup. However, > if new JSP files are put down while

Re: errror when compilation

2000-10-27 Thread Sven van 't Veer
Camilla Straubel wrote: > > Hi > > When a compilationerror in the jsp-page exists the error page (that I have > specified) are not called. Is there a way to do this? > A compilation error is just that, a compilation error. Since the server is not able to compile the page correctly and create the s

Re: Dynamic Array Storage

2000-10-20 Thread Sven van 't Veer
Dennis Leary wrote: > > Tried to use the session object but. it wouldn't take. > > session.setAttribute(data, datalist) > > where datalist is datalist[][] > > I had error saying that HttpSession does not support it. > That's funny. Must be a bug somewhere in HttpSession.setAttribute(String, OB

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread Sven van 't Veer
T A Flores wrote: > > I think it would not necessarily be a dangerous thing to do. The > question you need to ask yourself is whether or not this is the right > thing to do. It is much easier to be security conscience then to add a > weakness to the system from the word go. I personnally would

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread Sven van 't Veer
Michael Donnelly wrote: > > If you're worried about the session data being compromised or otherwise > stolen, you could just hash it. MD5 the user's password at login and store > the hash. Then when you need to re-prompt the user, hash the answer and > compare. That way the password can't be ri

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread Sven van 't Veer
Lorena Carlo wrote: > > Hello all, Thanks for the answers, but you haven't really answer me if it is > dangerous to do this or not. The reason why I want to do this is for > validating a user after he has accessed the program, I want him to re-enter > the password for some operations, and I don't

Re: OK this is getting rather annoying ... List administratorpleaseread.

2000-10-14 Thread Sven van 't Veer
Navpreet wrote: > > I second all of whats written here and feel the same way! > Navpreet > Me too. But there is more.. I've seen people asking for a return reciept... -- == Sven E. van 't Veer http://www.cachoeiro

Re: Stored Procedures

2000-10-12 Thread Sven van 't Veer
Venu Gopal wrote: > > Hi Karau, > > Thanks for your reply.. > > I need to know a bit more on this.. > > 1. Which one will perform better in terms of getting > data from the database? The stored procedure one or > the JDBC query one? The stored procedure is supposedly better in performance. > 2. Wi

Re: Stored Procedures

2000-10-12 Thread Sven van 't Veer
"Karau, Joe" wrote: > > Stored procedures will be more efficient then using JDBC and directly > running queries. However, the difference may not be noticed unless a large > and complex query was performed. The reason that stored procedures are more > efficient, is that they are stored in the dat

Re: Session Behaviour

2000-10-09 Thread Sven van 't Veer
Sundeep Goswami wrote: > > > I have been trying to understand why this is happening for the past two > days. Can someone please help me with this, > I am using iPlanet6.0 and iWS4.1 on NT. > I've seen this on the Inprise App Server list too. The response from Borland was that request.getSession(bo

Re: off-topic

2000-10-03 Thread Sven van 't Veer
Alper ASLAN wrote: > > bak uður kardeþ bu sorunu jsp intereste atma olum ... Bu applet problemi bak > rezil etme bizi tüm dünyaya ... > I'd like some of that too ;-) -- == Sven E. van 't Veer http://www.cachoeiro.n

Re: cannot run jsp in tomcat

2000-10-02 Thread Sven van 't Veer
michael Smith wrote: > > Hi, > I just insatlled tomcat3.1 in windows 98, I can run the servlet examples at > http://localhost:8080/examples/ , but however I cannot run > the jsp examples, it give me classnot found errors int the tomcat console. > I have added JAVA_HOME and TOMCAT_HOME environmen

Re: including servlet output in jsp file

2000-08-17 Thread Sven van 't Veer
have to work with the relative URL. try calling the servlet like this: sven -- ========== Sven van 't Veer http://www.cachoeiro.net Ja

Re: java function

2000-08-17 Thread Sven van 't Veer
Maciej Tylczyñski wrote: > > Hi > > I sthere any way to declare java function in jsp and then call it from > button's onClick method ? > Thanks No. sven -- ========

Re: JDBC - recordcount

2000-08-16 Thread Sven van 't Veer
esultSet beyond FETCH_SIZE. Sven -- ========== Sven van 't Veer http://www.cachoeiro.net Java Developer

Re: JDBC - recordcount

2000-08-16 Thread Sven van 't Veer
ast(); rows = rs.getRow(); rs.beforeFirst(); Much faster would be to do a "select count() from table where blablabla" before you get your resultset. sven -- ========== Sven van 't Veer

Re: JSP and ASP

2000-08-03 Thread Sven van 't Veer
that with asp. sven -- ========== Sven van 't Veer http://www.cachoeiro.net Java Developer [EMAIL PROTECTED] _/_ The answer

Re: Session ID HELP!!

2000-08-02 Thread Sven van 't Veer
created it somewhereelse , it's gonna be the same number.. >maybe you can explain me a bit more what is > > going on behind.. thank you so much Dont you think the word "session" explains it all? Sven -- ===========

Re: Dynamic population of list box

2000-08-02 Thread Sven van 't Veer
ean.select(((Integer)clientes.get(i)).intValue()); %> <%=clienteBean.getNome()%> <% } %> In this case, I retrieved the pri key for my clients as an ArrayList(clientes) from my EJB. sven -- ========

Re: EJB cached

2000-08-01 Thread Sven van &#x27;t Veer
27;re using. It might also be that the ejb is an entity bean, which again might depend on the vendor implementation. sven -- ========== Sven van 't Veer

Re: Comments for C# / VB Gen Next?

2000-07-22 Thread Sven van &#x27;t Veer
VM. sven -- ====== Sven van 't Veer http://www.cachoeiro.net Java Developer [E

Re: who is the leader : Tomcat, Resin, orion, websphere ????

2000-07-12 Thread Sven van &#x27;t Veer
"RICHARDSON-SIMON (IT)" wrote: > > Is there a link for orion / resin? www.orion.com -- ============== Sven van 't Veer http://www.cachoei

Re: who is the leader : Tomcat, Resin, orion, websphere ????

2000-07-12 Thread Sven van &#x27;t Veer
>it doesn't rely on anything else than standards! The docs could be better though. sven -- ============== Sven van 't Veer http://www.cac

Re: Using Runtime.getRuntime().exec() function

2000-07-11 Thread Sven van &#x27;t Veer
ot;. Then in your app call the batchfile. sven -- ========== Sven van 't Veer http://www.cachoeiro.net Java Developer [EMAIL PROTEC

Re: howto get Number of rows

2000-07-11 Thread Sven van &#x27;t Veer
(); rset.getRow(); sven ============== Sven van 't Veer http://www.cachoeiro.net Java Developer [EMAIL PROTECTED] _/_ The answer / \

Re: Image Size (+ code)

2000-07-04 Thread Sven van &#x27;t Veer
} while (c == 0xff); return c; } public int getHeight(){ return _height; } public int getWidth(){ return _width; } } -- == Sven van 't Veer http://www.cachoeiro.net Java Developer

Re: why bean can't have a constructor

2000-07-04 Thread Sven van &#x27;t Veer
Veena wrote: > > Bean can have a constuctor with no args... > It MUST have a constructor with no args. It may however have various constructors with lots of different args. These however will never be called when the bean is created by the http://www.cachoeiro.net Java Developer

Re: JavaScripts : Wanna disable viewing source of the page...

2000-07-01 Thread Sven van &#x27;t Veer
> > Not to run this 'silly' subject into the ground, but you could launch a > menu-less window with the gifs > and disable right-click. You forget TELNET, such a nice protocol. sven -- =========

Re: any function in java.sql to give no of rows?

2000-06-30 Thread Sven van &#x27;t Veer
this: r.last(); r.getRow(); sven -- ========== Sven van 't Veer http://www.cachoeiro.net Java Developer

Re: Sessions/Cookies do not work in IE5!!!!!!

2000-06-28 Thread Sven van &#x27;t Veer
ageContext or null As I understood from the docs, JSP always creates a session object. Hope this helps Sven -- ============== Sven van 't Veer

Re: Way to detect which browser

2000-06-25 Thread Sven van &#x27;t Veer
"Aggarwal, Pawan" wrote: > > Hi All, > > Is there any program which can detect what browser and what version is one > using... > so that to work out different javascript for them.. > Javascript === To unsubscribe: mailto [EMA

Re: Values Passing Through Session

2000-06-24 Thread Sven van &#x27;t Veer
> We have emptied the IE cache even it did'nt help. >Is there any thing wrong in our apporach? I wish somebody has > encountered this sort of problem. We have not been able to diagnose the root > cause. Is it the browser specific? I've seen the same problem. I think it's IE.

Re: Dynamic Contextual Menus Using Javascript

2000-06-22 Thread Sven van &#x27;t Veer
job job wrote: > > I need to be able to show dynamic contextual menus on mousedown using > Javascript. Is there a way to do this on Netscape and IE. > > Thanks, > > Rahul I think there is, I've just done this with menu's and buttons using a database. When the page is requested, several layers are

Re: JSp debugger and EJB editor

2000-06-14 Thread Sven van &#x27;t Veer
Ritesh_Srivastava wrote: > > > Is there any debugger available for jsp pages. > > At the same time can anybody suggest about a good EJB editor. > > Forte has it all. Look at the sun site sven === To unsubscribe: mailto [EMAI

Re: uploading a file

2000-06-14 Thread Sven van &#x27;t Veer
Sivakumar Sankarasubramanian wrote: > > Hi , > > This automatically saves the file/files in the default root directory. > "." is the root and 5*1024*1024 indicates the max size of file. > I'm pressty new to JSP, but in servlets, I'd do exactly what you do in your jsp code. To place the file in