Re: Problems using Beans with Jrun 2.3 and IIS

2000-06-06 Thread Hamid
Hi! I have JRUN 2.3 , and there is no folder name "instantDB" instead there is "jsm-default" and the Classess folder is in it. Now the Q is : will i create a folder "instantDB\Classes" in JRUN OR will copy Beans files in "jsm-default\classes" Ur help will be highly appreciated. Hamid Hassan V

Re: Problems using Beans with Jrun 2.3 and IIS

2000-06-06 Thread Murtaza
what is JRUN ? - Original Message - From: "Hamid" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 06, 2000 12:07 PM Subject: Re: Problems using Beans with Jrun 2.3 and IIS > Hi! > > I have JRUN 2.3 , and there is no folder name "instantDB" instead there is > "jsm-default"

Re: Problems using Beans with Jrun 2.3 and IIS

2000-06-06 Thread Tamanna Kher
Hi!!!1 can u please tell me which built of jrun r u using Because i have been using Built 157. U can find out bout the built from the readme.txt in jrun dir. Hamid <[EMAIL PROTECTED]> on 06/06/2000 01:37:40 PM Please respond to A mailing list about Java Server Pages specification and

Re: Problems using Beans with Jrun 2.3 and IIS

2000-06-06 Thread Aggarwal, Pawan
Title: RE: Problems using Beans with Jrun 2.3 and IIS Place your bean(NameBean.class) under the classes folder itself And from the JSP try to access it using this sample code <%@page import="NameBean" info="Just to connect to a Bean"%> Hello XYZ"/>! JRUN knows that classes f

Urgent HELP!!!

2000-06-06 Thread Tarun Dewan
Hi, I'm using Java Web Server but when I try to execute my JSP following errors occured : D:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_alps\_Hello.java:22: '}' expected. static char[][] _jspx_html_data = null; ^ D:\JavaWebServer2.0\tmpdir\def

Re: Urgent HELP!!!

2000-06-06 Thread Stoemmer, Peter
Hi, Java is case-sensitive. Have have to - either name your source-file "_Hello.java" AND your Class "_Hello" - or name your source-file "_hello.java" AND your Class "_hello" Greetings Peter -Ursprüngliche Nachricht- Von: Tarun Dewan [mailto:[EMAIL PROTECTED]] Gesendet am: Dienstag,

tomcat server dies easy?

2000-06-06 Thread Alan Lun
When a servlet tries to read the file that doesn't exist, the tomcat server is killed. I used a code from "http://triton.towson.edu/~schmitt/server/servlet/guestbook6.java" try { BufferedReader in = new BufferedReader(new InputStreamReader( new FileInputStream("/usr/faculty/schmitt/.mys

Re: Avoiding Java Code in the JSP Page.

2000-06-06 Thread Geert Van Damme
Sure, I use the same technique sometimes as well. As an alternative to returning a String you could also pass the bean a PrintWriter or use a StringBuffer. That way you avoid excessive sting addition (which is bad for performance). It's better than a design where you pass request and/or response

Avoiding Java Code in the JSP Page.

2000-06-06 Thread Garcia, Cristina
Hi gurus! trying to avoid the Java code inside the JSP page, I thought about writting getter methods in a Bean so that it returns a String containing HTML code together with values I had to calculate. What do you think about the idea? Thanks, Cristina. Before: (In Calendar.jsp) %@ page import

Re: tomcat server dies easy?

2000-06-06 Thread Scott Evans
Couldn't it be that the server is killed because you call System.exit(1) in the catch statement? I believe that is intended for stand-alone applications and should never be found in a servlet or jsp. -Original Message- From: Alan Lun [mailto:[EMAIL PROTE

Re: Avoiding Java Code in the JSP Page.

2000-06-06 Thread Joseph B. Ottinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jun 2000, Garcia, Cristina wrote: > Hi gurus! > > trying to avoid the Java code inside the JSP page, I thought about writting > getter methods in a Bean so that it returns a String containing HTML code > together with values I had to calcu

Localhost, etc.

2000-06-06 Thread Mike Welsh
Hello, I'm having a problem getting Tomcat properly configured with Apache. I have it installed and configured on my server box (running Solaris 2.6), and when I make an http call of this sort: http://localhost:8080/test http://localhost:8080/examples http://localhost:8080/myjspdocs etc. every

Re: tomcat server dies easy?

2000-06-06 Thread Johannes O. Akinlaja
Hi Alan, - Original Message - From: "Alan Lun" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 06, 2000 12:16 PM Subject: tomcat server dies easy? > When a servlet tries to read the file that doesn't exist, the tomcat > server is killed. I used a code from > "http://trit

Re: tomcat server dies easy?

2000-06-06 Thread Scott Evans
I looked at the code and seems really old. It looks like a servlet that executes like an external CGI program, rather than in a servlet container. Here's a list of tutorials and resources that Nayak Savitha sent to list a while back: http://www.webreview.com/pub/2000/01/07/style/nov99.html The b

Re: Avoiding Java Code in the JSP Page.

2000-06-06 Thread Hamid
Hi i want to access database in jsp page. one way is to use Beans/Servlets and call the results from it. Is it possible that we will write code in a jsp page directly . That is will make database connection directly in jsp page then access and display the results from query to page as we r soing i

Re: Urgent HELP!!!

2000-06-06 Thread sandeep
In the first case u must have forget to close one bracket and in other case u must have mentioned a wrong name to the file. Bye! Sandy. - Original Message - From: Tarun Dewan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 06, 2000 2:59 PM Subject: Urgent HELP!!! >

No Subject

2000-06-06 Thread Utpal Lad
Hi All, I m using a bean in jsp. But the jsp file is not able to locate that bean. Does anybody have the idea as to what the dir. structure should be and where to keep the jsp files, bean and the servlet. ur ideas will be a great help. Thanks in advance. Utpal Lad Utpal.C. So

Localization HELP

2000-06-06 Thread Robo Zilka
Can somebody help me with localization? I want to display/send/receive a characters from code page Cp1250 (windows-1250), but if I call file1.jsp?somevar=xxx, where xxx are non ASCII characters, and I want to display parameter var: ... <%= request.getParameter("somevar") %> ... file1.jsp shows on

XML question

2000-06-06 Thread tonney
hello, I'm a newer at jsp, I have a very simple question: Now i have configured tomcat , jdk1.2, j2ee1.2 successfully, but how can i parse the XML files? I try SAX, but SAXParserFactory can't be found at all. Any one can lend a hand? Tonney. =

No Subject

2000-06-06 Thread Ritesh Sinha
Please specify your environment. Generally the beans are kept in the beans directory in the JSWDK. Ritesh Utpal Lad <[EMAIL PROTECTED]> on 06/06/2000 11:42:39 PM Please respond to "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Sinha Ritesh-SWD-ITIL-UB/Itilmail)

Re: XML question

2000-06-06 Thread Rob van Oostrum
you should use a DOMParser rather than a SAX parser, like this: DOMParser parser = new DOMParser(); URL url = new URL( "http://www.foo.com/xml/foo.xml" ); URLConnection connection = url.openConnection(); InputStream instream = connection.getInputStream(); InputSource inputSource = new InputSource

Re: XML question

2000-06-06 Thread Rob van Oostrum
sorry my mistake ... of course you can use a SAX parser. Just substitute DOMParser with SAXParser and it should work as well. > -Original Message- > you should use a DOMParser rather than a SAX parser, like this: > > DOMParser parser = new DOMParser(); > URL url = new URL( "http://www.foo

Re: Query String problem with Netscape

2000-06-06 Thread P.J. Tenn
I encountered the same problem and wrote the following small Java application to take care of passing URL strings between JSPs that have spaces. You can call its static method from a JSP page. /*** *** * QueryString provide

JBuilder + Tomcat + Jsp

2000-06-06 Thread Zoltan Zidarics
Hi All, When I try to open my jsp page from Netscape browser I get the following message: "javax.servlet.ServletResponse: method flushBuffer()V not found " My configuration is: Linux Debian (kernel 2.2.13) Apache Web server Tomcat 3.1 JBuilder Enterprise jdk 1.2.2 from Sun What do I need to

IE5 caching of JSP pages, ( using JRUN )

2000-06-06 Thread Lisa Lewis
I am having trouble preventing IE from caching my JSP pages. I have wasted an entire day on this. I have read and tried every relevant post. Below is a snippet of my code from one of my JSP pages that I would like the browser NOT to cache! I am adding the meta tags in both HTML and the JSP resp

Re: Flushing the buffer.

2000-06-06 Thread krishna srinivasan
Thanks for u'r reply.I found that i was pushing some script that caused the delay. >From: Brian Harvey <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Flushing the buffer. >Date: Mon,

Re: Where does System.out.println goes on Tomcat 3.1

2000-06-06 Thread Bhrugesh Shah
Hi Scott, Thanks, I am using my own java classes from jsp. In java class i am printing debug info using system.out.println I am able to see this info if I use JRUN , but I am not getting same in Tomcat 3.1 in tomcat.log/jasper.log/servlet.log Thanks Bhrugesh [EMAIL PROTECTED] -Original Mes

Re: IE5 caching of JSP pages, ( using JRUN )

2000-06-06 Thread Jim Bailey
This is from the Microsoft support site. It gives an explanation of two caching problems. They reference IE 4 but you might try the suggestions anyway. and This is t

Re: JBuilder + Tomcat + Jsp

2000-06-06 Thread Rob van Oostrum
The flushBuffer method isn't included in the 2.1 Servlet API. Make sure you have the 2.2 Servlet API. good luck Rob > -Original Message- > From: Zoltan Zidarics [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 06, 2000 6:05 PM > To: [EMAIL PROTECTED] > Subject: JBuilder + Tomcat + Jsp >

Data Source Services configuration problem in JRun

2000-06-06 Thread Anand Alagappa
I configured the JDBC Data Sources in the JRun and tested the connection. The connection with the database is successful. In the servlet, I have a datasource object and I defined the JNDI Initial Context object and tried to look up the datasource in the intial context object. But it says my datas

UpLoad a File

2000-06-06 Thread Eduardo Salvador Godoy Vega
Hi, maybe it's not the right mail-group ... but ... I want to upload a file, but I want to suggest a filename ... (using RFC1867 especification) -- here is my code -- Id :<%=request.getParameter("_ErwId")%> filename :<%=request.getParameter("ErwReportfile")%> "> -- end --- whe I execu

Re: Jsp Book

2000-06-06 Thread ren zheng yu
Hi Robert There are two sample chapters talking about them in JDC - Original Message - From: "Robert Nicholson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 06, 2000 3:30 AM Subject: Re: Jsp Book > Is there a chapter on servlet centric design ie. how to use servlets w

Design choices: JSP & Javascript

2000-06-06 Thread Tom Miller
I have been asked to bring a bunch of PERL web functionality into a JSP environment. Many of the specs are requesting Javascript capabilities, like resetting "select" options on the fly, to match other "selection"s. I have read posts and book sections about the possibility of mixing Javascript and

A strange error message

2000-06-06 Thread Galen Tucker
Hi, I'm getting the following error message and I'm not sure what it means. Has anyone encountered this before or have any idea what would cause this message? Message: Error Message is: /MainJsp.jsp:26: expected `' at end of file. I'm running on NT 4, resin, and JDK 1.2.2 Thanks, Galen ==

XML Question

2000-06-06 Thread Ed Longstrom
Is it possible to directly access data in both entities and attributes with an XML parser? ie: How can I access the data in say Level2 and ABC with a direct call. Something like doc.getElement.nodeName("LEVEL2").node(0).getV

No Subject

2000-06-06 Thread Shrisha Radhakrishna
Hi All, Anybody faced a problem in creating persistent cookies? IE seems to keep the cookie, but, netscape kills the cookie upon exit. Here is how I set the cookie: Cookie UserCookie=3Dnew Cookie("LoginID",name); UserCookie.setPath("/"); UserCookie.setMaxAge(Integer.MAX_VALUE); res.addCookie

Re: A strange error message

2000-06-06 Thread Arun Nakkala
can you send the code for Main.jsp -Original Message- From: Galen Tucker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 06, 2000 10:09 AM To: [EMAIL PROTECTED] Subject: A strange error message Hi, I'm getting the following error message and I'm not sure what it means. Has anyone encou

Re: Design choices: JSP & Javascript

2000-06-06 Thread Edward M. Boriso
JSP is compiled into html on the server, so resetting selection boxes based upon data input should be done in Javascript. Simple data validation is a good example (i.e. you need a numerical entry). As far as your second issue, it really depends on what "actions" are being done. JSP can only do a

Re: IE5 caching of JSP pages, ( using JRUN )

2000-06-06 Thread Eduardo Salvador Godoy Vega
DID YOU TRY WITH AT THE END OF THE FILE ... It work to me. (Yes!, at the end of the file) Eduardo. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Bailey Sent: Tuesday, June 06, 2000 11:44

Re: A strange error message

2000-06-06 Thread Galen Tucker
here's the code for the main, body and sub-section of the JSP: MAIN JSP: <% HttpSession session1 = request.getSession(true); if (session1.isNew()) { response.sendRedirect(response.encodeRedirectURL("login.jsp")); } %> <%@ include file="header.html" %> <%@ page errorPage="MainJspErrorPage.jsp

is there any vi editor for jsp

2000-06-06 Thread Sundaram Ramasamy
Hi, Is there any vi editor for JSP. Like lemmy vi editor Thanks === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/produ

Re: Design choices: JSP & Javascript

2000-06-06 Thread Hines, Bill
Tom, JSP doesn't preclude JavaScript. We use JavaScript in our JSP pages to do things like change some select lists based on changes to others. Use the JavaScript onChange() call for those select boxes. We go out to the server, reload the contents of lists, and redisplay the page really fast. It

Re: Avoiding Java Code in the JSP Page.

2000-06-06 Thread David Castro
--- "Garcia, Cristina" <[EMAIL PROTECTED]> wrote: > trying to avoid the Java code inside the JSP page, I thought about writting > getter methods in a Bean so that it returns a String containing HTML code > together with values I had to calculate. What do you think about the idea? But the streng

Re: Jsp Book

2000-06-06 Thread Mark Franz
Why would WROX reduce their prices on books that are in demand? If you shop around for prices you will see that a lot of places have reduced the price on O'Rielly books due the shrinking demand of their books because of the WROX content being superior. Mark -Original Message- From: A ma

No Subject

2000-06-06 Thread Shrisha Radhakrishna
Ok, I figured it out. Netscape doesn't like INTEGER.MAX_VALUE. I put in 900 (1041 days) and it worked! - Original Message - From: "Shrisha Radhakrishna" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 06, 2000 8:53 AM > Hi All, > Anybody faced a problem in crea

passing bean from servlet to jsp

2000-06-06 Thread John Cartwright
Hello All, I am trying to understand an example from Chapter 8 of the WDJSP by Fields&Kolb that relates to passing a bean from a servlet to a jsp page. . The accessor methods work OK, but the getProperty tags do not. They behave like they are referring to an empty bean. I'm guessing that there

main method in bean

2000-06-06 Thread Brad Miley
I tried putting a main method in a bean. When I used the bean in a jsp the main method was not invoked, but I read that it should be. Can someone please explain? Get Your Private, Free E-mail from MSN Hotmail at http://www.ho

hidden fields

2000-06-06 Thread Edward Largoza
Hi Everyone...I was wondering if anyone can tell me how to pass hidden fields from one jsp to another jsp. here are my examples... here is my standard input... here is an example of what I'm trying to do... --- on my jsp that is being called...

update and re-compile the javabeans

2000-06-06 Thread Xing Guohong
My http web server is javawebserver2.0. In my jsp file, I invoke the javabeans I wrote and it works. After updating and re-compiling the beans, I invoke the jsp page called the javabeans again, the javabeans gives me the old implementation result. Why? TIA. xgh. ===

Re: Design choices: JSP & Javascript

2000-06-06 Thread Ritesh_Srivastava
on a jsp page javascript is used mainly for client side validations that are available to the client. > -- > From: Hines, Bill[SMTP:[EMAIL PROTECTED]] > Reply To: A mailing list about Java Server Pages specification and > reference > Sent: 2000 $BG/ (J 6 $B7n (J 6 $BF|

IDE for JSP/Servlet

2000-06-06 Thread Chao Chen
Hello members! Can anyone recommend a good IDE for Java application development, especially in the area of JSP/Servlet ? How good is JBuilder 3.5? Dealing with compilation and run-time errors associated with JSPs has been quite frustrating. Your answers might help reduce the pain. Thanks. C

can't get to allaire's website

2000-06-06 Thread Rajnic Susan
Hello -- I'm consistently unable to fully load any page on allaire's website. Granted, I'm in Beijing, China and the internet connection is shocking (i'm lucky to be connected via our office 128K isdn line). however, i'm able to do searches on all major search engines, pull up microsoft.com, and

Re: update and re-compile the javabeans

2000-06-06 Thread Sachin S. Khanna
Try deleting the *class file & then recompile the *.java file. It might just be able to solve your problem. Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From: Xing Guohong <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 07, 20

Re: can't get to allaire's website

2000-06-06 Thread Zaki Abu-Bakar
Hello friend, Try www.jrun.com It is working fine at my end, that is, Lahore Thanks Rajnic Susan <[EMAIL PROTECTED]> on 06/07/2000 10:33:05 AM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc

How to access data from multiple selection of CheckBoxes

2000-06-06 Thread Biren Patnaik
Hi, Can anyone please suggest me how to generate data from multiple selection of Check Boxes. I m describing my problems as below. I have got one List Boxes.There are 4 items in List Boxes.They are all Numeric.They are 1997,1998,1999,2000 all are values for Year. I have 4 Check Boxes,They are D1,D

Re: update and re-compile the javabeans

2000-06-06 Thread Zaki Abu-Bakar
This seems the problem related to session. I was also facing the same problem with JRun. I stopped the server and restarted, which solved the problem, although, this does not seem to be the proper solution. Perhaps, for the time being, you can solve your problem in the same way with JavaWebServer

Re: can't get to allaire's website

2000-06-06 Thread Tamanna Kher
try searching on www.google.com put the search string as JRun. U'll directly reach to Jrun's page from here u can download Jrun installable. Rajnic Susan <[EMAIL PROTECTED]> on 06/07/2000 12:03:05 PM Please respond to A mailing list about Java Server Pages specification and reference <[

Re: update and re-compile the javabeans

2000-06-06 Thread Tamanna Kher
besides jws what else are u using for running jsp's "Sachin S. Khanna" <[EMAIL PROTECTED]> on 06/07/2000 12:51:31 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kher Tamanna-SWD-ITIL-UB/It