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

1999-12-02 Thread Phil
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"); I assumed Suresh's question was a JSP problem, but I'm not sure. If it is JSP related, I don't think

include issue with jswdk-1.0.1

1999-12-02 Thread Thomas Paradies
Using jswdk-1.0.1 on NT I tried to include a page dynamically with code like this: jsp:include page="jsp:exprmy_expr_with("string_param")/jspexpr" .../ I got a ParseException: "Attribute string_param has no value". Why? ... notice the nested double quotes! Ok, I "ecaped" the inner ones:

JSP FAQ Resource Information

1999-12-02 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

ANN:JSP FAQ @jGuru.com

1999-12-02 Thread Govind Seshadri
Hi, all: Some good news for all you Java fanatics: The MageLang Institute has now morphed into the Java portal jGuru.com. (http://www.jGuru.com) In particular, check out the cool FAQs maintained by the gurus -- anybody can contribute to them. We also started a new section of Javaworld on

what do i have to do to run jsp on Apache/ NT

1999-12-02 Thread mitul
hi every one, Do i need some other thing like JServ/JRun for running JSP with Apache/NT?? One more query!! i have used a bean with JSP using jsp:useBean tag How do you use a servlet as a server side component I mean does jsp:useServlet tag works and to use a servlet , do i need to

Problem with using .forward

1999-12-02 Thread Richard Stedham 3343
I am having the following problem and would appreciate some help/advice. 1. An HTML form collects information and passes this across, using POST, to a servlet. 2. The servlet adds the information to a database, sets up a bean and uses the requestdispatcher to forward the browser to a

Information

1999-12-02 Thread A. Mallikharjuna Rao
Hello Sir I am a learner of JSP servlets. Can you suggest me where can i get some psedo code Examples of above thanks bye malli __ Get Your Private, Free Email at http://www.hotmail.com

Information

1999-12-02 Thread A. Mallikharjuna Rao
Hello Sir I am a learner of JSP servlets. Can you suggest me where can i get some psedo code Examples of above thanks bye malli From: Shawn McKisson [EMAIL PROTECTED] Reply-To: Shawn McKisson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Using out.println to write on the browser -

Redirection to another page

1999-12-02 Thread Eileen Loo
Is it possible to write JSP code to redirect the browser to open a new page, say, page B from JSP code in page A? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at:

Some questions on WebAppli-cookies....

1999-12-02 Thread Veronique Dupierris
Hi, I'm new in Web application, JSP... so sorry for my basics questions !! I have to write an application which access to a specific database. All works fine but I 've read some mails about cookies and I'm wondering if my application will work well in any case: - I didn't wrote any

Jrun and IIS

1999-12-02 Thread Miguel Angel Fernandez
Hi all, I'm working with Jrun2.3 and IIS3.0, the JRun samples servlets work but when I test my servlets (placed in the same directory that samples) I get this error message "500 Internal Server Error MyServlet Could not load servlet" Any idea? Thanks in advance

Re: Ignoring useBean

1999-12-02 Thread Daniel Tillin
What version of JSP does your web server support? I don't think 0.92/0.91 support jsp:useBean , but do support bean /bean syntax. Also, these versions only have request and response implicit objects. Basically, I would find a server which supports V1.0+, as you're ver limitied otherwise.

Re: Maximum JSP Page size.

1999-12-02 Thread Matthew Lehrian
I had a problem which I thought was a JSP file size limit using JRun 2.3.3 and IIS 4.0. I didn't investigate it too long because I moved all the code into JavaBeans. I like this approach because the JSP pages are so straightforward and short, and all the logic lives in beans. Cheers, Matthew

[Fwd: Differences 0.92 between 1.0]

1999-12-02 Thread Robert Anglos
Assuming you only have one environment the easiest way to migrate back to an earlier version is to take a copy of the code and environment (i.e. versions of the Apache etc.). If you should have to roll back re-install the environment load up the copy of the code and your away. An even better

Re: EJB newbie question

1999-12-02 Thread David Hecksel
Here's a general server based question - it's not directly on topic( JSP), but it is certainly relevant from a JSP application deployment environment standpoint. For an application running on a JSP enabled webserver ( for example, java application server) running in a load balanced environment,

Re: Some questions on WebAppli-cookies....

1999-12-02 Thread Veronique Dupierris
I have a response reading the jguru FAQ concerning the encodeURL utility regarding Cookies problem. I also output the session ID in my pages and could see they were different if cookies was disabled so suppose i had as many of beans instances as I had session. !?! So I tried the encodeURL

Re: Differences 0.92 between 1.0

1999-12-02 Thread Kirkdorffer, Daniel
The 1.0 spec should have a section on the changes from 0.92. Go to http://java.sun.com/products/jsp/download.html Dan -- From: Mircea Moisei[SMTP:[EMAIL PROTECTED]] Reply To: Mircea Moisei Sent: Wednesday, December 01, 1999 3:23 PM To: [EMAIL PROTECTED]

UNSUBSCRIBE

1999-12-02 Thread Sheena Kuriakose
Please delete me off of this list. __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com === To

Re: Using a bean in a public declaration

1999-12-02 Thread Daniel Tillin
I think Mr Wilson's problem was that he thought the compiled JSP held references to the implicit objects and the beans declared. Perhaps it's worth noting that this is not true, and that is why he needed to pass these things into his methods. Dan -Original Message- From: A mailing list

jsp param trouble

1999-12-02 Thread Pizzonia, Mario Carmelo
Hi everyone, I'm working with JSP1.0 and I have a trouble with the tag jsp:pluginparam name="MYNAME" value="ANTONIO" The strings myname and antonio must be quoted otherwise it falls in compilation error. But I have the need to evaluate a variable with %=var% so : param name="MYNAME"

AW: Redirection to another page

1999-12-02 Thread Bernard, Frank
Is it possible to write JSP code to redirect the browser to open a new page, say, page B from JSP code in page A? use:response.sendRedirect ( target_URL ); Frank Bernard Healy Hudson AG CDT - Core Development Team 67691 Hochspeyer, Nelkenstr. 43

Re: Maximum JSP Page size.

1999-12-02 Thread Scott Stirling
It's a known bug in the build you have, I bet. You didn't say the build, but if it's less than build 155, get the latest from http://www.allaire.com/products/Jrun/MoreInformation/ProductUpdates.cfm?id=13085method=full Young Dave wrote: Fellow JSP users... I am using JRUN verion 2.3.3

Re: Ignoring useBean

1999-12-02 Thread Cory L Hubert
I figured out the problem. The way I have JRUN setup it supports JSP 0.92. How can I bump it up to 1.0? Should I? -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Tillin Sent: Thursday,

How to set the ClassPath/Environment for JSWDK 1.2 !!

1999-12-02 Thread Suresh Kumar Nittala
Hello Everybody, I have a small query. I am unable to execute methods ResultSet.First(), etc., which support JDBC 2.0.i.e., JSWDK 1.2. But I am able to execute methods, ResultSet.wasNull() method which supports JSWDK 1.0.1 I am using JDK 1.2.1 JSWDK 1.0.1 Can anybody help me How to set the

JRun - Simple Question.

1999-12-02 Thread Phil Swenson
I'm a servlet newbie and am trying out JRun on IIS. I got a simple JSP with inline Java running, but I haven't been able to get a servlet to run. I took a simple example from a servlet book(Java Servlets by Karl Moss), copied the servlet into my www.blah.com/servlet directory. I copied the

Re: include issue with jswdk-1.0.1

1999-12-02 Thread Hans Bergsten
Thomas Paradies wrote: Using jswdk-1.0.1 on NT I tried to include a page dynamically with code like this: jsp:include page="jsp:exprmy_expr_with("string_param")/jspexpr" .../ I got a ParseException: "Attribute string_param has no value". Why? ... notice the nested double quotes! Ok,

Re: Redirection to another page

1999-12-02 Thread Mike Howard
Yes, The code would out put a JavaScript command to open the new page. and display the old page to return the other information. Eileen Loo wrote: Is it possible to write JSP code to redirect the browser to open a new page, say, page B from JSP code in page A?

Bean-Managed Persistance - Initializing db connection pool

1999-12-02 Thread Evan Vaala
Does this scenario sound ok? I want to create an ejb that will provide the initialization and admin routines on a static db connection pool. This ejb will have an initialization routine that will create the db connection pool and place it into the InitialContext. Following startup of the ejb

Re: Problem with using .forward

1999-12-02 Thread Hans Bergsten
Richard Stedham 3343 wrote: I am having the following problem and would appreciate some help/advice. 1. An HTML form collects information and passes this across, using POST, to a servlet. 2. The servlet adds the information to a database, sets up a bean and uses the

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

1999-12-02 Thread Hans Bergsten
India wrote: 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" % No, import has nothing to do with run-time exceptions. The import mechanism in Java is just a way to avoid typing

JSP Servlet activites week of Dec 5th (@NYC)

1999-12-02 Thread Eduardo Pelegri-Llopart
Next week is the JavaBusiness Conference in NYC. Among other announcements, this is the formal launch of J2EE 1.2, which includes JSP 1.1 and Servlet 2.2. There will be a number of different presentations on enterprise-related technologies, including JSP, Servlet, and XML. The web site is at:

Re: IBM WebSphere Application Server 2.0 and 3.0

1999-12-02 Thread Gillard dIon
And WAS v3.0 supports 0.91 and 1.0, not just 1.0... -- 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.SoftwareSummit.com - be there next year - Forwarded by dIon

Re: AW: Redirection to another page

1999-12-02 Thread Craig R. McClanahan
"Bernard, Frank" wrote: Is it possible to write JSP code to redirect the browser to open a new page, say, page B from JSP code in page A? use:response.sendRedirect ( target_URL ); You can also do this on the server side (without a second round trip back to the client) with

Re: Page Control in International/Regional Setting

1999-12-02 Thread David Chisholm
I think that you can still do this with one servlet. In earlier posts (subject - Which Architecture), Craig discussed a servlet design that used an action parameter in the servlet request to determine how to handle the request. It seems to me that you have at least one additional dimension,

beanName attribute of jsp:useBean tag not working

1999-12-02 Thread Martin Leboeuf
Hi ! I am trying to use a bean in a JSP page using the beanName attribute of the jsp:useBean tag, giving IT a request-time attribute expression, with a syntax like: jsp:useBean id="mybean" scope="session" beanName=%= session.getValue("billtoname") % type="a.b.MyBean"/ And the servlet

Re: Refresh Problem

1999-12-02 Thread Thomas Ivers
Make sure that your browser is set to (in IE "Check for newer versions of stored pages: Every visit to the page.) Under Internet Options - General -Temporary Internet Files - Settings. If this does not work, I have seen (occasionally) where the jserv (Apache 1.3.6, JServ 1.0) will not re-compile

Re: AW: Redirection to another page

1999-12-02 Thread Khurram Mahmood
I am using jsp1.0 and JRUN2.3. There was no jsp:forward in 0.92 and if I was using 0.92, I would've gotten a compilation error, not this strange behavior. Thanks, KM -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 02, 1999 9:06 PM To:

weblogic html and jhtml

1999-12-02 Thread Joshua Rudin
Is there a way in weblogic to have the HTML and JHTML (or JSP) pages each have a different default directory? Thanks, Josh __ Get Your Private, Free Email at http://www.hotmail.com

Jrun/IIS - Figured it out

1999-12-02 Thread Phil Swenson
Ok, I called Allaire and we figured out the problem. I didn't have the virtual Scripts directory for my site. It was that simple. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP