access value of one page from a popup

516 byte By ali_hammada at 2007-11-27 10:29:57
I have a jsp page, in which a popup window open when a button is clicked through javascript like this...<a href="javascript:window.showPopup(<%=SUBJECT_ID_FK%>,<%=SEVERITY_ID_FK%>,<%= HELPDESK_ID %>)" ><img src='blahblah'>....Now I want to get the value of text area which is on the ...

Problem with JSTL Core: JspTranslationException

558 byte By DJ_Vikinga at 2007-11-27 10:30:21
I have included the JSTL core tag<%@ taglib uri=" http://java.sun.com/jstl/core prefix="c" %>Somehow the <c:if test="${not empty variable.something}"></c:if> does not work. Neither does c:forEachBut I can get at output of ${variable.something}The error message I get on c:if and c:forEach is ...

How to Put a downloadable link on jsp

389 byte By SecfGuya at 2007-11-27 10:30:34
Hi All,I need to put a link on a jsp.By cliking on that link user should be displayed with file download dialog to download an excel sheet.I tried using <a href="path of excel">Download</a>.When i click on this link the content of the file is getting parsed into browser itself(in binaru ...

i need the help.friends

352 byte By somu_ecea at 2007-11-27 10:30:37
i am uploading multiple file without FormFile.through java scripting i wrote coding..i wrote the coding correctly but when some one accessing my server to upload file means it take 0 bytes file nothing in the attachment .but its working correctly in my system.if some one accessing my system its ...

how can send mail without authentication

230 byte By amitpanwara at 2007-11-27 10:30:42
<p>Hi all,</p><p> I am trying to send mail on gmail using java mail API.</p><p> It need to authenticate first, can anybody explain why it need to </p><p> authenticate .</p><p> Please Reply</p><p> Thanks in advance.</p><p> Amit</p>

Using Frames in JSF

177 byte By pauster007a at 2007-11-27 10:30:45
<p>Can anyone provide an example on how to use frames inside JSF? I don't know how to define the framesets inside the jsf file. A simple example will go a long way. Thanks.</p>

Problem in disabling Text Boxes

282 byte By harinibiligiria at 2007-11-27 10:30:46
<p>If I disable a text button, I'm not able to copy the value to the database field. What cud be the reason?</p><p>The value where the textbox is diabled is being displayed on the screen and all other text fields values(Which r not disabled), I can copy them to database fields</p>

jstl problem

933 byte By hardcodera at 2007-11-27 10:30:55
i am using netbeans 5.5.1.. it came with tomcat 5 and jstl1.1.. i have added the jstl jars to the library. my jsp page contains<%@ taglib prefix="c" uri=" http://java.sun.com/jsp/jstl/core" %>and my web.xml has<?xml version="1.0" encoding="UTF-8"?><web-app version="2.4" ...

user sessions get mixed together !!!

442 byte By markos_da at 2007-11-27 10:31:12
Suppose we have 2 users, A and B.User A logs on first and after a while user B logs on.There is a good case that after a while user A will be seeing on his browser the name of user B and will have his privilleges *** well.I am not sure of how to express this problem and as a result I can't find ...

example on navigationmenuitem and tree/tree2

208 byte By naveenkomarv@gmail.coma at 2007-11-27 10:31:25
<p>Hello this is navin,</p><p>Can anybody give some sample examples on JSF UIComponents for the tags t:jsCookMenu and t:tree/t:tree2. So that i can custom these and add new features for the existing ones.</p>

Mail delivery failure

186 byte By Godspeed08a at 2007-11-27 10:31:33
<p>Hi All,</p><p>Could any one suggest me how implement mail delivery failure using java mail API.I have used TransportListener but its giving the successful delivery always.</p><p>A</p>

Retrieve from POP3 and send via SMTP

695 byte By LuCa@iTaLya at 2007-11-27 10:31:43
Hello!I'm working on a POP3 mail fetcher: a program which downloads messages from a POP3 server and delivers them to an SMTP one.I found a problem trying to send the message I get from a POP3 folder, like:Message[] messages = folder.getMessages();for(Message message : ...

Why cant I do the following...

1118 byte By DontKnowJacka at 2007-11-27 10:31:48
I'm trying to set a variable with the value of the error message from the session object. <c:set var="reason" value="<%= ((AuthenticationException) session.getAttribute(AbstractProcessingFilter.ACEGI_SECURITY_LAST_EXCEPTION_KEY)).getMessage() %>"></c:set><c:choose><c:when ...

AMPQ & JBI

279 byte By michele81a at 2007-11-27 10:31:51
<p>Hi all,</p><p>has anybody any experience on using the Advanced Message Queue Protocol (AMQP) [1] with JBI/ESB technology (i.e. Mule)?</p><p>I haven't seen any AMQP connector available: is there any plan for that?</p><p>Thanks,</p><p>Michele</p><p>[1] http://www.amqp.org/</p>

How to pass array in the url of the servlet

906 byte By java80a at 2007-11-27 10:31:53
Hi Friends,How can i pass an array in the URL that calls a servlet. For instance,I have this in my servlet rite now:MyClass obj = new MyClass();String[] args = {"-opt1","-opt2","file1","file2","file3"};obj.main(args);I want that the "args" should come in the URL call,because some php application ...

Need help for complex type - JAX-WS

386 byte By reichana at 2007-11-27 10:32:23
Hi all,i am trying to realize a web services with Jax-ws technology that returns a created complex Object from me and that the client can interpret through the wsdl. How I must set up annotations of Jax-ws? you have of the examples from being able to me to show or of the link that they can help me ...

Using session attribute as Managed Bean Value

488 byte By SLDykea at 2007-11-27 10:32:32
How can I use a session attribute value in the following code?<managed-bean> <managed-bean-name>nameBean</managed-bean-name> <managed-bean-class>demo.NameBean</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> ...

In IE7 servlet generated html loses CSS formatting

1730 byte By bat-thinka at 2007-11-27 10:32:39
Hi.I am generating html within my servlet and building a string containing html - a few <TD> tags with dynamic database data in them(shown below). When using firefox this generated html works perfectly and inherits the css formatting from the calling JSP page. However with IE7 the formatting is ...

Jax-ws 2.1 - problems returning hashtable and hashmap

1756 byte By restevesa at 2007-11-27 10:32:41
Hi,We're developing a set of applications that communicate via web services.The company decided that to do this we should use jax-ws 2.1.Everything is going ok, its really easy to use, except for a web method that returns a java.util.Hashtable. In the endpoint there's no problem, it compiles and ...

JSP Quiz page problem

6915 byte By lrngjavaa at 2007-11-27 10:32:45
[nobr]I am trying to create a quiz page where users are able to pick the correct choice for the correct answer.Everything works fine but i got 2 problems. 1) i tried this statement Just incase if a user does not select any option i still wanted to display the correct result ...

need help in javascript

170 byte By satyaba at 2007-11-27 10:32:57
<p>Hi all,</p><p>in my application i need to provide help, i.e. when onmouseover on Help text need to display textdata.How should i implement this?Can anyone help me?</p>

Working with ActionListener

1428 byte By Subbhua at 2007-11-27 10:33:19
i am working with a complex structured application where i have to invoke the ActionListener.processAction() before the PROCESS_VALIDATIONS phase.i have a set of code which is public class MyActionListener implements ActionListener{public PhaseId getPhaseId() {return ...

Difference between Application Client and Java Client

562 byte By mohitanchliaa at 2007-11-27 10:33:30
Hi,I went through https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html page to understand the difference between application client and java client. Still I don't seem to understand how is it different. It's not being deployed in Application server then it means we run this as stand alone ...

hello Tutorial Questions

695 byte By BrianLeonarda at 2007-11-27 10:34:02
I'm trying to produce the hello tutorial as documented here: http://developers.sun.com/docs/web/swdp/r2/tutorial/doc/p36.htmlIn NetBeans 6.0 M10, the editor finds the annotation classes just fine, but what do I need to do to process them when I build.In NetBeans 5.5.1, the editor does not find the ...

redirection JSP not working in IE

828 byte By karenJJa at 2007-11-27 10:34:03
Hi all,I have a servlet with the following part of the code to redirect to an jsp page. When I enter the correct username and password, and click "submit", it should redirect to my index.jsp page. It works fine with firefox, but in Interworks fine with firefox. But in Internet Explorer(IE), if I ...

Problem in check box

446 byte By aniketh_parmara at 2007-11-27 10:34:16
I have four check box.When ever we select any check box all previous check box must be selected.for example, if we select 3rd check box then 1 and 2 must be automatically selected.DOes any one have Idea how to implement in java script.I did it in JSP but for that I have to submit page once which I ...

how to enable javascript at client side when it is disable

250 byte By 69901a at 2007-11-27 10:34:38
<p>Hi All,</p><p>Please help me in this topic.......</p><p>if the user disable the javascript in his browser then we can't do the client side validation.how can we enable that javascript explicitly at the client browser.</p><p>Thanks in Advance.</p>

can not send form parameters to a javascript function window.open()

4280 byte By Dhuygua at 2007-11-27 10:35:01
[nobr]<form id="form1" name="form1" method="post" action=""> <td width="30"><input type="radio" name="icon" value="1"/></td><td width="53"><img src="<%=SiteManager.getRootURL()%>/resimler/icon1.gif" alt="" width="35" height="30" /></td><td width="41"> <input ...

value from javascript to my jsp page

273 byte By java@mania at 2007-11-27 10:35:05
<p>hi friends,</p><p>I have a submit button and its onclick event I have called a javascript.</p><p>this javascript have a prompt and the user will enter the value in it.</p><p>i want this value into a hidden input field,which is there in jsp page.</p><p>please help me</p>

replacement of history.go(-1)

415 byte By RaviKumar.Avulaa at 2007-11-27 10:35:06
i have 2 screens. in the second screent i put history.go(-1) then it comes to first screen. But if you do any operations in the first screen means selecting any option etc. if you go to second screen and if you click back button(put history.go(-1)) it is coming to 2 screens back. Means it is coming ...

Modify the contents in Dynamic HTML

309 byte By SIVA_SUBRAHMANYAMa at 2007-11-27 10:35:12
Hi friends,I want to modify the contents in a HTML page. This page is dynamically generated from some JSP. First of all, is it possible to modify the content in a HTML page that was generated at run time. If so, Pls. give me an example of the same.Tons of thanks in ...

JSF mapping missing. ExtensionsFilter not correctly configured.

2551 byte By learningjava5a at 2007-11-27 10:35:18
I am new to JSF's and using JBoss 4.2.0 application server.I trying to use <t:panelTabbedPane> and <t:panelTab> in my page like this:<%@ taglib uri=" http://myfaces.apache.org/tomahawk" prefix="t"%><t:panelTabbedPane id= "tbParticipant" selectedIndex = "0"><t:panelTab id = ...

access parent elements from child in jsf

1346 byte By veerjaa at 2007-11-27 10:35:29
parent jap <h:form id="form1"><h:inputText id="xxx" value="xxxxxxx"/><h:commandLink onmousedown="window.open('/my_child.jsp')"><h:outputText value="viewImage"/></h:commandLink>my chiled jsp<head>function updateParent(){var xname = window.parent ;alert (" Parent" + xname);var ...

Navigation Between JSP's

246 byte By PraveenDudea at 2007-11-27 10:35:32
<p>Hi </p><p>I have JSP1,JSP2. I want to navigate between JSP1 to JSP2 using a servlet say Controller.java . What should i specify in the web.xml file and what is the directory structure to be followed?</p><p>Thanks in Advance,</p><p>Praveen.</p>

jsp in load on startup

543 byte By raghuveer_vellankia at 2007-11-27 10:35:39
what change i need to make the below code to work on any application server.What i need to replace for ...

request parameters

1140 byte By mgrommeta at 2007-11-27 10:36:01
I've got a url being generated out of some javascript:addnewitem.jsp?parentID=999addnewitem.jsp has a backing bean with a parentID attribute.The addnewitem.jsp takes some user input, and submits back to the FacesServletI'd like to set the backing bean parentID attribute with the value from the ...

JPA: compound primary key with @ManyToOne

2538 byte By michaelhhha at 2007-11-27 10:37:10
I have to map a legacy database to JPA enity beans.The legacy database has to following tables:BaseComponent:integer basecomp_id (PK)... more fieldsBasePac:integer basepac_id (PK)... more fieldsComponent:integer basecomp_id (FK and 1. part of PK)integer basepac_id (FK and 2. part of PK... more ...

Arranging components automatically

1481 byte By xyzta at 2007-11-27 10:37:27
HelloI have a JSF page which includes a Group Panel and four HyperLinks in it. When one of the links' rendered property is set to false, the others doesn't arrange automatically.The unrendered link's place seems empty. I want the other links to locate themselves up.Here's my ...

jsp - export to excel via link

1178 byte By Ryion69a at 2007-11-27 10:37:31
Hi EveryoneThis is my first post but ive done a lot of reading of the forums.I'm working on a project where a user will enter data into a web form and a sql database will be searched and results displayed in tables in the browser. I have recently been asked to provide a function to export the ...

Checking for the uniqueness of that record ...

448 byte By xyzta at 2007-11-27 10:37:35
Hello,I created a User table and created Entity Class for it and prepared a controller class for user bean. there is a "create" method in the controller class which persists the user bean to the database and returns an action string for the nagivation. but I think I should check for the uniqueness ...

HttpServletResponse Writer error in LinkedBlockingQueue in separate Thread

4705 byte By timmeeeeea at 2007-11-27 10:38:05
I have a servlet that can process a request and send a response. Needing to process many simultaneous requests, I started using a LinkedBlockingQueue in a separate thread to take requests and process them. The problem comes when I have finished processing and want to send a response to the client. ...

passing url paramters

714 byte By kev9023a at 2007-11-27 10:38:13
Hello,I have a session scope managed bean to which I would like to pass a url parameter. I have the following in ...

Hosting free with jsp support?

88 byte By leonard_shelbya at 2007-11-27 10:38:25
<p>I'm going to find a hosting free with jsp support?</p><p>does someone know that?</p>

Struts Global Action Forward passing Parameter

497 byte By jain_rajana at 2007-11-27 10:38:31
I am new to struts and I need to pass paramter with the global action forward. SImply I need to pass parameters like http://xxx:9080/yy/a.jsp?disp=1I have defined a global forward for a.jsp as follows:<html:link forward="ABC">Click Me</html:link>In struts-config.xml, I have defined ...

How to put multiple rows of checkboxes of the same property?

660 byte By Gene123a at 2007-11-27 10:38:41
It could be the simple question, but I can't figure it out. I used <h:selectmanyCheckbox> It has layout="pageDirection/lineDirection" values. But now I have a requirement to display 6 checkboxes of US states 2 states x 3 rows. If I had 1 vertical row of states I would put ...

basic jsp and servlet question (JSP Model 2)

1262 byte By CbbLea at 2007-11-27 10:38:43
HiI want to make an website where i use JSP Model 2 architecture. However I got a basic question1. I need to separate business logic from presentation with the use of jsp and servlets. Meaning I want no html code in the servlet. Can you give a simple example of how this can be done? If I map my ...

Reg: JMS Exception sending to queue null

275 byte By p-_pa at 2007-11-27 10:38:49
<p>Hi,</p><p>When i try to receive the data from the external system in the form of xml through JMS i am getting an exception like "JMS Exception Sending to queue null". Can somebody help me with this in resolving the issue. </p><p>Thanks & Regards,</p><p>P.Prasanna.</p>

Can't send to a gmail account

8717 byte By Rob_Ha at 2007-11-27 10:39:09
So I started looking at JavaMail today and came up with this.import java.util.Properties;import java.security.Security;import javax.mail.Message;import javax.mail.MessagingException;import javax.mail.PasswordAuthentication;import javax.mail.Session;import javax.mail.Transport;import ...

Can i get a sample application from any kind readers?

310 byte By Wheelerz05a at 2007-11-27 10:39:14
Is it possible if I could get any sample applications using JSF components and Sun Java System Application Server 9.0 from any Java experts out there?It could do so much help to me as I have troubles in creating a login page as well...Please......Looking forward to your ...

how do I pass input values from a html page to a jsf page

367 byte By javamnr948a at 2007-11-27 10:39:19
hi, In my project,for front view we have used html pages.how can I get input values from that html page into my jsf page.for back end purpose we have used EJB3.0how can I write jsf managed bean for accessing these entities.we have used session facade design pattern and the IDE is ...