running code at server

2000-12-22 Thread sumit shah
hi all, i want to run some script on the server in backend while a jsp page is being processed. I wnat both of them to run at same time. how cna this be done. thanks in advance, Sumit _ Get your FREE download of MSN Explorer at

sending an email in jsp

2000-12-04 Thread sumit shah
Hi, I would like to email the information filled by the user. I looked for tutorials in sending an email in JSP. I got some help and also found one freeware for it. I also came to know about javamail and the sun.net.SMTPclient. But still i dont know which one will be the most reliable. Can

jsp:include...

2000-10-03 Thread sumit shah
hi, I am trying to use the following include action in my jsp page and it is giving me a Generation exception saying "Include: Invalid attribute, flush" I am using the following jsp:include page="http://localhost/Attributes/Features/"+%filename% flush="true" / filename is a jsp variable

include

2000-10-03 Thread sumit shah
hi, I am trying to use the following include action in my jsp page and it is giving me a Generation exception saying"Include: Invalid attribute, flush" I am using the following jsp:include page="http://localhost/Attributes/Features/"+%filename% flush="true" /filename is a jsp variable that i am

Replace

2000-09-21 Thread sumit shah
hi, is there any method of the String class which will allow me to get rid of the blank spaces in a string. i tried Str.replace(' ', '') but jvm does not agree with the 2nd argument saying incompatible type. Is there any direct method other than breaking the string into substring and then

Server side java script

2000-09-19 Thread sumit shah
hi all, I want to have 2 dependent drop downs i.e if i change the value in one then it affects the list of the other. We dont want the page to be refreshed eveytime so we want to use javascript for it. i got some help in asp for writting the server side javascript. the idea was to generate a

problem in include/

2000-09-05 Thread sumit shah
hi all, hope all had a nice weekend. I am trying to include a file in my page. we are using IBM webspher and when i try to run a code with jsp:include page="Model_Resources/specs2.html" flush="true"/ it gives me the following error. com.ibm.servlet.engine.webapp.NoTargetForURIException: No

request.getParameter

2000-08-30 Thread sumit shah
Hi, i am passing two values, A and B in the url as querystrings, when going from one page to another. So to retrieve the values i simply do request.getParameter("A") and simillarly for B. When the first time i load the page i dont want to pass the value for B. What should i write in my

request.getParameter

2000-08-30 Thread sumit shah
Hi, i am passing two values, A and B in the url as querystrings, when going from one page to another. So to retrieve the values i simply do request.getParameter("A") and simillarly for B. When the first time i load the page i dont want to pass the value for B. What should i write in my code

IBM Websphere

2000-08-30 Thread sumit shah
Hi, We are using Ibm Websphere3.0 as the application server.when we try running the page we get the following error java.sql.SQLException: java.lang.UnsatisfiedLinkError: no db2jdbc in share library path. Can anyone please help out. thanks.

dynamic includes

2000-08-30 Thread sumit shah
Hi, I want some help regarding the %@include file="blah.jsp"% directive. instead of writting the filename statically i have to write it dynamically. say : the filename will be stored in some jsp variable 'x' then i would like to do something like %@include file='jsp variable x'% can

idmwebsphere and db2

2000-08-23 Thread sumit shah
Hi, I am using IBM WebSphere and DB2 database for developing my application. Can anyone please help me out with the mapping to the database.??? I wrote the following code but that didnt work. Please help. Connection connection; try {

Re: idmwebsphere and db2

2000-08-23 Thread sumit shah
. From: Christopher Fox [EMAIL PROTECTED] To: 'sumit shah' [EMAIL PROTECTED] Subject: RE: idmwebsphere and db2 Date: Wed, 23 Aug 2000 09:39:25 -0400 how do you know it did not work? message3.txt Get Your Private, Free

problems in compiling

2000-08-18 Thread sumit shah
hi, i made a simple jsp page and tried running it. i am using the IBM Websphere Application Server. when i try to run the page the following errors are displayed. Unhandled error! You might want to consider having an error page to report such errors more gracefully com.sun.jsp.JspException:

errors in compiling

2000-08-18 Thread sumit shah
hi, i made a simple jsp page and tried running it. i am using the IBM Websphere Application Server. when i try to run the page the following errors are displayed. Unhandled error! You might want to consider having an error page to report such errors more gracefullycom.sun.jsp.JspException:

Re: errors in compiling

2000-08-18 Thread sumit shah
or possible problems, and use the catch{} clause to capture and handle those problems. What is your JSP pages trying to do? -Original Message----- From: sumit shah [mailto:[EMAIL PROTECTED]] Sent: Friday, August 18, 2000 10:51 AM To: [EMAIL PROTECTED] Subject: errors in compiling hi, i ma

Re: error in compiling

2000-08-18 Thread sumit shah
hi, my jsp page doesnt do any great things.I wanted to test a code and the test page doesnt have anything but it gets a value from the previous page or an querystring by request.getParameter("number") and printing something out that many times using a for loop. i dont know whats wrong.if

Re: error in compilling

2000-08-18 Thread sumit shah
well here is one of the source codes. I tried many simple ones and if i dont involve and request.getParameter in my code then it definetly works. otherwise i think it depends on my servers mood. thanks and please help. %@ page language="java" % HTML HEAD TITLE /TITLE /HEAD BODY