I'm looking for information on having my application (deployed on SAS9.0) access a remote JMS (deployed on jboss-4.2.0.GA AS using jboss-messaging-1.3.0). More specifically, I want my application to publish messages to a topic (I'm not too concerned about subscribing to a topic yet) that's ...
here is my current frustration -- aside from being new to java and xsl...i have an xml message (that is passed to me from another process) as follows:<?xml version="1.0" ...
What is exactly the meaning of the term "Asynchronous Web Service"?Does this mean that the Service itself returns immediatly, but the operation continu working on the server side?Or,The client starts a new thread which call a SYNCHRONOUS web service, in this way the client does not block until ...
615 byte By
jneaua at 2007-11-27 9:01:53
I have a thick-client application that also acts as a server for remote clients.I have it set up so that they send messages to each other. The server can initiate action on the client and the client can initiate action on the server.All of my communication is essentially asynchronous.Now I want ...
511 byte By
Alex17a at 2007-11-27 9:02:17
How can I pass entered value pactStartDate as href parameter?<input type="text" name="pactStartDate" size="13" value="<%= pr.getPractStartDate()%>" onChange="verifyDay(this,'<%=pr.getPractStartDate()%>')" > </td><td class="CellBkg" ...
738 byte By
lewkima at 2007-11-27 9:02:24
I am using Netbeans 5.5.1 with the Sun Server 9.0 running on my machine. I have created a connection pool to an IBM iSeries db database. I have added the following code to my web.xml ...
1064 byte By
Ni_Mina at 2007-11-27 9:02:25
I am using Java mail to send emails out at work through my web email account.Sometimes it works fine, but after a while, it gives me the following error :javax.mail.SendFailedException: Invalid Addresses; nested exception is:com.sun.mail.smtp.SMTPAddressFailedException: 553 sorry, that domain ...
816 byte By
karenJJa at 2007-11-27 9:02:57
Hi,I have a class myexample.class in the following directory:/webapps/temp/example/WEB-INF/classesand my webapps/temp/example/WEB-INF/web.xml is as ...
For some reason, when I try to upload a file that is smaller than 45 bytes using Struts (took me a long time to find this number), by the time the file is populated in my form bean and I read the size from it, the size is 0.Has anyone encountered this problem before? I created a file called ...
I have a button which should be enable or disabled based on the property say prop_check it can have value 'ren' 'ren-pend' 'rene' 'notren'if the value of property is ren or ren-pen then i need to disable and if it is rene or notren then i should enable i won't be able to do logic: ...
3987 byte By
Sowja at 2007-11-27 9:03:37
Hi I am implementing hibernate in my project. When I place the required jar files in the lib folder I am getting the following error. Please Help!!####<Jun 27, 2007 4:11:46 PM CDT> <Error> <HTTP> <WTC-664753-W1> <examplesServer> <[ACTIVE] ExecuteThread: '3' ...
HI, How to show a database table on a jsp page.for example :i have a table named loginwhich has two columns as id passwordhow can i show it on a jsp pagethanks
Sorry for the newbieness of my post, but I'm new to the web development arena.I will try to make my question as brief and robust as possible (be gentle).I stand at a fork in the road...and I must make a choice...the paths are ASP.net or JSP. So, why would I choose JSP over say, ASP.net?Also, ...
I have a small servlet that allows the user to download a file.My problem is that I don't know how to check whether or not they accepted to download the file or the hit the 'cancel' button.here is a small chunk of ...
160 byte By
EWM1XXa at 2007-11-27 9:03:50
What is the most efficient way to upload a image file and resize it client side before it uploads. I am trying to avoid the server performing these task.
Hi,I have a web service, built using Axis 2 1.2, that will do all the initialization at the first service call (e.g. create new database tables, create JAXB objects, etc), but it's taking too much time to do those tasks (at least twice slower than a normal service call with everything ready).i ...
544 byte By
K_Daa at 2007-11-27 9:04:10
HiI have a page index.html which sits in at the top level of my web directory. I wish to use this page to launch my jsf pages which sit in another folder web directory/webpages/. I also have a mapping in the faces config file which maps a .html extension to my jsf pages. I have tried various ...
550 byte By
iamleia at 2007-11-27 9:04:14
I've searched through the forum and have came close in finding the answer however the recommended solution is not working...How can I use this code:FacesContext.getCurrentInstance().getExternalContext().getSessionMap().remove("beanName");to reset a managed bean in an Action Servlet?How can I ...
463 byte By
princea at 2007-11-27 9:04:24
Hi,I have a jsf page with two command buttons on button1 one i need to open a new window for displaying data .On button2 navigating user to results but remain in the same window.I am using <h:form name="form1" target="_blank"> . It works for button 1 but also for button2 how can I avoid ...
259 byte By
audippaa at 2007-11-27 9:04:40
Hi Can any body tell how to know server response time if perticular time reached it should redirect to userdefined page saying that server is busy pls try after some timehere i am using iplanet web server and ias application server
252 byte By
tmmeta at 2007-11-27 9:04:43
Hi,I am new to EJB.I am creating session beans (stateless) .Can anyone say me whether it is ok to have return value as int in an ejb method ?Also, can I call a singleton class's method from a bean method ?Thanks in advance,
520 byte By
princea at 2007-11-27 9:04:44
This question may have been asked several times earlier.Am unable to find resource where i get complete solution for How user session is moitored using HttpSession listener . When it is timed out what event takes place.?How to monitor inactive interval of user and invalidate his session.I would ...
470 byte By
deroka at 2007-11-27 9:04:48
out.println("<td><select> <option value ="volvo">Volvo</option> <option value ="saab">Saab</option></select></td>");Hi,I am trying to print a select html with the println method, but when executed I get this error: ')' expectedwhat do i have to ...
2515 byte By
tinnya at 2007-11-27 9:04:49
HiI'm not usually one to post heaps of code in a forum post but im sorry to say that this is the only way I can show you my problem.I'm stuck on this one! (I don't know much about XML)I am getting the following exception message when running my XSD validation on an XML document: "cvc-elt.1: ...
234 byte By
tmmeta at 2007-11-27 9:04:51
Hi,I am new to EJB.Can anyone say me whether I can return ArrayList from my bean method ?That is, all my input and output parameters of my bean method must always be serializable objects ?Thanks in advance,
HiI want to upload a file to a server root. My coding is working when i give the path on the normal way. But I want to give the path to the server root. String path=" http://192.169.1.10:8080//saberlegal//temp//";but this is not working.Pls tell me a way to write the file to the server root by ...
[nobr]Hi Friends I am new to JSP, this is my program can u please find the error in my code. package beans; public class customerInfo{private String UserName;private String PassWord;public customerInfo(){}public void setName(String name){this.UserName = name;}public String getName(){return ...
I have initiated an ArrayList which will hold the 50 US states in an Action class. In the jsp page, the code goes like: <h:selectOneMenu id="state" required="true" style="width:100%" value="#{memberSearchAction.state}"><f:selectItems value="#{memberSearchAction.stateList}" ...
593 byte By
paridaa at 2007-11-27 9:05:12
hi all,i have a jsp application.due to some requirement i have included an applet in my jsp.for communication between applet and jsp i have created a servlet which is responsible for sending and recieving data from applet . but when i try to send data from my servlet to jsp its create a new ...
2315 byte By
pantulaa at 2007-11-27 9:05:16
Hi,I am writing a small appl. where I am using EJB 3.0 with Java Persistence API. If I execute the sample programs in Java EE tutorials, then the programs work fine. But, when I try to run the sample application I get the error below. I am using the following named query.@NamedQuery(name = ...
Dear Everyone,How can i upload a doc file into Mysql database ....can any one please give ur suggestions...i will show u my codeupload.jsp**********<form name="uploader" action="uploaded.jsp" enctype="multipart/form-data"> <div align="center"> <table id="table1" border="1" ...
HiIm trying to upload two files to the server using JSP.This is my coding. This is working in the local machine but when i try the same thing remotely it doesn't work.Pls help me to solve the problem.Or else give me another example to do multiple file uploads <%@ page ...
for frist time it is successful for installing j2ee1.4,but when i uninstall it for something, it can not install successfully again;the message is:checking disk space, at this page it stop and can not enter the next page;for help;thanks;
Hi.Is there a way to trigger an action whenever a page is loaded (kind of like onload on the body tag)? I want some code to run to populate the right objects which are displayed on the same page.R
419 byte By
mm_mma at 2007-11-27 9:06:08
Hi all,I am new to jsf and trying to learn it online.I have downloaded a sample application from http://www.exadel.com/tutorial/jsf/jsftutorial-kickstart.htmlBut when i try to run this the following eror appearstype Status reportmessage /pages/inputname.jsfdescription The requested resource ...
hi all,i would like to do this in my servelt.1. User tries a web page ( http://<machine name>:<port>/webapp/<servlet>2. Servlet shows a pop up in the web page asking the user to authenticate himself3. user gives domain name\user name followed by password4. authentication ...
hi friends...i have web application its login based... my problem is i have to show the all user names using application currently in that page.. so how can i do that?any one tell me...thankx in advance...
my jsp contains common header,menu,footerwhen rendering body of the jsp selected menu tab style not remaing. it is comming back to old style. can some body help me,what may be the problem
1420 byte By
qwfea at 2007-11-27 9:06:37
Hello.I'm studying Java persistence API..I tested a few Annotations.Example..@@Entity@Table(name = "EJB_ORDER_VENDOR")@NamedQueries({@NamedQuery(name = "findVendorsByPartialName",query = "SELECT v "+ "FROM Vendor v " + "WHERE LOCATE(:name, v.name) > 0"), @NamedQuery(name = ...
208 byte By
leejeoka at 2007-11-27 9:06:38
I am working a servlet file. Any method to retrieve my current working directory?As what I understand this could be done easily at JSP by using :application.getRealPath(".");Thanks
Especially those Java source codes under the javax.ejb package.
974 byte By
KrisMTa at 2007-11-27 9:06:44
hi guys,I've got a problem with selectOneMenu.Basically setting the itemValue to static text is ok and everything works fine<f:selectItem itemLabel="#{others['dr']}" itemValue="Dr" />but if I set the itemValue to a property, I get a NullPointerException<f:selectItem ...
When i Logout of jsp (session.invalidate()) and then click back button no details have to be displayed . again session expired must be shown. (as in yahoo). Pls help .. urgent req.
590 byte By
javosoa at 2007-11-27 9:06:58
Hello,I need to pass a String from one jsp to another but I have to use response.sendRedirect(" http://servname:8080/App2");unfortunately I cannot use the URL passing (with the ?) because it is information which has to be hidden.Even putting it in session or ...
Hi Folks,I have a Password Component which models an encryption solution between the browser and the Java tier. What I did basically is :1. This component is an Input component (meaning I render an HTML "input" element of "type" "password". ). Inside the constructor I have another HTML "input " ...
i uploaded a war file in Tomcat application manager.. Running status of application is false ...By pressing START in COMMANDS still it shows false in RUNNING ..i got error FAIL - Application at context path /kannan could not be started...........
I know about the alert msgbox. But,In my jsp, I want to display a Message Box with OK and Cancel Button and based on the selection of the button, I want to take different actions.
Hi,I am trying to use the valueChangeListener for t:inputCalendar. But, it is not getting invoked. I get a SocketException whenever i click on the calendar button. I tried to use the validator attribute as well and also tried for a custom validator. But, it does not seem to work. Listed below ...
482 byte By
upstonea at 2007-11-27 9:07:59
Hi ,allI am working in websphere application developer environment.i have created a JSFin which i have a jsp called signup.jspwhich have a form for user input and a submit button.and i want to behave my submit button is such a way that is calls a validate function(javascript) as well as calls a ...
5444 byte By
dr.jgha at 2007-11-27 9:08:05
[nobr]Hi,I am running NetBeans 5.5 on XP Pro using java 1.6I have a servlet called Controller which forwards the request to main.jsp//Controller.java --protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {String id = ...