Recent update: 2008-5-9
hi all,i am using WSAD (WebSphere) as a tool and new to Portal........can anyone help me how can i create my first Portal example and run it on WSADthanxs
Hi, Can i use HSSF code inside my JSP? I have a JSP page which fetches data fom database(using servlet) and displays as HTMLtable in the same JSP page itself. Now i want to save this table as Excel by clicking a button.Can i include HSSF code in JSP itself may b in a function which gets called ...
Running avk with an ear that references external 3rd party jars would involve placing the said jars in the lib/ext folders and updating the jar's manifest.mf files with the references.This works fine with libraries that dont have xml parsers within them.For example, try putting Oracle's XML ...
250 byte By
SONTNa at 2008-2-6
I want to build a project without too many types of bean. How can I put my own business methods into CMP, I have tried but when i used client to test it return a error ( it recommend that i have to create that method after one home interface )
hi there,uptil now, i was using WSAD 5.1 to deploy and debug applications on websphere application server 5.x.But now, as i installed websphere server 6.0 trial, i am not able to deploy my applications on server 6.0 and also server 6.0 wont start from my WSAD studio.As i create a new server in ...
hi ... i am developing a web site. which should support many asian languages like chainees, thailand,japan. my problem is like this , i need to allow user to give chainees text or japnees text as input and store them in data base or .... i should store them and retreview them.will it be ...
well hye!-iam riaz from india.iam sun certified java programmer.iam enjoying my job hunt in banglore.i have started from the scratch.i need the details below.kindly reply asap. thank u :1.link where i can find basic code examples in java ,chapterwise(innerclass...etc). not the one in sun sample ...
Hi All,if anyone has worked on Applets in WSAD please revert back.im not able to send the .class file to the browser means while running the HTML file, im always getting classnotfound exception means im not able to set the code and codebase correctly in the applet tagi have tried making the jar ...
Hi ,I am Amit Garg and i am new to this forum....Can any one help me out with the problem that i need to have 3 data source in my struts-config file and how will my getDatasource(request) method recoganise which data source to pick and access.
I have successfully run the static compatability tests against a .ear file built for and targetted at a J2EE 1.3 environment (SunOne AS 7.1).A number of issues were identified by the test, but they all refer to the J2EE 1.4 specification ( see example below)."Please refer to J2EE 1.4 ...
Hi,I'm attempting to run asant create-db_common to use a .sql file to create a table in Pointbase. However I keep getting this error:Buildfile: build.xmlinit:create-db_common:[java] java.lang.NoClassDefFoundError: com/pointbase/tools/toolsCommander[java] Exception in thread "main" BUILD ...
Hi,I am implementing an object in Java which should be able to be kept in an application server session, and properly supports cluster failover.I understand I have to make my object serializable, and I want to implement my own read/.../writeObject methods.My question: do these ...
Hi there,What is the download URL for J2ee for Mac OS.See the following J2ee download URL, I don't see support for Mac OS. http://java.sun.com/j2ee/1.4/download.htmlthnaksiva
Dear All,We are porting our java or shall I say J2EE application to cluster environment.The problem is that the application is not a pure J2EE application. It was standalone java application(a kind of xml adapter) which was then enhanced to work as a web application.The application uses file ...
I want to access DB from Strutus framework without using EJB, Pl. suggest the best approach
hi,I am trying to write a jsp where I want to display the no of testcases that have failed and if failed ,show the exact location in the stack trace where it has failed.I am using weblogic workshop and have a jpf action which calls the testclass and after executing the test forwards to a jsp ...
4775 byte By
kylekc at 2008-1-5
I'm trying to verify a RAR build for JCA 1.0 (not 1.5) with the ArchiveTest ANT task using AVK 1.4 ("Updated 04/19/2004") and am getting errors like the following:[java] Nov 26, 2004 2:40:28 PM com.sun.enterprise.tools.verifier.Verifier validate[java] INFO: About to ValidateParse ...
I wanted to post this out in the general forum to see how other people are handling this issue.I have a webapplication. It makes an ip connection to a mainframe system (amoung other things) and the address for the mainframe is stored currently in a properties file. I would like to change my ...
Hello,I started a few time the development of a J2EE application using Jonas 3.1 and then I finished the development of my ear with Jonas 4.1.During my development process I had to build one ear for each new release of Jonas. Indeed an ear working well on Jonas 3.1 doesn't work on jonas 4.0 I ...
Hii,How we can deploy an ear file in Jboss?
Does the SourceScan task supports specifiing more than one source dir?
this is my code:package test;import javax.naming.Context;import javax.naming.InitialContext;import javax.rmi.PortableRemoteObject;import java.util.*;import test.HelloWorldHome;import test.HelloWorld;public class callremoteEjb{public String callejb(){try{Properties env = new ...
995 byte By
rrr123 at 2007-12-25
Hi All,I am writing a test client to unit test Business layer components (including EJBs) running on Sun Application Server version 7. For a test client to make external connection to App server I need values of following parameters in Sun App server: INITIAL_CONTEXT_FACTORY PROVIDER_URLI have ...
HI , everyone: when i wrote a client to upload a big file use HTTP1.1 by java,i got a OutOfMemoryError,who can help me , i have two questions: 1、After wrote to OutPutStream,i flush the stream,but Why did i got a OutOfMemoryError?Who consume my Memory? 2、I can increase heap size ...
Dear all ,In my project, the Complete business process is contained in the EJBs . And now due to the specific need of the customer, VB.net is going to be used in the Client side. Customer does not want to rewrite the Business logic written in EJB. So, I need to call my EJB from VB.net ...
What is the difference between portability and WORA?
I am a prentice on J2EE by using the Tutorial 1.4. I keep getting this error message: "The input line is too long. The syntax of the command is incorrect." from the windows's terminal no matter what arguments I issued for the command asant right after I successfully executed command "asant ...
how to create dispatch action uring button in struts.
Verifier gives the not so helpfull error name: Could not verify successfully.Just installed the Java AVK 1.4.1 and the included Sun App Server Edition 8.1. Following the usersguide i added the following target to my ant file to static test a war-file of mine. <property name="avk.home" ...
HiI know J2EE are use very strongly in enterprise level due to its resouse rich , persistense on good platform like unix,linux sun solaris, But Generally for any commercial web application i use to see asp and most prefferably PHP pages (at present on demand due to linux platform ) but very ...
Problem with most recent JavaTM Application Verification Kit (AVK) for the Enterprise 1.4I want to verify a rather simple .ear File using the ant-task <ArchiveTest appName="/mypath/myapp.ear" reportingOpts="a" />but it does't work at all, error message[delete] Deleting directory ...
i use "quartz-1.5.2" in Tomcat, it's ok.But in "Novell extend AP Server 5.2.1" it can't work.The log show it not start.Please help me, thanks!![Novell log][http-server] started at: Sun Apr 09 15:19:29 CST 2006. [09/Apr/2006:15:19:29 -8]QuartzInitializer: Quartz Initializer Servlet loaded, ...
HiI'm using a standalone RedHat 9 system with J2EE 1.3.1 and mySQL 3.23.54.All are working individually.My current application creates new tables every time it starts, so I thought it would be dead simple to just ask J2EE to use mySQL. There are currently only two entity beans, and there's ...
This coding is used for only jsp page like login screen. Now i want to use this coding in struts and mysql. will u please help how can i use this coding in struts. please help meIndex.jspAdmin : <input type="text" name="admin_name" size="22" value="">Password : <input type="password" ...
hi all, i am new to java struts........... when i am connecting my application with the database(MS Access)it gives the error as :Aug 3, 2005 7:42:19 PM org.apache.struts.action.ActionServlet initModuleDataSourcesSEVERE: Initializing application data source Ajava.lang.NullPointerExceptionwhere ...
Hi Guys, I am awfully new to j2EE and try compiling a very simple code in the book.. but it doesnt seem to work.. may I know why?Many thanks!! regardsHenryThe code giving this error is:HelloHome home = (HelloHome)javax.rmi.PortableRemoteObject.narrow(ctx.lookup("Hello"), HelloHome.class);Error ...
I've heard that many J2EE containers implement some form of thread pooling.Depending on how this is implemented, the same session bean or servlet instance could run on a different thread each time a request is made, making ThreadLocal usage unsafe (please, take a look at ...
HelloI have an enterprise application project, with :1) EJB Module2) Web Module .I want to add the hibernate jars+classes+data+servlets+utils etc...Should i create a new Web module for hibernate or should i add it to the existing EJB module which is my business logic ?What is the best practice for ...
382 byte By
sche4a at 2007-11-15
I am trying to develop a web services with XFIRE and Tomcat, this web services will use an XML file to store some data, I have integrate this file in the web services project, but when I invoke the service, I get an exception that the file don not exist. I know very well that the problem is about ...
[nobr]I'm a newbie. I have a method that creates some nested JSF components programatically (in a Java class file). I need to insert a couple basic html tags such as "<div class="horizontalRule"></div>"used to display a horizontal line, or to add a couple of tags. Is there a way to ...
Hi all,im new to AVK.In AVK verification test, i am getting jasper exception for which i am not able to find the solution.Assertion:All the JSPs that are bundled inside a web application must be compilable using a J2EE compliant JSP compiler that does not have any proprietary or optional ...
Hi every oneand Thanx to every one...for giving their precious help for every one Here i want to explain a small problem in java mail with unicode Here it is ....Iam sending a mail with some chinese characters in the subject field..internally these chineese characters are converting in to html ...
Hi i need some help how to do sorting and paging using tomahawk can anybody help me plzthanks
I am trying to export the content of a JSP page into an excel spread sheet. I know this issue had been posted before, but if you any one has the source code of a sample that's working please send it to me at jamaisn@hotmail.comYour help is appreciated.Jamais.
Why the apt tool throw an error when I reference a class inside of a jar in my web service ?I have the following class package org.rmilian;import javax.jws.WebMethod;import javax.jws.WebService;import javax.xml.ws.Endpoint;import org.apache.log4j.Logger;@WebServicepublic class Hello {static ...
Hi everyone!Can anyone please tell me ..,1.If i can protect static pages(html pages) using the same login,logout process tht we use to protect jsp pages!If yes then hw?2.What is a session ?And can we use a session attribute set in one jsp page in other pages? If so hw?Please guide me!! Am a ...
82 byte By
tena at 2007-11-14
How to avoid StackOverFlow Error in Java while executing a program ?
i have a drop down i need to use the folowing to get the id<select name="<c:out value="${item}"/> SchoolOrg"><option> Please Select... </option><c:forEach var="ed" items="${edd.educations}"><option id = "<c:out value="${ed.educationid}"/>" name="<c:out ...
Hi all,I have 3 valueChangeListeners in a datatable on the JSP.the first textbox will populate the entire row based on the textfield value.The second and third valuechangelisteners update the costs of all the rows. here is the jsp:<h:dataTable border="0" cellpadding="2" ...
hii want to create a table: the table will only have as many rows as a varable states, i want to create the for loop using jstlif i have a varable containing the row amount like:<c:set var="rows" value="2" />how wud i use a for loop to loop the loop as many times as the rows ...