299 byte By
sasbab1 at 2007-9-26 1:42:35
hiI am trying to display a StringBuffer field in a textArea.It does not display anything.If I do system.out.println, I can see the values corectly,it is a multiline string.Any suggestions will be very helpful for me, thanks so much.babu
I have written a small JSP application.It accesses an oracle DB and returns may rows.If the no of rows is too large the the buttons used to navigate the app dissapear off the bottom of the screen.(I know I should have considered but I ma new to developing)Does anyone have code that uses ...
3074 byte By
pricef at 2007-9-26 1:42:41
hi "JAVA PANDITS" iam having problem in application i can,t able to upload picture <html> <HEAD> <META http-equiv="expires" content="0"> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <TITLE>upload_own_picture</TITLE> <LINK ...
3032 byte By
wmacey at 2007-9-26 1:42:43
This is what I tried:<% String colname="code02"; %><jsp:getProperty name='Input' property='<%=colname%>' /> --Produced this:Internal Servlet Error:org.apache.jasper.JasperException: Cannot find any information on property '' in a bean of type 'com.infomed.InputBean'at ...
524 byte By
dknkgp at 2007-9-26 1:43:05
I'm trying to send 5000+ emails per session... Each email is personalized. what would be the best way to send each mail?performance is somewhat critical...currently, i create one session, then create Message for each email, stuff the variables, then send them one by one...how about creating a ...
170 byte By
yue42 at 2007-9-26 1:43:21
doing some research on severl XML transformation tools... anyone know about XFlat tags library, and/or a site that has the tutorial?thanks in advance
Collection returned by finder methods are serialized to the clients or referenced? When a client access a EJB and invoke each finder method, the result back to the client is a collection (for every finder methods unless the findByPrimaryKey). This collection is serialized to the client o is ...
248 byte By
Jehuty at 2007-9-26 1:43:45
Im trying to run Tomcat. When I run "startup" it opens a new window but then it has the error:"java.net.SocketException: Descriptor not a socket: listen failed" and the new window closes.Can anyone help me?Thanks.
1406 byte By
parkerdv at 2007-9-26 1:44:37
Hello,I'm trying to copy data from one Oracle table to another. Everything works except for the field with data type Long. I tried doing a Preparestatement, and writing it with an InputStream with the following code. The idea is that we know the length of the date is 4463 bytes, and we can ...
585 byte By
m_ansram at 2007-9-26 1:44:51
Hi Friends,I am using JMS to interact with a remote MQ server on a Himalaya box. The MQ Admin objects on the server have not been published thru JNDI and I cannot use a look up scheme. I am trying to write a non JNDI client to examine messages on a queue. I have the samples from the MQ ...
2143 byte By
tmonteit at 2007-9-26 1:44:57
Please Help!!! I am using xerces to try to turn an xml structure into a java object. I am getting a Class Cast Exception that I can't seem to get around. Also, I think my approach to this is very wrong. There is too much code to handle this simple task. Is there a bettter way?something ...
118 byte By
xerokool at 2007-9-26 1:45:21
hi alli would like to ask for some opinions.Xerces and JDOM which is better?thanks!
922 byte By
airfei at 2007-9-26 1:45:42
I programed a example of sesion bean whit jbuilder4.0+weblogic5.1,but when ran project,some problems were showed in the server Tab :java.security.AccessControlException: access denied (java.lang.RuntimePermission createSecurityManager)at ...
649 byte By
koel78 at 2007-9-26 1:45:54
String content=request.getParameter("content");/* i'm retreving the contents of a textarea in a string named content. What happens is if i type a line in the textarea and press enter and keep typing by giving 2 to 3 enter key.I'm adding these contents in to the database. The problem is ,only ...
How did we accepts get and post requests and forwards them to doGetPost() a method that the Servlet must overwrite. It will again then applies a style sheet to convert the document to HTML.any one can help me
122 byte By
plotinc at 2007-9-26 1:46:06
how Java bean allows you to proceed get/post requests to the specified host, can anybody give me the example
185 byte By
reeta2 at 2007-9-26 1:46:15
hello buddys,In case of session does not keep the object, how JSP tag. Redirects to the given URL .iam seriousely facing this problem for my own site.
hi all,my problem is smthing like this.. say i have a textbox in html and based on the value of that textbox i want to invoke an sql that fetches records into select(html) object.. and i want to do this on onblur on that text box.. can u plz help in doing this thanx and regards parimala ...
I want to poll a particular coloumn of a table for any changes contuniously in regular interval of time thru out.How to do this.Can i use the thread to poll.How to get the return out of a thread and invoke another beanThe table is a Database table where in it consists of 4 or 5 coloumns with ...
My Problem is i am using a bean which stores the information of logged in member .Now when a user enters throgh a jsp page a servlet is called in between now after necessary validations i am setiing this info in a bean .String xxx = req.getParameter("xxx");Bean1 b1 = new ...
Hi,I see some web page has selected effectiveness(highlight), it means when you select a row by clicking checkbox, the current row will highlight display.How to implement it using jsp? Thanks
Hi ,I need help . I need to communicate from applet to java script in the same page . the only thing i came across is netscape.javascript.JSObject which gives access to DOM object . but this thing does not work with MAc system . i am using power MAc with classic JVM MRJ 2.2.5 . If some body can ...
378 byte By
romit_k at 2007-9-26 1:47:03
hi all,in my jsp page, i've a checkbox on a page & after submitting that page to another one, i want to check whether the checkbox was clicked or not..since in my code i wanna something like this...if checkbox is clicked{//task1}else{//task2}Can anyone please help me how to go 'bout it ! ...
Hello,I would like to know if it possible to include a JSP Page using an attribut. By examplepublic String pathUp = "Up.jsp";jsp:include page = pathUp flush = "true"Thanks to all,Alain
Hi,I'm working on graduate examination on College of Electrical Science in Belgrade. Theme is selling used cars on the internet(database connection with MySQL database). I have some questions for You: 1. The problem is, how can I define how much results of sql query will be show on html page ...
Hi folks.I have a really irritating problem. I am using JBoss 2.2.2 as my ejb server, and have successfully deployed the worlds most simple Session bean. I wrote a quick client app in JBuilder to test my bean and see that all was well with the world, but have come accross this problem:Everytime ...
204 byte By
zors at 2007-9-26 1:47:44
hello all! I need to realize support for authorization to SMTP server for sendin a message. are it possible using JavaMail? Please send me a sample if u have it! zvalov@kiev.relysoftware.com
300 byte By
Anjali_c at 2007-9-26 1:47:50
In JMS API the cretaeQueue() method is given for QueueSession.Can I use this method to create a Queue run time?I am getting NoSuchDestination error on using this .So what is this method for and how it should be used? Can anyone guide me?regards,Anjali ...
Hi All,I am using url encoding in my servlet for redirecting a request. The query string values has some spaces in them. The code I have used is shown belowString mname = "Jason ...
362 byte By
nhari1 at 2007-9-26 1:48:06
After submitting a request for processing a stateless session bean calls a procedure using callable stmt.This takes some time like 6 mnts.After processing it is suppose to give a message back.The browser times out in between and flashes page cannot be displayed.What can be done for this?Please ...
1086 byte By
davejet at 2007-9-26 1:48:11
Hi there,Does anyone know how to create thumnails and display them in a results page?I ve created a search servlet that enables you to search documents and images on a server and then displays the results in a webpage.I ve basically been stuck trying to create thumbnails of the images and ...
273 byte By
vlokesh at 2007-9-26 1:48:13
Hi.,I would be obliged if any one can tell how to deploy a JavaBean in JSP program. Please explain me how to achieve this in a JavaWebServer2.0.Please explain where to save the bean programs in The Javawebserver Thanks
HiI was wondering if anyone has an effective way of connecting to databases using javabeans and JSP.I am new to all this JSP stuff and would appreciate some helpcheers
430 byte By
baxel at 2007-9-26 1:48:20
I am doing an S/MIME EDI thingy, and I experience differences between IMAP an POP.When I invoke getContent() on a part to create a SignedMultipart (s/mime class), I get an IOException saying "IMAPBodyPart is read-only".This only happens with IMAP ofcourse, but I get no error at all when using ...
2917 byte By
stoneJ at 2007-9-26 1:48:23
I'm getting the next error when i execute my jsp file:Internal Servlet Error:javax.servlet.ServletException: javax.servlet.ServletResponse: method flushBuffer()V not foundat org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)at ...
Hi,How can I take the data from the forms in html.
393 byte By
misterph at 2007-9-26 1:48:48
Hello,Is there a way I can extract a stateful session bean handle and use it to obtain its EJBObject without using a jndi.properties file?I have several servlets running on a web server (Tomcat) and I would like to use differentproviders for some of them. How can I accomplish this? Without the ...
HiCMP entity beans in websphereWhat details do you need to put in the beans findbyprimarykey method when you only have one findbymethod in the homeinterfaceDo you put details in the create or load methodsThanksBrowne
hi,i have a question in dropdown lists.In Update module say u already have a id value for id.the user can modify using the dropdown so i want to display the existing value along with the other values so that the user can choose a id from the list and if a id is chosen then the correspoding name ...
I am trying to run example 3.asp from the example package that comes with j2ee-cas-com-bridge and I am getting the following error message:**********Error Type:J2EECAS.JvmControl.1 (0x80004005)The specified Environemnt variable: COMBRIDGE_HOME, is not defined./combridge/example3/example3.asp, ...
HI all,I'm a beginner in java and i'm investigate in a web project (website) which should display statistical charts. I did a beans to generate basic bar charts, but it is most difficult to build a Pie chart. That's why i need help to put me on the rigth way to build Pie Charts beans (this ...
1256 byte By
gwiens at 2007-9-26 1:49:24
I found out the hard way that using instance variables in JSP will inadvertently share data among different concurrent users. And when this data comes from a JDBC query which is specific to a user, it causes problems.One way around this is to declare the page not thread-safe ...
8101 byte By
Shmuliks at 2007-9-26 1:49:35
I am trying to validate an xml doc against a 'xsd' schema.I am using the DOM parser.I set the parser validation to true using :parser.setFeature" http://xml.org/sax/features/validation", true);andparser.setFeature( " http://apache.org/xml/features/validation/schema",true );I parse the ...
218 byte By
lckin at 2007-9-26 1:50:15
Did Java support Fax such like WinFax program? I would like to program fax client by using Java Technology, can someone tell me that whether it was possible? Thanks for help. Regards.
1576 byte By
m_ansram at 2007-9-26 1:50:18
Hi Friends, I am trying to retreive messages from a queue on a remote machine where MQ server has been setup correctly.(nojndi ) I am able to fetch the messages correctly when I use the MQ Base Java API. But I get an exception when I use JMS Api. I am able to put messages on the queue with both ...
250 byte By
wmacey at 2007-9-26 1:50:38
If I have a bean that I want to connect to the DB, and I put the connection function into the constructor of the Bean. I need to make sure that I close the connection, is there a Bean Destructor as well, and how would I colse it?
494 byte By
bisineem at 2007-9-26 1:50:39
Hi!I am using JAXB to generate my java classes. I have a third party dtd which I am using in the process. I really need to change the names of the classes that the xjc compiler is generating (for eg , for a request element in the dtd xjc generates Request.java ; what i really need is ...
1144 byte By
preaney at 2007-9-26 1:50:52
I posted this question here in March but got no replies. Here goes again:Hello:I've found that Tomcat has copies of some (but not all) of myclass files in a directory unde the work dir. These areclasses that were created by me for use in my web apps (although they are not web-specific). The ...
HiI am a newbie to XML and I have a question on XML/Java, hopefully, you guys would be able to give me some pointers to solve this problem.Here is the scenario. I need to design (might have to implement as well) a set of Java libraries that can retrieve data (basically, it's some kind of ...
580 byte By
armreon at 2007-9-26 1:51:08
Hi,I have the following code in a recordfollowup.jsp,<jsp:include page="contacthistory.jsp" flush="true"> <jsp:param name="packet" value="<%=somevalue%>"/> </jsp:include>I get this exception "recordfollowup.jsp(364,0) "UnterminatedI tried using the end tag /> and then ...