Re: How tHow to run the Javamail demo sendhtml?

2000-05-08 Thread Xunming Liu
Hi Anyone has the experience to run the Javamail demo "sendhtml"? I can not understand the meaning of URL store? I think protocol is current file name (I am not sure) I want to send the file "try.html" in current fold from [EMAIL PROTECTED] to [EMAIL PROTECTED] I tested it using DOStempt:

Model 3 Architecture

2000-05-08 Thread Daniel Lopez
Hi, Some people asked my about this "Model 3" I talked about in my last posting about "model 2 servlet mapping question" so I thought I should explain what I meant, not to confuse people. First, before people starts asking about specifications and documentation, it's by no means an official name

Re: Web Apps and state machines (was: model 2 servlet mapping question)

2000-05-08 Thread Daniel Lopez
Hi, Regarding applet caching... A solution has been "there" since a long time ago(at least 3-4 years). It is called Channels and it was developed by some members of the original team that created Java. They lef Sun and created a company called Marimba and developed something like applets which

JSP Init Destroy

2000-05-08 Thread G Ramesh [Support]
Hi, Servlet is having init destroy method, for initialization and closing. Is there any similar feature present in JSP - Bean. For e.g if my bean involves database manipulation. i want to open connection objects while initializing and i will have to close all the connections when the bean

iPlanet and special characters

2000-05-08 Thread José Antonio Quiles
Hello, I´m using iPlanet as JSP server. I have a little problem when I send special characters (ASCII 128, e.g. accents) to the server. Perhaps it is a iPlanet configuration problem, or a JVM configuration problem. Next I attach the JSP page: !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0

Re: iPlanet and special characters

2000-05-08 Thread squeijo
I am not sure it this can work, but try to define the content-type attribute of the %@ page... % directive with the ISO character code appropiate. Sergio Queijo Diaz. Soluziona - ISF === To unsubscribe: mailto [EMAIL

Re: JSP Init Destroy

2000-05-08 Thread squeijo
You can use two method. Define into the tags %! %, the methods jspInit() and jspDestroy(). When the servlet transforms the jsp into a servlet, it puts the code of this methods in the corresponding init() and destroy() servlet methods. Example: %! public void jspInit() { // Your

Possible to serve WML content using JSPs ?

2000-05-08 Thread Chris Newland
Hi, Is it possible to serve WML content instead of HTML content using JSP pages? I'm using Tomcat 3.1 I imagine I could do it using something like: % if (device == pc) { % %@ include foo.html % % } else if (device == mobile) { % %@ include foo.wml % % Has anyone tried something like this? Do

Re: Possible to serve WML content using JSPs ?

2000-05-08 Thread Scott Cable
you will also have to set the correct content type, which for wml is response.setContentType("text/vnd.wap.wml"); -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Newland Sent: Monday, May 08,

Re: JSP Init Destroy

2000-05-08 Thread Nuorteva Kare
Servlet is having init destroy method, for initialization and closing. Is there any similar feature present in JSP - Bean. For e.g if my bean involves database manipulation. i want to open connection objects while initializing and i will have to close all the connections when the bean

Java VM memory

2000-05-08 Thread Leon Daanen
Hi, I am using the Tomcat server. If the tomcat server is started 64 Mb of memory is allocated (which seems to be default). I use an upload jsp file through which I will be able to upload big files (perhaps 100Mb or more). I changed the tomcat.bat file by adding the java -Xmx100m piece (which

Re: jsp in bluestone.

2000-05-08 Thread Friedman, Richard
Hey Kavitha, I would suggest that you send an email to [EMAIL PROTECTED] for some more information about configuring jsp servlets on our server. Also our latest version (7.0) has built in support for jsp 1.1, servlet 2.2 and EJB 1.1. -Rich. -Original Message- From: kavitha ramasamy

urgent : problem in silverstream installation on solaris

2000-05-08 Thread Nagaprakash C S
hi here's a problem with solaris installation when we are tryin to install Silver Stream Application Server V 3.0 on Solaris 7.0 with oracle 8i on Sun Sparc E250 machine we are having a problem as described "error 64264 QuoteIdentifiers has not been set" any suggestions to resolve this issue

forward page directiva with target

2000-05-08 Thread Pablo J.
Hello, I have a problem. I have written a jsp and I want that when a condition appears load another jsp page. Well, I had a javascript code "location" with a target frame, but I can not use javaScript becouse java code continues running and it produces several errors. So now i ise forward page

Caching Problem

2000-05-08 Thread Ingo Oppelt
Hi there, I have got a question concerning session management. How can I manipulate the duration of a session between a servlet (jsp-page) and the client (web-browser) and what is the default value? Here is my problem: I am using the Sun Development Webserver (comes with jswdk- 1.0.1) to test

Re: model 2 servlet mapping question

2000-05-08 Thread Chris Wilson
kevin, i'm not quite sure i understand what you mean about index.html showing up... can you give me the url to your site so i can see what you're talking about? thanks! cheers, chris chris wilson web developer andrews university www.andrews.edu -Original Message- From: A mailing

Re: JSP RESOURCES

2000-05-08 Thread Rawat Ritesh
A pdf/fdf file is stored in the form of binary in a database.I want to display that pdf/fdf file to the user. Can someone help me? I have tried the mime types like application/vnd.fdf, application/pdf but all in vain. The browser just shows the contents of the file in binary format. Thanks in

Re: Java VM memory

2000-05-08 Thread Osvaldo Pinali Doederlein
Hi Leon, - Original Message - From: "Leon Daanen" [EMAIL PROTECTED] I am using the Tomcat server. If the tomcat server is started 64 Mb of memory is allocated (which seems to be default). I use an upload jsp file through which I will be able to upload big files (perhaps 100Mb or

Expire Page

2000-05-08 Thread David Gowe
Hello! I have the following requirement: When I use a JSP page and submit it to the the servlet, I want that page to expire (viz.,. the user should not be able to press the back button on the browser and visit that page again). Is it sufficient if we specified the "scope" in the usebean tag to

Re: Apache to JRun

2000-05-08 Thread Don Vaillancourt
Hi All, One question about the way Apache forwards request through the proxy to JRun. Is the proxy similar to a real Web proxy. In other words does Apache essentially send all GETs which match the mapping to the proxy and the proxy sends the request to the JSE. The the JSE sends the data back

Re: Java VM memory

2000-05-08 Thread Gocin.com
Hi, I am using the Tomcat server. If the tomcat server is started 64 Mb of memory is allocated (which seems to be default). I use an upload jsp file through which I will be able to upload big files (perhaps 100Mb or more). I changed the tomcat.bat file by adding the java -Xmx100m piece (which

Re: Expire Page

2000-05-08 Thread Majeed, Atif
You can use HttpServletResponse.setHeader("Pragma", "no-cache"); or send an equivalent Meta tag META http-equiv="Pragma" content="no-cache" Atif -Original Message- From: David Gowe [mailto:[EMAIL PROTECTED]] Sent: Monday, May 08, 2000 1:08 AM To: [EMAIL PROTECTED] Subject: Expire Page

signoff JSP-INTEREST

2000-05-08 Thread Mahesh Viswanathan
"signoff JSP-INTEREST" === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html

Sun's J2EE Reference Implementation

2000-05-08 Thread Laiwu Luo
I have a problem to run Sun's J2EE Reference Implementaion on my NT workstation with JSDK1.2.2 installed. Since I am unaware of the discussion group focusing on that subject, I have to post this message on both JSP and SERVLET discussion groups and hope someone can give me a help. My problem is

JSP solution for sending mail...

2000-05-08 Thread Deniz Ersöz
JavaMail bean... package mail; import java.io.*; import java.util.*; import java.net.*; import javax.servlet.*; import javax.servlet.http.*; import javax.mail.*; import javax.mail.internet.*; public class

How to call the method in another class in the same package?

2000-05-08 Thread Xunming Liu
Hi: here I just ask a simple question. I want to put two java files and created classed in the same package e.g. fileOne.java can create fileOne.class But I want to use the functions of fileOne.java in fileTwo.java when I compile fileTwo.java using Javac fileTwo.java it show's: "Class

Re: How to call the method in another class in the same package?

2000-05-08 Thread Deniz Ersöz
Declare the second one as static and call it like Math functions or declare an object from the second class to call the method === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant

JRun and isPageSafe directive

2000-05-08 Thread Nimmons, Daniel
I just installed and configured JRun and PWS... Simple jsp pages compile and run just fine. However the page I am now createing I used the "isThreadSafe" page directive from the jsp 1.0 rev b specs and the jsp engine is returning the following error code 500 Internal Server Error JSP Parse Error

Problem shutting down Tomcat 3.1

2000-05-08 Thread Gert Koning
I run different instances of Tomcat for different contexts. Each context has a server.xml file in its home directory. Since I upgraded to Tomcat 3.1 I use the -f option with startup.sh to point to the right server.xml. This works fine for starting up, but when shutting down I get a

Re: JRun and isPageSafe directive

2000-05-08 Thread squeijo
When you install Jrun, you can use the specification 0.92 or 1.0 of JSPs. Perhaps, you had installed Jrun under the 0.92 specs. I think that in the administration panel you can see what version of jsps you are using. = Original Message From A mailing list about Java Server Pages

Sun's J2EE Implementation Reference

2000-05-08 Thread Laiwu Luo
I have a problem to run Sun's J2EE Reference Implementaion on my NT workstation with JSDK1.2.2 installed. Since I am unaware of the discussion group focusing on that subject, I have to post this message on both JSP and SERVLET discussion groups and hope someone can give me a help. My problem is

Re: Sun's J2EE Reference Implementation

2000-05-08 Thread Sam Pullara
It looks like you might have a different version of the servlet API in your CLASSPATH ahead of the J2EE version. Sam -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Laiwu Luo Sent: Monday, May 08, 2000

jsp:include, jsp:forward and URL rewriting

2000-05-08 Thread Rich Carreiro
If one is using URL rewriting for session tracking, does one need to rewrite the URLs in the page attribute of the jsp:include and jsp:forward tags? I can imagine that one might have to, but since those tags cause a server-side "context switch", I also wouldn't be surprised of one didn't have

HTML output in declared function

2000-05-08 Thread Sam Heisz
Hi all, I want to declare a function that prints out some HTML, something like: - begin(index.jsp) %! public void printSimpleHeader() { % img src=%= imageurl("simpleheader.gif") % !-- I actually have more HTML here, elided for sake of brevity -- %! } % body % printSimpleHeader(); %

Re: Caching Problem

2000-05-08 Thread Nuorteva Kare
I have put already a "close database connection" method within the destroy() method of the servlet but it does not seem to be called by the webserver. Hi, Because You open/close database connection at the wrong place. You should open the connection just before the transaction and close it

Re: HTML output in declared function

2000-05-08 Thread Nuorteva Kare
hello, I obviously have not wrapped my head around % vs %!. It seems that all of the declarative (%!) content is collected in one buffer, and the rest is collected in another buffer. Is there a way for we to get the HTML into the declarative buffer, and have it changed to java code? Am I

Question on JSP editors

2000-05-08 Thread Kent Mitchell
Does anyone out there have recommendations on editor to use for editing JSPs? I need data for both non-visual (text) style editors and visual (WYSIWYG) style editor. Kent === To unsubscribe: mailto [EMAIL PROTECTED] with

Re: model 2 servlet mapping question

2000-05-08 Thread Kevin Duffey
What I mean is, if I type in http://xxx.xxx.xxx.xxx (or www.domain.com) when they get to my site, the web browser URL box shows http://xxx.xxx.xxx.xxx/index.html Even if you don't specify index.html when you enter the address. So, my question is, like so many sites I see..how do you get it so

Re: Model 3 Architecture

2000-05-08 Thread Mike Van Riper
Daniel, At my company, we are working on a similar process to yours. Our non-programmers will be creating simple XML documents. We then run a design-time build process to transform the XML documents into JSP pages. We are building common transformations for things like business object listings.

Re: Error Can't find class sun/tools/javac/main

2000-05-08 Thread somsak
You have to add tools.jar to classpath A.Somsak paurnima sabne wrote: Hi While compiling java file from javawebserver2.0 root i have given folling command javac -cp d:/javawebserver2.0/lib/servlet.jar -d javawebserver2.0/servlets myfirst.java After executing, it gives following error

Re: JSP solution for sending mail...

2000-05-08 Thread Geert Van Damme
That's what I was saying in my messages about JSP and mail. This has hardly anything to do with JSP (I'm not saying it's a bad solution, it's just not real JSP) This is just plain servlets and HTML. Let me explain what I expect from a JSP - mail solution. The problem isn't the sending of the

No Subject

2000-05-08 Thread deepa nagarajan
deepa nagarajan __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".

Re: JSP solution for sending mail...

2000-05-08 Thread Aaron Tavistock
Taglibs work very well for this. In fact I made a simple taglib in about an hour that handles mail like this: m:mail m:from me /m:from m:to %=person% /m:to m:subject this email /m:subject Hello %=person%, Blah blah, I'm the mail body. /m:mail Alterntively you could do: m:mail from="me"

Re: model 2 servlet mapping question

2000-05-08 Thread Chris Wilson
kevin, i was using weblogic for a while and its default file servlet seemed to display that type of operation. however, i'm using jrun 3 rc1 and it doesn't do that. is it possible that your file serving servlet is putting that in? cheers, chris chris wilson web developer andrews university

Re: JSP Thread safety

2000-05-08 Thread Kevin Guan
What is the difference between declaring variables in %! % and % % ? Geert Van Damme wrote: Most important thing: Stay away from %! tags. I know sometimes you need them, but I've seen people use a lot of these tags when in fact they needed % % There are other issues of course, but IMO

Re: Model 3 Architecture

2000-05-08 Thread D. J. Hagberg
This is certainly an interesting solution, and I can certainly see the benefits when generating content for different display devices/browsers. The primary question I have for Daniel and the other folks out there using XSLT is -- what specific tools and techniques are you using for this

JSP/Package problem

2000-05-08 Thread Shrisha Radhakrishna
Hi All, I have a very strange/painful problem. Ok, here I go. I use Weblogic 4.5.1 to host my JSPs. The compiler adds a "package jsp_servlet;" to all my JSP's when they are converted into servlets. So, in other words all my JSPs are in jsp_servlet package. Now, I want to instantiate a

No Subject

2000-05-08 Thread Happ, Wayne (Exchange)
You around? I going out for a while. *** Bear Stearns is not responsible for any recommendation, solicitation, offer or agreement or any information about any transaction, customer account or account activity contained in this

Re: JSP Thread safety

2000-05-08 Thread Kevin McEntee
Think about how each of the 2 declarations will be scoped in the servlet that gets generated by the JSP compilation. %! % variables will be scoped as data members of the Servlet object. Remember that Servlet engines typically instantiate only one instance of a servlet object that is shared by

Re: use javascript in jsp

2000-05-08 Thread scott powelson
Brenda, You can use the 'script' tag to signify javascript code in a JSP or HTML file (coded within the Head, referenced in the Body). Example: HEAD TITLESomeTitle/TITLE SCRIPT language="javascript" function functionName(parameters){ * function code goes here } /SCRIPT /HEAD

Re: JSP Thread safety

2000-05-08 Thread Kevin Guan
Thanks. What about beans used by the page, are they shared by different threads? Kevin McEntee wrote: Think about how each of the 2 declarations will be scoped in the servlet that gets generated by the JSP compilation. %! % variables will be scoped as data members of the Servlet object.

Re: Uregent help req how to disable the back button in the browser

2000-05-08 Thread Kevin Guan
If you load the page with the following javascript, the back button will be disabled: script languange=javascript window.location.replace URL script I hope this helps. Kevin srinivasa rao yeramati wrote: HI Can any one help me How can I disable the back button in the browser in netscape

No Subject

2000-05-08 Thread Bury Man
while your out smack Finnegan around for me From: "Happ, Wayne (Exchange)" [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 8 May 2000 16:57:40 -0400 You around? I going out for a while.

Re: Model 3 Architecture

2000-05-08 Thread Stephen Baishya
Dan, I agree with your issues regarding JSP. Whilst JSP favours the UI designer rather than the developer to some extent, the UI designer still needs some knowledge of the Java language, an issue which I think is better solved by using XML. OK, both JSP and XSL require use of some simple

NT Challenge/Response Basic Authentication

2000-05-08 Thread Ron Parker
I want to create a jsp or servlet program which will authenticate a user for access on an NT server. The NT server will be using NT challenge response or Basic Authentication. What do I need to do in order to get the cgi program to authenticate the user for the NT server? In other words,

Re: JSP solution for sending mail...

2000-05-08 Thread Joseph B. Ottinger
Um, before you start writing a whole lot of taglibs, you ought to see if there's prior art already; there's a standard taglib that Sun is working on (JSR-052) which might contain some of this, I know *I* wrote a mailtag (available on Sourceforge, under the jsptags project), and you could always

Re: JSP Thread safety

2000-05-08 Thread Joseph B. Ottinger
On Mon, 8 May 2000, Kevin Guan wrote: What is the difference between declaring variables in %! % and % % ? %! % puts the contents in class scope, and % % inlines the contents. % % is suitable for short-term variable declarations, whereas %! % is perfect for declaring functions and

Re: Whats a ideal development environment

2000-05-08 Thread Kevin McEntee
Thats interesting... What led you to scrap ColdFusion in favor of JSP? - Kevin ColdFusion Analyst wrote: Hi All, Though I have been in the web development arena for a long time (My primary skill lies with other application Software). Could you please help me with thoughts on the

Whats a ideal development environment

2000-05-08 Thread ColdFusion Analyst
Hi All, Though I have been in the web development arena for a long time (My primary skill lies with other application Software). Could you please help me with thoughts on the Following: 1. We have resently scrapped development in ColdFusion and substituted it with Ariba Trading Dynamics. the

Design question, recommendation

2000-05-08 Thread Bailey, Jeff A
Hello all, I have some questions about some design ideas regarding a particular type of app that I have never tried to construct before so thought I would post them here as there are a number of very intelligent application designers with lots of experience integrating a number of technologies

Re: Whats a ideal development environment

2000-05-08 Thread Kevin Duffey
So far the best I have seen that is free is Forte for Java. SUN includes deployment to WebLogic in it I believe..but not exactly sure. I know it has JSP support, etc. The only thing I don't like is that it opens up a bunch of frigging tabs on the Windows Start menu, so it looks like each window

Value in JSP tag

2000-05-08 Thread Thomas Tsai
Hello All I would like to put a value, jsp:getProperty name="bean" property="whatever" , into JSP tag to compare, such as % if ( target == jsp:getProperty name="bean" property="whatever" ) { % I get error message on the syntax.? Is there any other way that I can do this comparison.

Re: Value in JSP tag

2000-05-08 Thread Eugene Belyaev
Hi, Why not write % if (target == bean.getWhatever()) { % ? Eugene Belyaev - Original Message - From: "Thomas Tsai" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 09, 2000 04:19 Subject: Value in JSP tag Hello All I would like to put a value, jsp:getProperty

Re: JSP Init Destroy

2000-05-08 Thread G Ramesh [Support]
thank you. Regards, G Ramesh -Original Message- From: squeijo [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, May 08, 2000 2:02 PM Subject: Re: JSP Init Destroy You can use two method. Define into the tags %! %, the methods jspInit() and jspDestroy(). When

Re: Whats a ideal development environment

2000-05-08 Thread Kyle Cordes
(with the 2 Ariba servers running on my machine). 1 is Web Logic application server there fore I will be using the WebLogic's implementation of JSP. I will offer up IBM VisualAge for Java as a highly non-optimal solution for JSP development. My gripe is that it keep Java code quite

ColdFusion vs. JSP

2000-05-08 Thread David Wall
Can anybody discuss the relative merits of ColdFusion and JSP in terms of speed of development, scalability and manageability? David === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some