Am writing a code for database backup....by backupservlet is as given below
i get the following exception
[#|2007-10-31T16:05:25.741 +0530|INFO|sun-appserver-pe8.2|employeet ransaction.DBBa ckupServlet|_Th readID=22;| About to execute the command exp hrms/manager file=C:\ET\ET\E mployeeTransact ion\build\web\b ackupDir\Weekly .dmp log=C:\ET\ET\Em ployeeTransacti on\build\web\lo gDir\Weekly.log |#]
[#|2007-10-31T16:05:25.803 +0530|WARNING|s un-appserver-pe8.2|javax.ent erprise.system. stream.err|_Thr eadID=22;|...
User Profile
Collapse
-
JAVA IO Exception Create Process
-
type ur database name in the lookup -
import javax.naming.Co ntext;
import javax.naming.In itialContext;
import javax.sql.DataS ource;
Context ctx = new InitialContext( );
DataSource ds = (DataSource)ctx .lookup("java:c omp/env/jdbc/HRMS");
con = ds.getConnectio n();Leave a comment:
-
Radio group in Studio Creator
hi am a novice at studio creator...
i basically want two radio buttons displayed....
the 1st radio button should be selected by default ...ie 0(zero) should be saved by default in a variable
wat i want is if the 1st radio button is selected it should store 0 in a variable
and if the second is chosen it should save 1 in the variable... -
-
-
Deployment error in netbeans5.5.1 for web services
i am actually developing a web service using netbeans 5.5.1......
using sun java application server 8.2 edition....
i actually ran my web service succesfully...w as able to see the output.
after that i made a few changes .i only changed some print lines...to make
my client presentable..th ere on i am gettin an annoying message which says
Application CalculatorWSApp lication... -
Thanx a ton .....it works ...u saved a lot of time and certainly made my day.. i just had to install java webservice development pack....and add the xxx.jar in the project as u said....
actually am a starter at this as i said before...
i just need 3 more answers to my questions below
1)for every function do we have to mention @WebMethod
as it is in ur add method ...but...Leave a comment:
-
thanx ya u know actually am a starter....
but the problem is still not solved...now the netbeans that am using ...
i copied ur add code...and impoted the pacakes...
but it gives an error sayin.... pacakge javax.jws.WebMe thod;
import javax.jws.WebPa ram;
import javax.jws.WebSe rvice;
does not exixts......
do i have to intall anything...Leave a comment:
-
kindly pls help me ajax am stuck on this problem for a very long time
my web service files are written aboveLeave a comment:
-
yes ur right am doing the sample code....
AND HERE ARE TEH TWO FILES FOR MY WEB SERVICE
-------------------------------------------------------------------------------------------------
1)CalculatorWSI mpl .java
package org.me.calculat or;
import java.rmi.Remote Exception;
public class CalculatorWSImp l implements CalculatorWSSEI {
// Enter...Leave a comment:
-
one more doubt ....
this is my code for servlet....that is my web service client....
/*
* addservlet.java
*
* Created on September 28, 2007, 10:35 AM
*/
package org.me.calculat or;
import java.io.*;
import java.net.*;
import java.rmi.Remote ;
import java.rmi.Remote Exception;
import javax.servlet.* ;
import javax.servlet.h ttp.*;...Leave a comment:
-
hi thanx for replyin ......i am using sun java application serv er.......
and my jdk version is 1.5.....
u kno what it sometimes happpen that i have to restart mt server....so it gets deployed sometimes....bu t the odds of that happpening are very less...
am sure there is a soln....
just to give u more details..
am getiin a error on line no 474 in build-impl.xml...Leave a comment:
-
netbeans and web services error
hi,
I am developing a web services in netbeans 5.5.1 and using sun application server as my container .
i was able to run the application once....i mean i was able to see my servlet page which is my client but was gettin some exceptions...am not worried abt the exception at the moment...
i went back to the servlet code made some chnges ....and from then on i am gettin a deployment...
No activity results to display
Show More
Leave a comment: