login name

2000-07-07 Thread Lakosi Istvan
Hi, I am new in JSP. I'm using Tomcat 3.1 on NT. How can I get the user's login name and IP address ? Thanks === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on

Re: Mailing list for Java

2000-07-07 Thread Ritu Kama
Hi Ritesh, You can search it on LISTSERV home page. You can query the list of your interest through this page. URL : http://www.lsoft.com/catalist.html bye ritu -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On

JSP engine

2000-07-07 Thread Mullin Yu
Hi, I'm looking into the JSP engine that can be easily merged with my PWS on Windows NT 4.0, and provides the EJB container. I know a few names, e.g. Websphere, JRun, apache. Which one is easier to use, and have more tools inside? Thanks!

CC in mail

2000-07-07 Thread Cheong Takhoe
Hi, How do I do a CC in an email generated by a jsp page using a bean that has the sun.net.smtp.SmtpClient class? regards, Cheong Takhoe === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some

passing value

2000-07-07 Thread Louis
Hi, For example, I have one jsp page allow user enter the personal info (info.jsp) and another is disclamer page (disclamer.jsp). When the user click submit in the info.jsp it will goto the disclamer.jsp, and if the user click agree in the disclamer.jsp, then it will pass it to the servlet to

applet code ????

2000-07-07 Thread Devendra Mahato
Hi, I want to run an applet thro' HTML..using any Internet browsers. I have written Java application which runs on the command prompt as follows: java FileName.Class My program basically selects data from oracle database(Emp table) and displays the Emp name(output) based on

Re: How to make stand alone application run on a browser using applet s?

2000-07-07 Thread Sanjay Kumar
Pls clearify your question -- Sanjay Kumar, Software Consultant, Addcon India Pvt Ltd. New Delhi. Emails : [EMAIL PROTECTED] [EMAIL PROTECTED] "Keep Smilling. It does increase your

Re: passing value

2000-07-07 Thread Tamanna Kher
the easiest way out is that once ur login page is submitted all the values wil be passed in the disclaimer page which then will call the servlets. o on disclaimer page u can store the values in the hidden variables. and when u submit this page too then ur values will automatically be submitted

Re: How to make stand alone application run on a browser using ap plet s?

2000-07-07 Thread Ritesh_Srivastava
Actually i am trying to have my stand alone java application web enabled. Presently i am typing on the command prompt something like this: java AppName Then my Application is started. I want to start the same from the browser. For this i have been using a servlet that has something like this

passing value

2000-07-07 Thread Louis
Hi, For example, I have one jsp page allow user enter the personal info (info.jsp) and another is disclamer page (disclamer.jsp). When the user click submit in the info.jsp it will goto the disclamer.jsp, and if the = user click agree in the disclamer.jsp, then it will pass it to the servlet

Re: passing value

2000-07-07 Thread Louis
i got problem, the request.getparameter("login") give me null value. the login page is JSP page, is it the problem of this? How to do now? Louis - Original Message - From: "Tamanna Kher" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 07, 2000 11:28 AM Subject: Re: passing

Re: passing value

2000-07-07 Thread Donald Vandenbeld
Actually, if info.jsp puts the information in a bean/hashtable, disclaimer.jsp doesn't need to interact with the data at all... The bean (if it's a session or application scope) will still be hanging around when the servlet gets run. Donald - Original Message - From: "Louis" [EMAIL

Re: passing value

2000-07-07 Thread Tamanna Kher
Hi!!! firstly the syntax is request.getParameter("login") and not request.getparameter("login") secondly though this is very simple still i'll ask u to check the parameter names and cases (upper case or lower case). Louis [EMAIL PROTECTED] on 07/07/2000 08:20:29 PM Please respond to A

asp v. jsp/servlet environment?

2000-07-07 Thread Phil Campbell
Can someone recommend a good on-line article on pros and cons of asp v. jsp? We're not too impressed with what we know about asp, seeing no advantage over jsp and believing it may have noteworthy disadvantages. Any thoughts, comments are appreciated Phil Campbell

Re: asp v. jsp/servlet environment?

2000-07-07 Thread Daryani Santosh
Go to orionserver.com , Under the FAQ section there is a link to benchmark , which compares performance of ASP vs JSP === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on

Re: JavaTool

2000-07-07 Thread Jim Bailey
We use it for developing servlets and JSPs with Resin. It has some quirks but overall it is a net plus for RAD. -Original Message- From: Thomas W. Hohler [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 06, 2000 10:36 PM Does anybody know IBM VisualAge 3 for Java? How is it? Are there

Re: FTP From JSP

2000-07-07 Thread Sneha Sharma
Sneha Sharma@CONTEXT 07/07/2000 08:04 AM If this is being done in an attachment with a mail, then I can send you the code. Sneha Patrick Regan [EMAIL PROTECTED] on 07/07/2000 10:31:54 AM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL

Uploading a file from an applet to a servlet...

2000-07-07 Thread Franck Rageade
Dear Java dancers, I would like to upload a file from an applet to a JSP page. I've downloaded a component called JspSmartUpload and it works very well. In fact, here is my problem... First I use an HttpURLConnection which connects to the JSP page : URL actionURL = new

Re: passing value

2000-07-07 Thread Louis
Yes, I know if i put it into a bean, that will work, but I just want to know that which way is good? using bean or using hidden value? - Original Message - From: "Donald Vandenbeld" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 07, 2000 3:05 PM Subject: Re: passing value

Re: passing value

2000-07-07 Thread Louis
I'm sorry i'm type wrong case in the mail. Here is the code in info.jsp input type="text" name="login" here is the code in disclamer.jsp input type="hidden" name="name" value="%=request.getParameter("login")%" should I need to put something like % page xxx or scope=xxx % in top of my page?

Re: asp v. jsp/servlet environment?

2000-07-07 Thread Shane Duan
This question has been posted before, I think it should be on the FAQ list or the archive. Anyhow, here are the links I saved from last post: Here are some references with comparisons between ASP and JSP: Comparing JavaServer Pages and Microsoft Active Server Pages Technologies

Re: FTP From JSP

2000-07-07 Thread Corbishley, Damien
You should use in your html code input type = file, check the syntax, this pops up a file upload box, which when you press the submit button it attempts to upload the data , you can get it by opening an input stream, you have to be careful not to open the output stream before you finish reading

Re: asp v. jsp/servlet environment?

2000-07-07 Thread Vasudha Deepak
www.serverpages.com has some good articles on this. - Original Message - From: Phil Campbell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 07, 2000 8:33 AM Subject: asp v. jsp/servlet environment? Can someone recommend a good on-line article on pros and cons of asp v.

Re: JSP engine

2000-07-07 Thread Sicaud Patrice
We had good luck with jRun 3.0 on both PWS and IIS to run JSP and servlets. BTW, I would consider switching to IIS. DO remember however that the servlet engine will not provide EJB services by itself. You need an application server for that. I assume that some exist that run under NT but you will

Re: asp v. jsp/servlet environment?

2000-07-07 Thread Soni, Anuraj
If you look at the benchmark test, a very simplistic file bench.asp and bench.jsp was used. In real environment if you are using asp or jsp its not for static data (or else html would have been better) but for dynamic data and always involves database interaction. I think this is where Microsoft

Re: passing value

2000-07-07 Thread Vasudha Deepak
Hi, Hidden values can be a good way too to pass parameters.When you set the name value pairs , give the expression like%=Str% for the value , where Str can be any Java variable you wish to pass, and then retireve it in Disclaimer.jsp. - Original Message - From: Louis [EMAIL

Re: asp v. jsp/servlet environment?

2000-07-07 Thread Ritesh_Srivastava
i liked that -- From: Graham Cruickshanks[SMTP:[EMAIL PROTECTED]] Reply To: A mailing list about Java Server Pages specification and reference Sent: Friday, July 07, 2000 9:04 PM To: [EMAIL PROTECTED] Subject: Re: asp v. jsp/servlet environment? I've

I18N: specifying alternate charsets

2000-07-07 Thread Paul Holser
Can I set a charset on my response dynamically in a JSP? I want to set the content type to have a charset that can represent characters in a particular language in an I18N'ed application--Big5, ISO-8859-5, etc. Can I set this dynamically from a request attribute i've set in a servlet or an

Re: asp v. jsp/servlet environment?

2000-07-07 Thread Phil Campbell
I've been working with ASP for 3 year before changing recently to JSP,... It seems with this list of pros and cons, one would be well advised to avoid Microsoft's asp as one would avoid Cleopatra 's asp or the biblical asp... Phil -Original Message- From: Graham Cruickshanks

Re: FTP From JSP

2000-07-07 Thread M.Velikov
See : FORM name="sendfile" ENCTYPE="multipart/form-data" action="" method=post INPUT TYPE="submit" VALUE="BLA BLA BLA"/FORM Marin. Patrick Regan wrote: I need to have a user specify a file residing on their local hard drive and then FTP it to where my web server is running (some

variable passing????

2000-07-07 Thread subramanian Athimoolam
hi friends here i am passing variable form one jsp page to another page. single string means no problem. its passing. ex. value=category a href="../Delete.jsp?value=%=val% the value will be passing next page suppose the value contain two string means it will give error.

Re: FTP From JSP

2000-07-07 Thread Devon Manelski
Phil, Could you outline your concerns regarding ASP and JSP? I think both languages are appropriate given the nature of the existing hardware, software and staffing infrastructure. Your performance requirements and the complexity of the application also affect the decision. Although there are

Re: FTP From JSP

2000-07-07 Thread Phil Campbell
Thanks, Devon... informative discussion on possible situations where Microsoft's asp might be acceptable. Hopefully any Microsoft IIS lovers will forgive my reference to Cleopatra's asp. Companies usually spend much effort to avoid such comparisons with branded names and technologies. MS

How to use Bean in Weblogic 5.1

2000-07-07 Thread Rupali Bains Goswami
Hello, I have a jsp page and I want to call some validation beans from it. for the setup I have modified the weblogic.properties file to specify my document root as public_html under which i have the htdocs directory where the jsp and html files reside. The bean are placed in the

Re: FTP From JSP

2000-07-07 Thread Devon Manelski
Phil, JSP Advantages: More reliable, (ASP may look like it works but JSP/Javabeans mean you have to catch exceptions i.e. better code) - When you implement the data access and business logic in compiled languages this difference has a far less reaching effect; in essence, your "better

AJP for Tomcat.

2000-07-07 Thread Jitender Aswani
Hello DOes anybody know that to get a group of Tomcat engine session managed and load balanced, will AJP1.2 work as it does for Jserv with Apache as my web server? Also if you guys can provide any input on which is best among JRun and Tomcat just for Jsp\Servlet for a production site, I will

Re: JSP and UML - or: Modeling a JSP application

2000-07-07 Thread Hines, Bill
Heiko, I went to a week-long Rational OOAD class and couldn't figure out how to apply the UML to my web app. So I had a design session with Rational on my web app and I noticed that the consultants were all peeking in this book. I asked to see what it was and it was the book that Bill mentioned

Re: How to use Bean in Weblogic 5.1

2000-07-07 Thread Sneha Sharma
Sneha Sharma@CONTEXT 07/07/2000 01:07 PM First of all , naming ur class package as beans and using jsp:useBean id="auth" scope="session" class="com.ixl.dca.ccms.Authenticate" for useBean is a java error. I mean ur bean is class beans.Authenticate So change that first 2ndly keep this class in

Re: How to use Bean in Weblogic 5.1

2000-07-07 Thread Rupali Bains Goswami
thanks!! worked like a charm From: "Jaffa, Dan" [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How to use Bean in Weblogic 5.1 Date: Fri, 7 Jul 2000 15:50:56 -0400 Raman, Try and put all

Re: asp v. jsp/servlet environment?

2000-07-07 Thread casey kochmer
Hello Phil I just recently wrote an article discussing your questions topic. The article is called ASP Vs JSP and it is the first of several installments on this topic. You can read the article at http://www.jspinsider.com/articles/jspasp/jspasp1.html At this time I suppose I can also announce

Re: EJB in Weblogic 5.1...

2000-07-07 Thread Jaffa, Dan
I only have one minute. Have to catch a train You should use the weblogic ejb deployer with 5.1. It works great. What you need to do is build the bean class files along with xml files and build these files into a jar. Then run the deplorer and deployee the ejb. Then if you add the ejb to the

problem passing Array from Servlet to JSP (newbie question)

2000-07-07 Thread Enriqueta Tuason
Hi, I'm trying to pass an Array from a Servlet to JSP. My problem is that all of the values that show up on the JSP are zero, but I get the correct length of the size of the Array. Here's what I have in the Servlet: - AccountBean[] aB = getAccounts();

problem passing array from Servlet to JSP

2000-07-07 Thread Enriqueta Tuason
Hi, I'm trying to pass an Array from a Servlet to JSP. My problem is that all of the values that show up on the JSP are zero, but I get the correct length of the size of the Array. (I am using Tomcat 3.1 on NT) Here's what I have in the Servlet: - AccountBean[] aB =

Re: Extending JSP pages

2000-07-07 Thread Jim Preston
I don't want to beat this into the ground, and I don't mean this to sound argumentative, I'm just interested in discussing design issues like this. If you use Hans Bergsten's suggestion then (as he himself indicated) all the URLs that reference any of the JSPs in the set have to reference the

Servlet Error

2000-07-07 Thread Wong, Douglas
Any ideas anyone? 500 Internal Server Error MailServlet: java.lang.NoClassDefFoundError: junk/BasicStatementService Server: Solaris 2.7, Jrun 2.33, iPlanet 4.1 === To unsubscribe: mailto [EMAIL PROTECTED] with body:

HTML Parser

2000-07-07 Thread job job
Does anyone have suggestions for a simple, robust HTML parser? Thanks, Rahul __ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com ===

Navigation from Applets in MS Outlook

2000-07-07 Thread job job
I'm trying to navigate on click of an applet button in Outlook Mail, but get no response - I expect the lauch of a new browser window, but no luck. Any suggestions? The button code is included below: import java.awt.*; import java.awt.event.*; import java.applet.*; import

JSP 1.1/Servlet 2.2 and WebLogic 5.1

2000-07-07 Thread Kevin Duffey
Hi, Anybody know if WebLogic 5.1 allows full Servlet 2.2 applications along with JSP 1.1 and tag-libs to work? I see that it supports it, and we had a guy from WebLogic come out for a demo and told use that WebLogic 5.1 can't hot-deploy web apps, but that it does support it. Yet, when I try to

Re: FTP From JSP

2000-07-07 Thread Kyle Cordes
MS' arguments that ASP may perform well in certain environments (MS NT IIS with MS SQL 7) seem reminiscent of PC developer's defending dBase... ultimately, product viability rests in advantages, not in yeah'but arguments. I'm far from a raving MS fan, but I will point out that ASP apps

Re: FTP From JSP

2000-07-07 Thread Shrisha Radhakrishna
I have developed 7 projects with ASP/COM and I have to say that this combination certainly outperforms the JSP/EJB/Servlet design I am currently working with. --Shrisha - Original Message - From: "Kyle Cordes" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 07, 2000 7:35 PM

Re: FTP From JSP

2000-07-07 Thread Gerardo Liza Recinto
Let's explore more on a related topic as I like this {:)).. I still can't figure out why the sentiment against MS when that it is doing a good job bringing out high performance softwares ? {:( (I am also not an avid MS fan although I worked under Bill's army of software developers. 'got to stay

FTP From JSP

2000-07-07 Thread Patrick Regan
I need to have a user specify a file residing on their local hard drive and then FTP it to where my web server is running (some directory). I would assume I would need to use FTP within my java code to do it. But this runs on the server so I would not have access to the local hard drive. How

Re: FTP From JSP

2000-07-07 Thread Thornton, Shannon
Patrick, You probably want to look into using the HTML form element type of FILE. You can put this on a form and it will give a text field to enter a file name with a browse button beside it.It's like this: input name="uploadFile" type="file" It then sends the file with your form