Re: JSP-Servlet Question

2000-05-29 Thread Sharan, Abhishek
Title: RE: JSP-Servlet Question Hi Vinay  correct me if i am wrong.what you want is basically that you have a jsp wihin that jsp you have some servlet embebed that produces some html snippets.this can be acheived thru what is called server-side includes "SSI". you can do this by gettin  a ref

How to Generate Reports in JSP

2000-05-29 Thread Biren Patnaik
Hi, > > Can anyone suggest me How to generate reports in JSP or using latest Java > > Technology .Here My back-end is Oracle 8.0.3. > > Looking forward to geeting reply from the JSP community sites. > > Thanks in advance > > Biren =

Re: subscription to your mailing list.

2000-05-29 Thread Tarun Dewan
Rajdeep, You have to send "SUBSCRIBE jsp-interest your name" message to [EMAIL PROTECTED] This is completely automated process & thus you have to do it yourself. I'm also a member of this mailing list. Bye, Tarun Dewan. -Original Message- From: A mailing list about Java Server Pages

help on tomcat apache

2000-05-29 Thread Puri Aman
hi all i am looking for a server which has tomcat and apache running . i want to buy webspace on this can anyone advise where to get such cyberspace from? Thanx Aman Puri === To unsubscribe: mailto [EMAIL PROTECTED] with body

subscription to your mailing list.

2000-05-29 Thread rajdeep
Hello There!! Please include my E-mail id in your mailing list related to Java Server Pages. Thanks a lot, Rajdeep _ Visit http://www.PalmGreetings.com The first & only Mobile greeting site. * You can send & receive e-cards using your

Re: Professional Java Server Programming by Wrox?

2000-05-29 Thread Robert Nicholson
Hi I have a question about WROX books. Wrox use to be a Microsoft centric publisher and I'm really glad to see the quality of some of the Java/Web stuff coming out from them at the moment. Some of the earlier XML books focused primarily on Microsoft's DOM if I remember rightly. I'm thinking of t

Re: Calling Servlet methods from JSP -

2000-05-29 Thread Robert Nicholson
Sounds like you might have to play with javascript event handlers. Is it possible to get a RequestDispatcher from the Servlet Context object and use forward() from there? > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROT

how to use connection pool in jsp

2000-05-29 Thread Kotireddy Mutyam
hi friends, how to use connection pool in jsp(in iis server in jrun). TIA kotireddy [EMAIL PROTECTED] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be f

Fw: Replace

2000-05-29 Thread Liart Junior
Thank's Liart Junior (Developer) - Original Message - From: "Boemio, Neil (CAP, FGI)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 29, 2000 6:58 PM Subject: RE: Replace > I use the following: > >// >// replace >// >// Replaces every occurrence of oldStr

Re: How to Generate Reports in JSP?.Help needed

2000-05-29 Thread Biren Patnaik
Hi verret, Thanks for ur quick answer.Can u please tell me any web-sites which will have a clear understanding about the report server.Any books also?. On Mon, 29 May 2000, Serge Verret wrote: > I think the use of report server from Oracle would be the answer , > it can generate html or pdf > >

Re: Professional Java Server Programming by Wrox?

2000-05-29 Thread Mark Wilcox
Hi, Thanks for all of the kudos on this book (I'm one of the authors, I wrote the JNDI chapter(s)). Just an FYI, we're hard at work on the second edition. With any luck it will be out by the end of June. Mark On 28 May 00, at 17:52, Amrish Kaushik wrote: > It's really and excellent book. Well

Model 2 question from novice

2000-05-29 Thread Marc Krisjanous
Hi all, I would like to change my current servlet architecture to a Model 2 framework. What I currently have is one servlet that receives requests and then instantiates certain classes to perform actions. However the servlet is totally dedicated to one task. I now need to add some additional fu

Calling Servlet methods from JSP -

2000-05-29 Thread Marc Krisjanous
Hi all, Could someone please answer my question. Question: How can a JSP that is "Loading" call a servlet method? Servlet A calls a JSP and while the JSP is "Loading" it needs to use some of the methods in Servlet A. Cheers Marc =

Re: Replace

2000-05-29 Thread pb
Liart Junior wrote: > > I need a method to replace more than one character. > > Example: > > String test = "I need help"; > test.("help", "a function"); > > returns = "I need a function." > > The method replace(), is used do replace a character to another character. > I need replace a string to a

Re: POSTing to a JSP from a Java class - Getting desperate!

2000-05-29 Thread Craig R. McClanahan
Phil Swenson wrote: > This is actually close to being OT, but I think many are interested in how > to do this. > > I'm trying to post to a JSP from a Java class. I absolutely can't get the > thing to work. The post is always completely empty. Here is my code: > > URL url = new URL("http:

How can I get initail parameter from web.xml in JSP page ?

2000-05-29 Thread Choi Jong Myung(SS)
Hello. I wrote jspInit() method to get initial parameter from web.xml file. The JSP page contains this: <%! public void jspInit() { ServletContext c = getServletContext(); String data = (String)c.getInitParameter("name"); } %> and web.xml file contains this: te

Re: Replace

2000-05-29 Thread Liart Junior
I need a method to replace more than one character. Example: String test = "I need help"; test.("help", "a function"); returns = "I need a function." The method replace(), is used do replace a character to another character. I need replace a string to another string. Thanks - Original

Re: Replace

2000-05-29 Thread Dennis Huang
You can use String.replace(oldChar, newChar). Dennis -Original Message- From: Liart Junior [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 30 May 2000 12:56 To: [EMAIL PROTECTED] Subject: Replace I would like to know if someone has a function that I manage to replace a string for other strin

Replace

2000-05-29 Thread Liart Junior
I would like to know if someone has a function that I manage to replace a string for other string. With replace(), I with himself just change a caracter for other. I need replace " ' " for " ' ' ". Thank's Liart Martins Web Developer

URGENT!!!! --- calling a servlet from a jsp page

2000-05-29 Thread Joysorlyn Dixon
My apologies for the "newbie" question -- but I'm pulling my hair out at this point -- Please some one tell/show me a snippet of code that will call my servlet passing the jsp page's request and response objects to the servlet-- or passing the request and response objects to a class that will cal

release session beans

2000-05-29 Thread KY K Lui
i am using apache and tomcat under linux. in my jsp page, i am using some session beans. how to release those session beans for a session? thanks Get your FREE Email at http://mailcity.lycos.com Get your PERSONALIZED START PAGE at http://my.lycos.com ==

Re: File download problem with JSP

2000-05-29 Thread D. J. Hagberg
The fundamental problem here is that a .doc file is a *byte* stream, not a character-oriented text document. You are seeing the effects of character set translation and possibly truncation and probably some problems due to null characters (though Java should not have any prob. with this). You ne

JDBC - CachedRowset

2000-05-29 Thread David Edmister
i'm implementing the CachedRowset class (in the sun.jdbc.rowset.* extended and unsupported class api) in a Java Server page template and want to know if there is a down side to doing this. my schedule doesn't permit me to integrate this w/ the 3rd party (bea ) Connection Pool management bean tha

File download problem with JSP

2000-05-29 Thread Eric Butler
I am trying to send a downloaded word document through a jsp. When the document is bigger than about 20K, part of it is missing. Can't tell whether it's the end or the beginning that is getting cut off. The junk.getDoc() return a string that's just the reading of a file input stream. The stran

Re: saving beans during reboots, crashes?

2000-05-29 Thread Alex Strasheim
First of all, thanks for the response. > The beans I've written store processes; data is stored in files. I don't think I explained myself well -- this is from the jguru faq on jsp: "For example if you need to store and access variables with application scope, you can always create a javabean,

Re: How to Generate Reports in JSP?.Help needed

2000-05-29 Thread Serge Verret
I think the use of report server from Oracle would be the answer , it can generate html or pdf - Original Message - From: Biren Patnaik <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 29, 2000 3:50 AM Subject: How to Generate Reports in JSP?.Help needed > Hi, > Can anyone

Re: login page

2000-05-29 Thread Dommel Frank
Hi josh, try something like this as login.jsp... <%@ page import="mybean.Main" %> <% String user = optimus.getLogin_usernametmp(); String pswd = optimus.getLogin_passwordtmp(); boolean letin= optimus.isLogin_ok(); if (letin) { // delete user and password before starting

Re: changing the response url with a dispatcher in model 2

2000-05-29 Thread Daniel Lopez
Hi Kevin, In some cases we have used JavaScript to help in this topic. So we check at the beginning of the page if we are inside the proper frame or not, if we are not then we forward to the appropriate place or to an error page. Of course, this has the disadvantages of using JavaScript but... I

Re: Declarative Security - not strictly JSP

2000-05-29 Thread Daniel Lopez
Hi Arun, The mapping between user names and roles is left unspecified within 2.2 specification. It is supposed to be container specific so you would have to learn how to do it in each specific container and then you would have to redeploy this security part of your application every time you cahn

Re: Model 2 - Instantiate Action & Call doGet()?

2000-05-29 Thread Daniel Lopez
Hi, I'm using a similar but not identical approach. In my case Action classes don't implement an interface but extend a basic abstract class (Action) which is the one in charge of forwarding, error control, ... Why? Because that way my controller servlet is pretty much independent of how I create