dialg in jsp ?

2000-09-16 Thread sufi malak
Hi, I did dialogs in java awt and swings, but not in jsp, I want when the user click in a link a dialog pop up, with a label, text field and four buttons (Browse, Search, OK, Cancel). Please how to do it in jsp, because after pressing the button ok I have to pass data in the text field to a

Stumped ... need some help

2000-09-16 Thread Ryan Richards
My goal: To use a JSP to get information from a database. I already have an html page that passes parameters to a servlet to do this and both work fine. Now I would like to use the more flexible approach of using a JSP and getProperty() to do the same thing. Here is my problem: I have converted

Internationalization and TagLibs

2000-09-16 Thread Julia Reynolds
Hi, Is there a taglibrary available somewhere that includes tags for Internationalization using the resource bundles in the java.util package? Julia === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

How to pass an array in JSP to an array in JavaScript

2000-09-16 Thread TracyChoy
Hi, Is there a way to pass the array from JSP to JavaScript?? If possible, can you please provide an example. Thanks in advance. regards, Tracy === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

apache Digest Access Authentication

2000-09-16 Thread hua ge
Hi, does someone know some examples / tutorial to do the digest access authentication on apache? I once did the http basic authentication on some resources on apache/tomcat. it works fine. now I'd like to apply the digest access authentication to my project. but... I could not find examples or

Sendmail - speed

2000-09-16 Thread Neal Cabage
Does anyone know how to gauge the rate at which Sendmail can send emails? I'm looking at writing a routine to iterate through a list of emails in a dB and send a 1 page email to each. There are a *lot* of addresses in this list and I am trying to figure out how quickly we'll be able to send

Re: driver performance

2000-09-16 Thread Ellis Miller
Yes. Type 1 drivers use the jdbc-odbc bridge and are not 100% Java. Type 4 Drivers are 100% Java (all access is coded completely in Java) so there are no calls out of or into the Java VM and there is no need for for a bridge or server in the middle. Ellis -Original Message- From: Neal

Re: dialg in jsp ?

2000-09-16 Thread Sachin S. Khanna
JSP is server side, therefore it would not make any sense using swing components with it. Use Javascript for client side validation. Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From: sufi malak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Will any good guy help me.....

2000-09-16 Thread Mauro Quartini
At 11.46 16/09/2000, you wrote: Hi Fellows, I have downloaded and installed the Apache Software. I also copied Jakarta-Tomcat in the Apache directory. I wrote a Simple JSP Page. But whenever I tried to load that Page, I didn't succeed. Will you please help me. Will you please guide me that

Java vs Microsoft

2000-09-16 Thread TV Karthick Kumar
Hi List.. I want good articles and resources on Java vs Microsoft technologies ?. I want the detailed comparison between both the technologies. Where can I get it ?. ~ Karthick === To unsubscribe: mailto [EMAIL

About cookie

2000-09-16 Thread Muliawan Sjarif
I'm not really understand of how this cookie works. I have this example and run it in a browser, html head /head body % adds a cookie Cookie c = new Cookie("foo","foobar"); response.addCookie(c); gets

Re: include tag and iPlanet web server

2000-09-16 Thread Kachana Ung
Jennifer, Don't forget the flush attribute. Currently, it's only valid value is true, if my memory serves me right. Try something like this: jsp:include page="/workflow/header.jsp" flush="true"/ Kachana --- Jennifer Buffington [EMAIL PROTECTED] wrote: Any one having problems using iPlanet

Jsp and file download

2000-09-16 Thread Maciej Tylczyski
Hi All I try to write code that downloads file from jsp but always after I use response.getOutputStream() I get IllegalStateException : 'OutputStream is already being used for this request' What can I do about it ? Thanks for any suggestions. Regards Maciek

Code to be executed once

2000-09-16 Thread Narayanaswamy, Kumaran (CTS)
Hi My Problem is as follows I have a part of Code which should be excuted only for the first request,so Iam having a flag called firstTime which i had declared at %! boolean firsttime = false % and in the tag % if(!firsttime) { firsttime = true; execute the

Re: jsp tags ( useBean include)

2000-09-16 Thread Sunil Roy
thanks a lot. that solves my problem. sunil roy - Original Message - From: "Martin Cooper" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 14, 2000 3:12 AM Subject: Re: jsp tags ( useBean include) Yes, it's the reference implementation for an old (and dare I say,

Re: RequestDispatcher

2000-09-16 Thread Sunil Roy
This is because once u have written something to the o/p stream in the Servlet2, for displaying on the browser, then u cannot use forward anymore, coz, the forward is for passing the control to the next servlet, which then is supposed to write the o/p to the browser.U cannot write the o/p to the

Re: I need some help with JSP reference

2000-09-16 Thread Sunil Roy
if the declaration of a var. or an object is made in the Expression tag %! .. % beforehand, then the same can be used thru out the page. that solves your problem. bye. - Original Message - From: "Jacek Laskowski" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 14,

Re: Stress Testing your JSP Site

2000-09-16 Thread Bradley McLain
we've tested apache jmeter and also the microsoft web application stress tool (i cant remember the exact name). the microsoft tool allows you to record activity scripts, so it can be a bit easier. the problem with such tools, however, is that we haven't found a way to simulate real user

Re: JSP tags

2000-09-16 Thread Kevin Jones
Where is your web.xml file - we need to see this to see if you've mapped your taglib correctly? 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 Sajeev Anand

storing passwords in a db

2000-09-16 Thread Raymund
hi, can someone tell me what class I can use to encode my passwords I store in the database. thanks RAY === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets

What's the best approach?

2000-09-16 Thread Muliawan Sjarif
Hi list, I need your advise on this. I want my users just need to do login 1 time on my website. And whenever they enter again onto my website, they don't need to do login anymore as long they're not logged out. For this case, I was thinking of using cookie. At the first time the user login, I

JSP GUI Tools

2000-09-16 Thread Jack Copper
Does anyone know of any GUI tools besides Macromedia UltraDev that assist in quickly developing simple Web forms and connecting them to a back-end database? Jack Copper _ NeuralWare 230 E Main Street Ste 200 Carnegie PA 15106 USA Voice: +1 (412) 278 6280 Ext 841 Fax: +1

Re: Code to be executed once

2000-09-16 Thread Sachin S. Khanna
declare the boolean value in a scriptlet tag (%.% and not inside a declarative tag (%!...%). That should solve your problem Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From: Narayanaswamy, Kumaran (CTS) [EMAIL PROTECTED] To: [EMAIL

Re: JSP on Solaris

2000-09-16 Thread Ellis Miller
You are correct on the GNUJSP. Currently, we are just using Apache/JServ although the Java developers have incorporated Tomcat into their preferred IDE for testing (Visual Age by IBM): All of the steps for doing this are online. However, if you use Oracle JDeveloper you already have an IDE with

Re: jsp:forward query of Priya Pinto

2000-09-16 Thread Sunil Roy
The following syntax can help u solve your problem. Use this in your current JSP page (say one.jsp), in the current folder (say JSPEX1), for forwarding to the other folder (say JSPEX2.). This syntax works provided both the folders are in the same parent dir. %@ forward

Re: Code to be executed once

2000-09-16 Thread Geert Van Damme
Because you declared your boolean inside %! % tags, its scope is the servlet instance, not the request. If you use % % tags, it will be a local variable, but then it's not exactly clear how this should work. It will of course always be the first time then. Maybe you mean that the code should be

How to identify whether a session has expired

2000-09-16 Thread Narayanaswamy, Kumaran (CTS)
Hi Is there any method to find whether a session has been expired? with regards, Kumaran Cognizant Technology Solutions India Ltd, 1st Floor ,T.S.140 No 2 9, C.P.T Road .Taramani Chennai - 600 113. Phone(0ff): 044 - 2354281/2354411 Extn: 4443

Re: JSP tags

2000-09-16 Thread Sanjay Gomes
Hi Sajeev Which book are you referring for this ,I need to start on this topic and want to know a ggod book on the same Thanx in Advance Sanjay -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Sajeev

Problem writing international characters to file

2000-09-16 Thread Michal Belicek
I have problem with specific czech characters when I use them in JSP bean. When I write these characters using FileWriter print("specific czech haracters here in this string") method to file on disk, the characters in the result file would be replaced by qustion marks. I use common windows-1250

JSP FAQ Resource Information

2000-09-16 Thread Anil K. Vijendran
This is a weekly informative posting to the jsp-interest list. Before asking questions of a general nature, please check out the resources available online to see if your question already has an answer. The best place to start

Re: JSP tags

2000-09-16 Thread Jacek Laskowski
Sajeev Anand wrote: Sure, only that it involves the code, but this is only a Hello World program. My tag class: HelloTag.java --- import java.io.*; import javax.servlet.jsp.*; import javax.servlet.jsp.tagext.*; public class HelloTag extends TagSupport { One

Re: I need some help with JSP reference

2000-09-16 Thread Geert Van Damme
You shouldn't use %! % tags unless you have a specific reason. vars declared inside %! % tags are servlet member variables, which means that they are shared by all requests to the same JSP page. Not just in the single request! I think this is one of the most common mistakes. Geert Van Damme

Error Message, what to do?

2000-09-16 Thread Kai Hackemesser
java.lang.IllegalStateException: Response has already been committed at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletRespon seFacade.java:157) at org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299) at

Code to be Executed Once

2000-09-16 Thread Narayanaswamy, Kumaran (CTS)
Hi My Problem is as follows I have a part of Code which should be excuted only for the first request,so Iam having a flag called firstTime which i had declared at %! boolean firsttime = false % and in the tag % if(!firsttime) { firsttime = true; execute the

How to Identify whether a session has expired

2000-09-16 Thread Narayanaswamy, Kumaran (CTS)
Hi Is there any method to find whether a session has been expired? with regards, Kumaran Cognizant Technology Solutions India Ltd, 1st Floor ,T.S.140 No 2 9, C.P.T Toad .Taramani Chennai - 600 113. Phone(0ff): 044 - 2354281/2354411 Extn: 4443

Re: Servlets vs JSP

2000-09-16 Thread Kevin Jones
JSPs compile to servlets, so the model is exactly the same, 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 Venu Gopal Sent: 14 September 2000 00:54 To:

Re: I need some help with JSP reference

2000-09-16 Thread Kai Hackemesser
I'm not sure if I understood JSP reference correctly. If I create code between % and %, are the objects available in another % % part, or not? Yes, they are. Just think about % % as a part of doGet/doPost method and all HTML as several out.println statements. I tried, but got a warning

Re: jsp:param with empty value

2000-09-16 Thread Kevin Jones
OK I've just tried it on Tomcat and it works fine, so I'd say it should work evverywhere. I'd complain to the Resin guys, Kevin Jones DevelopMentor www.develop.com -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL

Re: RequestDispatcher

2000-09-16 Thread Jacky Cheung
Hi, I think I can explain forward and include using the following cases. Let say there are 2 servlet A and B. If A forwards request to B, the control will first go to A and then B. Servlet A does not generate any output to the output stream. All output is generated by Servlet B (including

Re: write onto excel file

2000-09-16 Thread Doug Turner
If you are prepared to spend big bucks, Tidestone Technologies has the FormulaOne product (http://www.tidestone.com/home/default.jsp). IBM also has a free excelaccessor bean that you can learn about at http://www.alphaworks.ibm.com/ab.nsf/bean/excelaccessor. Good luck! - Original Message

Re: Internationalization and TagLibs

2000-09-16 Thread Craig R. McClanahan
Julia Reynolds wrote: Hi, Is there a taglibrary available somewhere that includes tags for Internationalization using the resource bundles in the java.util package? One option is the internationalization support in the Struts framework's tag library http://jakarta.apache.org/struts. It

Where can I get JSP tag definitions for homesite?

2000-09-16 Thread Robert Nicholson
Anybody know where I can find the JSP page definition file for homesite? --- Robert Nicholson Email: [EMAIL PROTECTED] AOL : rydmerlin === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some

Re: Question about forms

2000-09-16 Thread Craig R. McClanahan
Robert Nicholson wrote: With struts the form beans capture all state relating to a form. Or at least that's how I think it's designed. Yes ... that was the original design intent behind form beans. Now, I can see how this is appropriate when you want to redisplay the form to the user

Re: Servlets vs JSP

2000-09-16 Thread Shiraz Wasim Zaidi
I just wanted to know whether JSP internally will be running as a single process like Servlets and handles the other processes / request comin in as threads? Or how do it run / handle requests? JSP's are compiled to servlets before they execute any web requests. They run in their own thread

IMAP Server

2000-09-16 Thread Saravanan
Is there any ISP who provides IMAP Server Account.. I have come across and IMAP Server Do anyone have any account for an IMAP Server.. Saravanan === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

jsp:forward problem

2000-09-16 Thread yue zhang
Hi,All, I encounter a problem when using jsp:forward. In my process.jsp page, after processing insert or update function,it will be redirected to another jsp page named process_response.jsp which just displays different confirmation message depending on the action the former page took. But,

Some Useful Tool

2000-09-16 Thread Alok Kumar
Hello all, I am new to JSP. Can you suggest me any development tool which can be useful for developing JSP? also I need some idea about the server which supports JSP and can be useful for testing it? If free-ware then kindly send the location of it. Waiting for earliest reply. Alok

Re: Some Useful Tool

2000-09-16 Thread Loni Bharat Nagwani
SilverStream 3.5 (www.silverstream.com) has an Jsp tool. - Original Message - From: Alok Kumar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 13, 2000 8:29 PM Subject: Some Useful Tool Hello all, I am new to JSP. Can you suggest me any development tool which can

Re: Wap gateway not working with JSP

2000-09-16 Thread Martin Smith
We have a jsp-based WAP service at http://directory.gov. Fair number of "HDML loop" bugs still happen, but it works pretty well. Only tested with Nextel service (which uses the phone.com gateway product, I believe.) What's your URL? We can give it a check via WAPman (simulator that connects

Cleared data on clicking Back button

2000-09-16 Thread Raj S
Hi, How can I ensure that when I press the Browser's back button,the data in the textfields is cleared out in the JSP? Thanks, Raj _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share

Forwarding problem...

2000-09-16 Thread Raj S
Hi, I am facing a forwarding problem. I have to forward to another page,based on a return value from a method called CheckLogin() But when I try to do so, it does not recognize the variable returned. How can I ensure that jsp:forward page="%=retVal%"/; is executed within the if loop,so that it

Forms and tables in JSP.

2000-09-16 Thread Raj S
Hi, I have a few questions about forms. 1) Can I redisplay a form?That is when I enter values in textfields and click the button,the methods should be executed after the button click,and results should be displayed on the same JSP. 2)I am making an address book.So I am displaying search

Re: Forwarding problem...

2000-09-16 Thread Loni Bharat Nagwani
% String name = request.getParameter("loginname"); String Pwd = request.getParameter("password"); if (name!=null Pwd!=null) { String retVal= AuthenticateLogin.CheckLogin(name,Pwd); out.println("retval is "+retVal); % jsp:forward page="%=retVal%"/; % } % Bharat -

Re: load balancing/failover solutions

2000-09-16 Thread Shrisha Radhakrishna
Considered resonate? - Original Message - From: "Lisa Lewis" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 14, 2000 11:36 AM Subject: load balancing/failover solutions I would appreciate any advice on choosing a load balancing and more importantly for us, a

Re: How to Identify whether a session has expired

2000-09-16 Thread JSP Insider
You can approach the problem from the other direction. If the session has expired then the current session will still be new. % boolean lb_test = session.isNew() ; if (lb_test) out.print("we have a new session"); % isNew Returns "true" if a session object has been created but not accessed by

useBean vs. getAttribute

2000-09-16 Thread Howard Lee
Hi guys, Someone here said awhile ago that useBean and getAttribute is the same thing. e.g. I setAttribute(someBean, "myBean") in a servlet, and then I forward it to a JSP. Inside the JSP, I do getAttribute("myBean") and I can get the someBean, but he mentioned that I can also get the someBean

Re: Some Useful Tool

2000-09-16 Thread ALWIN JOSEPH
nice to meet u, kumar as for as my knoledge Forte from sun is best ide for java. u can test jsp program there. tomcat is best jsp engine. u can download it from apache.org site ok bye josh On Sat, 16 Sep 2000 12:29:02 -0700 Loni Bharat Nagwani [EMAIL PROTECTED] wrote: SilverStream 3.5

No Subject

2000-09-16 Thread Brian Slezak
What is the appropriate way to validate a form using JSP? A normal, validate the form input and explain which entries need to be changed if any form. Should this be done within one JSP page, or should it be posted to a second JSP page? Thanks for all help. Brian

Best Authentication Approach

2000-09-16 Thread Bolt, Dave
I have been debating the best way to authenticate users on our web app. The app is a Model 2 style servlet/jsp app with EJBs on the backend (AKA Java Blueprints). Our site has material that is graded for different levels of access. Our security needs are as follows. public access (Anonymous)

Sessions deep copy? and subtypes in the session.

2000-09-16 Thread Robert Nicholson
Where can I read about how things are stored in the session? In particular is it a deep copy of the object? ie. recursively copies all reference objects too? ie. if I have an object reference that's stored in the session (the object I assume) and I change some state.. If I ask for it out of the

Just checking

2000-09-16 Thread Boulatian, Misak
THANKs Thanks, Misak Boulatian === 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

JSP/Servlet Security Model

2000-09-16 Thread Craig Despres
We are in the process of starting a project using JSP and Servlets on the Sun platform which will require a very granular level of security. For example, we will have navigation bars, and access to portions of the web based application driven by the security role a user will have. Does anyone