Home » Archives for 2014
Stack Builder / StackBuilder Plus (Postgres)
in
db
- on 12/28/2014
- No comments
Stack Builder and StackBuilder Plus
- Programs used to download and install add-on products and updates to PostgreSQL and Postgres Plus Advanced Server.
- - Stack Builder is used for PostgreSQL.
- - StackBuilder Plus is used for Postgres Plus Advanced Server.
Android Lolipop
in
Android
- on 12/26/2014
- No comments
Android new version was releasing this year....
Android Studio (Official Integrated Development Environment (IDE) from the Android)
New Android studio release in last ................................
Android
Studio is the official Integrated Development Environment (IDE) from the
Android team.
Android
Studio will continue to receive updates on four different release channels.
Stable, Beta,
Dev, and Canary
Canary
builds are at the bleeding edge of development, while the stable release is
fully tested.
Google Glass
in
Google,
Google Glass
- on 12/26/2014
- No comments
Google Glass
Google glass is the one of revolution product in the google culture. It was amazing product for developer as well as users.
In the developer point of view google glass came as the wearable device.
Google glass is the one of revolution product in the google culture. It was amazing product for developer as well as users.
In the developer point of view google glass came as the wearable device.
Status Codes
in
http
- on 12/04/2014
- No comments
Status
Codes
2XX
|
|
|
|
200 OK |
|
|
201 Created |
|
|
202 Accepted |
|
|
203 Non-Authoritative
Information (since HTTP/1.1) |
|
|
204 No Content |
|
|
205 Reset Content |
|
|
206 Partial Content |
|
|
207 Multi-Status (WebDAV;
RFC 4918) |
|
|
208 Already Reported
(WebDAV; RFC 5842 |
|
|
226 IM Used (RFC 3229) |
|
|
|
|
|
|
|
|
300 Multiple Choices |
|
|
301 Moved Permanently |
|
|
302 Found |
|
|
303 See Other (since
HTTP/1.1) |
|
|
304 Not Modified |
|
|
305 Use Proxy (since
HTTP/1.1) |
|
|
306 Switch Proxy |
|
|
307 Temporary Redirect
(since HTTP/1.1) |
|
|
308 Permanent Redirect
(Experimental RFC; RFC 7238) |
|
|
|
|
S8
Ajax Request Parameters
in
ajax
- on 12/04/2014
- No comments
Send request parameters using data
object setting. Its better than send with the URL
// Less readable...
$.ajax({
url: "something.php?param1=test1¶m2=test2",
....
});
// More readable...
$.ajax({
url: "something.php",
data: { param1: test1, param2: test2 }
});
[Ref : http://lab.abhinayrathore.com/jquery-standards/]
Ajax Template
in
ajax
- on 12/04/2014
- No comments
var ajaxVar = $.ajax({
url: url,
type: "GET", // default is GET but you can use other verbs based on your needs.
cache: true, // default is true, but false for dataType 'script' and 'jsonp', so set it on need basis.
data: {}, // add your request parameters in the data object.
dataType: "json", // specify the dataType for future reference
jsonp: "callback", // only specify this to match the name of callback parameter your API is expecting for JSONP requests.
statusCode: {
404: function() {
alert( "page not found" );
},
500:
function() {alert( "Server Error" );}}}); ajaxVar.done(successHandler); ajaxVar.fail(failureHandler);
Ref
http://lab.abhinayrathore.com/jquery-standards/
Struts2 Action (Sample)
in
struts2
- on 12/04/2014
- No comments
<package name="student" namespace="/student" extends="struts-default,json-default,jasperreports-default">
<!--============= Student CRUD =======================-->
<action name="saveStudent" class="com.inicio.web.action.student.StudentAction" method="saveStudent">
<result name="success">/jsp/student/studentForm.jsp</result>
<result name="input">/jsp/student/studentForm.jsp</result>
</action>
..........
......
<action name="printStudentReport" class="com.inicio.web.action.student.StudentAction" method="printStudentReport">
<result name="success" type="jasper">
<param name="location">reports/student/student_list.jasper</param>
<param name="dataSource">student</param>
</result>
<result name="success">/jsp/student/studentForm.jsp</result>
<result name="input">/jsp/student/studentForm.jsp</result>
</action>
</package>
Change Style By Using jQuery
in
jQuery
- on 12/04/2014
- No comments
This is The way of adding several style by using jQuery
$(Element).css( { "margin-left" : "0px"background: "#F0F0F0",width: "500px",height: "500px" } );



