477 byte By
ninamoea at 2007-11-27 11:32:03
Hello everybodyI'm using Netbeans and Visual Web Pack to develop this web-thingy. I have a DropDownList where the user i supposed to select an item. After selection I want my dropdownlist to return to the first item. Can anybody tell me how to do this. I can't seem to find it out by myself.... As ...
Hei.Ich have found a **** &$$%% BUG When I use the Tomahawk-fileupload-component to upload a file to the webserver, I get an errormessagen and no fileupload-dialog :Line: 637Char: 4Error: Object requiredCode: 0URL: ..... The file upload control seems to work OK in Firefox, Konqueror, Opera, IE ...
<p>hi all</p><p>can u please tell me what design pattern is used in servlet context.</p><p>thanks</p>
<p>can u plz tell me what is connection time out in server.xml, how we can change it and what is the advanges or disadvantages if we change it.</p><p>Thanks in advance</p>
HiI have an ejb project with 2 stateless session beans : 1) ValidateBean2) ValidateFacadeBean.I created a reference for the first bean (ValidateBean) so i can access it from the second bean (ValidateFacadeBean). the name of the reference is : "ejb/Validation"within the ValidateFacadeBean, i am ...
785 byte By
paridaa at 2007-11-27 11:32:50
hi all, i have an application in which i am using applet . in my applet i am sending a vector to my servlet.in the servlet iam storing it in session and using the vector as required in respective jsp pages.now the problem is when i use http://localhost:8080/myproject in codebase attribute of ...
14593 byte By
FT77a at 2007-11-27 11:32:51
Hi, i am German student and new to hibernate. I established a mn conetction between to entities using hbm.xml mapping files. now I try to create the same connection applying annotations. unfortunately it does not work and I do not now why. First my error message followed by my classes and ...
219 byte By
Husama at 2007-11-27 11:32:57
<p>How I can Hide the Save and Print button for the PDF viewer to prevent the users from print the page or save it .</p><p>also how we disable the save and the print for the IE explorer and the Firefox </p><p>Thanks</p>
hi, all,I have a problem on converting the following SQL statement returning last 10 records from an Oracle database.The SQL statement is as followings:select * from (select * from TABLE1 where ATT1 = 1 order by ATT2 desc) where rownum<11However, how should I convert this statement into ...
10920 byte By
Reona at 2007-11-27 11:33:01
this is my main jsp page<html><head><title>Welcome to login screen</title></head><body><form method = post action = "Usebean.jsp"><table><tr><td>Login</td><td><input type = text name = login></td></tr><tr><td>Password</td><td><input type = ...
hi,I am unable to convert the normal text into a textfield by using the following code.Is there any mistake in my code.my jsf page is<%@ taglib uri=" http://java.sun.com/jsf/core" prefix="f"%><%@ taglib uri=" http://java.sun.com/jsf/html" ...
Hi,I need to write ANT script for deploying to remote websphere server which is running on unix. Local machine is xp here i need to run ant scriptI written sample code but i am not sure about this<project name="InstallApp" default="installapp" basedir="."> <taskdef name="wsInstallApp" ...
382 byte By
sche4a at 2007-11-27 11:33:38
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 ...
Well, I want to know which is the best solutions for authentication and authorization on java web application.the most easy to use?the most flexible ?the most used on java community?and your opnion about your favorite mode (framework, way,...) to authencation and authorization java web app ...
889 byte By
marcelia at 2007-11-27 11:33:45
Hi guys,I implemented a Filter in my JSF application that works fine in ie6 and firefox. The problem appeared when I used ie7.It seems like ie7 has a different way to get the session. Here is my code (inside doFilter method):HttpServletRequest request = (HttpServletRequest)req);if ...
665 byte By
thanua at 2007-11-27 11:33:47
Hi , I need to find the height and width of an image (any type. for eg.jpg,png,tif,gif,eps etc.)the following code works for jpg,png and gif but not for eps and tif.eps is what i need. I read that imageicon does support jpg,png and gif and not other types. so is there any solution to find the ...
I have a datatable which is receiving generated data from an array. When displaying the datatable, I would like to have it sorted by one column. I've looked around on the internet, but all tutorials show how to sort the datatable when a user clicks on a header. I don't need user inputed sorting ...
I have an entity (InvalidAddress) with a many to one relationship with another entity (ServiceRequest). I am trying to add an InvalidAddress entity to the InvalidAddressCollection owned by ServiceRequestInvalidAddress invalidAddress = new InvalidAddress();//perform setters on ...
Hi there,I am developing a web application with Netbeans Visual Webpack. Until now that all worked fine for me but now I am at some point where I want to have a "master page" that provides me a header and a footer, so that I don't have to include these things everytime on every page (what makes ...
1232 byte By
krodmana at 2007-11-27 11:34:46
Hi all. I have developed a web application based on Struts 1.3.8 and the application is deployed on JBoss 4.0.5.GA.I have four application configuration parameters that I need to access in different areas of my application. My solution has been to create a configuration object that is a singleton ...
1291 byte By
jposthuma at 2007-11-27 11:35:08
Hi,When I shut down tomcat, tomcat shuts down but the console window stays open and the system.out.prinln text from my class using Thread still shows.Can I sense in my class if tomcat is still running? Or maby I call a method when tomcat stops to kill my thread?In my web.xml I have the following ...
381 byte By
darbvina at 2007-11-27 11:35:28
Does anyone know if Europa supports version 9.0_01 of the Sun Application Server? And, if so, how to get it setup?In Europa, I see the following, perhaps one of these is the one I should choose?Sun Application Server 8.1Sun Application Server 8.2GlassFish V1 Java EE 5GlassFish V2 Java EE 5GlassFish ...
Hi,I am using a servlet to output an html page. This page calls on a .js file.out.println("</title><SCRIPT LANGUAGE=javascript src=\""+request.getContextPath()+"/script.js\"></SCRIPT></head>when i call the javascript functions they work in ie7 but nothing happens in firefox and no ...
Hi,I am new to JSP and am trying to get this bit of code to work that I know is fine in a normal java classArrays.sort(fields, new Comparator<String[]>() { etc...It does not seem to like running it and I think its because of the <String[]> part...Any ideas.. reading other topics; do I have to ...
Hi, I have a question. I am a beginner of JSF. I am trying to deploy a very simple tree using <t:tree> in my local tomcat server, similar to the following one: http://www.irian.at/myfaces/tree.jsfThe result is that the tree is properly displayed, but I cannot expand the nodes when I click on the ...
838 byte By
jha42a at 2007-11-27 11:36:13
When I click one of many commandlinks in a datatable, all the links are showing as visited.Within each row of a datatable we have commandlinks that all point to the same page. That page uses the selected row to retrieve data based on specific fields within that selected row. The problem is that ...
2179 byte By
Intel3a at 2007-11-27 11:36:39
Here is my codeJava Bea:public class Tester implements ValueChangeListener {private String name = "Heyhey";private boolean selected = false;private String[] items;private UISelectItem[] myValue;public Tester(){}public String[] getItems() {return items;}public void setItems(String[] newItems) {items ...
Hi All,I am just started learning JSF [ 3 days old in JSF]. i was trying to do validation,it was giving me the follwing error.Conversion Error setting value '' for 'null Converter'.My JSP Code- <h:message for="inputText1" styleClass="warning"/><h:inputText id="inputText1" ...
2:52 PM 7/24/2007by Nirav AssarOverviewIt was discovered that with the component h:commandButton, JSF does not work when you embed an f:param and try and pass it through the request. However this does work with h:commandLink. The reason for this lies in how the Renderer classes in JSF vary when ...
Hi, there:I'm using document/literal web service. My question is: Does income xml request get validated automatically against wsdl complex type xml schema? If not is there any configuration way we can set to validate income xml request automatically?I searched posts in this forum, it seems the ...
Hi,I got a parameter which changes all the time (in my jsp) as followse.gparam1_12-1_value and next time it will be param1_13-2_value the middle part changesI have a request.getParameter("xxxx"); in my server side code.Is it possible to have regular expression for xxxx? What is the best way to ...
Hi , I have a popup wher ei search for city thru a text box.If that searched string(city) is not found i need to display error msg inside that same popup window itself. Now i am giving it in main jsp from where popup is displayed.Can anybody help me ?Thanks in ...
668 byte By
Sowja at 2007-11-27 11:37:45
Hi all,I am using struts, here I have opened a new window using javascript:openWindow for adding the contact details of the person into the database. Every thing works fine, but my problem over here is that when I submit the form and if I open again I have the previous entered values. I tried using ...
<p>Hi,</p><p>After going thru Sun site, I found out that JMS platform edition is available only for the Solaris, Linux and Windows platform. Any idea if it is also available for the HPUX platform.</p><p>Also let me know if JMS Enterprise edition support HPUX or not.</p><p>Thanks,</p><p>Deepak</p>
1390 byte By
lin_javaa at 2007-11-27 11:38:01
Hello Friends, I am a JSF newbie, I need a little help to solve the problem explained below. I have table t:dataTable which display the details of the authors, one column inthe table is defined as <t:column><h:commandLink action="#{authorList.listWorks}" value="Add Important ...
508 byte By
JHyenaa at 2007-11-27 11:38:06
Hi all,I have a struts form on which there are number of text boxes present. When the user enters a wrong value in any of the text boxes and when the validation fails then the error message is displayed on the page. Along with that I have to bring he focus to the text box where the problem is ...
569 byte By
divinea at 2007-11-27 11:38:07
HiI am working on a jsp page (sendmail.jsp) that submits the information relating to sending an email. The page is pop window that is opened when I click on a button. Now I want to post this data to another popup window which is itself a jsp page (mailsent.jsp) and have code to send the mail using ...
Hai all,I get the following problem when i try to call a jsp in my browser.javax.servlet.ServletException: org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/eclipse/jdt/internal/compiler/env/AccessRestriction;)VThis problem ...
<p>hello </p><p> I want to insert the data in to oracle through jsp using standard sql tags of jstl please help me</p>
I am performance tuning my JSP/Struts web-application deployed over jboss.. I have not got success yet.During performance/load testing of my web application with apache jmeter.It is OK up to 1400 request per minute..But if i increase the load , i get followingIssue: from 1800 requests sent to the ...
Hi all, can any one please help me..i am retrieving records from database based on date range.the browser works well with in an hour it can displays with small date range.if i give 5 years range it will take more time and the browser displays page conn't find after an hour.my application runs well ...
<p>hello </p><p>I'm using<b> jmaki dojo.dropdown datepicker</b> for my application but to insert the date value into database i want to take into some string variable. Can anybody please help me how to use for my application.</p>
hi to all..i'm new to oc4j .. i used to work on tomcat..i deployed the war file and all i have to do is to run the app. but i guess oc4j has different way in this ..you may say google for it, or read the oc4j tutorial i read it before but i just can't understand it..somebody pls can expalin the ...
<p>Hi,</p><p>I have 2 EARs each with separate functionalities. Now i have to use the service provided by the first EAR say Example1.EAR from the second EAR say Example2.EAR. Is there anybody here to help me out?</p><p>Thanks in advance</p>
173 byte By
Husama at 2007-11-27 11:38:52
<p>dear All ,</p><p>where i can find a good articals and tutorials for AJAX and Servlet </p><p>If anu one have links to web site or PDF it will appreciated </p><p>Thanks</p>
309 byte By
JayKVa at 2007-11-27 11:38:57
Hi all,On click of a <h:commandButton> i want to display a new window which is containing datatable. Is there any possible way to do this with out using javaScript? Is there any possible way of doing it inside bean?If javascript is the only way tell me how to do that. ...
My Tomcat is running good when i am runnning as http://localhost:8080but my first webapplication is not running but producing an error as "HTTP Status 404 - /biplab/hello.jsp and The requested resource (/biplab/hello.jsp) is not available" what can i do ? biplab is my webapplication ...
I have a webapplication(in JSP) running on Sun Java Application Server in Fedora Core. I set the http listener of Sun Java AppServer to port 80. so instead of accessing my application in port 8080, it is access thru port 80.its ok for some span of time (my application is working fine) then suddenly ...
<p>How to save and retrieve data to a textarea using jsp and jdbc connection....</p><p>For other input types like text there is value attribute which is entered as <%=value%> </p><p>But how is it done for textarea and comboboxes?</p>
In the web.xml file I have made this entry under <web-app>:<context-param><param-name>Option1</param-name><param-value>India</param-value></context-param><context-param><param-name>Option2</param-name><param-value>Global</param-value></context-param>In the JSP ...