deepak borole

Greenhorn
+ Follow
since Nov 13, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by deepak borole

ya it will match only one if....
if(subject.equals("mechanical"))
{
....
....
i = p_stmt.executeUpdate();
}
else if(subject.equals("electrical"))
{
....
....
i = p_stmt1.executeUpdate();
}
now what is happenin is that if mechanical is selected then it is going in the if loop and updating the table but if electrical is selected it does not execute the executeUpdate()....here different tables are updated when in any of the if loops i.e. if in mechanical then mechanical table is updated n so on....
17 years ago
i have taken hardcoded string in which table names are there like ...
insert into tablename values(?,?,?,?)......but the executeUpdate() is not working.
17 years ago
i have to update a table from few tables using executeUpdate() from a servlet....from the previous page i am selecting the table to be updated and then in the servlet using if and else if i hav written code to update the table but only one table is getting updated...the code written in else if is not working means the executeUpdate() is not working....what must be the problem.
i have to update a table from few tables using executeUpdate() from a servlet....from the previous page i am selecting the table to be updated and then in the servlet using if and else if i hav written code to update the table but only one table is getting updated...the code written in else if is not working means the executeUpdate() is not working....what must be the problem.
17 years ago
wat i m doing is that from page1 i m using query 2 access the records from main table and writing those in new table .. after i say submit 1ce the records are written in new table but they cant be displayed on page2 but if i go back and do submit again then the records get displayed on page2....y its not working when i submit it for 1st time.
17 years ago
JSP
ya i am using request.getParameter()
17 years ago
JSP
hi frnds,
wat i am doin is tat...i am selectin few records of table1 from page1 and then copying those in new table from a servlet which is called after tat page1....n later i am displayin those records of new table on next page....but after submitting from page1 1st time the records are not getting displayed but if i do back and agen press submit button then the records are gettin displayed.
17 years ago
JSP
hi,
i am developing an online quiz...i have a main table on the server from which user depending on his choice selects questions from the table and they are displayed ........for displaying those i m using a loop in which there are 4 radio buttons which corresponds to the option of tat particular question....now i have given them same name as v need 2 select only 1 radio button from those 4....the name which i have given is not a string directly eg. check but instead i have given name as a variable which gets evaluated at runtime and the name is given eg. <%=num%> ....now i have to access the selected radio buttons value on next page but i cant use request.getParameter(num) because getParameter() needs a string as a parameter and num is not a string....what can i do?
17 years ago
JSP
wat i want to do is that....i have a main database on the server...and when some client will access my site the selected records should be stored at the client side....how can this be done..
i had installed j2ee on my machine and it got corrupted .... so i installed it again but this time i had use other name instead of c:/Sun/Appserver...i used c:/Moon/Appserver...but now my servlets are not working which i had made earlier.....
17 years ago
i have two tables in microsoft access......i am accessing records from 1st table and inserting them into the second table.......what i am doing is evrytime the code is run i am deleting records from the second table and then inserting new records in that table but the size of that table is going on increasing......so should i drop the table and create new table everytime from the java code...
i am developing one application in which my main database will be on server and i need to create one table on the client side. how can i do that.....
hi I am trying to compile a servlet program.I tried to set the path for java & apache by running this batch file:
-----------------------------------------------------------------
set path=%path%=;C:\Program Files\Java\jdk1.5.0\bin;C:\Program Files\Apache Group\Tomcat 4.1\bin
set classpath=%classpath%=;C:\Program Files\Java\jdk1.5.0\lib;C:\Program Files\Apache Group\Tomcat 4.1\lib\tools.jar
-----------------------------------------------------------------
I can execute javac command from DOS prompt,but when i compile my program

javac hitCountServlet.java

it cannot find javax servlet packages & hence doesnot compile.

I have tried using J2EE & using corresponding batch file.It compiles & executes in J2EE
17 years ago
i have copied the class file in
C:\Program Files\Apache Group\Tomcat 4.1\webapps\examples\WEB-INF\classes named HelloWorldExample and hav made entry in the web.xml file as

<servlet>
<servlet-name>HelloWorldExample</servlet-name>
<servlet-class>HelloWorldExample</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorldExample</servlet-name>
<url-pattern>/HelloWorldExample</url-pattern>
</servlet-mapping>

and executing it as

http://localhost:8080/examples/HelloWorldExample

but gettin the 404 error
17 years ago
how to execute servlets on apache tomcat 4.1.31.....please tell me the steps to be followed
17 years ago