151 byte By
dritesh at 2007-9-26 1:26:11
Is there anyway by which I can check the validity of email id before sending the Mail.If its there do let me know urgently.
I created my first JSP which needs to get some datafrom a bean. I tried several hours checking all over and over again but... stuck...grrrThe JSP-page is shown but not the value of fieldWelcomeText.any help welcome.--I included these lines in my JSP file :--<jsp:useBean id="welcome" ...
211 byte By
des_xu at 2007-9-26 1:26:52
Hi, does anyone know how to display all the text files in a directory using JSP codes?For example, I have a show.jsp, which have a textarea to show all the text files in a directory. anyone?
189 byte By
des_xu at 2007-9-26 1:26:53
Hi again, does anyone know how to delete away a text file from a JSP page by choosing the file to be deleted then when you press a delete button, it will delete the file away?
Hey everyone,I want to test out my servlet/jsp application by simulating a huge amount of requests coming from about 50 different referers. So i thought i could have an array of referer Strings, and then create a bunch of HttpServletRequests by randomly picking from the array, but ...
i see maillist two months ago,but i forget now.would you please give me the address?thanks
175 byte By
sribk at 2007-9-26 1:27:25
Hi, I have objects with many attributes these I need to write on to a word file dynamically so that user can view report as word files.. how can I do this
315 byte By
caiyun01 at 2007-9-26 1:27:38
I written my wml in jsp. However, when i use nokia simulator to test. It give me a error saying mime type not supported. I had written:<%response.setcontentType="text/vnd.wap.wml";%>Do anyone know why?Please help me. I need to rush my project.Thanx you. ...
254 byte By
htroche at 2007-9-26 1:27:41
Is there any easy way I can create an EJB client to work over the web. The problem is that we can not open our firewalls to RPCs or RMIs. Any ideas? Any packages that let me abstract IIOP over XML to do this?Thanks,Hugo Troche
632 byte By
kttan at 2007-9-26 1:27:48
I want to have a XSL file to pick up the content of the XML file and fill it to an Input Text Field.The following is my XML file: -Profile.XML--<table><CompanyProfile> <Name>ABC, Incorp</Name></CompanyProfile></table>In my XSL file, the value of Name will be ...
Hi How do .jsp file know that browser supports cookies or not?Vinay
278 byte By
joey829 at 2007-9-26 1:27:56
Dear all,Can anyone tell me what's the difference between JSWDK and JDK? i've developed web application by JSP and servlet for more than a year, and the JDK for standard version is enough for me. I can't figure out when should i use the jswdk.Joey
Hi AllHow to make scrollable resultset.problem is iam calling the storedProc..code is:Conncetion con1=DriverManager.getConnection("jdbc:odbc:dsnname","uid","pwd"); CallableStatement cst1=con1.prepareCall("{CALL ...
Dear All,Currently i am running weblogic 5.1 for my javamail Application/WebMail. I have copied mail.jar, activation.jar,pop3.jar,imap.jarmailapi.jar in weblogic\jre1_2\jre\lib\ext folder. I get "javax.mail.NoSuchProviderException: No provider " exception when i run jsp page.Balaji ...
323 byte By
tsangboy at 2007-9-26 1:28:29
Do anybody know how to get the variable from JavaScript into JSP's variable?for example:<script language="JavaScript"><!-- Hidefor(i=0;i<10;i++){temp = <%=name.elementAt(i)%> //this JSP's "i" should be equal to the JavaScript's "i"} ...
493 byte By
hikiran at 2007-9-26 1:28:34
hi,I got stucked to read a file which is at the server, i used this code :java.io.FileInputStream fis;String ipaddr="";int ch;try{fis=new java.io.FileInputStream("server.ini");while((ch=fis.read())!=-1)ipaddr=ipaddr+(char)ch;ipaddr=ipaddr.trim();System.out.println(ipaddr);}catch(Exception ...
726 byte By
silmx at 2007-9-26 1:28:40
Hi,I test an application on J2ee application Server and on stress condition I got a server error:java.lang.OutOfMemoryErrorat java.lang.Thread.start(Native Method)at org.apache.tomcat.service.TcpEndpoint.processSocket(TcpEndpoint.java:246)at ...
Hi all,I have found (in the jdc) that it seems to be difficult to create a dynamic (data coming from db) Pie chart using JSP page. I did a beans that create basic Bar charts. Is there any way to do the same for a pie charts ? (without commercial solutions).I'll prefer a Beans instead of a ...
248 byte By
sbpyari at 2007-9-26 1:28:56
Hi all I want to create CMP bean without primary key. is it possible.. cos my table fields doesnt have any unique datas and also i dont want to create any column in that table.. Thanks in advancePyari
Is there good ways to test EJB? Including the tools,method and the document?Thanks a lot !
187 byte By
andeka at 2007-9-26 1:29:02
We want to develop a statefull EJB, but we want that all of its instances have the same data. Can we share information between them? (no with a database)Andeka Puente
188 byte By
Anjali_c at 2007-9-26 1:29:32
Hi ,Can I create destinatios run time. If yes , is it temperory or permanant.If any one knows how to do it . Please share it Regards,Anjali
231 byte By
silmx at 2007-9-26 1:29:46
hi,can anybody tell me how to configure a webcontainer for JBoss (Tomcat I suppose)Or point me to a documentation, I think JBoss has a great ... lack of configuration documentation...please
I have a vector containing a vector[[code,color,category],[code,color,category],[code,color,category]]I then pass this vector z to jsp and remove them for(int s=0; s<rowCount; s++){vector c = (Vector) z.elementAt(s);The code is then displayed in a ><select> menu<option ...
1110 byte By
wvtbg at 2007-9-26 1:30:22
When i want to run a jms application with java <class> I get an error. But when I run it with vbj it works.The error i get is:javax.naming.NoInitialContextException: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet ...
hi,i'm trying to update records and when i edit a particular value and click update it gets updated in the database but the changes are not visible in the current screen.instead if i click the update button again i can see the change.can anybody help me in this such that i'll be able to see ...
358 byte By
MVeena at 2007-9-26 1:30:25
Hi,Are there any ( non-3rd party) API's which support convertion of XML docs to PDF.(I know its possible using the FOP package in the org.apache.fop.* )Is there any in the standard packages ? If yes, can u give me a brief description of how to use it..Its a bit urgent,Thanks in advance,MVeena. ...
I'd like to access an EJB server from an existing client application written i C.Is it possible to do that via JNI? How?Thanks,Hans.
Hi all,Ive a form which send some data by post method to a jsp page. After that, I do some management and then I d like redirect to another page using post method and, of course, adding or exchanging some data in the form. Is it possible?I dont want to use request.sendRedirect method. Because ...
i'm trying to update records and when i edit a particular value and click update it gets updated in the database but the changes are not visible in the current screen.instead if i click the update button again i can see the change.can anybody help me in this such that i'll be able to see the ...
487 byte By
geetuR at 2007-9-26 1:30:57
Hi,I have a jsp page that calls a Pop up Javascript calendar. In the Jsp page the user can select an event for registration. He then needs to select a date for which the event is to be registered for. If the event has already been booked for that date, that particular date needs to be colored ...
879 byte By
Priyam at 2007-9-26 1:31:02
Hi, I have a problem with javascript functions. I really need your help asap. I have two functions. printArray() & nextRecords().I'm passing parameters between these two functions.printArray() is displaying first 5 elements of Array . Then this function has 'Next' button . If I click ...
756 byte By
stoneJ at 2007-9-26 1:31:12
Hello,I'm new to JSP?When i call a methode in the bean (getTable())from the JSP file....This methodes gets the entire content of the table to the Resultset in the bean..ResultSet rs = stmt.executeQuery("SELECT * FROM Calc");while (rs.next()) {String n = rs.getString("Name");String a = ...
378 byte By
tbrito at 2007-9-26 1:31:23
Hi!I use the session object within my JSP pages, though i never really explicitely create it! I do the putValue and the getValue and everything works out just fine...but i would like to know how can i close it. P.S.-> If there are some documents or links on security i should attend, it would ...
550 byte By
lionzip at 2007-9-26 1:31:26
Can anybody help me?In the beginning when jdk1.3.1 & tomcat3.2.2 are just set, they both can work porperly, but after setting mod_jk.conf-auto (for running jsp), Apache can't start and give out the following error msg: Starting httpd: Syntax error on line 60 of ...
252 byte By
jpoz at 2007-9-26 1:31:42
Hi, I have managed to info from JDBC to an applet using JSP as an intermediator. My next task is to update a record. I am wondering how to send the fields of an applet to a JSP page. Any hints would be much appreciated.James
function Codes(){codeid=document.topics2.sublevels.value;alert(codeid);//this alerts the value e.g 3code ="<%=codeHash.get("%>codeid<%")%>";alert(code);document.topics2.code.value=code;}This gives nullCan anyone see the problem with the above. When I put in a value code ...
This is probably an easy question but I can't find anyone to help me.I am using the apache.crimson.parser to parse and validate an Xml doc against the BASDA eBIS-XML purchase order schema but i can't get the Namespaces right.I have this at present for the Xml doc;<Order xmlns ...
558 byte By
stricch at 2007-9-26 1:32:11
When starting Tomcat I've modified the .bat file to put both the xlan.jar and xerces.jar files in the path. But when I try to access the servlet from the browser I get a classdef not found error.I've extracted the xlan.jar to my classes path, and it solves that problem for the xlan classes, ...
292 byte By
wmacey at 2007-9-26 1:32:13
I was hoping to find a function like request.getReferrer(), but according to my books there is no such thing(****)Is there any way to get the URL of the page you just came from, I need it in case I need to send you away, back from whence you came kind of thing...?
XML is supposed to become popular because it has been standardized by the w3c , but how much are the parsers and xslt code compatible with each other?I tried to write a xslt using msxml parser and try to run it with a xerces/xalan parser? I had numerous problems making it work and finally gave ...
152 byte By
pouac at 2007-9-26 1:32:19
what kind of problems can occur if i develop an application based on soap protocol with a VB client and java server ( apache server web) ?
i'm trying to update records and when i edit a particular value and click update it gets updated in the database but the changes are not visible in the current screen.instead if i click the update button again i can see the change.can anybody help me in this such that i'll be able to see the ...
592 byte By
sasbab1 at 2007-9-26 1:32:41
hiwhen I call the servlet alone from a html form, it works fine.when I call the servlet and javascript, control directly goes to servlet.If I remove the javascript, then the control goes to servlet that invoked this jsp.html code is as follows,<FORM METHOD="POST" action="/servlet/StoreInfo" ...
function Codes(){codeid=document.topics2.sublevels.value;alert(codeid);//this alerts the value e.g 3code ="<%=codeHash.get("%>codeid<%")%>";alert(code);document.topics2.code.value=code;}This gives nullCan anyone see the problem with the above. When I put in a value code ...
169 byte By
alexaa99 at 2007-9-26 1:32:44
how can i solve the error under win9x OS."no enviroment sopace" or "sin espacio en entorno"when i try start my tomcat server...
can someone explain to me, why it seems to be normal that when people want to share code on this forum, everyone else posts their email-adress and asks to mail it to them...If I had build an killer-app to share with u all (soon, hopefully ...), i wouldn't have the time to mail it you all (I ...
503 byte By
azyang at 2007-9-26 1:32:56
Hi all,I had problem of validating XML instance with Schema using java and xerces release 1.4.1.It seems that the SAXParser only supports DTD, not Schema. The DOMParser, will not even try to validate even though the parser.setFeature( " http://apache.org/xml/features/validation/schema", true ...
207 byte By
hyrum14 at 2007-9-26 1:33:03
I am taking in a textarea and adding it to a blob but I want to keep the spacing. I also need to escape some characters before it goes to the database. Are thee any built in functions for this?
1992 byte By
ulukb00 at 2007-9-26 1:33:26
Hi all,I use JavaMail API to send an email, but each time I call the send mail class I define. It sends the message 2 times for each call. I wonder if it's mail server's problem or there is something wrong in my code? I pass in a vector email address to that send mail class, would that be a ...