Re: Newbie having trouble with Beans

1999-12-01 Thread India
Check whether your jar file has a folder harman in which you have your bean class. Have a nice day. With regards, Sachin S. Khanna. - Original Message - From: Cory L Hubert <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 02, 1999 1:34 AM Subject: Newbie having trouble

Re: How to come out of loop?

1999-12-01 Thread India
Pretty much the same way as you do in Java except the code should be written in the java scriptlet tags. <%.%> Have a nice day. With regards, Sachin S. Khanna. - Original Message - From: Suresh Kumar Nittala <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, Decem

Re: Can't create Bean Object????

1999-12-01 Thread India
You need to first import your bean class before calling the jsp:useBean tag as well as check out the syntax of the useBean tag. <%@ page import = "harman.BeanTest" %> This should solve your problem. Have a nice day. With regards, Sachin S. Khanna. - Original Message - From: Cory L Hubert <

Maximum JSP Page size.

1999-12-01 Thread Young Dave
Fellow JSP users... I am using JRUN verion 2.3.3 running under Netscape Fasttrack server which is running on a Solaris 2.6 box. I am finding that my JSP pages can be a maximum of 15581 bytes before I get a "ArrayIndexOutOfBoundsException" exception. I have come to this file size via a process of

Re: Definition of scope lifecycle/times

1999-12-01 Thread Diane Marie Palmer
So where does one declare application scope stuff? Is there a special file for this? I suppose the answer could be in the first JSP that is entered, but what if there is no single JSP that is the entry point? Or what if it's necessary to have both page scope and application scope in the same page

Can't create Bean Object????

1999-12-01 Thread Cory L Hubert
Check out this error I get. 500 Internal Server Error javax.servlet.ServletException: Can't create the bean Object: Object [Object] at com.livesoftware.jrun.plugins.jsp.JSP.getBean(JSP.java:1392) at jsp.testbeans.service(testbeans.java:82) at javax.

Differences 0.92 between 1.0

1999-12-01 Thread Mircea Moisei
Hi, I need a list of differences between 1.0 and 0.92(syntax mainly). More if some one can tell me if is possible to migrate from 1.0 back to 0.92 how difficuld could be that and more is there a patch for IPlanet that provide support for JSP 1.0 ? Thanks, Mircea =

Re: name of jsp bean

1999-12-01 Thread Craig R. McClanahan
Henric Larsson wrote: > Hi, > > how can I control the name of a jsp bean in a session or application. > > If I create a bean like this: > > class="nation.app.vote.VoteEngine" > > > > > how do I know what name the bean gets if I want to use the bean in a servlet > like this: > > ServletContext

Re: Using out.println to write on the browser - Doesn't Work !!!

1999-12-01 Thread Arun Thomas
Suresh,   You don't need to call a method from your JSP in order to print out a message to the browser.   Just write something like:       <% if (User info In database) { %>     You're OK buddy!     <% } else { %>     The user name you provided is incorrect.     <% } %>   -

EJB newbie question

1999-12-01 Thread WHITESIDE, CHIP
Can a JSP directly access an EJB, or does it need to access an EJB through a bean that establishes the connection using jndi? Thanks! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JS

Re: Using out.println to write on the browser - Doesn't Work !!!

1999-12-01 Thread Ken Pullin
You need to get a PrintWriter object and then it should work: PrintWriter pw = response.getWriter(); pw.println("The user name you provided is incorrect"); Ken -Original Message- From: Suresh Kumar Nittala [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 01, 1999 11:13 AM To: [EMAIL

Re: How to come out of loop?

1999-12-01 Thread AndySoft
> How can I come out of an If Loop, a for loop and a while loop in JSp? i guess <% break; %> will do it AndySoft === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at:

Has anyone tried Newatlanta's ServletExe

1999-12-01 Thread Jianjun Fu
Hi, I am new to JSP. I just download ServletExec from www.newatlanta.com and installed on my MS PWS. I downloaded the 3 tutorials from jsp homepage and tested them. two of them works fine, one give the following error message. What does it say? How can I debug the tutorial (JSP)code? Thanks for yo

Re: attachments and viruses

1999-12-01 Thread Phil
> I wouldn't want to see an edict completely > banning attachments in email. > Sometimes they are necessary. I agree with the concern about edicts but disagree with the need for attachments. In the context of this group, I cannot think of any necessary attachment that may

Re: Definition of scope lifecycle/times

1999-12-01 Thread Craig R. McClanahan
Daniel Tillin wrote: > Does anyone know of any documentation which defines the > lifecycle/times of scopes for JSPs?Cheers Dan One way to understand these scopes more clearly is to review the servlet API specification, and the associated books and tutorials. The concepts match up like this (an

Clean Shutdown of Orion

1999-12-01 Thread Sergio Socarras
Hi, I have a question regarding the shutdown of the orion server. To shutdown orion I've been doing a simple control C and killing the VM. I read in their mailing list that control C won't trigger the destroy servlet call unless you are using the 1.3 beta JDK. Then I read they've provided a shut

Re: Using out.println to write on the browser - Doesn't Work !!!

1999-12-01 Thread Shawn McKisson
Suresh Kumar Nittala wrote: > By using out.println ("The user name you provided is incorrect."); > gives an error. (Doesn't Work.) By "doesn't work" do you mean it throws an exception? Can you tell us the error message? --shawn =

Store data in servlet variables

1999-12-01 Thread Gonzalo Jose
Hi all. I'm storing some data in several static vectors in a servlet and I access this data from the JSPs of my application like the way I access data .in a bean ( NameOfServlet.getNameOfStaticVariable() ). I do this to emulate the scope "application" in JSP 0.92. ( I don't put the data in session

How to come out of loop?

1999-12-01 Thread Suresh Kumar Nittala
Hello, How can I come out of an If Loop, a for loop and a while loop in JSp? Can anybody tell me? Regards, Suresh Kumar === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be fou

Using out.println to write on the browser - Doesn't Work !!!

1999-12-01 Thread Suresh Kumar Nittala
Hi, If the entered information by the user doesn't match with the information existing in the database then I wish to print a message on the browser to the end user which explains as given below. For Example: By using System.out.println ("The user name you provided is incorrect."); prints in the

Store data in servlet variables

1999-12-01 Thread Gonzalo Jose
Hi all. I'm storing some data in several static Vectors in a servlet and I access this data from the JSPs of my application like the way I access data .in a bean : NameOfServlet.getNameOfVariable(). I do this for emulate ===

How to set and unset the properties dynamiclally in a servlet for each request

1999-12-01 Thread Mahesh Yadav
Need a small help. wrote is a servlet which has makes a HTTP get request to the outside intranet The main function of servlet is to get the resource(like some html files on internet ), in the servlet iam creating a url connection, and in order to get the contents

Re: JSP Debugging tool

1999-12-01 Thread Gillard dIon
I use VisualAge for Java's JSP Execution Monitor - it gives you almost all you could want from the debugging side. -- dIon Gillard, Multitask Consulting Work:      http://www.multitask.com.au Play:        http://www.trongus.com I've just returned from THE Java Programming Conference, http://www

Ignoring useBean

1999-12-01 Thread Cory L Hubert
For some reason my useBean syntax is being ignored. When I do a view source I see unrendered code. If I use scripting it works fine though. ?!? Help! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "sig

Newbie having trouble with Beans

1999-12-01 Thread Cory L Hubert
Hey. Just getting started with JSP Beans. I compiled my bean and I put it in a jar file called harman. It's in my Classpath. Check out the following. I would appreciate it if you could help me figure out this problem. -- JSP FILE-- Bean Test Hi --- Bean --- package harm

Re: Using a bean in a public declaration

1999-12-01 Thread Craig R. McClanahan
C W Wilson wrote: > Ok. That explains a few things. I was also wondering, why can't I do the > following? > > <%! public void test() throws Exception { > Cookie[] cookies = request.getCookies(); > } > %> > > Java won't allow me to request anything in there? Is there any way to solve >

name of jsp bean

1999-12-01 Thread Henric Larsson
Hi, how can I control the name of a jsp bean in a session or application. If I create a bean like this: how do I know what name the bean gets if I want to use the bean in a servlet like this: ServletContext.getAttribue("voteEngine"); I want a servlet to create the bean and then pull it f

Re: Using a bean in a public declaration

1999-12-01 Thread Craig R. McClanahan
C W Wilson wrote: > Hi, > > I need to access a method in a bean, like such: > > --- > > > <%! > public boolean test() throws Exception { > return beanTest.returnValue(); > } > %> > <% > > out.println(test()); > %> > > --- > > What do I have to do to access

[ANN] EzWebTools Lightweight Servlet Engine

1999-12-01 Thread Gabriel Wong
Folks, EzWebTools Lightweight Servlet Engine Beta 0.1.6 (used to be called JAWS) is now available for download at http://www.ezwebtools.com EzWebTools Lightweight Servlet Engine (ELSE) is a Lightweight Servlet/JSP WEB Server designed for supporting multiple hosts (servers) with each hosts having

Networking, authentication, and security newbie question

1999-12-01 Thread Bailey, Jeff A
Hello there folks I was wondering what would be my best approach to performing secure authentication on an NT network through a jsp? Currently I am mirroring all accounts that exist on the domain controller in order to determine access levels and employee information (in a db). I was wondering

Re: how to pass multiple parameters to a bean.

1999-12-01 Thread Arun Thomas
Mitul,   Every property of a bean should have a get method and a set method (that's essentially how a property is defined - by the existence of set and get methods).  Anytime you use a bean, these methods are used to pass values to the bean, and to retrieve values from the bean.    The 'pr

Re: JSP URL's

1999-12-01 Thread Arun Thomas
John, If you were using a hardcoded string in your JSP for the userid, and you simply replaced that string with a <%= request.getParameter("user") %> the JSP should work exactly as before, except that the username can now be set in the HREF just as you have indicated: http://webserver/js

Re: attachments and viruses

1999-12-01 Thread Kirkdorffer, Daniel
Paul, I think you'll find that most people don't send attachments. However, when these viruses are sent out, the sender is usually unaware that the email went out. Fortunately here they filter out most of these viruses before they reach me and simply send me an email message warning me that a v

Page Control in International/Regional Setting

1999-12-01 Thread John G Kroubalkian
Craig et al, What if you have a business process you would like to implement using the Central Servlet Model (CSM). Let's say the business process is completing an application for some common service. Now, when the user logs into the system there is some information that connects that user to t

UNSUBSCRIBE

1999-12-01 Thread Karanam Sekhar
__ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with bod

Re: Converting characters in strings to html special entities

1999-12-01 Thread Mike Engelhart
Chris Wilson wrote: > hello all, > > i have a quick question regarding html special entities. i've done some > development in php and they have a function called htmlentities() that will > take a string and convert any appropriate characters to their html entities > (i.e. '<' converted to '<').

Re: Off topic: Classes in a package?

1999-12-01 Thread Kevin Jones
Sorry for the off topic post - a number of people e-mailed me about this so I thought I'd post the URL here. If you go to kevinj.develop.com and follow the 'download' link, you can then get a zip file call JavaHeirarchy.zip. BTW this was written and tested on JDK 1.3 beta 2 on which it works fin

Re: Are Session VAriables and Cookies dothe same

1999-12-01 Thread Tom Preston
Interesting. I will try again using the browser warnings. Maybe I was missing something. I just confirmed with the person who spoke with the support dept there that they said that they are not using cookiesbut maybe there was miscommunication. Carles Pi-Sunyer wrote: > My experience with w

Converting characters in strings to html special entities

1999-12-01 Thread Chris Wilson
hello all, i have a quick question regarding html special entities. i've done some development in php and they have a function called htmlentities() that will take a string and convert any appropriate characters to their html entities (i.e. '<' converted to '<'). is there any similar functional

attachments and viruses

1999-12-01 Thread Paul Warner
Can we agree to just not send attachments to the group? I delete all attachments without opening them. Paul Warner === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at:

Using a bean in a public declaration

1999-12-01 Thread C W Wilson
Hi, I need to access a method in a bean, like such: --- <%! public boolean test() throws Exception { return beanTest.returnValue(); } %> <% out.println(test()); %> --- What do I have to do to access beanTest in test()? Thanks, C W __

Re: JSP URL's

1999-12-01 Thread Praveen Kumar S .
Hi, you should give a ? instead of the & and & between parameters http://ggig/hh.jsp?udsafu=sarfa&shfash=hfuds > -Original Message- > From: John Keyes [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, December 01, 1999 5:17 PM > To: [EMAIL PROTECTED] > Subject: JSP URL's > > Hi, > > I

Re: JSP URL's

1999-12-01 Thread John Keyes
Apologies, disregard mail me and my stoopid typing should be ? not &, looks like its going to be a bad day ! -John K John Keyes wrote: > > Hi, > > I have a JSP that is executed directly via a URL. For testing purposes > I hard-coded the user-id. I now want to pass the user-id into the JSP. >

Definition of scope lifecycle/times

1999-12-01 Thread Daniel Tillin
Does anyone know of any documentation which defines the lifecycle/times of scopes for JSPs?   Cheers Dan

JSP URL's

1999-12-01 Thread John Keyes
Hi, I have a JSP that is executed directly via a URL. For testing purposes I hard-coded the user-id. I now want to pass the user-id into the JSP. I thought I could do this via the URL: http://webserver/jsp/MyJsp.jsp&user=john but I cannot, I get a 404 Not Found (which is understandable). Is t

a couple of ASP to JSP related issues...

1999-12-01 Thread Lucheng Liu
  Hi there,   I am wondering how do I convert Server.URLPathEncode(str) to JSP?  I checked there is no response.encodeUrlPath.   And also is there something similar to 'response.End' in JSP?   Thanks.

Re: Comparing Strings

1999-12-01 Thread India
Well it surely does return "true" for the code below: str1="Hello" str2="Hello" str1==str2 Have a nice day. With regards, Sachin S. Khanna. - Original Message - From: fgs <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 30, 1999 3:00 PM Subject: Comparing Strings >