149 byte By
vvna at 2007-11-27 7:32:36
I edited the JSP examples from Tomcat installation directory...but these changes are not being displayed...do we hv to edit any other files..?
213 byte By
Emagiaa at 2007-11-27 7:32:59
Hi,I am new to java and these forum's. But I hav lot of hopes on these.I need a .jsp page to display 2 .jsp pages.Also one of them is to shown on right hand side by default.thnq
Hello,i have a new problem.In my application I need two controllers.One should be started automaticaly when the webserver comes up and an other for the session.The Problem is:Every Session-Controller should have an 'attribute' that is pointed to the ApplicationController. I tried:<?xml ...
Hello,I'm not able to find solution to this problem:I have XML document (lets say doc.xml) and it's schema (doc.xsd). doc.xml consist of elements (XML fragment) that represents templates, that are to be edited by user in raw form (user edits pure XML - tags, attributes, etc). And after user ...
Hope this is not a newbie question, but I am stuck here.I am using jdk 1.5_07 with tomcat 5.5 and using Exadel studio for eclipse as my ide.I have created a jsf page with a simple drop down menu. The menu gets its data from a backing bean, which in turn calls a business object that queries the ...
Hi there, I have a JSP page on which I have a button and a hidden field. onclickevent of button I am calling a function (written in Javascrip) is storing values of selected names(from Dropbox by user). So my hiiden field Selected_names.values contains all the names (seperated by coma) selscted ...
Hey all, I was doing some R&D and I have to find out whether JAVA will be continuing its interest in JSF or will they be more interested in enhancing Java FX. I hope some one can answer this question in detail.Thank you !
Can anyone show me the correct syntax to specific numerous url-patterns for a servlet in the deployement descriptor?Thanks,James
3006 byte By
Matek_ja at 2007-11-27 7:33:36
Hello,I am having problems getting values via getSelectedValues() from my HtmlSelectManyCheckbox component. The method returns an object array but the values are the same as the initial selectItems property.JSP:<h:selectManyCheckbox ...
390 byte By
Antsa at 2007-11-27 7:33:51
Hi All, I have a xml file which looks like <languages><c>10</c><java>1.5</java><vb>7</vb> </languages> now i have to parse the xml and update the value of <java> tag to 1.6,can anyone please provide the code snippet for above ...
344 byte By
skp71a at 2007-11-27 7:34:00
I want to generate an nine digit unique random number and store it in an xml file.I should be able to append the xml file each time when I generate a new random number.And also when it generates a new rondom number it should make sure that number dosen'talready exist in the xml file. Any help ...
683 byte By
robl29a at 2007-11-27 7:34:16
I have the following interface for the webservice:public interface DocumentProvider extends Remote {public void deleteDocument(String documentId) throwsRemoteException;}I use the wscompile command to generate the wsdl file and it creates a complex type like this:<complexType ...
142 byte By
SunRRa at 2007-11-27 7:34:29
Hi,I want to create and deploy jsp file during runtime. Can you please provide some guide lines?Thanks in advance.
352 byte By
kal132a at 2007-11-27 7:34:45
Hi, I have an String variable that needs to be shared by all backing beans in my application. All backing beans are session scoped. How can i share the string variable among all beans. Can i store it in the session and retrieve inside each bean? How can i get access to session inside the ...
hi all,i need help in uploading file to server in jsp....plz i need a working code soon as my project completion deadline is closei will be thankful to who ever helps me out
I have used JSF and been able to render successfully until I start working ADF components into my ***.jsp.I use the IBM Rational Application Developer (RAD) v7.0. And all the compilation complaints have been cleaned up.But, when I tried to run my ***.jsp, I have the "Error 500: Cannot Find ...
I use Java mail based mail packages, Spring and Seam, to send email out. Followed the normal procedure, the email seems to be sent. But, the recipient never received the email. I am wondering how I can debug the problem. The SMTP host is configured to the local cable email host and it is ...
2505 byte By
pippoua at 2007-11-27 7:35:41
Hi,I have a validation error using a selectOneListbox. I read a lot of topics in this forum, but I still can't solve my pb.This is my JSP:<ice:selectOneListbox size="1" styleClass="totalWidth" value="#{controller.selectedCmsName}" ><f:selectItems ...
502 byte By
araoa at 2007-11-27 7:35:43
HelloI have a web project, In my controller class I am trying to read a txt file contained in the same directory as my controller using FileInputStream fip =new FileInputStream("D:\\Workspace\\VIICApplication\\src\\utils\\sequence.txt");Can I use context path to replace the use of d:\\.....I ...
710 byte By
araoa at 2007-11-27 7:35:47
Hello I have created an EJB project and a client to access this EJB.I am using Eclipse SDK 3.2.2 and Weblogic 9.2In my client I have the code Properties prop = new Properties(); prop.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory"); ...
Hi,I am using SAP NetWeaver Application server and it supports JavaMail 1.3 . For my application , I need to use JavaMail 1.4 and support gave the idea how to add 1.4 library. However, I am getting the ...
213 byte By
mark@gea at 2007-11-27 7:36:11
Is it possible to use JSF to dynamically add an IFRAME (essentially a verbatim tag) to a panel grid programmatically?I can add a table and other standard widgets, but don't see how to do an IFRAME. Anyone?
Hello everyone:I am now trying with AJAX because in my last post ( http://forum.java.sun.com/thread.jspa?threadID=5182787&messageID=9712775) I had a messy "fuzzy logic".I am not getting any results in the 2nd drop-down box, and I am getting this error: Error: uncaught exception: Permission ...
I'm still a little new to this response.encodeRedirectURL thing. I know about changing the link so that a session id is attached...but how do I send that id to a serlvet in a form?if the form looks something like this:<form action="servlet/ServletName" method="post">how do I endcode the ...
Hi Guys i am currently developing a mini webstore using patterns in J2EE.I have a template servlet that reads the sub views of the next screen from an xml file and set them on a screen bean then dispatch the bean to a template jsp for view composition,and that works up to so far .But the ...
We have backing bean defined in "session" scopeSo whenever we do a submit on JSF Form, it holds onto same backing bean. This is not desirable as-> The Form will have different set of values each time it does a submit -> The Backing bean has variable defined to instantiate a POJO ...
Hi,I am new in jsp.I am using Tomcat 5.5 and jdk1.5My jsp file is<html><head><title> Money Bank </title></head><body><%@ page import = "java.util.*" %>Welcome User</body></html>I save the filein the besslow pathC:\Program Files\Apache ...
131 byte By
MAYAa at 2007-11-27 7:37:36
Hi,I have all my emails in a .msg file under a backup directory. How can i read it using JavaMailAPI?. Thanks.
i m trying to call it from jsp using<a href="../purchaseP?orderno=<%=pno%>"><%=pno%></a>but its giving error..type Status reportmessage HTTP method GET is not supported by this URLdescription The specified HTTP method is not allowed for the requested resource (HTTP ...
232 byte By
NANDAa at 2007-11-27 7:37:54
hi all,i have a problem.i want to create ms-word or ms-excel file from jsp page and send some data from jsp to that word or excel file .and also I want set the printer font size to A4 . plz help me
1242 byte By
Glimpsea at 2007-11-27 7:38:26
Hi,I am inserting a <TR><TD>ABCD</TD></TR>html chunk dynamically into a dynamic HTML string before every row in the chunk.But if the row in original chunk is split into columns my added row is not spanning the whole width of table [its gonna happen as i have not ...
308 byte By
Glimpsea at 2007-11-27 7:38:31
Hi,i want to know that is there any harm in using colspan="any big number" in my <TD> tag even if no row in table contains more than suppose 1 - 20 columns, i just want my current <TD > to span the whole available width of table, whatever may be the number of columns in other ...
162 byte By
gagnma at 2007-11-27 7:38:33
when iam trying to sendstring value from Servlet to Struts Action class through Http Session, iam getting null value, iam really in big confusion, help me.
hi there,i'm currently working on some upload mechanisms and have a small idea to fulfill. I need to bind a filesystem directory (any pointed out in configuration - a uploaded files storage) as a URL under tomcat, e.g. having the dir "/home/upload" i'd like to bind in under e.g. ...
Hi, I want to know the name default SMTP server configured in machine. How i can get this through my java code.Help me on this
Hi,How to refresh ( or re-render) a page completely through programatically.in java script if we want to refresh page we will add "submit()" like that I need to refresh page in java code ( run time).Please help me....
Hi,I need to delete/add columns for a DataTable programaticaly... Can anyone help me in this ?. In source code I added a datatable and lets take 3 columsn I added. While running application, I need to delete and add columns whenever I want.Please help me....
<h:outputText styleClass="greenBoldText" value="#{messageController.message}"/>This output text's value is from a Java Controller. There are no errors or exceptions thrown but unfortunately for me the message does not display.. I know that I am able to populate the message variable.. And ...
Hi All,can anyone help me to solve my problem.....My problem is"I m trying to create one web application in jsp.and when i click button in this(JSP) page some value should be pass to Applet page like (2,2) and after perform some mathemetical operation on Applet page it shows result on JSp ...
3664 byte By
zzza at 2007-11-27 7:39:18
I want to run a MyFaces Application on Weblogic 8.1 SP6.When adding an dynamic expression (e. g. #{ msg.application } in <h:outputText value="#{ msg.application }"></h:outputText>), i get the following exception:javax.faces.FacesException: ServletException in ...
hello people,i am retreiving some 200-400 images from database.i want to display 9 perpage and include page navigation .like previous-1-2-3-4-5-6-7-8-9-nexthow can i use page navigationi am new to jspand can u please guide methanking ...
1729 byte By
maroofa at 2007-11-27 7:39:24
I have a problem. after session time out if i click on a button then the page becomes blank and the following exception occurs. Jun 14, 2007 12:41:39 PM org.apache.catalina.connector.CoyoteAdapter serviceSEVERE: An exception or error occurred in the container during the request ...
Hi all,I'm new to JMS and I've been asked to send an xml file to a IBM MQ series message queue.I need to send this message from an application running on a tomcat webserver.Basically, what packages do I need to start with that?Is that possible without installing an MQ client on the ...
Hello everyone,I have 3 entity classes:@Entity@Table(name="CUSTOMER")public class Customerent implements Serializable {.................................................}@Entity@Table(name="ITEMS")..................public class Iteamdetailsent implements ...
Hi all,i am running a working application on 2 windows enviroments using jdk1.3 . One of the enviroment is working fine but the other throws a "Bad file descriptor" while trying to read the manifest.from jar files. Those jar files are the same.what could be the problem ? ...
in my project i used two session variables and i set the value for it ..By retrieving the value i got ClassCastException......THIS IS FIRST JSP ...........this is my part of source code .. i got error in that ....i got size from html page that will be number ...String record_per_page = ...
HI, see my code. I am getting error saying there is no converter. can we use check boxes without converters. I am not useing any special types. just want to reterive as the string objects.<h:selectManyCheckbox id="other"value="#{updateHomLoc.otherSystemsSelected}" ...
In my Servlet I have some generics in my code ArrayList<MyObject> list = (ArrayList<MyObject>) obj.getSomeObject();request.getSession.setAttribute("list", list);But when I try the following in a JSPObject obj = request.getSession.getAttribute("list");ArrayList<MyObject> list = ...
<-- Sorry for my english. -->Can anybody help me?I want to know how to specify a date range in the <t:inputCalendar/> component. I'm using Tomahawk/Apche implementation. So that the user cannot specify a date outside that range.Thanks.
HiI am new to JSF.I Know JSP like how to connect with database using JDBC.when i am trying the same using JSF how can i connect to the database For e.g., Login Page accessing the username and password from the database.I would like to use Mysql as a database.Pls can anyone suggest me in ...