Re: JSP Debugging tool

1999-11-23 Thread Geert Van Damme
Well, real JSP debugging isn't easy. I posted a message in the java.programmer newsgroup about servlet debugging last week. About the same is true for JSP. here's a copy of that message: I've tried out a lot of different solutions to the servlet debugging and finally found one that works very

Query On JSWDK 1.0.1

1999-11-23 Thread Suresh Kumar Nittala
Dear Sir, I am able to execute the JSP pages on Windows NT using JSWDK 1.0.1. But with Windows 95 I am unable to do so. Can anybody suggest me a good answer? Regards, Suresh Kumar === To unsubscribe: mailto [EMAIL

Re: Functions in JSP

1999-11-23 Thread Suresh Kumar Nittala
I think this answer might help you. Please try it out. You call your function or anything either a .jsp page or a .txt etc. by including it in the jsp page or calling page. %@ include file = "date.jsp"% date.jsp is an example. Regards, Suresh Kumar "Wen B. Sun" wrote: Hi, In my JSP, I

FW: Functions in JSP

1999-11-23 Thread Daniel Tillin
-Original Message- From: Daniel Tillin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 23, 1999 9:32 AM To: 'Wen B. Sun' Subject: RE: Functions in JSP I would have thought you really want the scriplet code in a bean which you can then call from anywhere in a JSP, and make the HTML a

FW: How to invoke a bean method in a JSP using a HTML Form Button

1999-11-23 Thread Daniel Tillin
-Original Message- From: Daniel Tillin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 23, 1999 9:44 AM To: 'Masaoud' Subject: RE: How to invoke a bean method in a JSP using a HTML Form Button You need to use something like this: input type="text" name="property" size="25" //one of

creating and using a bean

1999-11-23 Thread James Skehan
Hi, I'm new to JSP and I'm having difficulty with the following: First of all, I can't compile the jsp page because my use of the 'class' parameter in the useBean tag is incorrect and the getProperty use is also incorrect. Could someone point me in the right direction? Html Login - servlet

Re: How to invoke a bean method in a JSP using a HTML Form Button

1999-11-23 Thread Karl Roberts
Hi, First things first, It is important to realize that all JSP's get converted into servlets, so anything that a servlet can do, such as session tracking, can be acheived by JSP's. In JSP's we can get hold of an implicit session object like so % String thisSession = session.getId(); %

Re: Functions in JSP

1999-11-23 Thread Karl Roberts
Hi, Also, if you remember that all JSP's are turned into servlets then you can make use of the Declaration tags to create a method (other than the do() methods) in the servlet. eg %! String shout() { return("HELP!!"); } % then anywhere in your page you can use shout() eg %

taglib question

1999-11-23 Thread Pierre Awaragi
Hi all, I have a simple question on taglib: can a custom tag generate other custom tags that will be further processed. The scenareo is the following: read a request from the user, generate information from the database. The information is made up in custom tags that also needs to be

JRun and ErrorPages

1999-11-23 Thread Ian Graham
Hi Everyone, I have two, hopefully easily answered questions for you all. 1). JRun I started off just using the Sun's JSWDK1.0.1 server and have recently tried to convert over to using JRUN, with GREAT difficulty. I am running on a NT Workstation with IIS. I have tried reading all

Re: JRun and ErrorPages

1999-11-23 Thread Scott Stirling
Sounds like you don't have JRun working too well. Make sure the sample servlets work before trying to add all your own beans, etc. Search the Allaire Knowledge under JRun for more up-to-date info. on the ins and outs of JRun. I would highly recommend the article on installation troubleshooting

Re: creating and using a bean

1999-11-23 Thread Karl Roberts
James Skehan wrote: Hi, I'm new to JSP and I'm having difficulty with the following: First of all, I can't compile the jsp page because my use of the 'class' parameter in the useBean tag is incorrect and the getProperty use is also incorrect. Could someone point me in the right direction?

Re: problem using jsp and JRUN

1999-11-23 Thread Carlos Orrego
I found that Jrun's implementation of jsp is inetable. I had lots of problem. I encourage you to use GNUJSP 1.0, it works great, it is for free and with source code. Mi jsp code that use to crash jrun now works fine using gnujsp. greetings carlos orrego

Re: JRun and ErrorPages

1999-11-23 Thread Ola Sandström (QDT)
Hello Ian, 1) Start the JRun Administrator, Select the General tab, then the Java tab and make sure your beans or packages are in the Java Classpath. Restart the JRun Server. 2) Looks ok to me. For reference, we successfully use %@ page language="java"

FW: Problem while accessing a non-get/set bean method in JSP

1999-11-23 Thread Daniel Tillin
I've seen this problem, although the message it couldn't find wasn't the one written out (i.e. addURL() in your case), but a method sent within the one mentioned. You say you replaced the addURL() method with another get/set method without error. Presumeably, this new method is not calling any

Re: JRun and ErrorPages

1999-11-23 Thread Ian Graham
Thanks everyone for the very quick help, I seam to have it working now, not that I am 100% sure how it works but hey.. Ian - Original Message - From: Ola Sandström (QDT) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 23, 1999 3:03 PM Subject: Re: JRun and ErrorPages

Re: Problem while accessing a non-get/set bean method in JSP

1999-11-23 Thread Craig R. McClanahan
Masaoud wrote: Hi, I am using a bean inside a JSP page and trying to call a method (which is a non-get/set method). When the JSP page is invoked, following error is reported 500 Internal Server Error Java Server Page Translation Error Error during compilation :

Help with JSP using a CLASS then BEAN

1999-11-23 Thread Rick L Sample
I have been reading the docs and examples that come with JavaWebServer2.0 but I am getting confused with how to use a CLASS/Bean from a JSP page. And where to put them. Here is what I want: (Very simple examples please) A JSP that uses a CLASS. In that class, just an initial value X, then

Query on Servlets !!

1999-11-23 Thread Suresh Kumar Nittala
Dear Sir, I am absolutely new to JSP environment. I would like to know What are actually Servlets and how can I use them in my JSP code to get the maximum extent out of them. Regards, Suresh Kumar === To unsubscribe:

Re: References

1999-11-23 Thread Craig R. McClanahan
Daniel Tillin wrote: Here's one for you to chew the fat on!! If you define a bean with application scope, will that reference be available to all other JSPs you serve? The reference will be available to all JSP pages and servlets within the same web application, but not to JSP pages and

Re: Question Regarding HttpSessionBindingListener.

1999-11-23 Thread Kirkdorffer, Daniel
Sandeep, The idea is that you implement the HttpSessionBindingListener for any object that you intend to store in your HttpSession object. When the object is removed from the HttpSession object, it will trigger a call to a method called valueUnbound(HttpSessionBindingEvent event) which the

Re: References

1999-11-23 Thread Kirkdorffer, Daniel
WebSphere 1.0 and 2.0 supports JSP 0.91. WebSphere 3.0 supports JSP 1.0 and 0.91 Dan -- Daniel Kirkdorffer NACN IS: 425-580-6225 Sr. Consultant, Syllogistics LLC Email: [EMAIL PROTECTED] Web: http://www.syllogistics.com/ -- From: Daniel Tillin[SMTP:[EMAIL PROTECTED]] Reply

Re: jsp and servlets on IIS

1999-11-23 Thread Suresh Kumar Nittala
Can you please eloborate a little more in detail, so that it becomes easy for us to understand and proceed further. Regards, Suresh Kumar Steve Nguyen wrote: JRun or ServletExec both offer servlet runner and JSP. Other way (free) to do is to take ApacheWin32/JServ and run it in diffrent

Query on JSP !!

1999-11-23 Thread Suresh Kumar Nittala
Dear Sir, I have two queries with me. A) Is it possible to write an appication in JSP without the usage of Servelts or Java Beans? B) Is it advisable to go for the development of an application without Java Beans and Servelts. Which is the best way? Meaning therby whether to use Beans and

Re: How to invoke a bean method in a JSP using a HTML Form Button

1999-11-23 Thread Arun Thomas
Masaoud, You have to remember that the JSP pages are server-side, while the buttons and GUI are a result of client-side display. Pressing a button on your form can do nothing vis-a-vis the JSP. What you can do is submit the form (along with all the parameters) to a jsp. The jsp can now process

Re: Query on JSP !!

1999-11-23 Thread Kirkdorffer, Daniel
Suresh, First off, I imagine most questions asked here are going to be a "Query on JSP !!". This will be the last time I respond here to a question with such a meaningless subject line. (someone has to put their foot down). Please make your subjects more descriptive about the question you are

Re: Functions in JSP

1999-11-23 Thread Arun Thomas
Wen, The JSP include directive (%@ include file=... %) can provide exactly the functionality you appear to be looking for here. Please take a look at the documentation for this command's function and exact syntax. -AMT -Original Message- From: A mailing list about Java Server Pages

Re: Query on JSP !!

1999-11-23 Thread Doug Turner
IMHO, the less JSP in your application, the better. That is, no less than needed to support the presentation tier of an application, but no more. JSP pages are not an effective way to partition an application, compared to solutions based on other features of Java such as packages and

class not found: org.apache.jserv.JServ in Apache Web Server

1999-11-23 Thread Jia-yu Sun
Hello, all: I installed Apache Web Server and Apache JServ 1.1b3. When I start Apache web server, I got "class not found: org.apache.jserv.JServ" in error.log. The setting in jserv.properties looks correct: wrapper.bin=c:\program files\javasoft\jre\1.1\bin\jre.exe wrapper.classpath=c:\program

Re: Query on JSP !!

1999-11-23 Thread David Mossakowski
This is pushing it :) Suresh Kumar Nittala wrote: Dear Sir, I have two queries with me. A) Is it possible to write an appication in JSP without the usage of Servelts or Java Beans? Yes B) Is it advisable to go for the development of an application without Java Beans and Servelts.

Re: Help with JSP using a CLASS then BEAN

1999-11-23 Thread David Mossakowski
A bean is a class but a class isn't necessarily a bean. There are certain things bean must do and certain things a bean must implement in order to be called a bean but really it's just a class and behaves the same way as class. Check out sun's site for more specifics. I'm not going to code for

Re: conflicting index.jsp files on same directory tree.

1999-11-23 Thread Jean-Michel Leon
We have the same problem, running the JSDK JSP engine under Apache/JServ, so it's probably not a web server configuration issue. It's a bug in JSDK, IMO. jm. Dustin Aleksiuk wrote: Hi everyone, I'd really appreciate some help on this, even if you have only a suggestion or guess as to

[Fwd: Class Vs JavaBean]

1999-11-23 Thread Robert Anglos
I never did get a response to this question. Although I have not had a chance to investigate yet I am curious has anyone tried using XML with JSP. Anyone have any thoughts, or work prototypes, on this topic? Robert did you get a satisfactory answer to your question? i did not see a

Re: Query on JSP !!

1999-11-23 Thread AndySoft
A) Is it possible to write an appication in JSP without the usage of Servelts or Java Beans? yes B) Is it advisable to go for the development of an application without Java Beans and Servelts. well i guess this is one question which everybody will answer from their experience, so here is

Re: class not found: org.apache.jserv.JServ in Apache Web Server

1999-11-23 Thread Larry Fluckiger
Jia-yu Sun wrote: When I start Apache web server, I got "class not found: org.apache.jserv.JServ" in error.log. The setting in jserv.properties looks correct: Since your path names have spaces, try enclosing them in quotes, as follows: wrapper.bin="c:\program

Re: class not found: org.apache.jserv.JServ in Apache Web Server

1999-11-23 Thread Mark Hayes
From: Jia-yu Sun [mailto:[EMAIL PROTECTED]] When I start Apache web server, I got "class not found: org.apache.jserv.JServ" in error.log. The setting in jserv.properties looks correct: wrapper.bin=c:\program files\javasoft\jre\1.1\bin\jre.exe wrapper.classpath=c:\program

JRun on IIS

1999-11-23 Thread Scott Prigge
Hi all, I've just installed JRun on my IIS/NT box and have servlets working fine. I can also get some JSP pages to work, but not ones that use beans. Where is the .class file for a simple bean supposed to go on the server? Anyone have a similar problem? I mean this is a simple bean, so

No Subject

1999-11-23 Thread Ro, Jean
Hello, Does anyone know where I can get org.gjt.jsp.JSPServlet === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://java.sun.com/products/jsp/faq.html

Re: JRun on IIS

1999-11-23 Thread Matthew Lehrian
Hello Scott, You have to modify the class path within JRun (JRun Admin:General:Java) to point to a directory for your beans. Hope this helps. Matthew -Original Message-From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On

GNUJSP on NT with Apache

1999-11-23 Thread Mike Howard
Has any one got the NT/98/95 of apache with GNUJSP to work? I don't understand the instructions. The Files that it talks about don't exist. Mike Howard === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

Re: GNUJSP URL

1999-11-23 Thread Scott Stirling
http://www.klomp.org/gnujsp/ "Ro, Jean" wrote: Does anyone know where I can get org.gjt.jsp.JSPServlet -- Scott Stirling Allaire http://www.allaire.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

No Subject

1999-11-23 Thread Craig R. McClanahan
"Ro, Jean" wrote: Hello, Does anyone know where I can get org.gjt.jsp.JSPServlet The "org.gjt" prefix means it should be available at the Giant Java Tree (gjt) web site: http://www.gjt.org Craig McClanahan ===

Re: org.gjt.jsp.JSPServlet

1999-11-23 Thread Wes Biggs
"Ro, Jean" wrote: Hello, Does anyone know where I can get org.gjt.jsp.JSPServlet http://www.klomp.org/gnujsp/ Wes === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be

New publication on JSP

1999-11-23 Thread Ted Kennedy
We need a few people with JSP expertise to advise us about a new publication on web development using JSP. If interested, please send a note to [EMAIL PROTECTED] with a brief description of your credentials and I will send you more information.

Re: Connections in sessions...

1999-11-23 Thread Drew Cox
Jeetandra, When the user closes his (or her) browser, nothing happens. It doesn't send any dying message back to the web server to say it's closing, please take care of my session (and feed the dog). Although, I have seen info on this group about how that can be done in client-side JavaScript.

Re: References

1999-11-23 Thread Christopher Cobb
"Craig R. McClanahan" wrote: Daniel Tillin wrote: Here's one for you to chew the fat on!! If you define a bean with application scope, will that reference be available to all other JSPs you serve? The reference will be available to all JSP pages and servlets within the same web

Re: Query on JSP !!

1999-11-23 Thread Steve Nguyen
Well, we got a bit different view: servlet in its nature has its own advantage over JSP. You (close enough) separate your presentation and your business logic and this is how you develop mission-critical components/applications. We wrote lot of servlet (at least 10,000 lines/each) and take the

Re: References

1999-11-23 Thread Craig R. McClanahan
Christopher Cobb wrote: How do you specify an entity that you want to be global across applications? The standard Java approach of using a class with public static methods is the usual technique for accomplishing this. This is often referred to as the "singleton" pattern. An example of

Re: Class Vs JavaBean

1999-11-23 Thread Diane Marie Palmer
You're overthinking this...all I'm saying is that a) a class does not inherently map form fields to attributes b) a bean being used by a JSP can automatically set its attributes using get and set routines that you write once in the bean class that's all I'm saying! Gerry -Original

Re: Query On JSWDK 1.0.1

1999-11-23 Thread Drew Cox
Suresh - see below -Original Message- From: Suresh Kumar Nittala [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, November 23, 1999 6:43 PM To: [EMAIL PROTECTED] Subject:Query On JSWDK 1.0.1 Dear Sir, Not sure what country

Re: GNUJSP on NT with Apache

1999-11-23 Thread Joey Gibson
On Tue, 23 Nov 1999 06:06:15 -0600, Mike Howard [EMAIL PROTECTED] wrote: ||| Has any one got the NT/98/95 of apache with GNUJSP to work? I don't understand the ||| instructions. The Files that it talks about don't exist. ||| ||| Mike Howard After about the fourth time reading the docs,

URLConnection problems with ie5.0 (Servlet and applet communicaiton)

1999-11-23 Thread viswanathan
hi, I am using URLConnection for communication between my servlet and applet. and here is my code at the applet side URLConnection con = myURL.openConnection(); con.setDoOutputStream(true); ObjectOuputStream objout = new ObjectOutputStream(con.getOutputStream()); objout.writeObject(myObject);

Difference between JB, EJB Servlet !!

1999-11-23 Thread Suresh Kumar Nittala
Hi, Kindly help me out. 1. How would you differntiate? A) Java Bean B) Enterprise Java Bean C) Servelets 2. Can we call Servelts directly from JSP? Regards, Suresh Kumar === To unsubscribe: mailto [EMAIL PROTECTED] with

Re: Query On JSWDK 1.0.1

1999-11-23 Thread Suresh Kumar Nittala
Hi Drew, Thanks for the suggestion. Here is the brief description of the problem I am facing. After copying the JSWDK1.0.1 on to my Local Hard Disk along with JDK 1.2.1 I have set the path and the Class path in the Autoexec.bat file. The I run the StartServer in the JSWDK folder then I am

Re: Query On JSWDK 1.0.1

1999-11-23 Thread Craig R. McClanahan
Suresh Kumar Nittala wrote: Hi Drew, Thanks for the suggestion. Here is the brief description of the problem I am facing. After copying the JSWDK1.0.1 on to my Local Hard Disk along with JDK 1.2.1 I have set the path and the Class path in the Autoexec.bat file. The I run the StartServer

Re: Query On JSWDK 1.0.1

1999-11-23 Thread Praveen Kumar S .
Hi You have to set the java home environment variable JAVA_HOME = c:\jdk1.2.1 in 95 do it in autoexec.bat set JAVA_HOME = c:\jdk1.2.1 in NT do it in system congifuration regards Amit -Original Message- From: Suresh Kumar Nittala [SMTP:[EMAIL PROTECTED]] Sent: Wednesday,

Java Beans - Compile

1999-11-23 Thread Reeta Mittal
Hello Everyone, I need to access some CORBA objects from my JSP page. Can anyone please tell me some way of doing this ? As far as I know, I can access these objects from Java Beans but can I access them from JSP directly ? Regards, Reeta

Sorry...

1999-11-23 Thread Reeta Mittal
Hello Everyone, I am sorry that I have sent a mail with wrong Subject. I wanted to ask a question on CORBA objects but I have written the subject as JAVA Beans -Compile. Sorry for trouble... Regards, Reeta === To

Re: Query On JSWDK 1.0.1

1999-11-23 Thread India
Well to get rid of the Out of environment space error do the following: click on the properties tab of the MsDos prompt shortcut, then cick on the memory tab you will find a initial environment set to auto change that to 4096 you should not get that error. Goodluck with your endeavour. Have a

Re: Query On JSWDK 1.0.1

1999-11-23 Thread Raghu Prasad
Hi Suresh Even I also faced the same problem with JSWDK -1.0 . In the readme of JSWDK -1.0, it has been clearly indicated that This release has been developed and tested on the following systems: Sparc Solaris 2.6 JDK 1.1.8 Java2 SDK 1.2 Windows98/NT JDK 1.1.8