jsp code not working in oracle

2000-07-28 Thread subramanian Athimoolam
hi friends, i have a problem. i am wroking jsp using Acess it will works fine. but the same querey i am ascess through oracle it wont work properly.the prgrame is like tree view . here i written my code: <% String t11 =null; String t12 =null; try { String reh=request.getParamet

Re: .\ in class path

2000-07-28 Thread Chao Chen
"." simply means the current working directory in MS-DOS. In a message dated 7/28/00 11:01:42 PM Central Daylight Time, [EMAIL PROTECTED] writes: > Subj: .\ in class path > Date:7/28/00 11:01:42 PM Central Daylight Time > From:[EMAIL PROTECTED] (B R Nair) > Sender: [EMAIL PROT

JSP compatibility

2000-07-28 Thread Silja S. Nath
Hi, I heard that JSP is neither backward nor forward compatible. Is that correct? Can anyone give any clarification on this? Regards, Silja === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST

how do I?

2000-07-28 Thread Howard Lee
Hi guys, I have a program that generates XML and calls a JSP. I want the JSP to somehow takes this XML input (not necessarily a file) and do processing. How should the XML generating program call the JSP? I don't think I can embed the XML into URL. Any idea guys? Thank you very much. howard ===

.\ in class path

2000-07-28 Thread B R Nair
Hello, In the SET CLASSPATH=C:\SBN\LEGAL.JAR;.\ statement (MS DOS environment), what is the function of the last two characters, namely, ".\"? Thanx in advance. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signo

Re: Help for JSP implicit objects

2000-07-28 Thread B R Nair
Mnish, try this one: http://java.sun.com/products/jsp/index.html BRN. -Original Message- From: manish jain <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Friday, July 28, 2000 2:55 PM Subject: Help for JSP implicit objects >Where can i get help for JSP implicit obj

Sorry!!Session shared ...

2000-07-28 Thread Sophie Guillouet
I'm sorry, I've just found the problem come from the wap browser, My JSPs works with html and Netscape!! Sophie === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servle

Same session shared by 2 jsp

2000-07-28 Thread Sophie Guillouet
Hi everybody! I have 2 simple JSP and I want them to share the same ''session'' predefined object. I thought it was implicit but when I ask for the session identifier by using the getId( ) method I get two different identifier in each JSP. Even when I reload one of theses pages , I get a new ide

Observer / Observable & Applet-Servlet Comm

2000-07-28 Thread Paras Shah (Java)
Hello, I am making an housie game using the applet-servlet communication. Problem: I want the number generated at the server to be intimated to the client(applet). For this i am taking help of the observer and observable class/interface. But I am unsuccessful in doing it. So please do let me k

BUG? on Handling run time exception from jsp file within

2000-07-28 Thread Scott Clegg
There seems to be an issue(bug?) when handling a run time exception from within of Tomcat 3.1. If you implement the three small files as below(error.jsp, temp.jsp, and badcode.jsp), you should be able to reproduce my issue. In theory, it should display "You got an error". Unfortunately, the sy

Re: Help for JSP implicit objects

2000-07-28 Thread JSP Insider
You can check out http://www.jspinsider.com/articles/jspasp/asp_to_jsp.html I realize the format is in comparing the asp implicit objects to the jsp implicit objects, But It still is a list of all the JSP implicit objects with a function/attribute list done in chart format for reference purposes

Re: Proprtionate String Padding

2000-07-28 Thread Fkolar- globenet
s tim ja se to priveze si nelamej hlavu.. hlavne aby to bylo kopene a ten pro koho to bude je kaja vyzralekk ne aby jsi mu to rikal ze hodlam usit takovou habaduru - Original Message - From: "Daryani Santosh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 28, 2000 11:08 AM

Re: Urgent help needed

2000-07-28 Thread Kachana Ung
I'm still running into this same problem. However I noticed that if I hit the test.jsp first, then hit the servlet, it worked. Has anyone ran into this problem using Java Web Server 2.0, and servlet 2.1? TIA, Kachana --- Vasudha Deepak <[EMAIL PROTECTED]> wrote: > Hi, > Check the version

Re: Proprtionate String Padding

2000-07-28 Thread Richard Yee
If you are displaying the String in a browser, padding the string with spaces will not produce the desired results since HTML ignores extra spaces and newline characters. Instead, you need to append " " in place of a space character. String padString(String s, int desiredSize) { String S

Re: Development Tool and JSP Deployment

2000-07-28 Thread Kevin Duffey
If money isn't an object, look at WebGain Studio. It has Visual Cafe 4, DreamWeaver 3, StructureBuilder, WebLogic app server ( 1 connection license) for $5000. The tools are well integrated including deployment to weblogic server for EJB in the Visual Cafe ide, and you can build beans and taglibs

Re: Proprtionate String Padding

2000-07-28 Thread Naresh Thawani
Try this with spaces instead of 0 function addZeros() { var v = document.form.elementX.value.length; if(v > 0){ for(var i=document.form.elementX.value.length; i<35; i++){ document.form.elementX.value = '0' + document.form.elementX.value } } } -Original Message- From: Daryani Santo

Re: Struts example doesn't work

2000-07-28 Thread Zeltser, Mark
The latest version of struts example is running fine. Thanks for reply, Mark. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, July 28, 2000 1:54 PM To: [EMAIL PROTECTED] Subject: Re: Struts example doesn't work "Zeltser, Mark" wrote: > > Hi All,

Re: Proprtionate String Padding

2000-07-28 Thread Daryani Santosh
Try this { String desiredstring ="", string1 =""; string1="column_name"; desiredstring = string1; if ( string1.length() != 35 ) { desiredstring = string1 + "00"; desiredstring = desiredstring.substring(0,35); System.out.println("Desired String Length is "+desi

Re: urgent-install jsp problems

2000-07-28 Thread Klacansky, Igor
It seems to me you have a path problem (are there spaces in your path?). What about to close the path into "..." in stopserver.bat? -Original Message- From: BLAKCORI, Ansar [mailto:[EMAIL PROTECTED]] Sent: Friday, July 28, 2000 6:48 AM To: [EMAIL PROTECTED] Subject: Re: urgent-install jsp

Re: Struts example doesn't work

2000-07-28 Thread Craig R. McClanahan
"Zeltser, Mark" wrote: > > Hi All, > > > > I am trying to install and run an example from struts framework. > > > > My Platform: > > > > Windows NT Workstation 4.0 > > Tomcat 3.1 > > Jdk1.2.2 > > Struts release as of 7/25/00 > > > > I had no problem running examples which came with Tomcat. Howeve

Re: Debuggin JSPs with JRun30 and IBM VisualAge for Java

2000-07-28 Thread Naresh Thawani
But this slows down the system terribly and eventually I had go back to the process of elimination or builduing jsp code in small blocks. -Original Message- From: Zwonitzer, Dustin [mailto:[EMAIL PROTECTED]] Sent: Friday, July 28, 2000 11:32 AM To: [EMAIL PROTECTED] Subject: Re: Debuggin

Proprtionate String Padding

2000-07-28 Thread B R Nair
Hello, How can I pad a string with variable spaces? When I query a database, the columns I get are not of fixed length. I would like to make it uniform length. Is there any short cut to add spaces at the end of a string? In other words can anyone give me the Java equivalent to this pseudo code?

Re: Debuggin JSPs with JRun30 and IBM VisualAge for Java

2000-07-28 Thread Zwonitzer, Dustin
Edwin, Use the JSP Execution Monitor that comes with VisualAge. To use it just go to quick start and add feature called JSP Execution Monitor. To use it go to tools and click on JSP execution Monitor then click the Enable monitoring JSP execution check box. Now anytime you run the JSP page in a br

Question about methodology for referencing storing images.

2000-07-28 Thread Shahani Jeet
Hi, I wanted to discuss as to what methodologies people are using to implement image intensive web sites with this list. The most common practice is to store a link to a picture in a database (or a resource bundle) and pick up the image from there directory. However, I don't see this is be

Re: Development Tool and JSP Deployment

2000-07-28 Thread Naresh Thawani
IBM WebSphere and Visual Age for Java supports EJB as well -Original Message- From: Naresh Thawani [mailto:[EMAIL PROTECTED]] Sent: Friday, July 28, 2000 8:55 AM To: [EMAIL PROTECTED] Subject: Re: Development Tool and JSP Deployment IBM WebSphere. -Original Message- From: Randy

Debuggin JSPs with JRun30 and IBM VisualAge for Java

2000-07-28 Thread Dhondt, Edwin
A bit of topic. I have setup JRun30 within IBM VisualAge for Java 30. I can now invoke servlets from my browser, run them on JRUN30 and debug them in the VisualAge IDE. However, I would also like to debug my JSP in the same way. Any idea about doing this, without having to import the servlet sou

Re: Problems when Tomcat run stand alone

2000-07-28 Thread M.Velikov
Please send MenuBean to check it! marvel. Jens-Uwe Eilers wrote: > Hello, > I develope JSP with the JBuilder 3.5 . I integrate the Tomcat in the > JBuilder to test the JSP. > When I test the JSP all things function so as I expectedly. > But when I run the Tomcat standalone the setValue() method

oracle connection pooling and jrun

2000-07-28 Thread Chris Wilson
hello, is anyone using oracles jdbc 2.0 extension connection pooling drivers with jrun? i'm having difficulty configuring jrun to use jdbc 2.0 connection pooling and not their own generic implementation. thanks for any help! | chris wilson || web dev ||| www.wondergeek.com || | ==

recursive jsp:include

2000-07-28 Thread Vervecken Jan
hi The following recursive include example doesn't work, who can explain this to me ... <%-- recursiveInclude.jsp --%> <%@ page contentType="text/html;charset=WINDOWS-1252" %> <%@ page errorPage="errorPage.jsp" %> <% int vLevel = -1; try { vLevel = Integer.parseInt(request.getParameter

Re: Form Validation With JSP

2000-07-28 Thread BLAKCORI, Ansar
Thank you very much It did work but still I've got this problem My autoexec.bat is: mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi) mode con codepage select=850 keyb uk,,c:\windows\COMMAND\keyboard.sys set PATH=C:\jdk1.2.2\bin set CLASSPATH=C:\jdk1.2.2\lib\tools.jar;C:\jdk1.2.2; The

Problems when Tomcat run stand alone

2000-07-28 Thread Jens-Uwe Eilers
Hello, I develope JSP with the JBuilder 3.5 . I integrate the Tomcat in the JBuilder to test the JSP. When I test the JSP all things function so as I expectedly. But when I run the Tomcat standalone the setValue() method is not called. I use: Can anyone help me? Sorry about the bad english Je

Re: Development Tool and JSP Deployment

2000-07-28 Thread Naresh Thawani
IBM WebSphere. -Original Message- From: Randy San Miguel [mailto:[EMAIL PROTECTED]] Sent: Friday, July 28, 2000 3:54 AM To: [EMAIL PROTECTED] Subject: Development Tool and JSP Deployment Greetings, I am looking for a development tool for JSP and EJB's other than Oracle JDeveloper3.0

Re: urgent-install jsp problems

2000-07-28 Thread BLAKCORI, Ansar
Thank you very much It did work but still I've got this problem My autoexec.bat is: mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi) mode con codepage select=850 keyb uk,,c:\windows\COMMAND\keyboard.sys set PATH=C:\jdk1.2.2\bin set CLASSPATH=C:\jdk1.2.2\lib\tools.jar;C:\jdk1.2.2; The

Re: Form Validation With JSP

2000-07-28 Thread BLAKCORI, Ansar
Thank you very much It did work but still I've got this problem My autoexec.bat is: mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi) mode con codepage select=850 keyb uk,,c:\windows\COMMAND\keyboard.sys set PATH=C:\jdk1.2.2\bin set CLASSPATH=C:\jdk1.2.2\lib\tools.jar;C:\jdk1.2.2; The

Struts example doesn't work

2000-07-28 Thread Zeltser, Mark
> Hi All, > > I am trying to install and run an example from struts framework. > > My Platform: > > Windows NT Workstation 4.0 > Tomcat 3.1 > Jdk1.2.2 > Struts release as of 7/25/00 > > I had no problem running examples which came with Tomcat. However, > after following all struts instructions and

Re: XML syntax in JSP

2000-07-28 Thread Karl Avedal
Hello Kevin and Stanley, Kevin: Orion does indeed support that and has for well over a year, or maybe you meant something else? Stanley: As Craig McClanahan pointed out, Tomcat does not support the XML mapping yet and the mapping is rather immature in JSP 1.1. Wait for JSP 1.2 for this to beco

Re: Help for JSP implicit objects

2000-07-28 Thread Manish Bijay Kumar
refer to following faqs...you will find good help.. http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > -- > From: Ruchi Duggal[SMT

Re: Help for JSP implicit objects

2000-07-28 Thread Ruchi Duggal
See on java.sun.com... U'll find it -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of manish jain Sent: 28 July 2000 10:25 To: [EMAIL PROTECTED] Subject: Help for JSP implicit objects Where can i get he

Re: capturing standard out

2000-07-28 Thread Yasir Feroze Minhas
Well Chris, you can user classes to log your output to some log file on your computer, if you want to do this for debugging puposes. If you want to do debugging then I have written a set of classes for that purpose that log your output to a log file in your user-home directory. If you are interest

FW: capturing standard out

2000-07-28 Thread Bergeron, Stephanie
Chris, I have spent the last week trying to use a Java class in my JSP page, too. Standard Java library classes work fine, but the one I wrote (which works from the command line) gives me a 'method not found' error no matter what I do. It found the class but not the method within it. I finally c

Re: How to call a servlet from a javascript function?

2000-07-28 Thread manish jain
Pull all listboxes to client and depend upon selection show required listbox with the help of DHTML and DIV/LAYER tag. Manish. - Original Message - From: Anu Pidaparti <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 26, 2000 9:49 PM Subject: How to call a servlet from a

Re: capturing standard out

2000-07-28 Thread Geert Van Damme
Read my debugging chapter in Wrox 'Professional JSP'. I show how to create a StringBuffer that keeps the last 32K of the System.out messages and I can show that in a browser through a servlet. This is ideal for debugging server side. I'm currently working on a class that redirects the System.out t

Re: [doing code inspection]

2000-07-28 Thread jagan mani
Hi, I would be more happy to know the solution as i do need it. Hope you would send me once u have got it. Thanks Jagan Rao M Calixto Melean <[EMAIL PROTECTED]> wrote: I am looking for code inspection resources on JSP pages. Any guidelines on how to do it, what things to look for, checklist.

Re: [capturing standard out]

2000-07-28 Thread jagan mani
HI Chris, I am not sure why you want them. I guess it can be done. I am sure main method will not run in JSP so you have to write some method which does your process and gives an output. Now if you want to get the output try to print it as a file in the server. Then you have to find the loca

Help for JSP implicit objects

2000-07-28 Thread manish jain
Where can i get help for JSP implicit objects session,application,request,responseetc Can u tell me links Also books for the same Manish. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTE

capturing standard out

2000-07-28 Thread Chris Probert
JSP list, Could anyone help me? I am attempting to run a java class (which has a main method) from within a jsp page, and display the output, which is being sent to System.out.println. Is this possible, I feel that it should be, but my attempts have all fallen flat. If this is not simple to do wi

Re: Development Tool and JSP Deployment

2000-07-28 Thread Manish Bijay Kumar
you can use Jbuilder3.5 EE. But the evaluation copy is not free. So, if you want to get it, you have to pay 7 US$. Just check the jbuilder's site for more info. > -- > From: Randy San Miguel[SMTP:[EMAIL PROTECTED]] > Reply To: A mailing list about Java Server Pages specificat

Development Tool and JSP Deployment

2000-07-28 Thread Randy San Miguel
Greetings, I am looking for a development tool for JSP and EJB's other than Oracle JDeveloper3.0. I also seek help regarding JSP deployment to any application server. Thanks in advance. -randy === To unsubscribe: mai

Re: Can I read a text file thru a bean

2000-07-28 Thread Ionel Condor
You may use a format as follows: file.ini --- driver=namedriver db=namedb . this is the classical format of a properties file. Than you just open a stream to that file and use the load function of a java.util. Propeties object to load the whole file. than do something like: name=pro

Re: Can I read a text file thru a bean

2000-07-28 Thread Geert Van Damme
well, just read the text file ;-) However, you might want to store more than just the database name. Maybe you also want to put other connection parameters like userid, servername, password there. Or parameters for several databases. In that case consider using a Properties object. This has method

Re: Can I read a text file thru a bean

2000-07-28 Thread Peter Sönnergren
Ritu Kama wrote: > > Hi all, > > My requirement is as follows: > > I have a initialization file containing the database name. > Thru my bean I want to read the DB name and establish connection with that > particular database. I don't want to hardcode the db name. > > Please suggest how to achieve

Re: Can I read a text file thru a bean

2000-07-28 Thread Peter Sönnergren
Ritu Kama wrote: > > Hi all, > > My requirement is as follows: > > I have a initialization file containing the database name. > Thru my bean I want to read the DB name and establish connection with that > particular database. I don't want to hardcode the db name. > > Please suggest how to achieve

Re: How to refresh a JSP-Page

2000-07-28 Thread Herbert Pfleger
Thanks to all who gave me tips.The Error, why my page did'nt refresh, was that the scope of the Bean was only page. Changed to session it worked fine. Thanks a lot Herb === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Re: Can I read a text file thru a bean

2000-07-28 Thread Xing guohong
Hi, You can creat a jsp file, and define the url, username, password variables in it. In the JSP or other files need to connect to DB include it. I think it is faster than reding files to get the string before connect to DB. For example: 1.db.jsp <%! String m_url = "jdbc:oracle:thi

Can I read a text file thru a bean

2000-07-28 Thread Ritu Kama
Hi all, My requirement is as follows: I have a initialization file containing the database name. Thru my bean I want to read the DB name and establish connection with that particular database. I don't want to hardcode the db name. Please suggest how to achieve this. Thanks Ritu ==