Remote JMS

2440 byte By channegan1a at 2007-11-27 9:01:24
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 ...

passing variables frm xsl to a java method

4487 byte By Deathsbaina at 2007-11-27 9:01:25
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" ...

A question about the term: "asynchronous web service"

366 byte By Guy_Hudaraa at 2007-11-27 9:01:26
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 ...

Need example of client requesting information from server

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 ...

pass through href parameter value from input

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" ...

JavaServer Faces web.xml rewritten when build

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 ...

"that domain isn't allowed to be relayed thru this MTA " : Problem and fix

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 ...

web.xml problem

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 ...

Problem with Struts file upload with small files

1077 byte By wood_taha at 2007-11-27 9:03:26
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 ...

enable or disable a button

436 byte By SubhaMania at 2007-11-27 9:03:27
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: ...

Problem : javax.servlet.UnavailableException

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' ...

How to show database table on a jsp page

222 byte By khan_vu2007a at 2007-11-27 9:03:41
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

ASP.net vs JSP

463 byte By TheWitnessa at 2007-11-27 9:03:48
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, ...

Download file

743 byte By uberallesa at 2007-11-27 9:03:49
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 ...

CLIENTSIDE IMAGE RESIZE UPLOAD

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.

Initialize a web service when Tomcat startup

525 byte By JWKC-5ivea at 2007-11-27 9:04:00
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 ...

Trying to launch a JSF application from a non JSF page

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 ...

Reset Managed Bean in Action Servlet?

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 ...

Open new window and Handling Multiple forms in JSF page? --Urgent

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 ...

server response late and redirecting to user defined page

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

Return valueb

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,

Handling session time out & monitoring max inactive intervl in user session

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 ...

html <select> in jsp

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 ...

XML validation problem, please help

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: ...

Parameters

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,

Writing files to Server Root

369 byte By Randi_octa at 2007-11-27 9:05:02
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 ...

Unable set property to bean class

3519 byte By bharatkadaa at 2007-11-27 9:05:04
[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 ...

populating SelectOneMenu using ArrayList

1884 byte By aparna_ra at 2007-11-27 9:05:07
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}" ...

servlet creating a new session

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 ...

getting : org.apache.derby.client.am.SqlException

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 = ...

how can i upload doc file into database...help me please

2595 byte By senthil_yogaa at 2007-11-27 9:05:41
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" ...

Multiple File upload

2158 byte By Randi_octa at 2007-11-27 9:05:51
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 ...

J2EE 1.4 install Problem

272 byte By springwindera at 2007-11-27 9:05:55
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;

Triggering an action when a page is loaded

217 byte By runeharpun@hotmail.coma at 2007-11-27 9:05:56
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

requested resource not available eror

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 ...

Doing Network Authentication

799 byte By sgshankara at 2007-11-27 9:06:21
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 ...

How to know the how many people are using the appllication..

240 byte By ravi-kumar-123a at 2007-11-27 9:06:25
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...

problem when rendering jsp

208 byte By srinivaskothaa at 2007-11-27 9:06:31
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

I have a question. It's about EJB 3.0 Persistence API...

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 = ...

SERVLET working directory

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

How to download SUN J2EE source codes?

70 byte By liaodongyana at 2007-11-27 9:06:40
Especially those Java source codes under the javax.ejb package.

selectOneMenu with properties file

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 ...

Logout - How to properly logout from jsp ?

187 byte By GuruSeethaa at 2007-11-27 9:06:52
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.

passing an attribute after "redirect"

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 ...

getValue() method of Input component returning null

1810 byte By subhrajyotia at 2007-11-27 9:07:08
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 " ...

problem regarding running war file in Tomcat 4.1

281 byte By kannankallia at 2007-11-27 9:07:25
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...........

MsgBox in jsp

193 byte By harinibiligiria at 2007-11-27 9:07:35
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.

t:inputCalendar valueChangeEvent does not work

912 byte By cnandisha at 2007-11-27 9:07:44
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 ...

Multiple actions on a submit button

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 ...

JSP Taghandler problem

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 = ...