hi ,,
I have two lists, when I select an item from the first
list, the second list will be populated based on the
selected item.
in the first list there are cities when the user selects a city the schools in that city should be added to the second list from the database ... the first list not...
in asp there is something called Query string
how i can do the same in jsp ??
<a href="mateDetails.jsp?h=<%=rs.getString("regis_id")%>">
id = Request.querystring ("h")
i want to have if condition after this query .. this condition is if there is no record found the session should be "" and error msg else the session = the username of the record found (actually this code for checking the login)
//////////...
hi ,
what shall i write in the url to open my page
am trying to open my jsp page which is in the path(
D:\Tomcat 4.1\ClassMate\mates.jsp)
but i get this error
///////////////
HTTP Status 404 - /catalina_home/classmate/mates.jsp...
hi everyone,,
am new with jsp .. i need to know if we can retrive data using jsp ... also .. can we insert, delete, update from the database using jsp ,,, if yes .. where i can find examples of the codes ? ..
thanks,
i copied my vb project to another machine but am not able to run the data reports ... i get a msg saying:
class not registered ........ CLSID 642AC766-AAB4-11D0-8494-00A0C90DC8A9 file not found ..... ???
am connecting VB with access ..
i have a trainees form , when i click on New it should gives me the new ID automatically by adding one to the last ID ... now .. what am using is this code:
//////////////////////
rsTrainee.MoveLast
intID = rsTrainee.Fields("trainee_id").Value...
in oracle 6i i want to write a code that checks if the table is existed or not
for example i want to say
if table history exist then
delete * from history
update from history ......... whatever
else if not exist then
create table history as select * from whatever
end if
Public ArrayNames(0 To 3) As String
i don't want to limit my array with this (0 To 3).. coz i don't know how many items will be in it .. so what can i do .. ?
i want to create a macro in word that merge my file to a new document when i open my merged doc instead of me choosing ,, ) merge to new document , printer or elecrtonic mail) i want it to merge automatically to a new document..
i'll use the code of the macro in vb after that so it does this...
am using this code to open a word document its working, the word doc am openning is merged doc ... when it opens it i have to choose what type of merge i want
1.new document
2.to Printer
3.electronic mail
i want it to be merged to new document from vb with out the user chooses...
am trying to validate the the time to be in this format .. the code is correct except the last if statement.. i want it to check that the ":" is the third digit from the right ..
///////////////
If Len(Text1.Text) < 4 Then
MsgBox ("Time should be in this formate 0:00")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.