sumit_indian -4 Newbie Poster

why don't you sessions then if really want to use send.redirect option otherwise you can use form action method in using html that work fine with jsp

jwenting commented: giving bad advice that's already told to be bad is not a good idea -3
sumit_indian -4 Newbie Poster

where had u call database its not visible in ur coding check your connection

sumit_indian -4 Newbie Poster

I have used this code in my project

page name is abc.jsp

<%
 session.setAttribute("srcfilename", request.getParameter("AQC2_SOURCE_FILENAME")); 
		String str=(String)session.getAttribute("srcfilename");

%>
<form name-"abc" action ="abc.jsp">
<input type= "textbox" name="AQC2_SOURCE_FILENAME" size="20" value="">
<input type= "textbox" name="new textbox" size="20" value="<%=str %>">
<input type= "submit" name="Submit" size="20">
<form>

Sorry I haven't use System.out.println
Hope it help u

peter_budo commented: JSP is for presentation, servlet is for logic. Servlet is where you should setup connection with DB! -1
sumit_indian -4 Newbie Poster

I had the same problem problem why don't use Calendar Controls freely available in various sites i had downloaded the coding and modified the same for my purpose
use following link

https://engineering.purdue.edu/ECN/Support/KB/Docs/JavascriptCalendar

sumit_indian -4 Newbie Poster

I don't know where r u not getting it I have a small scriptlet coding for u

<%
ResultSet rs = st.executeQuery("select count(*) from v$instance ");
while (rs.next())
{
data[0] = rs.getString(1);
}
%>


now in html coding
<input type="text" value="<%= data[1]%>"

hope it work for u

sumit_indian -4 Newbie Poster

thank aravelli i really appreciate this ....

sumit_indian -4 Newbie Poster

Hello Friends ,
I m new in Javascript
i m trying to validate two date coming in the format DD-MON-YYYY coming through PopUP-Calendar in two textboxes but unable to get required result I musing following function:

<script type="text/javascript">
function check(){
  var SDate = document.form.previous_date.value;
var EDate = document.form.next_date.value;

if (SDate == '' || EDate == '') {
  alert("Plesae enter both....");
  return false;
}

var endDate =new Date.parse(EDate);
var startDate =new Date.parse.Date(SDate);


if(startDate > endDate)
    {
        alert("Please ensure that the End Date is greater than or equal to the Start Date.");
        document.calldate.next_day.focus();
        return false;
    } 
}
</script>

Thank In Advance

sumit_indian -4 Newbie Poster

Hello guys,

I am new in asp.net. I am developing a asp.net project using c#.It has a feature that allow user to upload their files . I want to use anti-virus as scan tool while a user upload his files
I also want to restrict user just to allow only pdf, excel ans doc files. please help me .............

sumit_indian -4 Newbie Poster

hello friends I am using this script in my asp .net project using c#.
but unable to compile it