Re: What's wrong with this code ??

2000-09-25 Thread Jeff Crilly
Hmm.. it would help to see the code for myproject.beans.ConceptBean. However,... make sure the bean has public methods ... getLabel() getId_number() Quite frankly I think this whole JSP getProperty thing is way overrated. I just create this simple data beans, put them in the session

Re: Pop Up Window

2000-09-25 Thread Sachin S. Khanna
You need to use Javascript to add this functionality. Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From: Raj S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 24, 2000 12:25 AM Subject: Pop Up Window Hi, Can someone

Re: Another error 500 ???

2000-09-25 Thread Sachin S. Khanna
There is already an implicit session object available in every jsp page provided it doesnot have a page directive stating that the page doesnot participate in a session. The error you are getting is because you are using the HttpSession class to call the putValue method which is not static.

Re: problem with extends directive

2000-09-25 Thread Sachin S. Khanna
A better approach would be to have those global methods packaged in a bean and use the bean with the jsp insteading of extending the jsp from the Servlet Class. extending a jsp from a different class does limit the ability of the Jsp Engine to improve the execution speed of the compiled jsp

Re: What's wrong with this code ??

2000-09-25 Thread Sachin S. Khanna
Could not agree more with Mr. Jeff Crilly :-). Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From: Jeff Crilly [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 11:26 AM Subject: Re: What's wrong with this code ??

NullPointer Exception while setting the attributes in pageContext

2000-09-25 Thread Nitin Khattar
I am trying to set an attribute in pagContext with scope. While i am able to successfully do this with scope int=1,2 or 3, it gives me NullPointerException with scope = pageContext.APPLICATION_SCOPE (or = 4) The code i am using to set attribute is as under

Tomcat supporting PHP3

2000-09-25 Thread jaspreet
Hi all, Does Tomcat supports PHP3? because I m having my PHP3 files running on LINUX with Apache web server and I have to give presentation of my PHP3 files on Windows Nt Machine running Tomcat Server. Suggestions are welcome. Thanks and Regards Jaspreet

Re: Tomcat supporting PHP3

2000-09-25 Thread Jeff Crilly
What do you mean by "give presentation"? Are you starting this project from scratch and plan to run on NT/Tomcat and want to use existing PHP3 files on the NT/Tomcat machine? Or is that you need to "demo" the PHP3 files on a NT/Tomcat machine? In any event, PHP is a different animal, and

Javascript Error

2000-09-25 Thread Thomas John
Hi All, I am having javascript problem in JSP. In IE if i click a link it's giving "Object Expected at Line 1 Char 1", but the same code is working in Netscape. This problem is coming when we ported our system to UNIX Environment , but I didn't get this error when tested on NT. I am

Re: Javascript Error

2000-09-25 Thread Jeff Crilly
Try doing a view source and see if the html is malformed. Maybe you are missing a javascript file that is on the NT machine but not the solaris machine. If you have devstudio (visual interdev, whatever) installed, then you could bring it up in the javascript debugger, but that probably wont

No Subject

2000-09-25 Thread Stefan Bushev
why dont you put the text in html tags between the jsp ones just like: % some.jsp.code.here(); String foo = "foo bar"; % h1%= foo %/h1 ... % more.jsp.code.here(); ... % From: hua ge [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL

Re: image input type

2000-09-25 Thread Stefan Bushev
try using javascipt and give the button a name From: sudha [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: image input type Date: Wed, 20 Sep 2000 18:25:45 +0530 hi i am placing two image

Re: Javascript Error

2000-09-25 Thread Lesley Eadie
if you use onload in your body tag check that the function called exists in your file or your js files. We had this problem and this is what caused it - same error :-) - Original Message - From: "Thomas John" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 8:00

difference between %!...% and %....%

2000-09-25 Thread SANDEEP UPPAL
both %!...% and %.% can be used for declaring variables. What is the difference between both and which to use ? regards, Sandeep Uppal === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".

what is advantage of using useBean tag

2000-09-25 Thread SANDEEP UPPAL
what is advantage of using useBean tag when same thing can be done without that? regards, Sandeep Uppal === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can

Re: difference between %!...% and %....%

2000-09-25 Thread Shibu Up
Hi, ! declaration is for class level variable declaration ( Ps. JSP is finally becomes a servlet class). % is for normal local variables in the jsp_Service method. -Shibu SANDEEP UPPAL [EMAIL PROTECTED] on 09/25/2000 02:55:55 PM Please respond to A mailing list about Java Server

doGet and doPost

2000-09-25 Thread Celal Ceken
what is the difference between doGet and doPost. Thanks for your help... === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at:

Re: difference between %!...% and %....%

2000-09-25 Thread sukumar
hi, if you declare the variable inside% ..% then it will be declared inside the service method. that is it is declared as the method variable. if you declare %!.. % then it is declared outside the service method. it is class variable. with regards sukumar - Original Message

Re: what is advantage of using useBean tag

2000-09-25 Thread Rathna
hi sandeep, There are few advantages by using useBean tag over normal instance, * scope (page,request,session and application) *introspection with regards, rathna. SANDEEP UPPAL wrote: what is advantage of using useBean tag when same thing can be done without that? regards,

Re: difference between %!...% and %....%

2000-09-25 Thread SANDEEP UPPAL
all the processing code we write is in jsp_Service method so how does it make a difference. regards, Sandeep - Original Message - From: Shibu Up [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 1:56 PM Subject: Re: difference between %!...% and %% Hi, !

Re: The JavaBean doesn't run...

2000-09-25 Thread Veronique Dupierris
In setProperty you have to use name attrute rto identify your bean : jsp:setProperty name="time" property="hours" value="17" instead of jsp:setProperty id="time" property="hours" value="17" That's why you have this error : org.apache.jasper.JasperException: setProperty: Mandatory attribute name

Re: difference between %!...% and %....%

2000-09-25 Thread Rathna
This %! ...% scriptlet is used to define a global functions and variables, means out side the serivce method.The second one is to declare the functions and variables inside the service method ... hope this helps, with regards, rathna. SANDEEP UPPAL wrote: both %!...% and %.%

Re: doGet and doPost

2000-09-25 Thread SANDEEP UPPAL
doGet processes HTTP get request in this all the data is passed in header and doPost HTTP post request in this form data goes in http request body. regards, Sandeep - Original Message - From: Celal Ceken [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 1:39 PM

Re: tab deliminated output...

2000-09-25 Thread Jeff Crilly
I dont understand. Do you want to also display the data in "tab deliminated" format in the browser? If so, then use an HTML table! TABLE rows="%=results.length() % cols="4" % for (int i=0; inum_rows; i++;) { % TR TD %=results[i].name % /TD

Re: difference between %!...% and %....%

2000-09-25 Thread SANDEEP UPPAL
can we declare a variable like % public int = 1;% regards, Sandeep - Original Message - From: Rathna [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 2:19 PM Subject: Re: difference between %!...% and %% This %! ...% scriptlet is used to define a global

Re: what is advantage of using useBean tag

2000-09-25 Thread SANDEEP UPPAL
can u explain introspection what is it. regards, Sandeep - Original Message - From: Rathna [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 2:10 PM Subject: Re: what is advantage of using useBean tag hi sandeep, There are few advantages by using useBean tag

Re: doGet and doPost

2000-09-25 Thread Jeff Crilly
From: Celal Ceken [EMAIL PROTECTED] what is the difference between doGet and doPost. Thanks for your help... doGet is called when the browser does a HTTP GET request. doPost is called when the browser does a HTTP POST request. GET is usually sent when the user clicks on a link (href) or

Re: difference between %!...% and %....%

2000-09-25 Thread Jeff Crilly
Put each of these tags in a jsp file. Then look at the generated java code. You'll see the difference. %! % is a _declaration_. % % is a _scriptlet_. _declaration_ declares things that are in the resulting servlet class. E.g. class member variables or methods. _scriptlet_ is code that gets

Re: what is advantage of using useBean tag

2000-09-25 Thread Ganesh N.M
Dear All, 1. How will you instantiate Bean other than "UseBean"? 2. What is Introspection? Ganesh -Original Message- From: Rathna [mailto:[EMAIL PROTECTED]] Sent: Monday, September 25, 2000 2:10 PM To: [EMAIL PROTECTED] Subject: Re: what is advantage of using useBean tag hi sandeep,

Re: difference between %!...% and %....%

2000-09-25 Thread Geert Van Damme
Yes and in most cases (IMHO nearly always) you should use % %. I've seen many problems from people using %! % without any understanding of how it works. Geert Van Damme -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL

access a variable without declaring it

2000-09-25 Thread Javier Pozo
Hello guys !!! I have found an example in Weblogic 5.1 of JSP Tag Libraries. Take a look at it: sql:connection pool_name="demoPool" % String query = "SELECT * FROM emp"; % p Making a query: font face="Courier New" size=-1 color=navy%= query %/font sql:query id="employees" sql="%= query %" p

Re: difference between %!...% and %....%

2000-09-25 Thread Kai Hackemesser
I've checked the java sourcecode generated by tomcat from my jsp page. variables initialized with %! % become classwide defined variables. - Original Message - From: Geert Van Damme [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 11:30 AM Subject: Re: difference

working with variables

2000-09-25 Thread Javier Pozo
Hello guys !!! I have found an example in Weblogic 5.1 of JSP Tag Libraries. Take a look at it: sql:connection pool_name="demoPool" % String query = "SELECT * FROM emp"; % p Making a query: font face="Courier New" size=-1 color=navy%= query %/font sql:query id="employees" sql="%= query %" p

how to you use costom tags in jsp.

2000-09-25 Thread SANDEEP UPPAL
how to create costum tags with jsp. What are there advantages regards, Sandeep Uppal === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at:

Java Mail Configurations

2000-09-25 Thread Sunil Roy
Hi JavaGurus, I wish to send a mail using the SMTP server of IIS. I have the following progs. for sending mail . But the mail doesnot go. Can anybody show a way out? I am including the code for the SendMail.html SendMail.java ( servlet ). I am using Tomcat. I have already set the

Support For Java Mail

2000-09-25 Thread Sunil Roy
Can anybody pl. tell me what are the cofigurations reqd. for using Java Mail with SMTP Server of IIS. Also , can anybody tell me a good SMTP servera POP3 server where to download it from? I have already set the classpaths of mail.jar activation.jar files in the environmental variables (

Re: how to you use costom tags in jsp.

2000-09-25 Thread ralhan
hi thsi is hieght have you just got some new assignment on jsp that you are askign all the questions which can be answered ont he sun site very peacefully as well from an y book ( if you care to buy) donlt case unnecessary noise on lists how to create pleae see tutorial advanrtages are to removes

Re: Page Expiry HOWTO ?

2000-09-25 Thread Kairalysankarapillai, Rajesh (CTS)
I also want to want to disable the forward /Back buttons of browser. Please anyone can guide us. Thanks Regards RAJESH.K.S Cognizant Technology Solutions Elnet Software City Ph:235 4281 Extn:4440 mailto:[EMAIL PROTECTED] Dear all, I want to know how the following are done using JSP. Disable

how to get the URL of previous page

2000-09-25 Thread SANDEEP UPPAL
how do we get URL of previous page regards, Sandeep === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at:

Re: how to get the URL of previous page

2000-09-25 Thread Sachin S. Khanna
Use request.getHeader("REFERER"); Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From: SANDEEP UPPAL [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 5:06 PM Subject: how to get the URL of previous page how do we get

Re: Support For Java Mail

2000-09-25 Thread Johannes O. Akinlaja
Did you download a pop3server? Check: http://java.sun.com/products/javamail/pop3.html But sending emails should work fine without that. Yours Toyin - Original Message - From: "Sunil Roy" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 12:53 PM Subject: Support

Re: what is advantage of using useBean tag

2000-09-25 Thread Rathna
Bean introspection is done to discover what properties are present, and, for each, its name, whether they are simple or indexed, their type, and setter and getter methods. This will help you to get all the form values into the bean. for more details see JSP1_1-spec ... with regards,

Re: what is advantage of using useBean tag

2000-09-25 Thread Rathna
"Ganesh N.M" wrote: Dear All, 1. How will you instantiate Bean other than "UseBean"? you can get a instance of the bean by new operator but you will lose the features of useBean. 2. What is Introspection? Bean introspection is done to discover what properties are present,

How to run JSP using JWS in Win'95

2000-09-25 Thread Ganesh N.M
Dear All, I am a starter to JSP. I want to run JSP in Windows 95. I have installed "Jawa Web Server " in my machine. I am able to see the introduction page using 8080 port. But I am not able to go to Administration page. i have given http://ganesh:9090. Its giving "Page cannot be

Re: Java Mail Configurations

2000-09-25 Thread Sachin S. Khanna
Transport.send(message); seems to be causing the problem. AFAIK you need to get a Transport object from the session object and then use it. Don't think you can call a static method send on the Transport class. Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original

JSP to Servlet Communication.

2000-09-25 Thread SoftLiban KEYROUZ Charbel
Hello all, How can I save a variable using a servlet and then access it using JSP pages? this is what I am doing getServletContext().setAttribute("myVar", aVar); in the jsp when I use pageContext.getAttribute("myVar"); it return null. What am I doing wrong? plz help it's urgent.

Concurrence issue

2000-09-25 Thread Pablo Iaria
Hi all, If I declare some variables using %!...% tags, do I have to take care about the concurrent acces to these variables ? Thanks, Pablo.- === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

Re: what is advantage of using useBean tag

2000-09-25 Thread Rathna
hi !, 1. you can get a instance of the bean by new operator but you will lose the features of useBean. 2.Bean introspection is done to discover what properties are present, and, for each, its name, whether they are simple or indexed, their type, and setter and getter methods. This will help

Re: how to get the URL of previous page

2000-09-25 Thread Alok Kumar
You can use JavaScript document.history object see the URL of the last visited page. - Original Message - From: SANDEEP UPPAL [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 5:06 PM Subject: how to get the URL of previous page how do we get URL of previous page

Re: JSP to Servlet Communication.

2000-09-25 Thread Alok Kumar
You can't store a Variable in the setAttribute method. You can only store object thru it. TRy by storing object?? - Original Message - From: SoftLiban KEYROUZ Charbel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 5:39 PM Subject: JSP to Servlet Communication.

Re: JSP to Servlet Communication.

2000-09-25 Thread Kevin Jones
it should be application.getAttribute() not pageContext.getAttribute() Kevin Jones DevelopMentor www.develop.com -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of SoftLiban KEYROUZ Charbel Sent: 25

Java Bean's in JSP

2000-09-25 Thread Pranav Bansal
Hi all, I am using a very simple bean in a jsp page. The bean source is as follows.. import java.io.*; public class Test { private String testquery=""; public Test() { System.out.println("Hello World");

Re: JSP to Servlet Communication.

2000-09-25 Thread SoftLiban KEYROUZ Charbel
Yes you'r right, but the problem was that this servlet was only available for a specific context, therefore I had to access it in order to reach this session. Thank you. Kevin Jones wrote: it should be application.getAttribute() not pageContext.getAttribute() Kevin Jones DevelopMentor

Re: Concurrence issue

2000-09-25 Thread Lee Turner
Is this the same for variables declared with useBean ??? Lee -Original Message- From: Kevin Jones [SMTP:[EMAIL PROTECTED]] Sent: Monday, September 25, 2000 1:43 PM To: [EMAIL PROTECTED] Subject: Re: Concurrence issue yes Kevin Jones DevelopMentor www.develop.com

Re: Concurrence issue

2000-09-25 Thread Pablo Iaria
What's the best way to do that ? using the synchronized statement, changing the threading model or using semaphores ? Thanks, Pablo.- - Original Message - From: "Kevin Jones" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 25 September, 2000 9:43 AM Subject: Re: Concurrence issue

Re: The JavaBean doesn't run...

2000-09-25 Thread Alarcon Fabio
Hi ! You must code correctly the jsp:setPrpperty ... action, so: jsp:set Property name="time" ... not jsp:setProperty id="time" ... I hope It'll help you Best regards Fabio Alarcon Ortiz Seguro Social de Salud, Lima - Peru Gerencia Central de Desarrollo e Informatica Gerencia de Sistemas

Re: JSP to Servlet Communication.

2000-09-25 Thread SoftLiban KEYROUZ Charbel
Yes you'r right, but the problem was that this servlet was only available for a specific context (the contexts that you define inside server.xml for Tomat), therefore I had to access it in order to reach this session. Thank you for you answer because pageContext.getAttribute would have returned

Re: difference between %!...% and %....%

2000-09-25 Thread Angus Mezick
std:msg ALWAYS DELETE THE LIST SIG BEFORE REPOSTING! /std:msg Sandeep, Try this. Create a page using both items. Have the browser compile and run the jsp. (ok, I know the server does this) Look at the generated java code. If you can't see the generated code, read your server manual and

Re: difference between %!...% and %....%

2000-09-25 Thread Angus Mezick
std:msg ALWAYS DELETE THE LIST SIG BEFORE REPOSTING! /std:msg Sandeep, 1) get a good book and read it. The JSP book from Wrox press is pretty good. (http://www.wrox.com/) 2) Um, why don't you just try to do it? Not hard. LEARN! (yes you can do this) --Angus Mezick Give a man a fish, he eats

Re: how to you use costom tags in jsp.

2000-09-25 Thread Angus Mezick
Dear dummy, http://java.sun.com/ Try starting there. Order the PROFESSIONAL JSP book from http://www.wrox.com/ . Ralhan wasn't being rude. This list is for the "hard" questions about JSP. I think most list subscribers expect you to have at least read a book/the sun website and tried the java

Silver Stream JSP Pages

2000-09-25 Thread Alfonso de Castro
Hi, all. I´m using Silver Stream 3.0, and I can´t see comments about it. Someone here use Silver Stream? Did someone got any idea about the JSP compiler troubles? Thanks Alfonso de Castro [EMAIL PROTECTED] === To

[ANN] Stress tool - test your servlets/JSP

2000-09-25 Thread Dmitri Namiot
Stress tool for your web applications. Lets you to test your servlets/JSP pages. Supports sessions simulation, so you may test your real applications. Available on Coldjava site: http://coldjava.hypermart.net/servlets/stress.htm ServletShop: java server side programming

Re: how to you use costom tags in jsp.

2000-09-25 Thread David Holden
No matter how stupid the question is, I don't think addressing someone on a list with Dear dummy is called for, its just asking for more bandwidth to be wasted flaming. regards, Dave. - Original Message - From: "Angus Mezick" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: The JavaBean doesn't run... PART 2

2000-09-25 Thread Robuschi (Delfi)
I adjusted the code but the result is the same. Do you know why? Please, help me! Thanks to everybody Roberto file: bean4.java

Re: Pop Up Window

2000-09-25 Thread W Paul Waits
I'm new to this list and don't know how to check the archives. Yes he should do his homework, but you have forgotten that you were a beginner at one time and someone wasted time and attention on you. Why not recommend a useful textbook or an online reference site. There are a thousand ways to

JSP seminar

2000-09-25 Thread Jackson, Corey
If anyone is interested, SilverStream is offering a free JSP seminar on Tuesday the 26th. You can register at http://www.silverstream.com/virtsem. They'll be talking about MVC and Struts. It's free and is not a sales tool. Just a resource for developers. -Corey

JSP and Beans where to put them in JRUN ??

2000-09-25 Thread sufi malak
Hi, I was using Javawebserver2.0, but when running jsp files I found out that Javawebserver is not supporting jdk1.2. 1) I don't know if there is a way to make upgrade it to jdk1.2 2) Now I am thinking to use JRUN instead of Javawebserver2.0 but my I don't know where to put jsp and beans file.

Re: A Random Question

2000-09-25 Thread Bolt, Dave
You can do it with servlets. You have to check the request headers to verify that the browser supports compressed pages (gzip) and then use Java gzip capability to compress the data for the output stream. Marty Hall's book on servlets and JSP has an example servlet that does this. I don't think

Re: ASP vs JSP

2000-09-25 Thread Stefan Demetz
just a few other interesting things, not to defend anyone: -EJB and JSP are the java implementations of COM+ and ASP: they just came later and did it better -A friend of mine was writing java networking software for Win2000 in 1996/97: MS needed to extend java (because it was still immature then)

Re: how to you use costom tags in jsp.

2000-09-25 Thread Walter Landman
Dear asshole, We were all beginners one day. I remember pulling my hair out for 2 hours wondering why this doesn't work.. java HelloWorld.class I am sure some people on this list might find your questions to be stupid and idiotic. Why point the main at java.sun.com? Or tell him to buy a

JSP To Servlet Communication (RE)

2000-09-25 Thread SoftLiban KEYROUZ Charbel
Yes you'r right, but the problem was that this servlet was only available for a specific context (the contexts that you define inside server.xml for Tomat), therefore I had to access it in order to reach this session. Thank you for you answer because pageContext.getAttribute would have returned

JSP To Servlet Communication (RE)

2000-09-25 Thread SoftLiban KEYROUZ Charbel
Yes you'r right, but the problem was that this servlet was only available for a specific context (the contexts that you define inside server.xml for Tomat), therefore I had to access it in order to reach this session. Thank you for you answer because pageContext.getAttribute would have returned

Setting headers for file downloads

2000-09-25 Thread David Wall
I've created a URL of the form http://host.com/GetFile.jsp/test.doc?uid=100msg=123 with more parameters possibly at the end. The program GetFile.jsp is run on my web server fine, and I can then access the "test.doc" query parameter. That parameter tells me the name of the file to be returned.

Re: The JavaBean doesn't run... PART 2

2000-09-25 Thread Veronique Dupierris
I don't know how it should work in your case ( variable starts with Uppercase) Normally, the "Java programming way" says that all variables names should start with a lowerCase. So for Java beans you should have String name; and methods getName() and setName(string toto) So maybe just try

Re: Concurrence issue

2000-09-25 Thread Kevin Jones
SingleThreadModel is evil! Don't change the threading model it lulls you into a false sense of security, yes this will make your instance data thread safe, but any access to session or application (ServletContext) data will still need to be done in a thread safe manner. Use the synchronisation

Re: Concurrence issue

2000-09-25 Thread Kevin Jones
These should be protected by the generated code if you use scope="session" or scope="application". scope="request" or scope="page" are not an issue, there's only one thing accessing that particular page or request object at any time and that's the servlet or JSP currently executing. Kevin Jones

Re: Pop Up Window

2000-09-25 Thread Joseph B. Ottinger
On Mon, 25 Sep 2000, W Paul Waits wrote: I'm new to this list and don't know how to check the archives. Yes he should do his homework, but you have forgotten that you were a beginner at one time and someone wasted time and attention on you. Why not recommend a useful textbook or an online

Re: how to you use costom tags in jsp.

2000-09-25 Thread Joseph B. Ottinger
On Mon, 25 Sep 2000, Walter Landman wrote: Dear asshole, Yes? We were all beginners one day. Yes, for one day I was a beginner. Then I learned. :) I remember pulling my hair out for 2 hours wondering why this doesn't work.. java HelloWorld.class Ah, you didn't read, did you? I am

MIME-Type question

2000-09-25 Thread Christian Ruess
I would like to force a client to open a download window when a specific URL is pressed. What MIME type do I have to send to the client to do this? Thanks for any hint - Christian === To unsubscribe: mailto [EMAIL

Re: how to you use costom tags in jsp.

2000-09-25 Thread Walter Landman
Ok now i'm in java.sun.com. On the left I see Products, Develoer, DocsTrain, Online Support, Industry, Solutions, Case Studies. Also I then see Press, Java Tutorial, etc, etc. Hmmm let me click on Java Tutorial. How nice. JDK1.1 and Beyond!. Nothing about Taglib's there. Let me go back, and

javamail question

2000-09-25 Thread Jan D. Herzhoff
Hi, I want to use javamail for a form. Is it possible to declare two different recipients? Here is the code I use: Message msg = new MimeMessage( mailSession ); msg.setFrom( new InternetAddress( strFrom )); msg.setSubject( strSubject ); msg.setContent( strAll, "text/plain" );

Re: MIME-Type question

2000-09-25 Thread Angus Mezick
You are looking for something called multipart requests. They are described in: http://www.ietf.org/rfc/rfc1867.txt . You want to open that up in your browser's view source to see it correctly. The mime type is multipart/form-data. There is supposed to be an utility class named

JRUN

2000-09-25 Thread sufi malak
_ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.

Re: JRUN + APACHE, where to put files ??

2000-09-25 Thread sufi malak
Hi, How to create a web application in JRUN ? thanks From: Amy Wan [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: JRUN + APACHE, where to put files ?? Date: Thu, 31 Aug 2000 14:12:22 -0700

Where in APACHE (JSP+Beans files)

2000-09-25 Thread sufi malak
Hi, I just installed JRUN web application and Apache, do I have two option on where to put my files (JSP and Beans), I know that I can create a web aplication in JRUN and put my files in the directories created, but how about if I want to put everything in Apache, before I was usinf just jsp

Re: how to you use costom tags in jsp.

2000-09-25 Thread Angus Mezick
If you had read any JSP books you know know that taglibs are a small part of the JSP 1.1 spec. So, no, you won't see anything about taglibs specifically. Hmmm, on java.sun.com: * There is the drop down under "The Java Platform" there is an item called "JavaServer Pages". Looks like a good

Re: How to Convert Array into String

2000-09-25 Thread Matthew Hixson
On Sun, 10 Sep 2000, you wrote: You iterate through your array and append the values to a StringBuffer. Why not use: String(char[] value, int offset, int count) by doing String theString = new String(charArray, 0, charArray.length()); -M@ -- Matt Hixson Aventail Corporation Seattle,

Re: how to you use costom tags in jsp.

2000-09-25 Thread Hines, Bill
Why should he have to mention or even look for which tutorial for this guy? I think java.sun.com was just sort of a sarcastic "RTFM, and start at the beginning" reference anyway. Instead of the convoluted series of steps that you list below, anyone with half a brain or a little incentive would

Tomcat

2000-09-25 Thread Dan Lopez
I am using Jrun for development but would like to use a free implementation of some kind for production deployment. I have thought of using Tomcat but is there a win32 version that I can use for testing and deployment? Thanks __ Do You Yahoo!?

Servlet mapping in Model 2 architecture

2000-09-25 Thread Sanjay Sharma
Hi all, I'm trying to make the controller servlet mapping work in Model 2 architecture,to get the Action class from a hashtable. Here is what I have done. In a JSP file: form name="shoppingForm" action="/musicshop/servlet/ShoppingServlet/MainJSP.do" method="POST" In web.xml of the

Re: Servlet mapping in Model 2 architecture

2000-09-25 Thread Craig R. McClanahan
Sanjay Sharma wrote: Hi all, I'm trying to make the controller servlet mapping work in Model 2 architecture,to get the Action class from a hashtable. Here is what I have done. In a JSP file: form name="shoppingForm" action="/musicshop/servlet/ShoppingServlet/MainJSP.do"

Re: Tomcat

2000-09-25 Thread Kevin Citron
Tomcat is written in Java. So, yes there is as win32 version. -Original Message- From: Dan Lopez [mailto:[EMAIL PROTECTED]] Sent: Monday, September 25, 2000 11:44 AM To: [EMAIL PROTECTED] Subject: Tomcat I am using Jrun for development but would like to use a free implementation of

Taglibs and jsp: include file=... and/or %@include ...

2000-09-25 Thread Alex Tang
Hi folks. I was wondering...Is it possible to have a custom taglib tag produce (or reproduce the semantics) of "jsp:include page=.../"? l I have the same question about "%@ include" directive. What I'm trying to do is: using a taglib directive, include a separate JSP file. The name of that

Re: Tomcat

2000-09-25 Thread Chris DeLise
Yes, win32 is supported. It is supported both as a standalone application and as an NT Service, using a small utility. see http://jakarta.apache.org/builds/tomcat/release/v3.1/bin/ and download all of the zipped archives... Chris - Original Message - From: Dan Lopez [EMAIL PROTECTED]

Re: Tomcat

2000-09-25 Thread Jorge Barrera
yes -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lopez Sent: Monday, September 25, 2000 2:44 PM To: [EMAIL PROTECTED] Subject: Tomcat I am using Jrun for development but would like to use a free

Re: problem with extends directive

2000-09-25 Thread Brad Webb
Hello Stefan, I am not very experienced at this either but I would have extended with a regular bean instead of a servlet. I hope this helps. Brad Webb Stefan Henke wrote: Hi, first, I´m new to this list. So please apologize if this is a silly question. I´m using JSP with Tomcat adapted

Re: Tomcat

2000-09-25 Thread Darrell Cumming
yes it is, http://jakarta.apache.org/ there is binaries for win32. Darrell Dan Lopez wrote: I am using Jrun for development but would like to use a free implementation of some kind for production deployment. I have thought of using Tomcat but is there a win32 version that I can use for

servlets on tomcat

2000-09-25 Thread mike dell
Hi all, Where to put the servlets on tomcat? And do I need to make any modifications to any conf or setup file. Thanks __ Do You Yahoo!? Send instant messages get email alerts with Yahoo! Messenger. http://im.yahoo.com/

Re: Taglibs and jsp: include file=... and/or %@include ...

2000-09-25 Thread Craig R. McClanahan
Alex Tang wrote: Hi folks. I was wondering...Is it possible to have a custom taglib tag produce (or reproduce the semantics) of "jsp:include page=.../"? l Yes. Inside the tag's implementation you can use PageContext.include() for this, or use a RequestDispatcher directly. I have the

package in JRUN ??

2000-09-25 Thread sufi malak
Hi, after creating a web application in JRUN, directory map5. I put my jsp files in map5/jsp/ And Beans in map5/web-inf/classes/ Please would you like show me what should I do for package in each class. Thanks _ Get Your

  1   2   >