shabarish vai

Ranch Hand
+ Follow
since May 26, 2008
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 shabarish vai



thanks for the reply the problem here is wen i save order object then order,order_product,product table will be updated i already have product id so only thing i need to update is order,order_product am using hibernate and MSQL, i dont want product table to be updated
hi can anyone help me in this problem as struck and need it urgently
sorry
order table ------
1
2
3
order_product- this is link table with order_id and product_id
1 2
1 3
2 2
product table
1
2
3
wen i submit order i'll have product id's so i need to save product details like order id 1 will have product id 1,2.
hi all,
i have an application where you can create category and add products and save to Database.
i have order table and product table where you can create product (all product created goes here) and i also have link table order_product table.
now my problem is if i place a order which has for instance with 2 products i want only order and link table to be saved like,

order table ------ order_product------ product table
1 1 2 1
2 1 3 2
3 2 2 3

so when i submit order I'll have product id's i.e 2,3,2 using these product ID i need to update link table and order table.
is there a way to do this? please help
Turner, i have no files by tiles.xml, can i know the reason for tiles.xml and where should i put the code which you have given?
13 years ago
when i click on one of the link from menu it should override body.jsp but how do i override the body dynamically as and when i click on the link
please send me if any code or example for the same
13 years ago
hi can anyone please help me in this , as am struck not able to proceed
13 years ago
hi all
i have a query am using struts tiles which has header,menu,body and footer,
my requirement is if i provide any link in menu.jsp i should be able to display the page in body.jsp.

fro instance in menu.jsp if i provide link like add category then AddCategory.jsp must be loaded and id i gice add Product link then AddProduct.jsp must be loaded in the place where body.jsp is displayed initially.

Base.jsp is

Template.jsp is

Menu.jsp is

if i click on Add Category then AddCategory.jsp be loaded,

13 years ago
can any one please suggest me the book which i have specified. i need examples or book explaining some simple application using spring
13 years ago
hi thanks for the reply,
how about pro spring 2.5/3 ? since am starting from scratch i need examples or and simple application development step wise and later i can go in depth
13 years ago
hi all, am new to java spring can any one suggest me good book for springs 3? am planning to buy one
13 years ago
hi Tim Holloway ,

thanks for the reply , but how to connect Eclipse to JBoss as a remote debug session
14 years ago
hi all,

am using ant scripts.my build.xml is in D:\ant my build.xml is at "D"drive , build.xml file handles everything like compling java files creating war,sar ets files and finally will put it into deploy folder of j-boss. now how do i debug it.
Please help. Am using eclipse only as editor.Please help me how to debug the java files by puting break points
14 years ago
hi all,

i have a property where i'll set some true/false value to that property in action class and forward to jsp, now based on that property value i'll have to display a field. suppose if i have a hidden field for that property
14 years ago