I am just a beginner i wan to know some links which will help me use the Java Mail APi Thanks in Advance
yes, action used as <jsp:useBean id="xxx" class="myBean"> and myBean.class is located within the directory specified in CLASSPATH envrioment variable. but why couldnt' my jsp find my bean class and server returned error depict as "can't find class myBean.class"
1848 byte By
sarumii at 2007-9-26 3:57:20
I am trying to do a feedback form using javamail. I need to add some fields to the form and have them returned and aligned on the returned email, and am having trouble with this.I am using the following on the sendmail.jsp<%@ page import="java.util.*, javax.mail.*, javax.mail.internet.*" ...
1943 byte By
sarumii at 2007-9-26 3:57:21
I am trying to do a feedback form using javamail. I followed a artical "Using JSP with JavaMail" by Jayson Falkner, and it was very helpful. Now I need to add some fields to the form and have them returned and aligned on the returned email, and am having trouble with this.I am using the ...
2792 byte By
abilal71 at 2007-9-26 3:57:29
My XML file looks like this .....<properties><property><name>Sybase ...
87 byte By
zikman23 at 2007-9-26 3:57:57
i need a code simple on how to delete an element node and his attributes
I want to dynamically include a file in jsp.%@ include file= [variable name] %>Is this possible?
267 byte By
bjdouros at 2007-9-26 3:58:36
I was wondering if I had a message board similar to this one that was built in C++ CGI, how long would it take to convert, on average, to a JSP forum. I am basically looking for some kind of conversion time frame from CGI to JSP. Opinions are welcome...
3010 byte By
peter_z at 2007-9-26 3:58:40
Hi, every one,I made a program in jsp as follows:... // Connect to the databaseClass.forName("org.gjt.mm.mysql.Driver").newInstance();Connection con = DriverManager.getConnection("jdbc:mysql:///test"); // SQL RequestStatement stmt = ...
6606 byte By
ericp56 at 2007-9-26 3:58:41
I had J2EE running for about an hour and I can no longer bring it up.J2ee loaded fine. I could see localhost:8000 in my browser.I tried to deploy the ConverterApp demo so I could test out J2EE.When I clicked on "Generate SQL," the deploytool froze. I had to kill it. Since then, J2ee no longer ...
676 byte By
longH at 2007-9-26 3:58:43
Hi all,Environment : Windows 98/95, Tomcat 3.2.1, Access DB. I wrote an HTML file to call a servlet:...<FORM ACTION= http://localhost:8080/book/servlet/bookservlet METHOD="POST">...It works fine.But I need to change to use the web address, it doesn?t work....<FORM ...
1081 byte By
al3xii at 2007-9-26 3:59:00
Hello people, I'm having problems to make work one variable in the <iframe>. i hope somebody help! the variable is : "sel"im tryng : <iframe src=js/"$sel"></iframe>and it comes from : <script language="javascript"> <% java.lang.String selec1 = ...
1243 byte By
venka001 at 2007-9-26 3:59:13
Hi all,I just installed jdk1.3.1 & j2sdkee1.3 on Win 95.Then in order to start the J2EE server I executed these in a DOS prompt, I am getting this error...C:\> Set path=c:\J2sdkee1.3\bin;C:\Jdk1.3.1\bin;C:\Jdk1.3.1\Jre\lib;%path%;C:\> Set J2EE_CLASSPATH=C:\JDK1.3.1\lib;C:\> ...
Hi,I am new to XML, I have to use a DOM parser to read the data from a XML file, please provide me a sample code for the same.ThanksSathish
915 byte By
Schlepp at 2007-9-26 3:59:22
Hello,I am having problems with J2EE 1.3 beta deploying an application that uses jsp directives for importing. All the other developers in my team are using the 1.2 version of the J2EE SDK and have no problems, but I thought I would try the 1.3 version. In our JSPs, we have lines ...
Hi all,can somebody help me on this.....TraderHome traderHome =(TraderHome) PortableRemoteObject.narrow(home, TraderHome.class);this is cast to a particular type. Can i dont the same type of casting Dynamically at runtimethat is .....String homeName = "com.x.MyHome";"com.x.MyHome" traderHome ...
500 byte By
urciolo at 2007-9-26 3:59:25
Somewhat generic question:Hello, am considering a JMS setup where I have a queue on a server for all attached clients to pull messages from based on a filter.I was thinking of using a clientID generated by a server a filter for messages. Hoever, if a client needs to recieve this clientID in a ...
I am trying to put some access control on different files in my war-file, but just can't get it to work... It seems like all roles defined in weblogic.properties gives the user access to all files in the war. I just don't understand the connections between the security realm, the ...
183 byte By
lj75 at 2007-9-26 3:59:49
Hi all:Can you recommend some good tutorials on EJB? I am a beginner on this, so a beginner/intermediate level tutorial would be appreciated.Thanks!
hi there!!i want to run javaw.exe with a class file as parameter on our web server.I tried all combinations using Runtime.getexec().a few options work but only when implemented as an application.to my grief,nothing works thru the servlet .could someone please help.Thanks in advance. ...
580 byte By
sicarson at 2007-9-26 3:59:53
I am building a wizard with the pervious and next button. How do you keep the information entered in each part of the wizard to stay? (Ex. In the name field I will enter "Carson" and click next button and go to the next screen. But, if I was to hit the previous button to go back to the screen ...
465 byte By
bx1 at 2007-9-26 4:00:02
I am working about a web application using jsp and corba, and i would like to read a file from a client through an HTML form ( with the enctype multipart/form-data), is someone could explain me how to retrieve the data from the file and send it to a database ?and how can i replace the method ...
360 byte By
misterph at 2007-9-26 4:00:04
Hello,When a user clicks on an item, I want to execute a JavaScript function. Within that function, I want to set specific JavaBeans (<jsp:setProperty... />) within my JSP page.Can anyone tell me how to do this or where I can find examples on how to set JavaBeans in a JSP page using ...
413 byte By
hiuyungw at 2007-9-26 4:00:11
I got nosuchmethod SAXParser.getXMLReader() exception at run time in jsp file when I excute the following code:SAXParserFactory factory=SAXParserFactory.newInstance();SAXParser parser=factory.newSAXParser();XMLReader reader=parser.getXMLReader();I used jakarta-tomcat-3.2.3.But, when I wrote the ...
191 byte By
mikesab at 2007-9-26 4:00:14
I have mysql installed and Tomcat installed. How do I get mysql to acknowledge Tomcat as the localhost? They are in separate directories on my c: drive. Thanks a million.
314 byte By
Latas at 2007-9-26 4:00:15
When I call some JSP for the first time, and it comes to redirect to another page, it inserts into the query string a "jsessionid" parameter, and that prevents the redirect process from completion. But from the second time on, that parameter no longer shows up. What is the reason for that to ...
426 byte By
mdjavid7 at 2007-9-26 4:00:34
we have to set around 50 fields from the jsp page to the variables in the class. here if we use property="*" then all the fields will be set by itself.Here should the variable name, method name and form textfield name be all same like if the textfield name is "Name" then the method name is ...
766 byte By
mdjavid7 at 2007-9-26 4:00:39
In my JSP application, i am navigating through nearly 10 pages. I am keeping some value in session in first page. In middle of the navigation, sessgion is getting expired. i.e session value is getting null. What might be the reason for this? To retain the value through out all the pages and for ...
314 byte By
psynnott at 2007-9-26 4:00:41
This might sound like a stupid thing to do.If I have a main website developed in jsp and I want to pass information (variables) from it to another component of the same site developed in asp on a separate server is this possible?If so how might one do it?Many thanks Paul ...
I'm using the J2EE Reference Implementation version 1.2.1 to deploy an application. I want to make my application the default webapp such that when a user enters the URL www.mysite.com they will be taken to my application home page index.html. The index.html will take the user to a servlet ...
408 byte By
ajay_k at 2007-9-26 4:00:54
Hi All,I am trying to set the Maximum Inactive Interval to 5 minutes.When i set it like :session.setMaxInactiveInterval(300) ;And then print the interval as :int maxinactiveinterval = session.getMaxInactiveInterval() ;It prints 30000. This is irrespective of what timei set, it is always 30000. ...
783 byte By
tnr009 at 2007-9-26 4:01:01
Hi,Can someone help me with providing some code on how to strip off the XML tags in an XML file like the following:<?xml version = '1.0'?><!--<?xml-stylesheet type="text/xsl" href="XYZ.xsl"?> --><ROWSET><ROW ...
1272 byte By
huimu at 2007-9-26 4:01:05
Hello all,I am just a beginner for EJB, and writing a simple example of EJB. Some questions confuse me.1.about serverI just use JDK1.3.1 and JSDKEE1.3, is it all right? Do I need another things, for instance, weblogic ( what is this?)?2.about deploymentI wrote some code( CMP) include: home ...
99 byte By
adamrau at 2007-9-26 4:01:11
Is there a limit to the #of characted passed via ? in the URL.TanksAdam
215 byte By
ajoy_raj at 2007-9-26 4:01:17
hi,Does anyone know whether we can use JSDT (Java Shared Data Toolkit) on an EJB server ... Please provide me any pointers or urls you may have regarding the same.thanx,Ajoy
how to do?
80 byte By
Myjammin at 2007-9-26 4:01:46
How to manage transactions for Stateful or Stateless session beans
226 byte By
UsmanAli at 2007-9-26 4:02:08
I want to setup my computer to run JSP and Servlets.What kind of Servers and other tool i need to install to run JSP and Servlets.Plz, Help me to start my work on JSP.Regards,Usman Ali
i am new with java technology i want to know about addvatages or disagvantages of JSp over Servlet and vise varsa in term of Software life Cycle?
I have made a servlet. first, i connect computer and hub through serial port, then i made the servlet . l want torun it like this: a server is running a servlet, which is waiting for a doGet() request. when it gets this request, the servlet send some message to hub, then get some response from ...
539 byte By
ajalali at 2007-9-26 4:02:19
Hi for my website I have added the functionality of accepting almost any type of image like tiff, gif, jpeg,... from a user and after its upload render different size images form the file and convert it to a jpeg file. This is part of my current application but I was thinking that I would ...
Hello,everyoneI am from Bejing,China.I have a question about Chinese,as the following:First,I use a html file to describe my webpage:........<FORM NAME="form1" ACTION="./jsp/test.jsp" METHOD="post" accept-charset="GB2312" ><P><TABLE NAME="table" BORDER="2" CELLPADDING="4" ...
232 byte By
bpchia at 2007-9-26 4:02:23
i am using jdbc-odbc-bridge to connect SQL database,but i need to set the System DSN (ODBC) before i canconnect to SQL database, is there any others way toconnect but no need to set the System DSN.
163 byte By
zikman23 at 2007-9-26 4:02:31
i have a big and comlex xml document i need a code example for deleteing a node with his attributes and then how to save the remaining xml in a file.
2710 byte By
amtanoli at 2007-9-26 4:02:36
hi,i am trying to read and update the CLOB and BLOB datatypes in my entity bean. within an ordinary java class the same code works well. but when i deploy the bean with same code to read/write LOBS in weblogic 5.1, following exceptions are thrown, while reaching the ...
511 byte By
klotzki1 at 2007-9-26 4:02:37
I keep getting the following run-time error in my JSP page:"javax.servlet.ServletException: Cannot create bean of class mtjp.beans.JobApplication"My bean class compiles and follows the standard coding convention for beans. It has an empty no-argument constructor, implemented "Serializable", and ...
HI ALL,I would be thankfull to every one who will tell me how I can chane a HTML document into a JSP one,thanx.
Hi all,I have a jsp document , and a form in it......there are some radio buttons in the form.....I wanna show the value of the checkek buttons in some lables in my document...... what am I supposed to do ?regards,
413 byte By
caiyun01 at 2007-9-26 4:03:07
I using tomcat 3.2.3 to support my wml in jsp. I use nokia toolkit 2.0 to test. However, it say 'mime-type "" not supported.' I had added the following mime-type in the web.xmlextension: wmlmime-type: text/vnd.wap.wmlAlso, when i test run the toolkit, nothing happen at the server screen. So, ...
420 byte By
henrik-a at 2007-9-26 4:03:33
Hi, I'm using JMS to connect and send messages to a MQ Series 2.1 server.The connection works fine but when I send a message it is automaticly routed to the dead letter queue.Error message code is 2021 - something like "message format error". Is it possible that our MQ server is too old to ...