%@ %

2000-01-24 Thread Peter J. Schwarz
Slava, I think the problem may be in your use of content_type. This (if you are using JSP 1.0) should be %@ page contentType="text/html" % Cheers, Peter -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL

urgent: JSP's calling Servlets

2000-01-24 Thread [EMAIL PROTECTED]
I want to call a Servlet from my JSP page.when I was trying to use href,my servlet is invoked but the session which was created earlier is found to be null(may be because of the request parameter not passed from JSP) When I was using jsp:forward page="http://localhost:8080/../..Servlet" /

Re: AW: Redirect or ??

2000-01-24 Thread Daniel Lopez
Hi, In such cases, what I do is to use the "POST" method in my form so when the user hits reload he will be asked whether he really wants to submit the form data again. That's what I think the post method was designed for. You can still get in trouble if they hit the reload button and answer

Find a good free tutorial.

2000-01-24 Thread Rafael Pascual Agua
Hi: I want to find a tutorial about JSP technology, but I tried it without succesful. I anybody knows, please, tell me. Thanck you. === To unsubscribe: mailto

Newcomers Questions

2000-01-24 Thread Ian Stacey
HI all, I'm new to this JSP stuff and have got some questions that I hope someone will be able to help me with. I need to develop a database driven site and am unsure of the methods used to implement this. I have knowledge of SQL server and IIS on the NT Server Platform and have a basic

Session timeout and having to make a database call

2000-01-24 Thread Ian Graham
Hi Everyone, I have looked through all the emails that are raging at the moment about session timeouts. I have a similar problem but when the session times out I have to remove his entry from a database table. Basically the scenario is this: The user logs into the system and an entry is

No Subject

2000-01-24 Thread Marc Vila Pérez
Probally, you'll must modify the bean. You must do the select ordered by a field (the ID of the table for example), then you must declare two vars, and save the minium and the maxium value of the query. So, the links'd be like: prev: same_page.jsp?min=MIN_ID next:

404 No detailed Error

2000-01-24 Thread Ian Stacey
I'm using the JSWDK on a win98 machine for training purposes, can anybody explain the following error message and tell me what I can do about it? The code I have used to cause the error was copied straight out of a book, so I'm sure there's something wrong with my server setup. I'm getting a

Re: Session timeout and having to make a database call

2000-01-24 Thread Daniel Lopez
Hi Ian, You might try to use the HttpSessionBindingListener interface. You can put and object in the session context that implements this interface and when the session is timed out, it will be notified through a valueUnbound() call nad inside this method you can remove the entry from the

unsuscribe

2000-01-24 Thread Omar Diego Vera Ustariz
sigoff JSP-INTEREST unsuscribe === 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

unsubscribe

2000-01-24 Thread Srisail Mocherla
__ Get Your Private, Free Email at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at:

Re: Session timeout and having to make a database call

2000-01-24 Thread Ian Graham
Hi people, thanks for that advice. I have tried it but it seems that these methods are getting called everytime the bean is used by a different page. I.e. I have the usebean tag at the top of each page getting hold of the sessioned beans, and it is being put into session and then got out. These

problems with jws

2000-01-24 Thread Ximo Domenech
Hi to everyone. I have a problem with JSWDK. If I configure a site in JSWDK to run some JSP pages, everything works all rigth if I try with a URL like: www.myserver.com:8080/mynewsite/jsp/index.jsp but if I try with a URL without specify a JSP page, for example:

Model 1/Model 2?

2000-01-24 Thread Hines, Bill
I've seen references to "Model 1" and "Model 2" applications. Where are these described so that I can find out what the pros/cons of each are? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".

Re: problems with jws

2000-01-24 Thread Luc Saint-Elie
Ximo, Its a "welcome page" problem. I don't remember how to set it with JSWDK, it probably in a properties.file BTW you may want to switch to Tomcat that is the next generation (servlet 2.2 and JSP 1.1) http://jakarta.apache.org Hi to everyone. I have a problem with JSWDK. If I configure a

Re: Model 1/Model 2?

2000-01-24 Thread Rikard Elofsson
"Hines, Bill" wrote: I've seen references to "Model 1" and "Model 2" applications. Where are these described so that I can find out what the pros/cons of each are? Try http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc_p.html for a quite nice explanation... Hope it helps //Rikard

Re: Session timeout and having to make a database call

2000-01-24 Thread Craig R. McClanahan
Ian Graham wrote: Hi people, thanks for that advice. I have tried it but it seems that these methods are getting called everytime the bean is used by a different page. I.e. I have the usebean tag at the top of each page getting hold of the sessioned beans, and it is being put into session

JSP-ASP-SERVLETS

2000-01-24 Thread Ravi Kishore Kakani
HAI GUYS, i have a typical problem.can i use in the same application two diff servers(JWS,IIS) and access asp pages from iis and servlets from jws.will i be able to maintain the session state on the two servers?if yes,how do i pass the session variable from the servlet page of jws to asp

Re: Model 1/Model 2?

2000-01-24 Thread Craig R. McClanahan
"Hines, Bill" wrote: I've seen references to "Model 1" and "Model 2" applications. Where are these described so that I can find out what the pros/cons of each are? The terms were originally used in the JSP 0.92 specification to describe two overall strategies for architecting a JSP-based

No Subject

2000-01-24 Thread Jeff Dyck
unsubscribe

Re: request for reviews: Professional Java XML Programming with Serv lets and JSP

2000-01-24 Thread Leon
It was out and I got one. A great book on servlet but only cover JSP 1.0 within one chapter... - Original Message - From: "Hines, Bill" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 12, 2000 9:44 AM Subject: Re: request for reviews: Professional Java XML Programming

jsp not supporting the following type of javascript.

2000-01-24 Thread Sharat Babu
HTML HEAD script function display() { if(document.iform.but1.value()=="") { alert("hello enter the value"); } } /script /HEAD BODY BGCOLOR="#FF" form name=iform input type=text name=but1 value="" a href="javascript:display()"img

Re: forward

2000-01-24 Thread Arun Thomas
Ghosh, The forward tag is invisible to the browser. As far as the browser is concerned, it requested a specific resource form the server (identified by the address in the browser). That resource was returned - the actual contents of that resource (in this case, obtained on the server side by

Tomcat 3.0

2000-01-24 Thread Leon
How can I configure Tomcat 3.0 (on Redhat 6.1+Apache+Sun JDK2 RC2) to load a servlet (with connection pool) when it starts? I check server.xml, tomcat.conf, web.xml but no luck. Thanks in advance, Leon === To unsubscribe:

Re: Forms with ENCTYPE=multipart/form-data

2000-01-24 Thread Jason Hunter
Marc Vila Pérez wrote: Hi I have to implement a push method, where from an html page, with a FORM (FORM ACTION="reciver.jsp" METHOD=POST ENCTYPE="multipart/form-data"), I send a file (an image for example). In the receiver side I don't receiv any parameter. Can anybody help me? You

does jsp support javascript

2000-01-24 Thread Sharat Babu
Hi to all I want to know whether jsp supports javascript. thanx in advance. regards sharat === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at:

what's the most stable configuration?

2000-01-24 Thread yusuf guyot
hi all - i've been monitoring the group for a couple of weeks. i'm so happy it's out there and i'm very excited about this technology. i have a question: what's the best combination version -wise of jdk, servlet sdk, jsp engine and anything else that would make a stable learning environment

Re: Newcomers Questions

2000-01-24 Thread Rao Dadi
Hi All, I am New to JSP Technology. I want to use an Anchor in JSP page. Can you please give me a hint. Satya. -Original Message- From: Ian Stacey [SMTP:[EMAIL PROTECTED]] Sent: Monday, January 24, 2000 1:24 AM To: [EMAIL PROTECTED] Subject: Newcomers Questions HI all,

Re: urgent: JSP's calling Servlets

2000-01-24 Thread Arun Thomas
Hey Chary, The jsp:forward tag should always use a relative URL. Try that instead! -AMT -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, January 24, 2000 5:02 AM To:

Re: urgent: JSP's calling Servlets

2000-01-24 Thread Sam
the forward tag uses a request dispatcher works locally only Use a relative url like "/servlet/MyServlet" for this and it will work -Sameer "[EMAIL PROTECTED]" wrote: I want to call a Servlet from my JSP page.when I was trying to use href,my servlet is invoked but the session which was

Re: Forms with ENCTYPE=multipart/form-data

2000-01-24 Thread Marc Vila Pérez
The problem that I have is that i can process the paramters because the java.util.Enumeration enum=request.getParameterNames(); returns no data. Anybody kowns why? Thank U!! Bye Marc Jason Hunter wrote: Marc Vila Pérez wrote: Hi I have to implement a push method, where from an

Urgent

2000-01-24 Thread Rao Dadi
Hi All, I am New to JSP. I want to Know how to use Anchor, Including a file, Including an img file,Running an Ordinary JavaBean from JSP. Any help is Highly Appriciated. Satya -Original Message- From: Craig R. McClanahan [SMTP:[EMAIL PROTECTED]] Sent: Monday, January 24, 2000 8:26 AM

Model1/Model2

2000-01-24 Thread Mohan Radhakrishnan
Hi, Nice article at www.brainopolis.com bye, Mohan === 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

Simple Custom Tag Example Error in Tomcat 3.0

2000-01-24 Thread Halpin Matthew
Does anybody get the following error when trying to run the "Simple Custom Tag example" that comes with Tomcat? Error: 500 try to access class com/sun/xml/tree/ParentNode from class org/apache/jasper/compiler/TagLibraryInfoImpl

Re: Newcomers Questions

2000-01-24 Thread Scott Stirling
Man, if I could only moonlight as a consultant answering questions like this . . . It's just like HTML. The unmarked, or default playing field in a JSP is HTML. So all JSP/Java code goes within special tags like % and % or %@ %, and all HTML roams free. OF course this gets turned inside out

Re: jsp not supporting the following type of javascript.

2000-01-24 Thread hai
your script is client-side javascript. nothing to do with jsp. the below should work (value is an attribute, not a method!). if (document.iform.but1.value == "") { alert("something"); } -hai. Sharat Babu wrote: HTML HEAD script function display() {

Forms with ENCTYPE=multipart/form-data - new ?

2000-01-24 Thread Phil Swenson
Has anyone dealt with stopping posts on ulta-low speed uploads? We've seen 200 bit per second upload transfers before - that takes a LONG time on a 5 meg upload. does the class deal with the post being cancelled in the middle well? Thanks to Jason for writing the classshould save a lot of

Error 500 in Tomcat when using tags

2000-01-24 Thread Halpin Matthew
I get an error when using my own tag library. Anybody know what I'm doing wrong? Error message is: Error: 500 try to access class com/sun/xml/tree/ParentNode from class org/apache/jasper/compiler/TagLibraryInfoImpl In the output window it says it's an unhandled error of type

How to return rowcount using Stored procedures through CallableSt atement?

2000-01-24 Thread Gong Anna
Hi, I am using following code to execute my stored procedure SQL_EXEC, which takes the qry string as a parammeter and execute it. How do I get a return of rowcount number when doing insert, delete and update? try{ String

Re: forward

2000-01-24 Thread P'Simer, Dana
Does content that has already been written to the out stream affect forwards? For example the following JSP: %@page session="true" language="java" % %! boolean bSomething = false; boolean doSomething() { return bSomething; } % % if (

Re: JSP-ASP-SERVLETS

2000-01-24 Thread Jason Lee
Ravi Kishore Kakani wrote: HAI GUYS, i have a typical problem.can i use in the same application two diff servers(JWS,IIS) and access asp pages from iis and servlets from jws.will i be able to maintain the session state on the two servers?if yes,how do i pass the session variable from the

Re: jsp not supporting the following type of javascript.

2000-01-24 Thread Duffey Kevin
Hi, I think the problem is your using value() instead of value. function display() { if( document.iform.but1.value()=="") should be if( document.iform.but1.value == "" ) alert("Hello enter the value"); } Kevin Duffey Software Engineer [EMAIL PROTECTED]

Re: does jsp support javascript

2000-01-24 Thread Duffey Kevin
JSP is a SERVER side technology. JavaScript is CLIENT side. So..in that regard, JSP has NOTHING to do with JavaScript. However, if you are referring to how a JSP engine parses a JSP page and if it supports JavaScript, I can assure you it works fine. I use JavaScript form validation on our site

Need Help

2000-01-24 Thread Rao Dadi
Hi All, I am New to JSP Technology. I want to use an Anchor in JSP page. Can you please give me a hint. Satya. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at:

Re: does jsp support javascript

2000-01-24 Thread Rao Dadi
Jsp Supports Javascript. Satya -Original Message- From: Sharat Babu [SMTP:[EMAIL PROTECTED]] Sent: Monday, January 24, 2000 9:49 AM To: [EMAIL PROTECTED] Subject: does jsp support javascript Importance: High Hi to all I want to know whether jsp supports javascript.

jsp debugging

2000-01-24 Thread Mohan Radhakrishnan
Hi, What are the different methods that you are using to debug JSP pages ? Are the error messsages viewed in the browser always ? bye, Mohan === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

Re: important for all jsp developers

2000-01-24 Thread Eduardo Pelegri-Llopart
I share the same stylistic / pragmatic view as Hans. One example where %! does not introduce this problem is when it is used to define methods used elsewhere in the JSP page. I personally would tend to do this by defining objects (introduced via a custom tag) and invoking methods on them, but

Re: jsp not supporting the following type of javascript.

2000-01-24 Thread Rao Dadi
Hope this will solve your problem. HTML HEAD script function display() { if(document.iform.but1.value=="") { alert("hello enter the value"); } } /script /HEAD BODY BGCOLOR="#FF" onLoad=alert(""); form name=iform input type=text name="but1"

diplay of records page by page

2000-01-24 Thread Ashwani Kalra
Hi, Rajiv has given me the solution for diplaying the records page by page(say 10 records per page). But Once i get all the records from the database i dont want to use my EJB to do any thing. I just want those records obtained in a vector or array to be displayed page by page Has any body more