Re: City, State and Country

2001-08-21 Thread Steven Elliott
on 22/08/2001 05:26, Dinesh Somasundram at [EMAIL PROTECTED] wrote: > Hi All, > > With regards to my previous question about City, State and Country (which is > way off the JSP topic), Mio-Nino P. Marquez pointed me to > http://www.devshed.com/Server_Side/MySQL/JS_Arrays/. This is a PHP and MySQL

Re: Problems with adding files to a DB and uploading files

2001-08-21 Thread Mattias Jiderhamn
> This is to inform that solved the problem of executing two action (of two > forms) at the same time. > > YES, it does work. I had to forms one doing update in a database via a URL > that executes a servlet, and the other was doing upload of files. They both > work great, however aftter hours I

Re: Error in setting error-code in web.xml

2001-08-21 Thread bipin_jsp
Dear Rishabh thanx u'r suggestion is working right now in IE5.0 and Netscape tell me where it is documented. thanx again bye, from bipin - Original Message - From: Rishabh Agarwal <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 17, 2001 1:43 PM Subject: Re: Error in set

City, State and Country

2001-08-21 Thread Dinesh Somasundram
Hi All, With regards to my previous question about City, State and Country (which is way off the JSP topic), Mio-Nino P. Marquez pointed me to http://www.devshed.com/Server_Side/MySQL/JS_Arrays/. This is a PHP and MySQL combination. Something that I was quite good at, before jumping off to JSP.

City, State & Country

2001-08-21 Thread Dinesh Somasundram
Hi All, This is a little out of the regular JSP topics. But I'm sure some of you might have encountered this, so your advice is deeply appreciated. In my application, I need to have 3 combo boxes, City, State & Country. First, is it better to have three database table - City State & Country or s

BEA Tuxedo?

2001-08-21 Thread Sharath Paul
Hi Guys, Can anybody help me in knowing any news groups that support BEA's Tuxedo. Is anyone working on Tuxedo 8.0 as I have problems in bringing up the administrator console of Tuxedo on Windows NT. I have looked into BEA's all support web sites and online documentation but was not able to brin

Re: How to install TomCat on Windows 2000??

2001-08-21 Thread Anderson Wayne
just add the line "set JAVA_HOME=c:\jdk1.3.0_02" to your startup.bat file in the bin directory and it should work. I made no changes to my autoexec.bat and it runs fine. >>Date:Tue, 21 Aug 2001 19:53:52 -0300 >>From:Clair e Simon <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>CC:

jsp:usebean and Exceptions

2001-08-21 Thread Jann VanOver
When I use jsp:usebean and my code throws a specific Exception, this exception is never seen by the JSP file. Instead, I get a general Exception from the bean tags. Can anyone tell me if there's a way to throw a specific exception from bean code that can be seen from the JSP? Here's an example,

How to install TomCat on Windows 2000??

2001-08-21 Thread Clair e Simon
Hi everybody,   I did install the new versions of jdk and TomCat on my computer (Windows 2000). But nothing work. I try to use TomCat, but it stay close even if i press startup. Also, I can't give memory for him to run, I don't have it in the program. I did open autoexec.bat and add those li

Re: Developing for scalability..HttpSession fail-over...

2001-08-21 Thread Duffey, Kevin
Not sure what you mean? How does using EJB help in front-end session level fail-over? Most EJB containers that I have seen don't support statful fail-over. If you move statefullness to the EJB, you still need a way to loadbalance between at least two servers AND have ejb statefull fail-over as wel

Re: How can i pass the value(object) in jsp to javabean ?

2001-08-21 Thread Shawn Zhu
your exerBeanId is not instantiated, hence the NullPoint Exception. the exerBeanId from ** is not the same in <% ... exerBeanId.setValues(v); ... %> They are of different scope. It's been discussed in the JSP-Interest Archive. -Original Message- From: Carl Song [mailto:[EMAIL PROTECTED]

A redirect issue?

2001-08-21 Thread Rick Reumann
Has anyone ever experienced extremely slow redirect issues using NS 4.08 the stand-alone browser? It hangs forever on any redirects using JRun app server and JRun's default web server. Works fine under IE and NS full version. I'm not terribly concerned with this unless it's possible I'm doing some

Re: Developing for scalability..HttpSession fail-over...

2001-08-21 Thread Shawn Zhu
That's one reason to use EJB. =) -Original Message- From: Kevin Duffey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 9:50 AM To: [EMAIL PROTECTED] Subject: Developing for scalability..HttpSession fail-over... Hi all, Just wanted to see if anyone has developed an application

Re: Tag libraries and jsp:getProperty

2001-08-21 Thread Hans Bergsten
Dave Potts wrote: > > [...] > >You are trying to use a JSP action element to set the attribute value of > >another custom action, and that is not allowed according to the JSP spec. > >You must use a JSP expression to set the attribute value instead: > > > > > > > >Most likely you're confusing thi

Re: Debug a jsp with coldfusion studio 4.5

2001-08-21 Thread Jann VanOver
You can't. JRun Studio can do some java/JSP tasks, but CF Studio is only good for editing code. -Original Message- From: Pablo Sanchez [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 10:58 PM To: [EMAIL PROTECTED] Subject: Debug a jsp with coldfusion studio 4.5 Hi, how can i c

Re: Is it Possible to add dynamic string in ????

2001-08-21 Thread Kevin Duffey
I forget..but I "think" you can not do this. The is a compile time feature..meaning when the JSP page is turned into a .class file, this value turns into something like: ClassName className = null; if( session.getAttribute("className") == null ) { className = Class.forName( ClassName ); sess

Re: FW: What is equivalent of EJB in ASP?

2001-08-21 Thread Haseltine, Celeste
How can you be programming JSP's/Servlets without any knowledge of object oriented concepts and design? Unless you learned those concepts first by programming in pure Java, and bypassed learning C++. If not, I'm not surprised that you are having some difficulties. It sounds like your employer h

Re: Javascript that Refresh when open a new window

2001-08-21 Thread Duane Morse
Add a variable to the URL with a random number as the argument; that will force the browser to fetch a new copy of the page, and it gets around most caching problems. -Original Message- From: Orozco, Juan Carlos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 9:24 AM To: [EMAIL

Developing for scalability..HttpSession fail-over...

2001-08-21 Thread Kevin Duffey
Hi all, Just wanted to see if anyone has developed an application that works and is HttpSession fail-over safe. In other words, your web.xml has the tag, and you can successfully deploy the application into a container and handle session level fail over so that if one of two (or more) servers cr

Re: Problems with adding files to a DB and uploading files

2001-08-21 Thread Pantarotto, Sio
Hi everybody, This is to inform that solved the problem of executing two action (of two forms) at the same time. YES, it does work. I had to forms one doing update in a database via a URL that executes a servlet, and the other was doing upload of files. They both work great, however aftter hour

Re: FW: What is equivalent of EJB in ASP?

2001-08-21 Thread Rohit Kuttappan
Thanks for your insight, Celeste. I don't have much knowledge of C++, though I know C. Could you please point me to some resources on COM/DCOM and ActiveX. Thanks Rohit. - Original Message - From: "Haseltine, Celeste" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, 21 August,

Javascript that Refresh when open a new window

2001-08-21 Thread Orozco, Juan Carlos
Hi...!! I have a link that open a new window... but this new window show the last version of the page and that's to bad, because it's a shopping cart...and the user have to refresh the page to see the new items added.. any suggestions? thanks ===

Re: sql server insert (ADO... or equiv)

2001-08-21 Thread Haseltine, Celeste
Nasser,   At one time, there was some talk of a JDO library on the Sun site, but I'm not sure where that discussion has lead to.  I too am currently developing a JSP application using SQLServer 7.0 (and boy do I wish I could use Oracle!!!).  I purchased a third party JDBC driver (Type IV), but

Re: sql server insert (ADO... or equiv)

2001-08-21 Thread Nasser Dassi
Hi Greg,   As Ashish brought up, used PreparedStatement.  The overall idea is to use SQL Server's stored procedures, which accept values from the calling tier (front-end, or middle-tier).  In ASP it's quite simple, using ADO's capabilities.  Is there a JSP or Servlet equivalent, is the quest

Securing jsp project

2001-08-21 Thread SriHari
Hi all Its Urgent ;-( Can any one give me some tips on securing my project ( jsp,Beans) i will be using tomcat /iPlanet server for the purpose Please give me tips on hiding or encoding data at system level(application/system parameter files etc) Regards Sri Hari ===

Re: Off Topic: multiple file find/replace

2001-08-21 Thread Christian Roslawski
Hi Joel, http://www.unixgods.org/~tilo/replace_string/ Chris > Hi, > > This is slightly off topic, but does anyone know of a utility that runs > under Linux which will enable find / replace action over multiple files. > My directory structure changes, and I have to go through all my java > f

Off Topic: multiple file find/replace

2001-08-21 Thread Joel Carklin
Hi, This is slightly off topic, but does anyone know of a utility that runs under Linux which will enable find / replace action over multiple files. My directory structure changes, and I have to go through all my java files changing the package statement. A tool to help me with this would be

How can i pass the value(object) in jsp to javabean ?

2001-08-21 Thread Carl Song
Hi everybody out there!!! I'm very new to JSP and not really efficient with Java either. but here I'm tring to pass the Vector object in JSP page to Bean in order to carry out database insertion. >From Vector object i'm intending to get values for insert. Does anybody know how to pass the values

Re: Is it Possible to add dynamic string in ????

2001-08-21 Thread Geert Van Damme
PLEASE PLEASE! Don't do this <%! String cname %> <% cname = request.getParameter("cname"); %> Instead use simply <% String cname ; cname = request.getParameter("cname"); %> I really don't know why you're using <%! %> tags here. What's more, it's completely wrong. Don't ever store

Re: Problems with adding files to a DB and uploading files

2001-08-21 Thread SriHari
Hi Patrick The solution for this is to seperate the multipart/form-data with your other variables u have to either upload the file(only) first and then send the other form variables using sessions or some other method (or) --- as far as my knowledge there is no other method than these BestOfLuck

Re: What is equivalent of EJB in ASP?

2001-08-21 Thread JSP Insider
Currently, There is no real way to make something like an EJB in ASP. You can make Com objects and begin to approximate an EJB but it really doesnt come close currently. However, ASP.net the rules change quite a bit and I am beginning to dig into ASP.net, After playing with C# I have seen you ca

Problems with adding files to a DB and uploading files

2001-08-21 Thread Patrick Fong
Hi I have a JSP which has three forms in it. One form which has the normal encoding scheme (ie application/x-www-form-urlencoded), the other which is where the file element is at has the encoding scheme of (ie. multipart/form-data) and the other has just one element which is the button which call

content type

2001-08-21 Thread Christophe Geraud
Hello, With a Jsp file I create a csv file wich is downloaded to the client side. Here is the beginning of the jsp file : response.setContentType("application/vnd.excel"); response.setHeader("Content-Disposition", "attachement;filename=mesures.csv"); out.println("BOF;"); After the data

Is it Possible to add dynamic string in ????

2001-08-21 Thread Rajinder Sandhu
Hi all, if i get a srint and assign it to a String variable like this : <%! String cname %> <% cname = request.getParameter("cname"); %> now can i add this dynamically to the usebean tag like this : right now i am getting this error. If this cant be implemented like this, any suggestions on

Re: Tag libraries and jsp:getProperty

2001-08-21 Thread Robert Nelson
Dave, It is not just theory, and it does work.  Try using <%= name %> instead of <%name%>.  That should solve this problem for you.  Take care.  Rob >From: Dave Potts <[EMAIL PROTECTED]> >Reply-To: Dave Potts <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Tag libraries and jsp:getP

Default values of tag attributes

2001-08-21 Thread Mattias Jiderhamn
I just noticed that tag attributes sometimes are "buffered". So if I set the attribute to the same value in several calls to the tag, the attribute isn't actually set again. Assume: In this case the id is set only once for "one", the size is set for every tag (?) and hidden is set once. (I h

Re: Possible to add dynamic string in an include directive?

2001-08-21 Thread xgao
- Original Message - From: "Hans Bergsten" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 5:58 AM Subject: Re: Possible to add dynamic string in an include directive? > "Duffey, Kevin" wrote: > > > > Hi all, > > > > I am including a header and footer on every

Re: Tag libraries and jsp:getProperty

2001-08-21 Thread Dave Potts
>Dave Potts wrote: >> >> I have attempted to supplyu the input from a bean via jsp:getProperty to a >> custom tag. >> >> > property="address" >> />"> >> >> The syntax of double quote marks is correct according to the Hans Bergsten Ja