Win a copy of Spring Boot in Practice this week in the Spring forum!

madhuchilipi reddy

Greenhorn
+ Follow
since Feb 09, 2007
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 madhuchilipi reddy

how to create many-many mapping.
hi
tell me about DispatchAction in hibernate and many-many mapping .
hi
in jsp when destroy method will call.
15 years ago
JSP
i write code like this .table is SUDHAN
Session session=Orasf.currentSession();
String vs="select max(sudhan.sno) from Sudhan sudhan";
Query qry=session.createQuery(vs);
List studList=qry.list();
Object o[]=studList.toArray();
for(int i=0;i<o.length;i++){
Sudhan s=(Sudhan)o[i];
System.out.println(s.getSno());



but i got exception like

Exception in thread "main" java.lang.ClassCastException: java.lang.Long
at org.student.Getting.main(Getting.java:17)
wt is the mistake in the code.
i want to retrive single value in string .how to write Hql Query
u take empid in first table as primary keyj.
in second table we want to give the references to empid of second table.
i am writing in sql my query is "select max(sid) from Student" this is my query.
how i write same query using HQL
hi
i have table madhu.in this table columns are
sno sname
1 nadg
2 sdd
3 dd
this is my table i want to get the value only with using hql.
and that value put into one string but it will not possible .how to store that getting value.
hi
i have to know what is the exat differcence between jsp and servlet.let me know pls
15 years ago
JSP
i am want clear cut information about persistance,lazy loading and hibernate disadvantges
hi
my problem is first i taken one html form.in that i taken 5 feilds.in these fieds store in database through servlet.means html forward to servlet.after that servlet to forward one jsp page.
my aim is
in that html is application form when ever i am giving all details it will store and to display reciptform(jsppage).in that jsp page automatically increment the recipt no.
how it is possile
15 years ago
wt are the scope variables in java
15 years ago
how to display the calender in jsp page using struts
like
my requirement this
sno:
name:
birthday: here i want to display calender when i click calender it will capture by that colum


how it was displayed
15 years ago
hi
i have one doubt.
abstaract class menas it having abstaract methods
interface menas abstaract methtods and constant variable.


we are writing class abstract inthis class we write all methods
abstract and declare variales final it act as a interface or not
.we can write means wt is the diff between abstract and interface
15 years ago
hi
this is madhu.
i want which type of versions to use to access files all our project people .which version they maintain to acess all files.
[ February 13, 2007: Message edited by: Bear Bibeault ]
15 years ago