Gavi jadz Grandea

Greenhorn
+ Follow
since Sep 11, 2009
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 Gavi jadz Grandea

Hi,

I have a function in MS SQL Server 2005 named nextCustomerNo() that returns varchar(10) primary key for my Customer table.

I need hibernate to use this function as Id Generator of my Customer Entity class upon persist()/save()...


I have searched a lot and haven't found anything yet...

Any suggestions will do...

Thanks

- Gavi
Hi michelle,

place this in your web.xml....

and in your error.jsp...


and under web.xml for 'base sections'..


Good luck!
-Gavi
9 years ago

You can view the code by clicking VIEW SOURCE from the page I mentioned. Or download war file here for the complete displaytag features.

Good Luck!
-Gavi
9 years ago
I think onchange() should call a javascript function (probably the one you posted:
onchange="getCertificateNo(<%=var%>)" ).

And you might want to explain/show more for us to understand better.

-Jadz
The web.xml file provides configuration and deployment information for the Web components that comprise 'a' Web application.

Changing it's name won't make it detectable by the container(web server).

regards,
-Jadz
9 years ago

Java requires that a method declare the data type of the value that it returns. If a method does not return a value, it must be declared to return void.

In your case,
setSize() method is declared with returntype void, so no return value required.

getSize() method is declared with returntype int, that's why it should return an object of an integer.

where is the value returned to?


value is returned to an intance that called it...


regards,
-Jadz
9 years ago
hi syruss,
I tried your code and it worked out fine.

It's just having errors when submitting without values, it says no input found for action /login

You should have an input like (input="/index.jsp") attribute in your <action> tag.
And make sure you have a form bean for your loginform.


Check the completeness of your application.

regard,
jadz
9 years ago
I think what your trying to do is...

to get the connection.

I agree. Your missing your driverclass ( com.mysql.jdbc.Driver ) and that's why you can't create a SessionFactory.

value of sizeup limits your slider length ( as sheight is only 270 ).

Don't change sheight value but rather assign variable sizeup a greater value.

-Jadz