238 byte By
art84a at 2007-11-27 8:53:09
hi,in one of my application, i want to access the archive concept through java.if we have any API's for accessing that or it's possible in java.any one can suggest me regarding this.Regards,Bala
According to http://java.sun.com/j2se/1.5.0/docs/api/ I should be able to use the followingDOMImplementationLS domImplementationLS = (DOMImplementationLS) doc.getImplementation();LSSerializer lsSerializer = ...
Hi,I抳e a question regarding when to use the Local interfaces(EJBLocal and EJBLocalHome) of a enterprise bean. I understand that calls to enterprise bean can be made locally if the client which is invoking is in the same JVM as that of EJB. I抳e written a web client (servlet) which is packaged in ...
2657 byte By
balteoa at 2007-11-27 8:53:24
Hello,We frequently have out of memory errors when our XSLT transformations run depending on the size of our source xml documents. Here is the code that causes the above error to occur:System.out.println("XSLT transformation running...");TransformerFactory tFactory = ...
hi all,i am working on servlets and i would like to set up authentication for the pages ppl view.i have used the following code to display that the page that people are viewing needs authenticationresponse.setStatus(res.SC_UNAUTHORIZED);response.setHeader("WWW-Authenticate","NTLM");it pops up a ...
217 byte By
sivasaia at 2007-11-27 8:53:40
HI,I am rendered for compare two values rendered="#{myBean.type == 'desc' && myBean.showField == 'name}"the above code showing.can any one help me
Hi my applet needs to upload some data to be appended to previous uploads every few minutes.I tried with session = request.getSession (true);sessionId = session.getId ()pass sessionId to applet and On the applet sideURL url = new URL (serverURL +"?JSESSIONID="+sessionId);orURL url = new URL ...
sorry if this is the wrong place to post this but im new here and new to java...so i found the jscreator and now im trying to build a website with mysql access (login auth) i "installed" the mysql-connector-java-5.0.6-bin.jar to access the mysql db and now i wanted to do a login_validation but ...
hi ........ i'm developing registration web application using Jsp and want to determine the user mouse click position on frame.......... how can i do it using jps
339 byte By
martiana at 2007-11-27 8:54:25
hi,i need some help regarding the books on advanced java ..the topics i am going to cover are :J2EE application modelJSPStrutsEJBIntro. to HTML and XMLPlease suggest the books which help me to have a good grip on these ...
339 byte By
martiana at 2007-11-27 8:54:26
hi,i need some help regarding the books on advanced java ..the topics i am going to cover are :J2EE application modelJSPStrutsEJBIntro. to HTML and XMLPlease suggest the books which help me to have a good grip on these ...
Hi,I'm writing JSP custom tags, and I want to be able to optionally provide a variable name for a return value (like several core tags, including :url and :import).It works fine if I require the return value variable, but I cannot seem to make it optional.Here is the relevant part of working ...
Hi,I think i found an error in in JSF1.2_04-b16-P02 (tomcat 6.0.13)-- class persistent beanpublic abstract class PersistentBean<T extends PersistentBean> implements Serializable {private long id;public long getId() {return id;}public void setId(long id) {this.id = id;}public boolean ...
[nobr]I have a JSP page which uses a datatable to show the properties of a number of objects that are passed from an array. Is it possible for a string property in an object to have a line break which will appear as a break on the interpreted HTML?Say I have a string:String str = "WORD";and I ...
396 byte By
murbaina at 2007-11-27 8:55:10
Hello, I tryed to get the domain username of the user who called my web application. I succeed to get it in a simple JSP page but IceFaces don't support JSP expression. Do you know another solution to get the remote userName or the remote ip address.?I think to get the username by calling the ...
407 byte By
ILANGOa at 2007-11-27 8:55:11
Hello experts,I am new to J2EE and I need help on "Adding download functionality on a screen that will downlaod the screen info to MS-Excel". The application is built using Struts,Hybernate,Tiles&Spring. Please provide some sample code which will fit into this framework. I highly appreciate ...
641 byte By
ivlad10a at 2007-11-27 8:55:29
I'm confused.In the copy of tomahawk.taglib.xml file I have all tags pointed to org.apache.mayfaces package, All is working.I was trying to point them to org.apache.myfaces.component.html.ext package and got this:javax.faces.FacesException: Undefined component type ...
586 byte By
deroka at 2007-11-27 8:55:30
Hi, i am using a java bean in my jsp,<jsp:useBean id="car" scope="session" class="car.Myclass" />I am using Blazix Web Server.everything works fine,The problem is when i run the jsp in another computer, it sends me the error: "cannot find bean Myclass", but I really don't know why i'm ...
180 byte By
avirana at 2007-11-27 8:55:36
Hi all,I'm trying to find a way to find out how many clients/subscribers a specific queue has. Is there a way to find out (using java API)Thanks,Aviran
560 byte By
@esiona at 2007-11-27 8:55:45
HelloI'll would like to load resources in JSF (<f:loadBundle>) Coming out by a xml File instead a .propertie File.I've got no problem get resources stored in .properties I try to change the files. Al I get is a exception throw byorg.apache.myfaces.taglib.core.LoadBundleTag ...
(sorry about my english...still learning)I have an application wich consists of three frames: a header, a menu(left frame) and the content frame.One of the menu options redirect the app to a jsf with a dynamic datatable and it is rendered perfectly.Then, i go to other menu option where i can ...
Hi all, I have just joined this forum.I am currently writing on my thesis about implementing NLP (natural language processing) for an intelligent search engine. The fact turns to be the NLP in Java is not available yet, so in conclussion of my thesis i want to demo the search engine using Java ...
I am trying to call a helper class in my JSP where I am checking to see if a record exists. Please advise how I can get this to work because it wont call the class method and gives me blank output.JSP<%@ page import="package.classA %>String name = request.getParameter("name"); //value ...
875 byte By
AP_javaa at 2007-11-27 8:57:04
Hi,In my project i want to display images present on server(linux). I am not getting how can i give path for that image to display it in jsp page.Previously i given path of folder where actual image is present(on linux).and then by getAbsolutePath() for that image.But not succeed. I tried ...
Its a JSF-based application where i have got series of .xhtml pages. Assume that i worked with four pages in it and after few minutes(15 mins) if i am trying to proceed to the next page its getting hanged, no exception too. We are using managed beans for these pages which are in session scope, ...
Hi all,I have registration table that stores all the values that are specified into the registartion.jsp page.the table also contains 2 coloumns more other than the fields specified into the database.the 2 column are logindate that will take the system date and store it when inert query is ...
I'm sorry but I need tu be unscribede from the email. I have already triede to unscribe but still receive mail. How can I do this?Help
There is a JSP that has a add button, which when clicked adds a row of text boxes to the screen.When the save button is clicked all that information has to be captured and stored in the action class.How can such dynamic jsp form information be captured? all the information coming from the jsp ...
hello,i want to generate error page(in jsp) when session get expires...plz help me out.............
2315 byte By
a1ba at 2007-11-27 8:57:48
[nobr]<HTML><HEAD><TITLE>Calling a Private Method</TITLE></HEAD><BODY><H1>Calling a Private Method</H1><jsp:useBean id="bean1" class="beans.Message" />The message is: <jsp:getProperty name="bean1" property="message" /> ...
FileDataSource filedatasource = new FileDataSource(filename); messagebodypart2.setDataHandler(new DataHandler(filedatasource)); messagebodypart2.setFileName(filedatasource.getName ()); Multipart multipart = new MimeMultipart(); multipart.addBodyPart(messagebodypart1); ...
hi,I am currently working on a struts project. I am not able to reload the JSP page. When I click on submit button it displays me the error regarding the text boxes but the text boxes r not getting refreshed. The previous values r still displayed on the screen. Plz reply as sson as ...
1171 byte By
noroutea at 2007-11-27 8:58:20
Dear JEE developers,I'm currently part of a research team at the Free University of Berlin, looking into the ways in which the major web development platforms differ. In addition to our work with the Plat_Forms contest, we're now looking for actual professional opinions.If you have practical ...
Hi allWhich JSTL tag should be used in order to retrieve data frm databaseusing servlet and display it on a jsp page.Pls provide some code.Thanku
i use oracle jdeveloper version 10.1.3.2.0, i have followed adfbc tutorial and then deploy to jboss. of course that jdev contains : JavaServer FacesSpecification-Version: 1.1Implementation-Title: 'jsf-api': JavaServer Faces API Reference Impl.Implementation-Version: 1.1_02-b08 and ...
966 byte By
bdillona at 2007-11-27 8:58:56
Hi,Given the following scenario;Page A (SearchPage) can navigate to two possible pages Page B (ViewPage) and Page C (EditPage).I wish to pass information such as a persons details from the SearchPage to the View or Edit Pages. As I understand this can be done either of two ways;1. As request ...
I have designed a page with database in JSP,I am having 3 textboxes on the form where user can enter ID,name and address. Suppose user enters values such as ID="xyz" name="atm" address="ksh". Then it should prompt "Enter numerical values" and it should remain on the same page. I tried this with ...
wants a good GUI for project SQL injection attack prevention tool using static and dynamic analysis.....Any help will be appreciated....thanksShirish
hi all, I received a webapplication, created in JSF.It runs on tomcat, and users should be able to access it via their webbrowser.At this moment anyone can access the webapplication.Now this is my part of the task: there10 users are configured in active directory. When accessing the ...
459 byte By
.@_a at 2007-11-27 8:59:43
I have to send a large amount of string data as a part of request to the web service provider. I cant send it as a simple string object as it will lead to OutOfMemory error. Is there any way so that i can send the data as a stream to the web service provider? I couldn't find anything in web ...
4446 byte By
thanua at 2007-11-27 8:59:55
Hi,Following is a program to copy directory and files. Program works fine if i copy the directory (subdirectories and files inside are also copied). But if the source is a file instead of directory i get the following error:java.io.FileNotFoundException: D:\Thanuja\test (Access is denied)at ...
1969 byte By
pantulaa at 2007-11-27 8:59:56
Hi,On my PC when I run the sample applications in Java EE tutorial I don't get any errors. But, when I try to run my own code, then I get the SQL exception. I paste the exception stacktrace below.The exception says that the column is not present. But, the column is actually present. The named ...
554 byte By
xleybaa at 2007-11-27 9:00:05
HiI'磛e a package that allow applications connect to an IBM host using sockets and 3270 telnet protocol.I want to isolate and standarize such layer using JCA to run it as a resource adapter in an application server.I'm new to jca and reading specification is drivin me a little bit confused. ...
Hi All,Well i have tried several approachs...but I am not able to get properties of a bean object on a jsp page.The situation is, I am creating a new java bean instances for every row in the result set. I am storing those bean objects into an ArrayList. Then I am setting that arraylist object ...
1686 byte By
HaukeGa at 2007-11-27 9:00:27
[nobr]Hello,hopefully my english is good enough for my problem.I'm playing around with jsp's for a couple of weeks now, and so I am not really good now. Most of the problems I found out by myself, but this time I am over my head.index.jsp:...<%@taglib uri=" http://java.sun.com/jstl/fmt" ...
570 byte By
Inukaa at 2007-11-27 9:00:36
I've a jsp working fine at tomcat, but after i migrate it to weblogic, some of the html:text tags are not working properly.eg. <html:text property="dispParamValue" styleClass="formFill1line" value="${sysvarList[rowCount].dispParamValue}" />Instead of display the value of ...
hello, I want to un highlight check box value , that i can see but i can't click. i used :out.println("<input type=\"checkbox\" name=\"option\" value=\"" + query + "\" checked disabled=\"true\" >");but the problem that when i try to read the option value it is null. when i remove ...
2463 byte By
ANJa at 2007-11-27 9:00:52
Hi All,This seems to be a common issue, but I have tried most of the tips given on the forum. Still, I couldn't get it to work. Below is the code snippet. The same works for Tomcat4.x, but not with Tomcat5.5.9 Any advice would be appreciated.My webcontext is under: webapps/PackageStationIn ...
248 byte By
Georg4a at 2007-11-27 9:01:08
I made a login component using JSF and I need to hold a session so that the user only has to login once per session. So it can be like "save Password" function on some forum.Could you help me with this stuff?I need it very much
i am new to Java & Programming , i am creating a webpage & i Need to send information from webpage to an email without using the database, please help me out