Re: What's going on with web.xml ?!

2001-04-24 Thread Michael Sweeney
Chris, I'm not sure I understand what you are doing exactly. You've mentioned that you put a copy of the default web.xml file in your application directory, but you have mentioned that you edited the file to reflect your application, so I'm beginning to guess that you haven't done that. If you

Re: Question on Redirect and Parameter passing to a jsp page

2001-04-12 Thread Michael Sweeney
At 09:17 AM 4/12/01 -0700, you wrote: -Original Message- On Question 1: Since a.html one of the frame pages so when redirected, b.jsp sqiushed inside the frame What I really want is to have b.jsp completely leaving the frame pages and pops up a full browser window. I tried the

Re: JAVASCRIPT PROBLEM

2001-04-05 Thread Michael Sweeney
The only time you can close a window without the alert dialogues is if your script has opened the window. If you try to close a parent window or an unrelated window with a script, it will always present the dialogue. It's a security thing. Michael At 11:49 PM 4/4/01 -0600, you wrote: Hello.. I

Re: How can I catch an JSP error ????

2001-04-05 Thread Michael Sweeney
Remember that when the form is submitted, it always sends data as a string in any case, no matter what the user enters. You have to use Integer.parseInt(request.getParameter('paramName') to make the value an int anyway. You might also want to check the form input with some javascript to make sure

Re: How can I catch an JSP error ????

2001-04-05 Thread Michael Sweeney
At 10:32 PM 4/5/01 +0530, you wrote: Hi, But Micheal if u use setProperty the conversion from string to int would be automatically done if the value entered is a numeral. I think this is one of the intospection features. pls correct me if i am wrong. John It's more likely that I am wrong (or at

Re: (OT) HTML validation best practices

2001-02-27 Thread Michael Sweeney
Check into www.webstandards.org and www.alistapart.com - you can get some pointers there regarding writing valid HTML to current standards. .michael. At 04:40 PM 2/27/01 -0500, you wrote: I know this is off topic so please - no flames. I also know that everyone reading this works the web

Re: jsp object(Param) and javascript

2001-02-01 Thread Michael Sweeney
Look into Rhino (http://www.mozilla.org/js/) and BSF (http://oss.software.ibm.com/developerworks/projects/bsf) through which you can expose the Java API to javascript and evaluate js code on the server. .michael. At 12:44 PM 2/1/01 -0600, you wrote: ok, hmm, I see what you are saying, but

Re: Can JavaScript access JavaBeans?

2001-01-11 Thread Michael Sweeney
Check out the Bean Scripting Framework from IBM - it's an open-source initiative to provide an architecture for integrating scripting languages (JavaScript, Jpython, Jacl, VB, etc) and servlets. I'm working with it some now, but I haven't mastered the niceties yet.

Re: save report

2001-01-05 Thread Michael Sweeney
If you mean you want to save the report on the client system, no you can't do that. JSP pages (or anything else for that matter) have no access to the local file system. Your best bet might be to save the report (or the parameters that generated it) to the server as an html file or a database

Re: classpath

2001-01-04 Thread Michael Sweeney
I'm not a DOS guy, but you probably need to lose the space after the semi-colon. I think it needs to be an unbroken string. .Michael. At 04:46 PM 1/4/01 -0500, you wrote: OK, so, correc me if I'm wrong, but shouldn't CLASSPATH=E:\jdk1.3\lib; e:\mysql be a valid classpath? For some reason JSP

Re: How to set resultSet size

2001-01-02 Thread Michael Sweeney
This is actually a SQL question instead of JDBC - if your database engine supports it, you can use the LIMIT parameter to your select query which will limit the result set to the specified number of responses. Check your database engine documentation for details. Michael At 12:32 PM 1/2/01