Problem!!!!!!!!

2000-01-18 Thread Naresh Chandwani (CTS)
Title: Problem Hi everybody, this is my first mail to this group. this is my second day,i am doing JSP. i am using JSWDK-1.0.1 and IE 5.0 i have one problem as follows: i have this JSP page: <%@ page import="num.naresh" %> my class file is: package num; public class

Re: Function sequence error ???

2000-01-18 Thread [EMAIL PROTECTED]
You can't use rs.next() to navigate between records as rs.next() returns boolean. Instead of that you can use if(rs.next()) **in place of if (rs != null) ) { no need of rs.next() } and continue your loop. This will definetly solve your

unsubscribe

2000-01-18 Thread Reisman Jason
unsubscribe

how to register servlets in JSWDK-1.0.1

2000-01-18 Thread Joseph Seah
hi... i'm using JSWDK 1.0.1 and want to create my own web application. i have copy the structure of examples directory in jswdk-1.0.1 directory to my own directory i.e. c:\jswdk-1.0.1\mywebappl i have my servlet (say myservlet.class) in the following directory: c:\jswdk-1.0.1\mywebappl\

unsubscribe

2000-01-18 Thread vishakha khaladkar
__ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on

Re: JSPs

2000-01-18 Thread Joseph Seah
Hi, You can get one from http://java.sun.com/products/servlet/download.html .js > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Phoon > Sent: Wednesday, January 19, 2000 10:12 AM > To: [EMAIL

(no subject)

2000-01-18 Thread Zia Siddiqui
Dear Sir, Please remove my name from your mailing list becaseu I am receiving a lot of junk mail thru your system. I am not interested in this and I would appreciate your cooperation. Thanks Zia e-mail: [EMAIL PROTECTED]

Re: server supporting JSP and servlet

2000-01-18 Thread Suresh Batchu
On Tue, 4 Jan 2000, Bhagyashree wrote: > I am on a Windows NT client m/c with a Enterprise server 3.2. > 3.2 does not support JSP and servlets. > > I tried iplanet.com but could not download any webserver. Check out the following url. http://www.iplanet.com/products/infrastructure/web_servers/i

how to run a jsp example

2000-01-18 Thread Xia Xing
hi,all, I just dl tomcat 3.0 and some examples. How can I run it? Is it necessary to startup Apache+Jserv, besides Tomcat itself? I have set classpath for tools.jar, what else should I set? BTW, My platform is Win98. thanx in advance. ===

Function sequence error ???

2000-01-18 Thread Phillip Fei
In my JSP page, I got a resultset rs from a servlet via JDBC-ODBC: ResultSet rs; %>This is a list of all books: <% rs = dtrans.getBooksSortedByAuthor(); if (rs != null) { rs.next(); ... ... I know that rs does have 10 records in it. The JSP pa

Re: JSP 1.1 support in iPlanet Web Server, Enterprise Edition 4.0 SP3

2000-01-18 Thread Suresh Batchu
On Wed, 12 Jan 2000, Basvi Ayuluri wrote: > By default it supports JSP 0.92. > > Does anybody know how to run JSP 1.1 in iPlanet Web Server, > Enterprise Edition 4.0 (netscape server 4.0)? iPlanet Enterprise Server (iES) 4.0 supports only JSP 0.92. How ever, we are currently working on iES4.1 wh

Re: tomcat jsp & encodeURL not working

2000-01-18 Thread Hans Bergsten
Michael Bernardo wrote: > > Hi, > > I need to do session tracking when cookies are disabled. > > When trying to do a response.encodeURL(...) in a .jsp in the latest > tomcat release, it doesn't seem to do anything at all. Is this a > limitation of tomcat? I've seen an example of this working on >

Re: Link to a fragment in a JSP page?

2000-01-18 Thread John K. Peterson
On Tue, 18 Jan 2000, Joseph Pych wrote: > I have been trying to figure out how to link to a fragment within a > JSP page. I have a section of a long JSP page that contains estimated > financials. There's a button in that section to recalculate. What I > would like to do is process the recalc,

Re: body within

2000-01-18 Thread John K. Peterson
On Tue, 18 Jan 2000, Sue Spielman wrote: > I'm using JavaWebServer 2.0,JDK 1.2.2,JSWDK 1.0.1 and the JSP 1.1 PR2 specwith >that said. > I'm simply trying to execute an init method for a bean, once, when the bean is >instantiated, as it states is possible in the JSP spec. However the method

Re: problems with jsp:include directive

2000-01-18 Thread Arni Raghu
The jsp:include is not a compile time directive the <[EMAIL PROTECTED]%> is a compile time directive..That is why u r seeing the problems...import the classes in the included .jsp and the errors will vanish... hth, A > Hi, > I'm trying to use the jsp:include directive to include a JSP file into

Re: losing session data using URLrewriting

2000-01-18 Thread Craig R. McClanahan
Damian Fauth wrote: > "Craig R. McClanahan" wrote: > > > > That is not the case. What you should do when you are creating your form is > > something like this: > > > > " method="POST"> > > > > to ensure that the URL to which you are submitting the form is encoded if it > > needs to be. > > I

Re: JSPs

2000-01-18 Thread Daniel Phoon
Hi .. Does anyone knows where can i download development kit for Servelets..from www.SUN.com? Daniel Marc Vila Pérez wrote: > Hi everybody! > I'm looking for a site containing built JSPs that implement common functions > (I know that there are a lot of > this places for ASPs), shareware and f

UNSUBSCRIBE

2000-01-18 Thread ssuri
 

Re: body within

2000-01-18 Thread Hans Bergsten
Sue Spielman wrote: > > I'm using JavaWebServer 2.0,JDK 1.2.2,JSWDK 1.0.1 and the JSP 1.1 PR2 specwith >that said. > I'm simply trying to execute an init method for a bean, once, when the bean is >instantiated, > as it states is possible in the JSP spec. However the method is never called. I

tomcat jsp & encodeURL not working

2000-01-18 Thread Michael Bernardo
Hi, I need to do session tracking when cookies are disabled. When trying to do a response.encodeURL(...) in a .jsp in the latest tomcat release, it doesn't seem to do anything at all. Is this a limitation of tomcat? I've seen an example of this working on servlets.com. Does anyone know if tomcat

Re: Jason Hunter's File upload servlet + session persistence

2000-01-18 Thread Hans Bergsten
David Wall wrote: > > > I don't know about JRun specifically, but a portable solution should be > > to make sure the URL used in the form's action attribute is "URL > rewritten", > > > >method="post"> > > > > The solution you suggest only works with JRun, since ServletUtil is not > > a standar

body within

2000-01-18 Thread Sue Spielman
I'm using JavaWebServer 2.0,JDK 1.2.2,JSWDK 1.0.1 and the JSP 1.1 PR2 specwith that said. I'm simply trying to execute an init method for a bean, once, when the bean is instantiated, as it states is possible in the JSP spec. However the method is never called. I searched the archive and did

unsubscribe

2000-01-18 Thread 최형기
unsubscribe

Link to a fragment in a JSP page?

2000-01-18 Thread Joseph Pych
I have been trying to figure out how to link to a fragment within a JSP page. I have a section of a long JSP page that contains estimated financials. There's a button in that section to recalculate. What I would like to do is process the recalc, return to that page, and scroll to that sectio

Re: Jason Hunter's File upload servlet + session persistence

2000-01-18 Thread David Wall
> I don't know about JRun specifically, but a portable solution should be > to make sure the URL used in the form's action attribute is "URL rewritten", > >method="post"> > > The solution you suggest only works with JRun, since ServletUtil is not > a standard class, and URL rewriting (accordin

Re: losing session data using URLrewriting

2000-01-18 Thread Damian Fauth
"Craig R. McClanahan" wrote: > > That is not the case. What you should do when you are creating your form is > something like this: > > " method="POST"> > > to ensure that the URL to which you are submitting the form is encoded if it > needs to be. Is this correct? Is it now portable across

problems with jsp:include directive

2000-01-18 Thread Elisabeth Freeman
Hi, I'm trying to use the jsp:include directive to include a JSP file into a JSP file. The included JSP file requires objects both from java and from my own codebase. It seems that the JSP engine is attempting to compile the JSP to be included *separately* from the including JSP. Thus, because

Site references - Walmart ; links

2000-01-18 Thread David Hecksel
I believe Walmart is using Broadvision, which also uses .jsp extension ( but not necessarily meaning Java Server Pages). Walmart had a press release about a month ago about how they are adopting BroadVision on walmart.com. Two interesting links on Servlets and JSP: JSP : http://www.enterprised

Re: File Download

2000-01-18 Thread Stephen Summerfield
> -Original Message- > From: A mailing list about Java Server Pages specification > and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Larry Hoffman > > The problem in the file download dialog box. from Internet > Explorer. When > the servlet starts the download I get the following de

Color code for Emacs ~ Html-helper-mode.el

2000-01-18 Thread Jens Andersen
Hi people,   Please take a look at: http://www.gest.unipd.it/~saint/hth.html Added a defcustom for a symbol meant to tell Emacs that it has to consider asp/php/jsp blocks beginning in column 1 Added messages in the minibuffer while matching PHP/JSP/PHP blocks Added support fo

Re: Is Global Session Possible?

2000-01-18 Thread Arun Thomas
Phil, As Dave notes, the two sessions should be completely different. However, let me ask how you are testing with two browsers. Are you simply opening two windows on the same computer using the same browser application, filling out the forms, and then submitting them one after the other? If t

Re: File Download

2000-01-18 Thread Craig R. McClanahan
One thing you could try would be to change the way you create URLs for downloadable files: Page Title File 1 Note that there is a slash before the filename instead of a question mark. Now, assuming that your download servlet is mapped to "/servlets/download", you can

Re: Session tracking?

2000-01-18 Thread Craig R. McClanahan
Duffey Kevin wrote: > Hi, > > >The HttpSession does what you say, associates a 'session' (some java object) > >with an id. The id is passed as the Cookie to the browser. > > Yeah..this much I knew. I just wasn't sure if I didn't use cookies or URL > rewriting, if the HttpSession does it for you.

Re: development decision

2000-01-18 Thread Hines, Bill
The beans would give your clients the ability to just design their own pages and pull the properties (info) from the bean and display it as they choose. We use IBM's WebSphere Studio, which has a really nice model for using JSP, Servlets, and beans together to accomplish sites like this. And don't

Re: Can anyone see why this won't work?

2000-01-18 Thread Arun Thomas
Sorry Sharath, but I don't understand your comment. You say there is NO need to import java.util.* since it takes care of everything. What exactly is the "it" that takes care of everything? Did you mean to say that there is no need to import java.util.Vector specifically, but that it is sufficie

Re: Jason Hunter's File upload servlet + session persistence

2000-01-18 Thread Hans Bergsten
David Wall wrote: > > > When posted in a multipart form, the form fields are no longer directly > > stored in the request, and thus available with a request.getParameter. > > I'm not sure what you are really saying, but if you want to ensure that the > current JRun session parameter is included in

Re: Can anyone see why this won't work?

2000-01-18 Thread Sharat Babu
there is no need to import java.util.*; it takes care of everything. -Original Message- From: Arun Thomas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 18, 2000 10:35 AM To: [EMAIL PROTECTED] Subject: Re: Can anyone see why this won't work? Leon, Just a thought As far as I

Re: Is Global Session Possible?

2000-01-18 Thread David Mossakowski
What you're 'missing' is that the second request (B) does not just get the session ID. It gets a whole different session *object*. Different from that of A's session object. Therefore when you put something in that session object you're not overwriting some other session's data (even if it's th

File Download

2000-01-18 Thread Larry Hoffman
I developed a java servlet that takes the query string from a html form. For example: File 1 Well, I click the link to call the servlet. The servlet takes the query string and appends it to the path were the file is loacted. See code below: res.setContentType("application/x-zip-compresse

Re: Session tracking?

2000-01-18 Thread Duffey Kevin
Hi, >The HttpSession does what you say, associates a 'session' (some java object) >with an id. The id is passed as the Cookie to the browser. Yeah..this much I knew. I just wasn't sure if I didn't use cookies or URL rewriting, if the HttpSession does it for you. I now know that you must use one

Re: 500 internal error-please help

2000-01-18 Thread Arun Thomas
Subbu, Querystring parameters are available in both doPOST and doGET methods. The only difference is that doGet methods have access ONLY to querystring parameters. Therefore, if you are doing a form POST, you want to be catching this in a doPost method, not in a doGet. -AMT > -Original Me

Re: losing session data using URLrewriting

2000-01-18 Thread Craig R. McClanahan
"Joseph W. Albert" wrote: > To the best of my knowledge, URL rewriting has nothing to do with form > submittal. > That is not the case. What you should do when you are creating your form is something like this: " method="POST"> to ensure that the URL to which you are submitting the form i

Re: Can anyone see why this won't work?

2000-01-18 Thread Arun Thomas
Leon, Just a thought As far as I know, there is no "import" directive in JSP 1.0. The following line is probably invalid. <%@ import="java.util.Vector" %> You can add the import to your page directive at the top of the page. This may be what is causing the error. -AMT > -Orig

Re: How to access a JAVASCRIPT method within JSP

2000-01-18 Thread Dmitri Namiot
>can i access a javascript method within jsp... one of solutions you can see at http://coldjava.hypermart.net J2J servlet lets you call server side java from JavaScript ColdJava: java server side programming http://coldjava.hypermart.net _

development decision

2000-01-18 Thread Allan Joudrey
Hi all, I have been following the discussion on "Providing application resources" and have found it very interesting and helpful. I think a lot of good ideas came out in the discussion, therefore, I would like to put my current development plan up for discussion to see if I can receive any input.

Re: Login to Secure Webpages using JSP

2000-01-18 Thread Duffey Kevin
Well, there are many ways. But, the way we do it is quite easy actually. Assuming you have a database set up, and a table called LoginTable, we'll go from there. Ideally, you would have a JSP page with a form on it, that allows them to enter their use name and password. When submitted your JavaBe

Re: regs servlet calling Jsp...

2000-01-18 Thread Arun Thomas
Chary, When you do a sendRedirect, you are essentially asking the users browse to perform an HTTP GET from the new URL that you have provided. If you wish to pass information to that URL, therefore, you must use a means permitted by the GET method - a query string. You can add a query string wit

FW: losing session data using URLrewriting

2000-01-18 Thread Paul Holser
-Original Message- From: Paul Holser Sent: Tuesday, January 18, 2000 11:23 AM To: '[EMAIL PROTECTED]' Subject: RE: losing session data using URLrewriting > -Original Message- > From: James Skehan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 18, 2000 8:44 AM > To: [EMAIL PR

Re: thin driver problem in jdbc to oracle.........

2000-01-18 Thread Hines, Bill
Your Oracle driver (probably named classes111.zip) probably isn't in your classpath. Your classpath should have something like "classpath=c:\orant\jdbc\lib\classes111.zip;...". Don't forget to read the install instructions for whatever driver you're using also. Some require you to put another zip

JSP editors

2000-01-18 Thread George Dawoud
Hi All, I'm just starting to use JSP and wanted to know what is the best JSP editor out there. I used to use HomeSite for HTML/ASP and ColdFusion Studio for ColdFusion. But I wanted to know if there is such tools for JSP where it is a simple fast text editor with Lang. Help and so on.. Thanks fo

using *only* an existing session

2000-01-18 Thread George Pearson
What is the replacement in jsp for session = request.getSession(false); i.e. return the existing session if there is one but null if not? Is this the only work-around in jsp?: if ( session.isNew() ) { session.invalidate(); session = null; } Converting a number of old jhtml pages t

Re: Jason Hunter's File upload servlet + session persistence

2000-01-18 Thread Sylvain Roche
Sorry if I misexplained something. What I wanted to say is that the parameter needed for sesion tracking is unavailable when posted from a multipart form. >value="<%=request.getSession(false).getId()%>"> I off course included such a parameter in my form, and this works great when not in a multi

Re: thin driver problem in jdbc to oracle.........

2000-01-18 Thread Guilherme - PerConsult
Hi... I have an error like yours... I don`t know how but in an application I can connect to my Oracle8, but when I use an jsp file, the following error appears: === oracle/jdbc/driver/OracleConnection === I don`t know how to fix it.. I don`t understand it also, because the same jsp file on my

Re: losing session data using URLrewriting

2000-01-18 Thread Joseph W. Albert
To the best of my knowledge, URL rewriting has nothing to do with form submittal. You probably need to add this within your : Hope this helps. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of James Skeh

Re: Jason Hunter's File upload servlet + session persistence

2000-01-18 Thread David Wall
> When posted in a multipart form, the form fields are no longer directly > stored in the request, and thus available with a request.getParameter. I'm not sure what you are really saying, but if you want to ensure that the current JRun session parameter is included in forms, including the multipa

Re: thin driver problem in jdbc to oracle.........

2000-01-18 Thread Hines, Bill
No, you can't use the same one. Go to http://technet.oracle.com and download the one for jdk 1.2. Bill Hines Hershey Foods -Original Message- From: Sharat Babu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 18, 2000 10:43 AM To: [EMAIL PROTECTED] Subject: thin driver problem in jdbc t

thin driver problem in jdbc to oracle.........

2000-01-18 Thread Sharat Babu
I am getting an error class not found. driver problem i am using thin driver classes111.zip my database is oracle 8. I am thinking that thin driver classes111.zip should be used for jdk1.1.x. i am using jdk1.2.2..can i use the same one. any help is thankful.. regards sharat

Jason Hunter's File upload servlet + session persistence

2000-01-18 Thread Sylvain Roche
Here is what seems to be a solutionless problem. I use JRun, with session persistence enabled, but without session cookie. AFAIK, the jrunsessionid parameter is what is used to recognize the session in this case. I think it is not strictly a jrun problem, because I know other servlet servers also

Built JSPs

2000-01-18 Thread Marc Vila Pérez
Hi everybody! I'm looking for a site containing built JSPs that implement common functions (I know that there are a lot of this places for ASPs), shareware and for buying. Thank U all! Bye Marc === To unsubscribe: mailto

losing session data using URLrewriting

2000-01-18 Thread James Skehan
My basic architecture is as follows: servlet -> jsp -> servlet -> jsp In the first servlet, I create a session and place data in it. This data is visible in the following jsp page (I sendRedirect(encodeRedirectURL("blah")) to it) but not to the servlet that this jsp page invokes via a form submi

Re: Can anyone see why this won't work?

2000-01-18 Thread Darcie Huntress
I am no expert, either, but I think you've closed the useBean tag too early... the setProperty tag should be in the body of the useBean, like this: (This syntax is on page 62 of the 1.1 spec) -Original Message- From: Leon Andrews [mailto:[EMAIL PROTECTED]] Sent: Monday, Janua

FW: I am getting two of every posting can someone check for duplicates in the maillist and delete one?

2000-01-18 Thread Mike Oliver
Yes, I too am getting the "undeliverable" aka bounce message but see the post. Me thinks their maillist server needs some attending. We will see if they read this or not. Is there an admin address for the mail lists? Ollie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROT

AW: Any JSP sites I can use as a reference?

2000-01-18 Thread Walter Bauer
Look at the list near the end of that page: http://java.sun.com/products/jsp/industry.html - Walter -Ursprungliche Nachricht- Von: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]Im Auftrag von Duffey Kevin Gesendet: Montag, 17. Januar 2000 0

AW: jsp dev tools

2000-01-18 Thread Walter Bauer
You might want to try Forte (www.netbeans.com) and the internet early access stuff. It's a complete IDE with Servlet and JSP support. - Walter -Ursprungliche Nachricht- Von: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]Im Auftrag von John

500 internal error-please help

2000-01-18 Thread subramanian
hai iam new to javaservlets i have a question please carefully read the follwing and try to help me out. i have a form where i have a textbox and a submit button . if the submit button is clicked it is sent to another servlet where i check whether the textbox contains value if the textbox does no

regs servlet calling Jsp...

2000-01-18 Thread [EMAIL PROTECTED]
Hi all, Can anyone help me how to call a JSP from a servlet. 1.) I've tried with "callPage" but I'm getting ClassCastException at this step: ((com.sun.server.http.HttpServiceResponse) res).callPage("/DisplayData.jsp", req); 2.) I can call a JSP page with sendRedirect but I can't se

JSP Throwing SQL Exception Error : No More data to read from Sock et

2000-01-18 Thread Memon Mohamed Ashraf
I don't understand why, same code when trying to connect to oracle 8.0.4 database connects and fetches the data in JSP but when tried to connect to oracle 8.1.5 which is pure java compliant, throw the subjected error. I am using JDBC Thin Driver, and am really in confusion, can somebody from the

JSPs

2000-01-18 Thread Marc Vila Pérez
Hi everybody! I'm looking for a site containing built JSPs that implement common functions (I know that there are a lot of this places for ASPs), shareware and for buying. Thank U all! Bye Marc === To unsubscribe: mailto

Re: JSP mode for Emacs

2000-01-18 Thread Daniel Macho
You have a multimode.el. To have both HTML and Java you have to configure it like this in your .emacs (once you got the multimode from GNU site, and byte-compiled it): ;; MULTIMODE PARA JSP ;; jsp/html multi-mode (autoload

Re: Can anyone see why this won't work?

2000-01-18 Thread Veronique Dupierris
Hi, i'm not a real specialist, bit I think your problem could be du to the 'import' that should be include in the page directive. You could write <%@ page import="db.DataBaseSelect, java.util.Vector" %> or <%@ page import="db.DataBaseSelect" import="java.util.Vector" %> Hope this help ve

Re: Session tracking?

2000-01-18 Thread Kevin Jones
The HttpSession does what you say, associates a 'session' (some java object) with an id. The id is passed as the Cookie to the browser. And yes URL re-writing does entail changing all of the URLs on a page dynamically so that each client sees a unique URL - you don't need to use JavaScript, you e

Re: Is Global Session Possible?

2000-01-18 Thread Kevin Jones
You're not missing something obvious - Session state must be protected from concurrent access. Like all concurrency you need to keep time in the synchronized block as short as possible, so don't synchroize whole methods, but use 'watchdog' objects instead, so Object o = new Object; void someMetho

Re: How to encode relative URIs in JSP after forward from servlet (notfor sessions)

2000-01-18 Thread Daniel Lopez
Hi Drew, I have to admit I haven't really understood what you meant because I didn't really carefully read your message ;). Anyway, We've developed an approach to deal with the problem you are facing and it's close to what you are using. We actually never call our controller servlet but we use su

Re: How to encode relative URIs in JSP after forward from servlet (notfor sessions)

2000-01-18 Thread Drew Cox
Hi Dan, Yes, well, thats ok, I only skim most posts to the list (not yours, of course ;-). And after re-reading my questions, I can see that I tend to waffle on, like I am now - doh! So, what I though was a problem is actually a feature, useful for deployed customisation, quite ingenious. In t