Re: Tag libraries giving some error

2002-04-02 Thread vtr
Hi every one, I had been using jo still now and now I have installed tomcat with IIS I have problems with tag libraries which were working well in JO. I have a folder vtr in the webapp inside which I have my jsp files. my directory structure is like this inside webapp/vtr/ i have the web-inf

Re: taglib

2002-04-03 Thread vtr
Can any one please say how to use taglibs in Tomcat Regards V.T.R.Ravi Kumar, Engineer, CCX, BHEL, Hardwar, INDIA * Phone : 0133-485405. Fax: 0133-423948. Web: http://vtr.2itb.com Alternate mails: [EMAIL PROTECTED

Re: Tomcat + IIS virtual hosting

2002-04-10 Thread vtr
hi costas, I too have used tomcat3.3 with IIS but i have some problems with jsp can you please help me. I have a vtr/ directory in webapps whose entry i have made in the server.xml inside the vtr/ i have a jsp/ directory and inside which i have all my jsps there is an index.jsp which gets

GET A Random picture

2002-04-30 Thread vtr
uot;Ravi Kumar",60,40); g.dispose(); ServletOutputStream sos =response.getOutputStream(); JPEGImageEncoder encoder =JPEGCodec.createJPEGEncoder(sos); encoder.encode(image); %> -VTR- === To unsubscribe: ma

GNU JSP does not support taglib directive

2002-05-06 Thread vtr
Hi every one, When I am trying to use taglib I get an error message saying that the taglib directive is not supported by GNUJSP and when read the documentations came to know the taglib is set optionally if anyone is conversant with it please let me know. regards vtr

MAIL USING JSP

2002-05-06 Thread vtr
)); } Message msg = new MimeMessage(mailsess); msg.setFrom(new InternetAddress(from)); msg.setSubject(subject); msg.setRecipients(Message.RecipientType.TO, toAddresses); msg.setContent(body, "text/plain"); // send Transport.send(msg); %> Your mail has been sent successful

Re: TOMCAT & IIS

2002-05-09 Thread vtr
I am sorry, Actually the vtr folder is in Webapps/vtr and not in web-inf just as i have the root,examples,admin folders and inside the vtr folder i have a jsp folder I have an Index.html in vtr/ which has an meta tag to redirect it to vtr/jsp/bbb.jsp in bbb.jsp i have the form User id

Re: TOMCAT & IIS

2002-05-09 Thread vtr
the location bar indicates http://ccx_raj:8080/vtr/jsp/bbb.jsp which is correct but i am unable to determine why the server resets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".

Re: can't use out.println in function

2002-05-11 Thread vtr
<%! fun(){ ' %>Hello<% ' ' } %> <% fun(); %> I think you can use the above instead of System.out.println("Hello"); === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAI

session timeout

2002-05-14 Thread vtr
Hi Anybody aware of how to set the session maxinactive time in JSERV . I want to set it directly in the server not by the setMaxInactiveInterval() but by some configuration file in the Jserv. any idea of how to do this. V.T.R. Ravi ¢éì¹»®&ޙ¨¥¶‰b²Û®øÚ½«.Ê&Â+an‡r²('¡÷ÉHò LDDI1

Finding number of days between two dates - offtopic

2002-05-15 Thread vtr
Can anyone say how to find the number of days between two dates .. Thanks in advance Ravi kumar vtr èº{.nÇ+‰·¦j)m¢X¬¶Ç«¾6¯j˧r‰°ŠØ[¡Ü¬Šè}òR<ƒSLZ+v(²ÙšŠ[h–+-±êڲéÜ¢l"¶èw+´” ÔÄDD“ „I4¨™êޕëڞÑ@BÊ'%#ÿIêï•ëlq©Ûyú.Ö­†Ûiÿö«r¯zÈÚ½«.Ê&þ;)Š{^­ë-†Ù¥†ÛiÿøÚ½«

Active sessions

2002-05-25 Thread vtr
Hi, Can any one suggest some method to find out how many users are at present logged in my site. thanx in advance. Ravi kumar. ¢éì¹»®&ޙ¨¥¶‰b²Û®øÚ½«.Ê&Â+an‡r²('¡÷ÉHò LDDI1h­Ø zËfj)m¢X¬¶Ç«¾6¯j˧r‰°ŠØ[¡Ü¬zÒR<ƒSL2$Ò¢g«zW¯j{E (œ”ý'«¾W­±Æ§mçèºwZ¶m§ÿÚ­Èb½ë#jö¬ºw(›øì¦)íz·

active sessions

2002-05-31 Thread vtr
Hi all, Can any one suggest some method to find out how many users are at present logged in my site. The problem is when the number exeeds a particular limit the tomcat crashes with an error message indicating that the jdbc connections has exeeded some limit. I want to track the no of us

hasMoreElements always returns false - reg

2002-06-01 Thread vtr
Hi i have used the taglib to determine the number of live sessions. but the problem is that the sessions get increasing always even if i close one. so i added some code in the jsp to invalidate the session but the hasMoreElements() returns false always hence not able to invalidate . any

Re: JSP problem

2002-07-30 Thread vtr
try HttpSession session=request.getSession(true); session.putValue("uname","ABC"); %> <%=session.getValue("uname")%> vtr - Original Message - From: "Gopinath d" <[EMAIL PROTECTED]> Sent: Monday, July 29, 2002 1:00 PM Subject: J

where to keep class files - newbie

2002-08-21 Thread vtr
regards vtr === 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

Session not accessible

2003-06-19 Thread vtr
Hi all, I have a login JSP where in I set the session variable when I try to access the session from another report servlet the session variable is not accessible and also the getSession method returns different values every time . I have tried using true and flase in the getSession.The JSP an

Re: Session not accessible

2003-06-20 Thread vtr
> To: <[EMAIL PROTECTED]> Sent: Friday, June 20, 2003 8:51 PM Subject: Re: Session not accessible > vtr, > You wrote: > >The JSP and Servlet are in different context in a TOMCAT 1.4.1. > webserver. > This is your problem. Sessions are ma

Re: Parsing data from HTML documents

2003-06-26 Thread vtr
There is something called scrape that might solve your problem try this link you might find something useful. http://jakarta.apache.org/taglibs/doc/scrape-doc/index.html If you are successful in using do inform me ... bye V.T.R.Ravi Kumar, Engg.(CCX), BHEL Phone 01334-285260(O) 01334-226121(

varibles in include --->

2003-07-24 Thread vtr
Can i use variables in the following instead of "ccx_hall.txt" <%@ include file="ccx_hall.txt" %> At present i'm unable to do so... please help V.T.R.Ravi Kumar, Engg.(CCX), BHEL Phone Office 01334-285260 Residence 01334-226121 Mobile 01332-323570 =

Re: varibles in include --->

2003-07-24 Thread vtr
ntation is different .look at your reference. > > enjoy jsp! > > > - Original Message - > From: "vtr" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, July 24, 2003 3:49 PM > Subject: varibles in include ---> > > >

Re: varibles in include --->

2003-07-24 Thread vtr
Than you javi that workd V.T.R.Ravi Kumar, Engg.(CCX), BHEL Phone Office 01334-285260 Residence 01334-226121 Mobile 01332-323570 - Original Message - From: "Javi Alonso" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 24, 2003 3:33 PM Subject: Re: varibles in include --->

Re: varibles in include --->

2003-07-25 Thread vtr
nal Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED] Behalf Of vtr > Sent: Thursday, July 24, 2003 7:36 PM > To: [EMAIL PROTECTED] > Subject: Re: varibles in include ---> > > > Than you javi that workd

Re: Send Email a dynamic HTML page as an HTML/JPG format

2003-07-25 Thread vtr
Hi, First of all how are you sending the email, Within the progam using some taglib or some other servlet. ... V.T.R.Ravi Kumar, Engg.(CCX), BHEL Phone Office 01334-285260 Residence 01334-226121 Mobile 01332-323570 - Original Message - From: "[Pavnesh Kaushal]" <[EMAIL PROTECTED]> To: <

Re: Need Help: Gathering Form Data in the middle of an execution Path.

2003-08-03 Thread vtr
Hi, I think that your should work consider the following page <%--process.jsp--%> <% String data1=request.getString("data1"); String data2=request.getString("data2"); String data3=request.getString("data3"); String data4=request.getString("data4"); if ((data1==null)||(data2==null)||(data3==nul

WAITTAG

2003-08-14 Thread vtr
recently copied the waittag from servletsuite.com This tag displays a message like 'Page is being loaded, please wait ...' till the original jsp gets loaded in the back ground. I want all my jsps to call this before executing the jsp can any one suggest a way regards V.T.R.Ravi Kumar,

Re: WAITTAG

2003-08-14 Thread vtr
03 1:15 PM Subject: Re: WAITTAG > you can try to use 'servlet filter' for this. > > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED] Behalf Of vtr > Sent: Wednesday, August 13, 2003

Please help regarding passing special characters

2003-10-01 Thread vtr
Hi in one of my forms i am sending '&' something as in ' joe & Sam' but when i do the getParameter for the above i get only till joe the rest gets truncated. I will be thankful Any to help in this direction V.T.R.Ravi Kumar, Engg.(CCX), BHEL Phone Office +91 1334285260 M

Re: Please help regarding passing special characters

2003-10-02 Thread vtr
yes I pass it through url it is in a Link and there are many such links with different values for the same parameter like vtr&joshi To: <[EMAIL PROTECTED]> Sent: Thursday, October 02, 2003 7:37 AM Subject: Re: Please help regarding passing special characters > How are yo

Re: populating list boxes

2003-10-09 Thread vtr
I have a similar requirement too. Choose the product -> then the corresponding assembly -> Component ->process -> etc., At present i have used a file which i include everytime with a parameter this file just gives a select box some what like this String prod=request.getParameter("prod"); String

JSP TAGLIB HELP

2003-10-30 Thread vtr
Hi all, I am using the dbtag along with the gridtag the source of my jsp is <%@ taglib uri="http://www.servletsuite.com/servlets/dbtag"; prefix="sql" %> <%@ taglib uri="http://www.servletsuite.com/servlets/gridtag"; prefix="g" %> Could not connect to database Error is: " borderWidth="

Re: JSP TAGLIB HELP

2003-10-31 Thread vtr
if i use instead of " borderWidth="1"/> I get Expr [Ljava.lang.Object;@70be88 [Ljava.lang.Object;@1ecfe07 [Ljava.lang.Object;@199939 [Ljava.lang.Object;@9a9b65 [Ljava.lang.Object;@502819 [Ljava.lang.Object;@78aa80 [Ljava.lang.Object;@1d98a [Ljava.lang.Object;@1712651 [Ljava.lang.Object;@18aab4

taglibs uri problem

2003-11-04 Thread vtr
Hi i have to use the sendmail taglib I have kept the tld file in /WEB-INF/tlds and the jar in /WEB-INF/lib and also made and entry in the web.xml now if i use the <%@ taglib uri="www.servletsuite.com/servlet/sendmail" prefix="send" %> it does not work but if if use <%@ taglib uri="/WEB-INF/tlds/s

Re: JSP issue

2003-12-25 Thread vtr
The simple solution would be Check the variable for null and redirect it to someother page if it is null or just give a message V.T.R.Ravi Kumar, Engg.(CCX), BHEL Phone Office +91 1334285260 Mobile +91 1353114861 - Original Message - From: "Mikil" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Re: JSP issue

2003-12-26 Thread vtr
ugh the value is null. > > Any other suggestions welcomed. > > Rgds > > Mikil > > > - Original Message - > From: "vtr" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, December 26, 2003 2:02 PM > Subject: Re: JSP issue >

Re: how to implement Who's Online ??

2004-04-11 Thread vtr
Try sessadmin and sesslist tag from www.coldsuite.com I have used the same thing and am able to get the number of users , who are live and their status wheter they are guests or valid users and what applications they are looking into. vtr ravi kumar bhel - Original Message - From: "

Re: image, wait processing ??

2004-04-11 Thread vtr
try using the wait tag in the www.coldsuite.com works well. vtr ravi kumar - Original Message - From: "João Paulo Vasconcellos" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 05, 2004 6:32 PM Subject: Re: image, wait processing ?? >

Re: Static borders with scrolling text

2004-04-29 Thread vtr
I will surely be possible but can you please explain a little more (may be a bit of source would be self explanatory) so that It could be sought out. vtr - Original Message - From: "Zulekha Banu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 29

active users in site

2002-09-01 Thread VTR Ravi Kumar
Can anyone suggest a method by which i can find out how many users are logged into my site at this time. Any code is welcome. regards, vtr V.T.R.Ravi Kumar Engineer, ITX, Bharat Heavy Electrical Ltd., = Krodhad bhavati

active users

2002-09-01 Thread VTR Ravi Kumar
Isn't there any way by which i could just count the no. of sessions. This should just give me the number of active users if i set to kill my inactive sessions using timeout. vtr V.T.R.Ravi Kumar Engineer, ITX, Bharat Heavy Electrica

active users

2002-09-01 Thread VTR Ravi Kumar
  but the result is java.util.Vector$1@659374c2 false No of sessions=0 Session id com.tagtraum.jo.JoSession@6b9774c2 why does it return false regards vtr V.T.R.Ravi Kumar Engineer, ITX, Bharat Heavy Electrical Ltd., =

Re: redirection in iPlanet web server.

2002-09-03 Thread VTR Ravi Kumar
ight)+200)); g.setFont(new Font("Serif",Font.ITALIC,48)); g.drawString("INTERNATIONAL CLUB",60,40); g.dispose(); ServletOutputStream sos =response.getOutputStream(); JPEGImageEncoder encoder

sun/awt/X11GraphicsEnvironment not found (please try this and guide me of where i went wrong)

2002-09-03 Thread VTR Ravi Kumar
or(new Color(random.nextInt(col),random.nextInt(col),random.nextInt(height)+200)); g.setFont(new Font("Serif",Font.ITALIC,48)); g.drawString("INTERNATIONAL CLUB",60,40); g.dispose(); ServletOutputStream sos =response.getOutputStream(); JPEGImageEncoder enco

Re: sun/awt/X11GraphicsEnvironment not found (please try this and guide me of where i went wrong)

2002-09-03 Thread VTR Ravi Kumar
please elaborate, vtr At 05:32 PM 9/3/02 +0800, you wrote: >Hi, > I have tested your source, it's correct, I think the java path is error > - Original Message ----- > From: VTR Ravi Kumar > To: [EMAIL PROTECTED] > Sent: Tuesday, September 03, 2002 16:

Values not updated

2002-09-04 Thread VTR Ravi Kumar
gets a older display which is not desirable but it is not possible that at the client end the setting in the browser be changed by me. Is there any way to control it. Please help vtr V.T.R.Ravi Kumar Engineer, ITX, Bharat Heavy Electrical Ltd