displaying StringBuffer in textArea field of a jsp file

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

more rows than I cna handle

555 byte By peterbarry2002 at 2007-9-26 1:42:37
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 ...

UploadPicture problem

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

Using a Variable in the Get PRoperty Tag?

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

SENDING BULK MAIL in JAVAMAIL

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

anyone knows XFlat language/tags well?

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

365 byte By pucherico at 2007-9-26 1:43:22
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 ...

Tomcat problems

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.

Writing data to Oracle using setAsciiStream

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

JMS client without JNDI

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

Please Help !!! XML beginner using Xerces

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

Xerces or JDOM which is better?

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!

what's wrong,my ejb example?

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

problem in using ' \n'

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

stylesheet problem

229 byte By xyzabcxxx at 2007-9-26 1:45:55
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

java bean

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

session

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.

dynamic values problem

329 byte By upgradeparimala at 2007-9-26 1:46:22
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 ...

Thread/Polling Solution

549 byte By jsjsjothi at 2007-9-26 1:46:34
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 ...

How To Set Scope Of Bean Through Servlet

679 byte By mohitagarwal at 2007-9-26 1:46:38
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 ...

How to implement selected effectiveness in jsp?

219 byte By blackwhite at 2007-9-26 1:46:50
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

Java to Javascript in Mac OS

346 byte By siddharthsethi at 2007-9-26 1:46:55
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 ...

Checking Value passed by Checkbox in a jsp page ?

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

Include JSP Directive with an attribut

233 byte By GregoireAlain at 2007-9-26 1:47:10
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

URGENT!!! I need a solution....

702 byte By IsakovicM at 2007-9-26 1:47:26
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 ...

Why the hell am I getting StreamCorruptedException?

1784 byte By andymoose at 2007-9-26 1:47:30
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 ...

Sendig of message using secure SMTP

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

What is the use of createQueue()

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

URL Encoder not working in Netscape

1138 byte By malini_nagaraj at 2007-9-26 1:47:59
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 ...

Page cannot be displayed after some time

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

servlet that produces thumbnails

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

Javabean in JSP

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

an effective way for JSP/servlets to interact with databases

210 byte By garethfiler at 2007-9-26 1:48:17
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

What's this then? "IMAPBodyPart is read-only"

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

Help:method flushBuffer()V not found

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

How to take data from the forms

71 byte By SharmaDeep at 2007-9-26 1:48:33
Hi,How can I take the data from the forms in html.

How to extract stateful session handle without using jndi.properties

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

EJB cmp

272 byte By DERMOTBOLGER65 at 2007-9-26 1:49:01
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

dropdown list

432 byte By greatchivi at 2007-9-26 1:49:07
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 ...

Using J2EE with ASP

557 byte By eugene1234 at 2007-9-26 1:49:11
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, ...

How can I create a Pie charts ?

473 byte By LearningSTF at 2007-9-26 1:49:19
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 ...

Implication of scope and variables in JSP

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

xercer 1.4.1 and xml schema validation

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

Did Java support Fax?

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.

Error retreiving messages from Queue

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

Java Bean Question

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?

.xjs customization in JAXB

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

Tomcat copies .class files from outside its classpath to work dir - ?.

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

A generic XML DTD

2276 byte By foreverjava at 2007-9-26 1:50:56
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 ...

problem with jsp:include ..any ideas ?

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