character to byte

2001-03-19 Thread Priya Ranjan Dash
Is there any way to find number of bytes entered in a HTML field using client side scripting??? Any help will be greatly appreciated. -Ranjan === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Fo

Re: difference between sendRedirect and forward

2001-03-19 Thread Martin Cooper
Forwards are taken care of on the server side, whereas sendRedirect sends a redirect (!) response to the client, telling it to make a request for a new URL, so it requires an extra client-server round trip to complete. -- Martin Cooper - Original Message - From: "Shawn Zhu" <[EMAIL PROT

Re: Are taglibs working in tomcat4 ?????

2001-03-19 Thread Martin Cooper
> /WEB-INF/tlds/taglib16.tld: (line 34, col -1): Element "tag" does not allow > "info" here. Let me see. This requires deep thought... Maybe line 34 is not the right place for your element? Hmm. How could we possibly check this? Well, there's that DTD thingy that's referenced at the top of the

Re: difference between sendRedirect and forward

2001-03-19 Thread Sumit Mishra
Hi, Some info about the response.sendRedirect() and jsp:forward. response.sendRedirect() will generate another HTTP request from the client's browser. This means that the servlet is actually handing over the control back to the browser and ask it to generate a fresh request. actually internally

Re: difference between sendRedirect and forward

2001-03-19 Thread A.C.
> What's the difference between sendRedirect and requestDispatcher.forward (or > )? - sendRedirect doesn't stop the execution of the page - doesn't forward the request object - writes in the history of the browser, jsp:forward doesn't (but i'm not sure about that) ===

difference between sendRedirect and forward

2001-03-19 Thread Shawn Zhu
What's the difference between sendRedirect and requestDispatcher.forward (or )? Is it getHeader("referer") will return different values? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For dig

Re: stumped on this redirect

2001-03-19 Thread Jeff Sahol
Is getContentLength() returning -1 by chance? That's what it's supposed to do when the length is unknown. You may have to getInputStream and read it in or something to determine the actual length. 3/19/2001 1:09:17 PM, Rick Reumann <[EMAIL PROTECTED]> wrote: >I'm really stumped here and would

stumped on this redirect

2001-03-19 Thread Rick Reumann
I'm really stumped here and would love some help I have a form that is submitting multipart/form-data. (user browses and selects a file from his/her drive). The problem is in this servlet it sumbits to. All I want to do is test for the content length and if greater than a certain size, cause

JavaWebServer Performance tuning???

2001-03-19 Thread naren t
Hi, Is it possible to improve the speed by setting the various parameters(in property files or any where)in Java Web Server??? How can we acheieve good performance by tuning heap size and cash size??? Could any body help me in this regards, Thanks in advance, Naren. _

A proposal to add parametric types to the Java language

2001-03-19 Thread Kelli Wiginton
= A proposal to add parametric types to the Java language The current way of implementing generic utility classes, such as Vector and Hashtable, requires many unsightly casts, which may cause run-time errors. Parametric types provide an elegant way to implement ge

Re: Accessing IMS data base

2001-03-19 Thread Brad Rhoads
You probably need to find an ODBC driver for IMS. It probably exists. -Original Message- From: JSP-INTEREST [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 4:15 PM To: [EMAIL PROTECTED] Subject: Accessing IMS data base hi all, working on line registration issue with Java and I

What is the advantage of tag libs?

2001-03-19 Thread Martin, Janet
All: We are working an app where we need to add some formatting functionality for use in all of our JSP pages. We have written a separate class (JspFormatter.java) with all the formatting methods in it. I know that tag libraries would fit right into this kind of scenario but none of the team mem

Accessing IMS data base

2001-03-19 Thread JSP-INTEREST
hi all, working on line registration issue with Java and IMS data base.. Is there any mechanisum to access IMS data base with Sql? I need to get statistics on day/week/monthly base form ims data base? If any body working on similar solutions please Let me know your ideas on this issu

How can I "uncommit" a "Committed Response" object?

2001-03-19 Thread Tim Hengst
I am calling a servlet that utilizes "com.oreilly.servlet.MultipartRequest" to post files from a jsp. However, after control returns to my jsp, my response object is "committed" (i.e. response.isCommitted() returns true). This prevents me from calling another servlet via a action since the secon

iplanet directories's structure ???

2001-03-19 Thread sufi malak
In tomcat the structure of a web applivation is : webapps\myapplication\files.jsp files.html webapps\myapplication\WEB-INF\classes\ *.classe (included servlets) webapps\myapplication\WEB-INF\lib\*.jar webapps\myapplication\WEB-INF\web.xml What are the corresponding directories for iPlanet web se

Re: Are taglibs working in tomcat4 ?????

2001-03-19 Thread sufi malak
Ok, portal.jsp : <%@ taglib uri="/WEB-INF/tlds/taglib16.tld" prefix="port" %> taglib1.6.tld : http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"> 1.1 1.1 Portal http://coldjava.hypermart.net/servlets/porttag Portal template Portal com.cj.portal.Portal empty portlets true true

Strange behavior

2001-03-19 Thread David Cate
I am using JDK 1.3 with JRUN 2.3.3 build 157. Just using ref implementation for J2SDKEE. After many tries, I receive the follwoing error: null java.lang.ArrayIndexOutOfBoundsException at com.jclark.xsl.tr.SheetImpl.process(SheetImpl.java) at com.jclark.xsl.sax.XSLProcessorImpl.par

Re: Are taglibs working in tomcat4 ?????

2001-03-19 Thread Tony Einarsson
A step forward but I am not going to shoot in the dark. Show us the complete error and the taglib16.tld file. Maybe you didn't close a tag? T. > -Original Message- > From: sufi malak [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 19, 2001 1:39 PM > To: [EMAIL PROTECTED] > Subject: R

Re: Are taglibs working in tomcat4 ?????

2001-03-19 Thread sufi malak
I did but never works, and I have now a new error : A Servlet Exception Has Occurred org.apache.jasper.JasperException: XML parsing error on file /WEB-INF/tlds/taglib16.tld: (line 34, col -1): Element "tag" does My file is portal.jsp : <%@ taglib uri="/WEB-INF/tlds/taglib16.tld" prefix= "port

Re: Are taglibs working in tomcat4 ?????

2001-03-19 Thread Tony Einarsson
Maybe you are not specifying the correct URI in the JSP file that uses the taglib. Based on your web.xml, it should be <%@ taglib uri="/WEB-INF/tlds/taglib16.tld" prefix"WhatEverYouDecideToUse" %> Keep in mind that the URI is an identifier and so the one you use in the JSP file needs to match

Tomcat / JVM pigging out on memory

2001-03-19 Thread Bill Baker
Hi all, I running tomcat 4, beta 2 on a Red Hat 6.2 machine with 256 Meg of memory. JDK 1.3. I hooked to run with Apache, so that it's possible for apache to server jsp files. I had installed some memory in my system and was taking a look a how much memory was in use by various applications...To

Re: include file

2001-03-19 Thread Rob L'Estrange
>>>Am I doing anything wrong?<<< Yes! :) Below I outline two things. Firstly, why it's wrong, and secondly, what you can do to achieve what you want to achieve. If you want to skip to the solution (the description of why it's wrong is long winded), go down near the bottom of my reply. For the p

Are taglibs working in tomcat4 ?????

2001-03-19 Thread sufi malak
I am trying to learn taglibs under tomcat4, but I got this error : A Servlet Exception Has Occurred org.apache.jasper.JasperException: File "/taglib16.tld" not found This is what I have under tomcat4 : webapps\portal.jsp webapps\first.jsp webapps\second.jsp webapps\WEB-INF\lib\porttag.jar webapp

Re: Global.jsa ?

2001-03-19 Thread Ron Quartel
take a look at http://www.orionsupport.com/clickstream/index.html It is example code using the application and session listeners available in the Servlet 2.3 specification. Your web server will need to support the 2.3 functionality. I can thoroughly recommend Orion. Ron Quartel -Original Me

include file

2001-03-19 Thread Alireza Nahavandi
Hi All, I guess we had this discussion a while ago. For passing parameter to include files somebody suggested this way : ---JSP 1 <%! String msg ="Hello"; %> --- second.jsp <%= msg %> - It still complaining that variable "msg" does not exist. Am I doing anything wr

Re: Inner scriptlet tags

2001-03-19 Thread christopher brown
I admit that the ability of ASP to mix script code and output text markup is handy... but that's much more of an issue with ASP. JSP provides and even better approach to this issue. Have a look at taglibs... This allows you to separate all your markup from logic if you wish. You can mix "outpu

Re: Global.jsa ?

2001-03-19 Thread christopher brown
Application lifecycle events, such as those defined in ASP's global.asa file, should be implemented (although not identically) in the Servlet2.3 / JSP1.2 API. See: http://developer.java.sun.com/developer/technicalArticles/Servlets/servletap i2.3/ This should be released very soon, and be in Tomca