Re: Can i use session object from jsp in java class

2002-11-28 Thread Dinesh
yes man u can === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: htt

Re: How should i proceed with

2002-11-28 Thread Dror Matalon
The main problem about my response is that it was brief, rather than incorrect. For details, look at Real configuration, and specifically http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html You can then configure tomcat to use a database and keep track of your users. You can then use

Re: How should i proceed with

2002-11-28 Thread V.T.R.Ravi Kumar
Thanks all, for your responses, I think all these things would surely work, I'll try and let know, thanks once again to all V.T.R.Ravi Kumar Engineer,CCX,BHEL, Haridwar Phone : Office-91-0133-485260 Res -91-0133-426121 -

Re: How should i proceed with (can I...

2002-11-28 Thread V.T.R.Ravi Kumar
Can I count the number of active users too ... CAn anyone please detail how i could user the session listener... thanks vtr - Original Message - From: "Christian Bollmeyer (GMX)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 29, 2002 3:27 AM Subject: Re: How should

Re: How should i proceed with

2002-11-28 Thread Christian Bollmeyer (GMX)
Well... if I most humbly might make some objections... 1. IsUserInRole() is about authorization, so that won't solve the problem at all, I fear. With this method, you can check what a user is allowed to do. You can't check if the user tries to log in twice, regardless of the authentication scheme

Re: How should i proceed with

2002-11-28 Thread Dror Matalon
At this point you would be replicating a lot of the functionality of roles in the servlet. Might as well use the built in stuff. Check out request.isUserInRole(); Dror On Thu, Nov 28, 2002 at 11:12:22AM -, Peter Dolukhanov wrote: > A small concern with this is if the user's network connectio

Re: Should I use standalone Tomcat or Tomcat with Apache

2002-11-28 Thread Carl Woermann
Hi Kenny Your document sounds fantastic .. I hope this surge of mail doesn't discourage other users from making such offers. I would love a copy. [EMAIL PROTECTED] Thanks CARL WOERMANN Cape Town I've tried to post the doc to the list and it won't let me so if anyone wants the document, just

Re: Should I use standalone Tomcat or Tomcat with Apache

2002-11-28 Thread Rajarshi Ghosh
Hi Kenny, I would like to see that document as I am trying the same with Windows 2000. Regards LOVE IS GOD --- Mr. Rajarshi Ghosh Project Leader LearningMate A division of Educomp Datamatics Limited #16, 80 Feet Road, IV Block, Koramangala, Bangalore 560034 India

Apache 404 request forwarded to Weblogic

2002-11-28 Thread Jose Kuzhivelil
Hi all, I'm trying to redirect a 404 Page Not Found error from my Apache server to my custom error page on the WebLogic server. I need the original URL requested to be captured and a sensible URL made out from it, so I can do redirections. Problem is my custom erro

JavaBean and JSP

2002-11-28 Thread Lakshmeenarayana G G
Hi, I am using JRun 4 Application Server. I have a bean class which will read the database and convert the same in to XML file. This bean is instantiated and the method to create the XML is called. Now my problem is, I want to store the XML file in a specific directory on the server. Right now If

Re: How should i proceed with

2002-11-28 Thread Kesavanarayanan, Ramesh (Cognizant)
and this timeout seconds you can store it in a property file to read from your application. Regards Ramesh Kesavanarayanan [EMAIL PROTECTED] +91-44- 811 3063 ext 2232 VNet- 42425 -Original Message- From: Peter Dolukhanov [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 28, 2002

RESULT SET ERROR

2002-11-28 Thread Mustafa Attari - DIREM
Dear All, I am using JSP with Websphere and am firing 2 SQL's one after another but i am constantly getting this error of RESULT SET can anyone help me Cannot fetch result set because name of column 1 in meta data is 1 but actual column name is COLUMN_NAME =

Re: How should i proceed with

2002-11-28 Thread Peter Dolukhanov
A small concern with this is if the user's network connection dies, or the user closes his browser without properly logging off. To circumvent this you should have a method which is called whenever the session time's out (expires) and performs the same function to reset that value in the DB. Regar

Re: Forward giving NullPointer exception

2002-11-28 Thread Murali Mohan
Hi , I changed my path as follows. but this time I am getting diferent exeception Cannot forward after response has been committed. I know this is coming because I am using before the forward mechanism . But I must use action. I can't use include directive. If I use JavaScript:window.locati

Re: Forward giving NullPointer exception

2002-11-28 Thread ROLDAN, Gabriel raul
I think you can't access a file in a higher level directory than the root one. so, if "/../main.jsp?file=serviceType.jsp" points to a file in the parent dir of the root dir of you app. -Mensaje original- De: Murali Mohan [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 28 de noviembre de 20

Forward giving NullPointer exception

2002-11-28 Thread Murali Mohan
Hi the following is part of my code. <% ServletContext context = getServletContext (); RequestDispatcher dispatcher = context.getRequestDispatcher("/../main.jsp?file=serviceType.jsp"); dispatcher.forward(request,response); %> I try to use the code to forward another page I am getting nu

Re: Can i use session object from jsp in java class

2002-11-28 Thread Kesavanarayanan, Ramesh (Cognizant)
why do you want to pass the session object. each session object will have a session id. you can get this in jsp by simply invoking session object but there is no reason why you should set this to a java class. think can help you if you are clear in your reqr.. Regards Ramesh Kesavanarayanan [

Can i use session object from jsp in java class

2002-11-28 Thread mahesh.kagalkar
Hi Can i pass the seeion object from jsp page to a java class and in java class can i use that session object as in jsp page give me the details Thanks you === To unsubscribe: mailto [EMAIL PROTECTED] with body: