Daryll sabate

Greenhorn
+ Follow
since Apr 03, 2012
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 Daryll sabate

Actually my from now i can upload the image and it successfully save in my database, my problem is, i can't save the text input to my database.. it always appear NULL.

so it means the my STRING Name = request.getParameter("name") is not working..

my question is, how can i saved this text input to my database, is it ok if try to use another connection just to get the value of the text input.?

all i want from now is to save that text input to my database.
11 years ago
JSP
Hi Bear Bibeault,

i put my code into servlet,

upload.jsp to upload.java



can you please check if its correct, and after this, what should be my next step?

thanks sir
11 years ago
JSP
Thank for replying sir, but can you give me a hint.. like some code to follow.. thanks in advance
11 years ago
JSP
O.T

but when i try to input the record manually to the code like this it will successfully save... see difference in line 53-54(code at the top) from 51-52(here) and i remove some code in line 39-40


11 years ago
JSP
Hi, need some help here, i have a program where a user can input name, city and upload image. when a user click the submit button the name, city and the image(Save as BLOB) must be save in the database. and the image will also save in the desired folder. i have no problem in saving the image in the folder, my problem is it can't save the record to mysql database.

heres my code...

index.jsp



upload.jsp

11 years ago
JSP
honestly i dont get it.. as i've said im just a pure newbie in jsp.. so its sounds like chinese to me..

here is my code..

Homepage.jsp




on that.. when i select a value on the dropdown, and click ADD.. it will display the nextpage which is InsertReport.jsp

InsertReport.jps code:


what i want is..when i select a value a value of dropdown in HomePAge.jsp and click ADD what i want to see in the next page is the SELECTED VALUE FROM HomePage.jsp is Display to InsertReport.jsp automatically..


hope you will understand.. thanks
11 years ago
JSP
hi, im a newbie in JSP Programming,

i have a simple PRogram that can display/add/delete/edit the value from the database.. in my homePage.jsp i have one DropDown Menu this is filter the record.. my problem is in my AddRecord.jsp. because if a user select a value on the DropDown Menu ex. PAGE-1 and click ADD button, what i want to do is to display on the DROPDOWN is the SELECTED value of PAGE-1. but its not working instead when i SELECT PAGE-1 from the DropDown and Click ADD button, the value of dropdown in AddRecord that jsp will be back to empty which the user need to select the value again..

this for quick understanding..hope so...

ex. i have a car collection program. which is categorized according to brand name. and if i select the brand FERARI and i want to add new car in this category.. it will automatically display my selected FERARI then add the new can to it.....

hope it will help... sorry for my poor english..

thank you for some help..
11 years ago
JSP