Loh Peggie

Ranch Hand
+ Follow
since Jul 09, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Loh Peggie

Hi guys I have been doing this tutorial for days but there is error, hence I am not able to proceed.

Thanks
14 years ago
Hey guys do you have any example for like: the company decided to send staff for training then what should the hr manager tasks be like. Example of how the diagram should be like is in the attachment below:)

Thanks a million for all the help ypu guys have given me so far. I really appreciate it:)
I see i see.Sorry.

Erm if i want to search either by ProdName or by prodColor is it do like this?



My servlets is this:



Thanks:)
Thanks:)
Which mean I have to add it like this?





Thanks:D
Hey guys currently i am using textfield to find the product name from the database and display the specific information. Like for example I type in Reb beanie and if the red beanie exists, it will show the record of it and i am able to click on the product name called reb beanie in order to view the specific detail of it.

I make use if servlet as well as jsp:

This is my servlet


This is my jsp find text field:


And when I type reb beanie in the text field it will show the record of it:


When I click on the product name called :reb beanie, it will go to the specific details of it:

However do you guys know how to change this to correspond prodName?


Thanks you:)
Thanks:)

Erm may I know is my sql statement correct:



Thanks!
However my table is in t form of inner join.

Currently I am doing a shopping cart and I need to make use of inner join statement to display the details.

The two database that I make use of is called:
shoppingcartitems
Products
I link them together by using the productId:)

My shoppingcartitems attributes are:
SCId
UserId
ProductId
Quantity


My products attributes are:
ProductId
ProdName
ProdColor
ProdDesc
UnitPrice
Quantity
ProdCatId
UserId
ProdImage


The shopping cart will display ProdImage, UnitPrice, ProductName, quantity and TotalPrice(But i dont know how to write the sql statement that sum the unit price from the database)

Thanks:):)
Hey guys do you know how to implement the sql statement for the sum unit price in jsp?

This is my code:


But the problem is I do not know how to add in the sum UnitPrice.


Thanks:)
I see I see.Thanks:)
15 years ago
JSP
Sorry can you explain it more. Cause I dont understand it. Sorry:(
15 years ago
JSP
Hey guys I have done out a delete servlet, however I do not know how to carry on in my jsp like when I choose to delete the 1101 record it will delete.

This is my servlet:

Thanks:) You guys have certainly help me a lot:)
15 years ago
JSP
Sure:)

This is the code that I make use of:)



Thanks:)
15 years ago
I see I see. Do you guys have any exmaples of impleenting hashtable inside servlets that allow us to upload image as well as date into the database.

Thanks.
15 years ago
I see i see.
Which mean we have to implement the hashtable inside the servlet?


Thanks:D
15 years ago
Thanks:)

What happen if I am using hashtable in jsp page.


15 years ago