446 byte By
usam at 2007-9-26 4:03:51
Hello,I'm new to JAXP and I have this problem. Perhaps someone can help me:I have a database. I get data with many select-statements over some tables. Now I want to get one XML-String/-File with the data. The Problem is, I have to cascade these data.I have to build dynamically the ...
I have a JSP page.....it cantains a form3 groups of radio buttons on the form ...(each group has 4 radio buttons....)I want the value of the each radio button be displayed on the page ......the user may change the value several times before submiting the form.....and I want all changes to be ...
Could anybody tell me how to print a crystal report from a JSP. I use Seagate Crystal Reports. Any advices or sample codes will be highly appreciated.
213 byte By
laker_66 at 2007-9-26 4:04:30
Hi,I was wondering if any one knows where i can find some sample examples to work on JSP. I'm familiar with the fundamentals but i have a project to work on pretty soon. ThanksR
455 byte By
ddwb at 2007-9-26 4:04:38
HI,I'm trying to send an e-mail with a contentType of "text/html". I'm able use the addHeader() method to set the contentType successfully, but when I try and set the body of text, the setText() method defaults the contentType to "text/plain". How do you set the body of text for an e-mail ...
After signing in to the site the user is bookmarking some pages, when the user is visiting those bookmarks the next time, login page has to be poped up and the user has to validate his username and password and then, the user has to be redirected to the page he wants to see. Right now I am able ...
586 byte By
venka001 at 2007-9-26 4:05:15
Hi All,I am trying to follow the J2ee tutorial examples. But whentrying to use ant I am getting this error...please helpMy ANT_HOME =C:\jakarta-ant-1.4beta1And My path includes C:\jakarta-ant-1.4beta1\binamong the other.C:\j2sdkee1.2.1\j2eetutorial\examples\src>ant converterBad command or ...
604 byte By
fmlhjl at 2007-9-26 4:05:58
Familiar with HTML frames? Is it possible to have a jsp frame and have a jsp includes where there the frame src syntax goes to source the jsp file into the frame? If so what would be the syntax...?My problems stems from having a parameter in the the url and the jsp page that is next has to know ...
1015 byte By
blue8173 at 2007-9-26 4:06:06
Hi,I'm working on a website that requires different include statements depending on the user's selection (selection box)this is what i have:<%if (selected == 1){%><%@include file="page1.jsp"%><% } else if (selected == 2){%><%@include file="page2.jsp"%><%}else if ...
1829 byte By
beattris at 2007-9-26 4:06:29
Good day developers,Has anyone noticed that the quality of the questions in this forum have been degrading over time? I just can't believe some posts that come through here. For example, I can't even count on both hands how many times I've seen this one, "I need a JSP that shows 10 records ...
Hi,I am new to XML(two days).I need a sample code using Sax parser using DTD to validate and retrieve elements.ThanksSathishA portion of XML looks like<address> <address1>2000 Test Rd.</address1> <address2>Apt 1</address2> <city>Fremont</city> ...
This error comes when i am trying to run a servlet to send email. How can i get rid of this and get it to work. To look at the source code please see: http://forums.java.sun.com/thread.jsp?forum=31&thread=133501
404 byte By
fakkundo at 2007-9-26 4:06:51
I have download de java mail example from sun, and I tryed to send a mail with a picture. But I couldn't send the mail. I recived a mail that say that the smtp server did not reach the recipient(s).One thing I want to ask is: Don't I need to put the password of the smtp server? If yes, ...
400 byte By
bx1 at 2007-9-26 4:06:56
Hi,to read a file uploaded, i use :InputStream s=request.getInputStream();and i convert the input stream in a string.So,i would like to read it to localize some pattern and retrieve the next elements, but i don't no how ?have you got an idea ?maybe do you no how to analyse an inputstream to ...
941 byte By
Omnigunk at 2007-9-26 4:07:00
I'm trying to install the Java Embedded Server Framework and I did it like this! I extracted setup.class into g:\jes2.0. My jdk is installed in "G:\winnt\jdk\bin". I add "g:\jes2.0" to my environment variable based on the help file"Make sure your CLASSPATH environment variable contains . (the ...
I have this in my test.jsp page. When I run it in Jrun3.0 server, I got '500 internal server error'<%@page contentType="text/html;charset=utf8"%><html><head> <title>Untitled</title> </head><body> Test</body></html> 500 Internal Server ...
I'm using a Sax Parser on a streaming XML feed and this feed has some errors in it, so I need to know if there is any way to catch the error and continue parsing.Thanks,Mass
I have written an application that starts off with an index.html file which then calls servlets which in turn calls other servlets etc..and it all works well.Now, I want to compress them all into a single app.war file and run the application off the war file.I did: jar cvf app.war *.html ...
Hi,I'm trying to write a tag that basically invokes another JSP tag 5 times with different values for its attribute. I'm just wondering if there's a way to accomplish.I tried creating instances of the tag that i'm invoking and then calling doStartTag() and doEndTag(), but this doesn't ...
309 byte By
Brunky at 2007-9-26 4:07:26
Is there a way to tell which parser, Oracle, Xerces, Sun, is being used under JDOM. I'm getting a SAXBuilder, but I want to make sure it's using the right parser underneath. I know how to set it, but I want to know how to prove that's what is being used.Thanks in advance,Brunky ...
170 byte By
wmacey at 2007-9-26 4:07:31
Is there any possible way for JavaBean to Communicate with JavaScript?I have read a few....No Never responses, but am lloking for a definitive answer
512 byte By
adwillia at 2007-9-26 4:07:38
Hi,I am trying to access all of the folders of outlook and I have had some luck. I have run into problems with the calendar. I can get all of the information out except for the start and end times of the meeting (rather important pieces of data). I printed out all of the headers and was not ...
163 byte By
Brunky at 2007-9-26 4:07:47
Has anybody been able to use a Sax2 parser with JDOM other than xerces. java -Djavax.xml.parsers.SAXParserFactory=?Thanks,Brunky
209 byte By
Duker at 2007-9-26 4:08:00
Hi When the compile the sample code Echo10.java, I am getting an error saying Attributes, DefaultHandler are not found. Please let me know in what pakage these classes will be there
822 byte By
arunvis at 2007-9-26 4:08:15
I am having two jsp pages and one servlet.First jsp is calling second jsp and second jsp is calling a servlet as first jsp page <html><body><form method=postaction=""../jsp/second.jsp><input type=text name=text1><input ...
Hi,I am trying to download the JSDK2.0 since the apache JServ supports only JSDK2.0 and when I finsih downloading, there are no jar files or lib folders.Please help me........ThanksRegardsSuman
1765 byte By
verdi96 at 2007-9-26 4:08:21
According to tutorial or specification (in my perception),the following tag will create a new bean if it doesn'texist:<jsp:useBean id="prodDetail"class="mycomp.model.ProductDetail"scope="request" /> Say I put the tag in Product.jsp, and it is an entry formfor insert and update a new ...
584 byte By
yu_hung at 2007-9-26 4:08:27
Hi thereI am using JBuilder 4 to create a Servlet and JSPes. When the client requests come it first goes to the Servlet and then the Servlet passes it to the appropriate JSP.Now I want to use some custom tag in the JSP page and I found that when I run the Servlet in JBuilder 4 it could find the ...
dear all i have diff. JSP, they are also want to share a common variable, is it a efficient way to code that? i don't want to use a method that using GET method transferring from one page to another page. thanks yan
I want to pass a database connection string to JSP file ,from where i put my connection String and how can a jsp file get this string ? I want to make my code generic to change connection string repeatedly.
390 byte By
petermok at 2007-9-26 4:08:39
I am new to EJB. I understand that using home.create(int productID, String description...etc) will call the the ejbCreate(int productID, String description...etc) in the Bean (container managed) and the new data will be added to the database. What happen if the productID in my database is a ...
454 byte By
sa1233 at 2007-9-26 4:08:49
Hi, I installed j2sdkee1.2.2 . I set the class path as c:\j2sdkee1.2.1\lib\j2ee.jar and PATH as "c:\j2sdkee1.2.1\bin;c:\j2sdkee1.2.1\lib". I also edited userconfig.bat under \bin directory and set J2EE_HOME=c:\j2sdkee1.2.1. Everytime I try to start the server with "j2ee -verbose" I get the ...
Hello friends,how can we determine the size of a file from the system before uploading it i dont see any method in file class that can get me the size of fileUrgent!!!!!!!!!!!!!!!!!!!!11
I have written a jsp file that checks for the username and password of a user and then logs them on to a database. When I include pictures or sound using normal html code such as <bgsound src=blahblaf> I get the following error 404, what is the cause of this error and how can I correct ...
349 byte By
BRoberto at 2007-9-26 4:09:05
I have a linux system. I would want to use Apache as web server ( for HTML file ) and Tomcat as application server ( for JSP file ). I have my sites in dir /var/www/... and I have configurated Apache to "read" these sites... but when I insert a JSP file in these directories Tomcat doesn't work ...
I am new To Java-XML Technology is any one here kind enough to help me hopw to proceed further, what to download , how and from where to get help .
Hi allI'm writing a small server-program that receives and sends XML data. For this, I'm using the jdom and the xerces packages. My code compiles fine, but at runtime it yields a NoSuchMethodError for the jdom startElement method I am trying to use and propagates throught further jdom and ...
82 byte By
ctssdc at 2007-9-26 4:09:35
Any one having idea abt Server Side Push and how is it implemented .
639 byte By
lizmarc at 2007-9-26 4:09:50
I have a jsp page with some images. I forward to get from a servlet. No matter what I do, Tomcat cannot find the images even though the images are in the same directory as the jsp page. I get a 404 error. My servlet code is pretty simple:RequestDispatcher dispatcher ...
336 byte By
obersong at 2007-9-26 4:09:51
Hi!I need FREE servlet / jsp hosting.I searched the net, but I didn't found a provider that hosts ~10Mb of servlets, jsp and mysql database.I realy need it to earn money. Can anyone help me?the provider has to give me access to a 10 Mb mysql database, and 5 jsp pages.Thanks in advance. ...
182 byte By
rahulkz at 2007-9-26 4:10:08
Hi friends,i am new to JMS.Where i can get good resources on JMSPlease suggest books and web linksThanks in advanceRahul Zulknathiwar
1177 byte By
teka at 2007-9-26 4:10:11
Hello,How can I redirect to a servlet from a jsp without hardcoding any directory/parts of the url?I am using tomcat v.3.2.1.The webapp is behind a proxy server and that address can change so when the real url to a jsp called myjsp.jsp would be something like "www.host.com/webapp/myjsp.jsp", it ...
hi !i want to know is it possible to access COM components say MS Outlook using JSP.I have learnt that it could be done thru JavaBean Bridge for ActiveX/COM.Can any one tell me how to go about this.pawan
653 byte By
im_cwk at 2007-9-26 4:10:14
I'm now using jswdk-1.0.1. I need to create an object from a static class(SystemLogger) to create a log file when server is started, so that when later the program run, it can refer to that object to print log message inside the log file. Now, when I add "start java InitSystemLogger" inside ...
403 byte By
qasims_1 at 2007-9-26 4:10:19
Hi,I am trying to do some work if the ResultSet is null . The Sample Code is if (rs != null) {While(rs.next()){Get The values from the database} } else if(rs == null) { <jsp:forward page="XYZ.jsp" /> }The seems to be very simple. but not working.Any Sugetions about this ...
Hi there,Is there an equivalent to the above ASP statement for JSP. I ma trying to include a header page in al my pages that does authentication based on a session var.e.g. <jsp:include file="header.jsp" flush="true" /><body>...where header.jsp is something like<% if (var == ...
hello,there is problem in Mysql database connectivity.when i connect JSP program to Mysql database it gives error : Server configuration denied access to data sourceplease help me asapkuldip jainkuldipjain@rediffmail.com
538 byte By
jonesro at 2007-9-26 4:10:56
I've put my classes that support my servlets in the servlet classpath, this way the classes are reloaded the same way servlets are when changed and you don't have to reboot the webserver. My problem is my JSP's also use some of these classes and I'm getting the old 'ClassNotFound' ...
554 byte By
amtanoli at 2007-9-26 4:10:59
hi,i am working with weblogic 5.1, oracle 8 and linux 7.0. i am trying to use weblogic JDriver for Oracle. but the problem is that, how to set the path for JDriver. there is no entry in the weblogic documentation for linux for the directory to be included in the LD_LIBRARY_PATH. i have tried ...
I am a beginner and I want to know in details about normal bean and enterprise bean.Well in the beginning I have some problem understanding of doing the implementation by customer to build beans and enterprise beans....so I want it to be more specific in comparison between this two ...