Profile cover photo
Profile photo
Vishal M
94 followers
94 followers
About
Vishal's posts

Post has attachment
Serialize and Deserialize Object in java
Sample Data Class 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package gov.nic.gep.test; import java.util.Vector ; public class MyXML implements java.io.Serializable {

String name;
String value;
Vector subtree = new Vector(); public MyXML() {...

Post has attachment
How to get the referred/called url
I want to find the URL from which my page is called or from which my page is redirected. The example is given below.

Example
HttpServletRequest httpServletRequest = requestGlobals.getRequest();
String referrer =httpServletRequest.getHeader("referer");

Post has attachment
Call SOAP Webservice from javascript
Example <html>    <head>       <title>SOAP Sample</title>       <script type="text/javascript">          function soapCall() {              var xmlhttp = new XMLHttpRequest();              xmlhttp.open('POST', 'soapurl', true);              // build SOAP re...

Post has attachment
Send a file as attachment from webservice to client using Axis2 Axioms
WebService 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 public String executeWebServiceXML ( OMElement element ){ FileDataSource fileDataSource = null ; DataHandler fileDataHandler = null ; MessageCont...

Post has attachment
Send a File from server to client using Axis2 Web Service
Web Service 1
2
3
4
5
6
7
8
9 public DataHandler executeWebService ( String param1 , String param2 ){ DataHandler actualDH = null ; try { actualDH = new DataHandler ( new URL ( "file:///D:\\test\\NEW.xml" )); } catch ( MalformedURLException e ) { } return a...

Post has attachment
Set page dynamically in tapestry using IPage
Below is sample on how to set page dynamically in tapestry 4.1 using ipage public IPage doCallMethodSave(IRequestCycle cycle) { IPage ipage = null; ipage = cycle.getPage("pageName"); return ipage; }

Post has attachment
Postgres Bring row values of a column comma separated to primary key
Employee Master id bigint name text department_id bigint Department Master id bigint name text Query select userid,string_agg(gr.roledescription,',') from employee_master employee INNER JOIN department_master dept ONemployee.department_id=dept.id

Post has attachment

Post has shared content
#Chennai & #Bangalore book your tickets NOW to witness The Legend #Yanni Live!
http://bit.ly/YanniLive 

#Concert   #YanniLive  
Photo

Post has attachment
Anish Mohandas and 1 other was tagged in Vishal M's album.
PhotoPhotoPhotoPhotoPhoto
Anish Comeback dinner
10 Photos - View album
Wait while more posts are being loaded