Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Toyota Vitz scp10 For Sale
Lakmal Bandara
Updated:
Yesterday at 10:50 AM
Ad icon
Cam ෂෝ කරන්න ආස කෙල්ලෝ
vip video seller srilanka
Updated:
Yesterday at 2:17 AM
Cam show job
vip video seller srilanka
Updated:
Yesterday at 2:01 AM
Vip විඩීයෝ තියේ හොරෙන් රෙකෝඩ් කරපුවා
vip video seller srilanka
Updated:
Yesterday at 1:26 AM
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Monday at 12:26 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
auto increment
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="baadshah" data-source="post: 23442241" data-attributes="member: 36997"><p><span style="font-size: 18px">dan JSP wala kaale ivarai...tikak aluthin deyak igena ganna one nam me vidiyata try karapan.</span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">[Simple HTML 5 Page] ---> [REST service] ---> [Database]</span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">uba ta JSP one ma nam, JDBC connection ekak hadala , java back end eke hari Servlet ekaka hari Query ekak liyala , last generated customerID eka retreive karaganin. Passe ekata +1 karala, request.setAttribute("param") karapan.</span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">ex: <span style="color: Red">request.setAttribute("custID",JDBCservice.getLastCustomerID() + 1); // java method</span></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">and in JSP, call like this:</span></p><p><span style="font-size: 18px"><span style="color: red"><% request.getAttribute("custID"); %></span></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">Mama mata mathaka vidiyata liwwe machan. Aurudu gaanakata passe. JSP dan out dated ne.</span></p></blockquote><p></p>
[QUOTE="baadshah, post: 23442241, member: 36997"] [SIZE="5"]dan JSP wala kaale ivarai...tikak aluthin deyak igena ganna one nam me vidiyata try karapan. [Simple HTML 5 Page] ---> [REST service] ---> [Database] uba ta JSP one ma nam, JDBC connection ekak hadala , java back end eke hari Servlet ekaka hari Query ekak liyala , last generated customerID eka retreive karaganin. Passe ekata +1 karala, request.setAttribute("param") karapan. ex: [COLOR="Red"]request.setAttribute("custID",JDBCservice.getLastCustomerID() + 1); // java method[/COLOR] and in JSP, call like this: [COLOR="red"]<% request.getAttribute("custID"); %>[/COLOR] Mama mata mathaka vidiyata liwwe machan. Aurudu gaanakata passe. JSP dan out dated ne.[/SIZE] [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom