Re: " UPLOAD of FILES " in JSP/SERVLETS

2000-11-17 Thread Daryani Santosh
Sunil, Here's the code for uploading files //Example //c:\projects\java HTTPPostClient c:\adm2fp\SS00_2000_08_10_01.xml import java.net.*; import java.io.*; public class HTTPPostClient { /* * usage *--

Re: Include Question - JSP

2000-11-17 Thread Florian Falkenstein
Yes, it's possible. But You have to add flush="true" (mandatory in JSP1.1) : > Hi all! > > How do i to put a <%= expression %> in the page value? > > > <%String file = "file.jsp"%> > > > is posible to do it? > > the error is in winNT + jswdk1.0.1: > > com.sun.jsp.JspException: Invalid jsp:inc

Elizabeth Castro books... look pretty good

2000-11-17 Thread Robert Nicholson
Hi there, I've got a few books of late particularly from WROX and whilst they have good content they aren't all that useful as they weigh so much and take up so much space. In a couple of weeks I'm going to Thailand for a couple of months and I think I'm going to take the Quick start visual guides

Re: where to put bean class files in weblogic

2000-11-17 Thread Dengler Martin
please provide more info send us the exact useBean - Tag in your jsp-source Greetings md -- Sent through GMX FreeMail - http://www.gmx.net === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For

Re: Charsets

2000-11-17 Thread Craig R. McClanahan
Dario Andrade wrote: > Can anyone recommend me of a good Java programming mailing list, I dont > want to clutter the list with non related JSP questions... > > The question is: How can I understand a little bit more about charsets? I > seem to be confused about how it converts characters

Re: (Off Topic)Javascript: enter event in Javascript

2000-11-17 Thread Dean Sacramone
Put this for the "open window" function. The names are arbitrary, but I like medievel names. put the focus in a setTimeOut cause microsoft will not work otherwise assuming the popup is more than just text (graphics) etcat least I have found.buggy function launchstatement() {

Re: Which is the best framework WebMacro, Struts, or Tapestry?

2000-11-17 Thread Hans Bergsten
Peter Pilgrim wrote: > [...] > I hope Jason does into the philosophies in detail. Mind you there is JSP book > coming out from O'Reilly, any one seen that book and whether it discuss the issue > of frameworks and MVC in general. [...] I've seen it; actually, I wrote it ;-) I cover the MVC model,

(Off Topic)Javascript: enter event in Javascript

2000-11-17 Thread Lorena Carlo
Hi all, Sorry for writting this off topic mail, How can I know when a user has pressed the enter key, which is the name of the event in javascript?. Also, is there a way with javascript, to generate a child window from another, and that this child window appears centered on the monitor, for wich

JavaBeans - a little off of the topic

2000-11-17 Thread Shirley Chen
Hi everyone, Sorry for the off topic. Today I try to learn JavaBeans. I downloaded jdk1.2.2 and bdk1.1. Then I follow the readme file on bdk1.1 to try to hook the juggler bean and two ourButton beans. I followed the instructions exactly as follow: 1. Start the BeanBox. 2. Drop a Juggler Bea

illegalstateexception

2000-11-17 Thread Aravind Saraff
Hello, I have a servlet that receives a logout information from a jsp, invalidates it and invokes a logout (a jsp) page. The logout page just displays "successfully logged out" message. After some time it needs to invoke a start page, say index.html. Now if I include the forwarding info in tag of

" UPLOAD of FILES " in JSP/SERVLETS

2000-11-17 Thread Sunil Roy
Dear JSp Gurus, Is their any site giving the sourcecode for " UPLOAD of FILES " in JSP/SERVLETS." Thanks in anticipation Bye Sunil Roy === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For di

Problem Calling the Same JSP repeatedly

2000-11-17 Thread Sunil Roy
Dear Jsp Gurus, I am having the following problem while trying to call a jsp file from within itself, repeatedly. The flow of the program is as follows: I am forwarding some Attributes including a double dimension array ( of image nos. & their descriptions ) from a servlet " ConnectionPoolSe

Where to put the Method in Bean?

2000-11-17 Thread Ganesh Mohan Rao
Hi all, I want to know this. When I am calling a Bean for the first time. That is at the time of loading the Bean I want to fire some method. I will use that method's return values in my get, set Methods. That is like this. class Bean { String Filename; Hashtable ht;

Re: 600MHz celeron laptop, good enough for webservers?

2000-11-17 Thread Duffey, Kevin
Well, a 600Mhz celeron is definitely workable. I recall when I first got on the internet the ISP I was with way back then had a P133 with 32MB of ram running, handling 5000 users to their web server. Maybe not all at once..but it was pretty impressive compared to today's requirements. Here is wha

request object

2000-11-17 Thread Pablo Iaria
Hi all, I need to store some values in the request object from a servlet. Do I need a custom Request object, any ideas of how to do that ? Thanks in advance, Pablo.- === To unsubscribe: mailto [EMAIL

Re: Which is the best framework WebMacro, Struts, or Tapestry?

2000-11-17 Thread Peter Pilgrim
-- Peter Pilgrim G.O.A.T "The Greatest of All Time" -- Forwarded by Peter Pilgrim on 17/11/2000 17:19 --- From: Peter Pilgrim on 17/11/2000 17:19 To: "A mailing list for discussion about Sun Microsystem's Java Servlet API Tec

Secondary HTML element that depends a primary element

2000-11-17 Thread Peter Pilgrim
Guys & Dolls Can JSP help me with a spec rquirement? I have a HTML Screen with two pulldowns ... Let's call the first one "country" and fill with { united kindom, france } Let's call the second one "city" and fill with either { london, manchester, glasgow, cardiff, belfast } or { paris, nice, ly

Charsets

2000-11-17 Thread Dario Andrade
Can anyone recommend me of a good Java programming mailing list, I dont want to clutter the list with non related JSP questions... The question is: How can I understand a little bit more about charsets? I seem to be confused about how it converts characters to numerical values. char

sending jsp generated page as email msg

2000-11-17 Thread Jeff Kauffman
I have a requirement to send a web page that I've generated w/ JSP as an email message. I've done some looking and it appears that I can send the html and embedded GIF's as a mulitpart mime message. I can't find detailed information on how exactly this is accomplished. Has anyone done this? An

Re: Java: make EXE

2000-11-17 Thread Irfan Mohammed
The sdk is free and is available at microsoft's web site. You'll have to search for it there. The only way you can get rid of the deprecated API warning message is by not using those API's Irfan -Original Message- From: Maureen Chandra [mailto:[EMAIL PROTECTED]] Sent: Thursday, Novembe

Re: Developing with Tomcat 3.2beta [DONT BOTHER]

2000-11-17 Thread Peter Pilgrim
I solved my problem. Tomcat Session do not seem to quite work across JSP and Servlets. When I start with "/servlet/LocationServlet" and it works because if the session is new then it is created as usual because the model Java bean is add to session. When I start the app with "/locationview.jsp"

Re: request.setAttribute vs session.setAttribute

2000-11-17 Thread Martin Cooper
Dion, The code you posted contains the following: session.setAttribute("helloses", "hi session"); out.println("helloses prints = " + (String)request.getAttribute("helloses")); You are setting the attribute in the *session* and trying to retrieve it from the *request*. That is obviously not goin

Include Question - JSP

2000-11-17 Thread Javier Aguado
Hi all! How do i to put a <%= expression %> in the page value? <%String file = "file.jsp"%> is posible to do it? the error is in winNT + jswdk1.0.1: com.sun.jsp.JspException: Invalid jsp:include tag at com.sun.jsp.compiler.IncludeGenerator.(IncludeGenerator.java:42 ) at com.

Re: Best JSP Tool

2000-11-17 Thread Sanh Pham
I just downloaded it recently. I have not figured out how to debug JSP in FOJ. Can you set breakpoints or check variables? Does someone has an answer for this? (Sorry if this is a little off-topic) Thanks, Sanh -Original Message- From: Petr Jiricka [mailto:[EMAIL PROTECTED]] Sent: Monday,

where to put bean class files in weblogic

2000-11-17 Thread Gunaseelan , R.
hi i'm new to jsp. i've tried running a simple jsp file that calls a bean using but everytime i get 500 internal server error. can anyone tell mewhy and also i have tried putting my beans in a package and inside serverclasses. but still it gives the same error help me thanks in advance gun

setItem vs request/session

2000-11-17 Thread dion
Hello all, I noticed that some jsp application use 2 (or more) different approach when executing some of the business process : one by using httpservletrequest, httpservletsession, another by using setItem then call the javabean's method via JSP (please see code below). my ques

Re: Relative paths between HTML pages, servlets and JSPs (without htt p://servername)

2000-11-17 Thread Marco M
hi, i am just a shitty developer if you have : - html under /html - jsp under /jsp - servlet under /blood if you want to access a jsp from /html directory you just have to put /jsp/yourfile.jsp this should work br marco > -Original Message- > From: EXT Breskovac Mario [

Re: (Off topic) JDBC driver

2000-11-17 Thread Andersson Charlotte
Ana, I'm using the twz driver (free for private and educational use). I'm not sure if it's considered to be 'good' or not, but it does the job. Check out http://www.mysql.com/downloads/api-jdbc.html /Charlotte On 13 Nov 2000, at 17:04, John Thomas wrote: > Hi, > The commonly used drivers f

Developing with Tomcat 3.2beta

2000-11-17 Thread Peter Pilgrim
I am trying to write a mini test MVC with JSP as a test with Tomcat 3.2B I wrote two classes : /ROOT/WEB-INF/classes/LocationModel /ROOT/WEB-INF/classes/LocationController I am creating a session object in both the JSP and the Servlet with public class LocationController extends HttpS

Re: Relative paths between HTML pages,servlets and JSPs (without htt p://servername)

2000-11-17 Thread Meera Gajanan Nayak
I feel that the jsps have to be put under the document root and then call the jsp with the relative path something like /jsp/yourjsp.jsp where jsp is a directory under default document root which has to be specified in the properties file of the webserver.Then probably you can get rid of the the

Any way to store a jsp generated on fly -2

2000-11-17 Thread Meera Gajanan Nayak
Hi Room, the earlier mail did not give me a reply.Sending it for second time. I have a problem which goes like this. I have a file which is parsed and broken up into two parts. The parts are to be processed separately and these parts have two different jsps which are the final pages

Hash session id

2000-11-17 Thread Louis
Hi I saw some website there hash the session id become "@112312.1212312@", anyone know what the algorithm behind it? What the problem if I don't hash the session id? If you can show me the code that is more appreciate. Thanks Regards, Louis o¤°`°¤o,¸¸¸,o¤°`°¤o,¸¸><¸,o¤°`°¤o,¸¸,o

Re: How can I send HTML document as an attachment in my mail !

2000-11-17 Thread suhdkaar asdas
hii u can visit this site: www.coolservlets.com here u can find a email package with source code which will certainly give u some idea of how to go abt it. if u want more information on this matter, please mail me at :[EMAIL PROTECTED] bye sudhakar >From: Bhuvaneswari Palanivel <[EMAIL PRO

Relative paths between HTML pages, servlets and JSPs (without htt p://servername)

2000-11-17 Thread Breskovac Mario
Hello, gurus, I have diferent paths for JSP pages, HTML documents and servlets under one server. Problem is that I can't refer to JSP page from servlet or HTML page from JSP without specifying server name (http://servername/servlet,...). When I use http://servername/someapp everything is working

Re: Pre-compiling *.jsp on server startup

2000-11-17 Thread PW
Hi, In my experience it's as easy as generating a list of all JSP pages (eg. with find command on Unix); dumping it to a file; running a simple Java app that calls requests all pages on your server -- going by the generated list. It worked in our case and it's super portable -- no special compiler

Re: Why use Java Beans?

2000-11-17 Thread Phil Hedley
From: Phil Hedley@MITEL on 11/17/2000 11:16 AM GMT The directive is misleading as these are not true Java beans, they can be regular Java class objects. The JavaBean structure only needs to be applied when using the set/get property directive. The following is valid where MyObject is NOT a Java

Re: Which is the best framework WebMacro, Struts, or Tapestry?

2000-11-17 Thread Peter Pilgrim
Well the first chapter of Field or Klob "Web Development with JSP" Manning suggests this approach. Separate presentation from the business logic by using custom tags and Java Beans. Your beans will carry the business logic and the custom tags will generate the HTML representation your presentatio

Away from topic: SSL and Encryption

2000-11-17 Thread Silvey, Andrew
Hi, I have a quick question:- I have a browser window which is running in SSL with 128 bit encryption. If I look at the properties of this window there is a heading Connection and it describes the SSL Encryption. >From the browser window I have a continue type button which pops up a new window.

OT: NON SECURE ITEMS

2000-11-17 Thread Manos M. Batsis
Sorry for the irrelevant question but is there a tool or web service that finds the none secure items in a web page (for developer use)? I just want to get rid of this annoying pop up... Thanks === To unsubscribe: mailto [E

Re: How can I send HTML document as an attachment in my mail !

2000-11-17 Thread VEDANARAYANAN JOTHEESWARAN
Bhuvaneswari Palanivel wrote: > Hi, > > How can i send a mail with HTML document as an attachment using java mail > API? if possible, please give me the sample code for that? > > Thanks, > > Bhuvana > > === > To unsubscribe:

Re: request.setAttribute vs session.setAttribute

2000-11-17 Thread dion
Hello Martin, that's what i'm trying to find out, please see again :) using session doesn't work, but using request work. thx anyway :) Friday, November 17, 2000, 12:52:46 PM, Martin Cooper wrote: MC> It might help if you try to get the "helloses" attribute from the session MC> rather than the

Re: Difference between Servlet and Bean?

2000-11-17 Thread Sanjay Gomes
Hi There Basially speaking there is no difference between Servlets and JSP atleast from the processing point of view.JSPs get compiled to servlets n so on n so forth When you need to include more processing like a login page do it in a servlet There is no hard n fast rule, depends on ur needs If u

How using prepareCall metrhode with stored procedure

2000-11-17 Thread Martin Nwalal
Hi, this my jsp where I using storesd procedure ps_selectPerson Can you tell me how to use prepareCall method? Thanks for help Martin <%@ page isErrorPage="true" %> <%@ page import="java.sql.*;" %> <%@ page import="Cannes.Tools.connexionPool.*;" %> <%! Connexion cx; Connection con; Callable

Re: 600MHz celeron laptop, good enough for webservers?

2000-11-17 Thread Geert Van Damme
A celeron 600 is no problem. I agree with Adrian: Put 256MB RAM in it. Don't use Tomcat. Why use weblogic? seriously reconsider your transition to use EJB's. Is it really necessary, or is it just fancy? How much load are you expecting? What exactly will you be doing? What webserver do you plan to

Re: 600MHz celeron laptop, good enough for webservers?

2000-11-17 Thread Sylvain Roche
This is clearly enough to run weblogic. It will work. I have it on a 550 celeron with 64mb ram, and win98 (off course, not nt). And page generation will be reasonably long. But you won't be able to developp on this machine, because in this configuration (win 98, weblogic server + console, pws, acc

Re: ask for help for file upload

2000-11-17 Thread Dinesh Venkatraman
We should use ByteInputStream to read the uploaded file content. The problem could be with the FileInputStream to read the file content from the request object. - Original Message - From: [Your Full Name] <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 17, 2000 6:53 AM

Re: 600MHz celeron laptop, good enough for webservers?

2000-11-17 Thread Adrian Papari
*phew* if you're REALLY REALLY patient i suppose it'd suffice; but if i were you, i'd sacrifice speed & fill it wirh ram; 128 min if you're going to run nt. 192 or 256 would give you a lot more performance though; especially if you're going to run a DB on it too. before you purchase any computer,

600MHz celeron laptop, good enough for webservers?

2000-11-17 Thread vikram chandna
Hi Friends, For my practice I want to get a laptop and I am getting in my budget a 600 MHz celeron with 64 Mb RAM. Ab initio I just want to run Tomcat and later perhaps weblogic server to move onto ejb. Obviously NT would be needed to run on it.I want to know would the given config suffice for me

Re: keeping track of user connections

2000-11-17 Thread Dengler Martin
Hi, sorry, but HTTP is a stateless Protocoll. after a client-request is answered by a server, the transaction is finished. if the user logs in and forgets to log out, u can do nothing about it, but wait for timeout. Greetings md -- Sent through GMX FreeMail - http://www.gmx.net ===

Re: ask for help for file upload

2000-11-17 Thread Emmanuel Desigaud
Hi, The best thing i find to upload a file is jspSmartUpload . It works very fine for text/binary files (multiple or not). You can find more info in their web site : http://www.jspsmart.com/ Emmanuel Desigaud === To unsubs

Re: Message Board using JSP:How to

2000-11-17 Thread subramanian Athimoolam
hi i don't things so ,much more different between Discussion Forum and message board. so please go to our's website schoolnetindia.com.you got some idea about Discussion Forum [i am using JSP only]. so similar way you can develop your message board also. hope you got some idea!!! all

keeping track of user connections

2000-11-17 Thread Stefán F. Stefánsson
Hello.. This is more of a Servlet question I guess but I'm wondering if there is any way to get notified as soon as the user disconnects a connection. I know about having an object implement the HttpSessionBindingListener interface but that doesn't notify me until the session times out... I can

Re: ask for help for file upload

2000-11-17 Thread Ivo Limmen
I noticed that this could be the problem: ---You have--- BufferedOutputStream(new FileOutputStream("/work/filename" ))); ---Should be--- BufferedOutputStream(new FileOutputStream("//work//filename" ))); Greetings, Ivo - Dear all: I want to upload one fil