Does anyone know a good (preferrably free) tool to convert a JSP file to valid XML format?I've tried Tidy, but this tool can convert HTML to XML or XHTML but not JSP to XML. It will check first if my JSP file is valid HTML, which it is not (because there are a lot of JSP tags included, which ...
310 byte By
iazurita at 2007-9-26 2:48:10
I just downloaded the jsdk1.4 for win. When compiling any file with the import javax line on it i get the following error:hola.java:1: packagimport javax.*;^1 errorI already have added the jdk1.4\bin path and still doesnt workCan any body help me? ...
http://www.mydotcom.com:8080/examples/.....jspHow can I hide the port 8080, cause this is what shows on the URL.thanks
185 byte By
iazurita at 2007-9-26 2:48:26
Im compiling a simple servelt with "javac -classpath c:\jdk1.4\lib\Servlet.jar Hola.java" and i stiil get the "package javax does not exist" error what do i do now?
671 byte By
bcleary at 2007-9-26 2:48:27
It seems there is a problem with jdk1.3.1 support for JSPs when running Tomcat. When I enter http://localhost:8080 and get the Tomcat index.html page the jsp examples that can be accessed from there don't run. Instead, I get:java.lang.NoSuchMethodErrorat ...
814 byte By
ajorin at 2007-9-26 2:48:28
doing manual compilation:the message says that it can not find the remote interface which is returned by the create methodI have Win NT 4; J2ee 1.2.1; jdk 1.2.2.008;I have all the *.java sources in one package and all the files start with package com.mycomputer. ...;I am using the -classpath ...
652 byte By
belljo at 2007-9-26 2:48:29
I have run into a problem when trying to pass a fair number of http request parameters to another JSP using an HREF statement.Example:href="/pages/mypage.jsp?param1=xxx¶m2=yyy¶m3=zzz¶m4=aaa¶m5=bbb¶m6=ccc¶m7=ddd"Everthing works fine using Internet ...
133 byte By
sungava at 2007-9-26 2:48:44
Please help me to retrieve the option value and corresponding text from dropdown combo box.Thanks.Sungava
833 byte By
lec20 at 2007-9-26 2:48:58
Does anyone know if Java2 must be installed on the system where Tomcat is installed (ie. deployment machine), i have seen JAVA_HOME that needs to be set, so i set it to /usr/java, but that is only JAVA1.1. It seems that all my example jsp and test jsp pages work, but that variable concerns me. ...
Hi all,I am passing a value from a servlet to bean. one of the value that i pass contain "&" .eg: http://localhost:8080/test?name=xyz&address=abc&pqr&zip=00000here the address has "abc&pqr" as value to be passed. since it contains a "&" in that, I get a ...
2488 byte By
jpreble at 2007-9-26 2:49:04
I have run into a problem when running a simple test JSP/EJB web application that I put together just to try out some concepts. There are 2 JSP pages in the application:Login.jspUserInfo.jspThe login page requests a userID and password and uses a stateful session EJB to perform the login ...
151 byte By
iazurita at 2007-9-26 2:49:05
Right now Im programming with asp and want to start with jsp on win. I have some expirience programming applets. What do I need to start?
I am currently working on a JSP/JavaScript program: there are two interfaces. In the first interface, when the user choose "search by building" under search menu, the second window will be opened by using JavaaScript Window.open() method. There are two buttons on this new window, when the user ...
I have a bean that is being used as a helper class for a jsp page. I can call functions in the bean and display what is returned but I can't test the state of the bean in the jsp page. Is this possible? my code is below: jsp: a form posts info to this page <HTML> <BODY> ...
According to the JAXB web site, http://java.sun.com/xml/jaxb/index.html:"JAXB 1.0 will be available as an optional package for the Java(TM) 2 Platform, Standard Edition (J2SE(tm)). JAXB may be included in future releases of J2SE or the Java 2 Platform, Enterprise Edition (J2EE )." Does anyone ...
Hello,I want to know is there any way to know when a users session ends or when he moves to another site. For example in a Chat to know when a user after logging in just closed his browser window without logging out and then how to remove that users name from our users list.Is there any event ...
1564 byte By
bcleary at 2007-9-26 2:49:42
Earlier today I posted the following:<<Can anyone place there custom tags any anywhere other than in the "classes" directory? Here is my tag declaration from my .tld file.><tag> <name> dosomething </name><tagclass> DoSomethingTag ...
What does Reentrant mean when we are creating the deployment descriptor for an entity bean? I keep seeing statements about loopbacks or callbacks. What exactly does that mean in terms of the entity bean?PossumKing
174 byte By
dnguyen2 at 2007-9-26 2:50:00
I wrote a javamail program, I can only send mail to internal email address, but not to outside, any reason that could be?Thanks for your help.Dan.
could it fit my purposes...my purpose can be seen here http://forum.java.sun.com/thread.jsp?forum=31&thread=155662I was thinking that I could write the game in a text editor like this... is this XML and how I easily read this in to my game classes? <scene name=church><hotspot ...
248 byte By
me_elf at 2007-9-26 2:50:08
Hi .my problem is that Oracle db shows there are several open connections to it,where as the only thing that will have oppened a connection to db is ejb'sejb's have container managed persistancethanks in advance
211 byte By
w1981 at 2007-9-26 2:50:39
hello, everyone...i got a small problem here...i rushing my project now and i have to do some tranfering of files from the client computer to the server using jsp or javabean..can anyone help me...
479 byte By
wasforce at 2007-9-26 2:50:40
Hello,I have a 2 filled list box's on page 1, only 6 items maxin each box. I need to traverse other pages to get data and bring it back to page 1 and still bring up the original2 list boxes of data.Should I use parameters passing hidden variables?It would be easier it seems if I could hide 2 ...
54 byte By
srimathi at 2007-9-26 2:50:56
How to I create dynamic GIFs for my JSP?
256 byte By
erwinba at 2007-9-26 2:51:22
I use ResourceBundle class and create a LocalString.property file. But the JSP cannot at once get the new value after I append a new index. Maybe JSPmake a cache for all files.I want to clear all cache, please tell me how to do?
216 byte By
twinans at 2007-9-26 2:51:31
I am curious about the pros and cons of using DAO with CMP in an EJB 2.0 app server. It seems this would not be necessary ... Has anyone tried it? Is it even WORTH trying?Thanks,Tom
145 byte By
advit at 2007-9-26 2:51:50
Hi pals, using applet iam trying to get hostname of machine running. can any one suggest me how to do in simple way.
hi, i would like to is it posiible to create PDF files dynamically from jsp page.like online application form where applicant's name will dynamically coms into pdf file.help me out...thanks,kishore.
883 byte By
siv-viv at 2007-9-26 2:51:58
hi ,i have a jsp page which receives the user name and pass word by two simple methods like getPass()and getuser() , this method works fine by getting the password and username . what i need is that after getting this username and password i need to store them in a xml file which is existing , ...
471 byte By
sasbab1 at 2007-9-26 2:52:00
I have the following code in the jsp file,s1 is a StringBuffer containing multiple lines of text.<TEXTAREA NAME="DESCRIPTION" ROWS=8 COLS=100 value = <%out.println(s1);System.out.println("\nJust Printed line(s)\n" + s1);%>></TEXTAREA>Output from "just printed lines .. is ...
930 byte By
jesper1 at 2007-9-26 2:52:01
Hello all,In many cases when you create a web application including EJB's and a WAR file packaged together in an EAR file, you need some utility classes that are used in the EJB's as wel as in the servlets in the WAR. The utility classes might for example be value object classes that servlets ...
1002 byte By
siv-viv at 2007-9-26 2:52:15
hi ,i have a jsp page which receives the user name and pass word by two simple methods like getPass()and getuser() , this method works fine by getting the password and username . what i need is that after getting this username and password i need to store them in a xml file which is existing , ...
801 byte By
gary_lo at 2007-9-26 2:52:18
Hi,I'm just wondering whether it's possible to run the full version of cloudscape database downloaded from www.cloudscape.com on a separate machine from the Sun's Reference Implementation of J2EE Server. If this is possible, what are the configurations please? I know that this architecture ...
350 byte By
eltho1 at 2007-9-26 2:52:31
I had writtern a servlet prog which send mail withattachment of a file , it is looking the file form local drive.If i access the servlet from another pc while sending , it is looking the local path obviously i will get the file not found error.how to solve this ? guide me !thanks ...
312 byte By
congha76 at 2007-9-26 2:52:41
Hi,I use method Post in jsp page is sucessful with Tomcat 3.2.1. But have problem when running under Apaches. I must change method=post to method=get It run successful. My data is large, i can't use method get. I need a help from you to solve this problem. Thank a lot.Cong Ha ...
hi everyone,here is my prob:i created a form with a input type="text" an a input type="file". normally if i do a request.getParameter() on the following page, i can display all the form variables. but if there is a input type="file" in that form i have no chance to get the form variables any ...
377 byte By
ggayu at 2007-9-26 2:53:22
Hi Techies,Is there any easy way to generate html output using servlets. my project consist of more than hundred servlets which will output html content after server side processing. I feel more time is wasted in writing code for generating the html content.is there any tool which converts html ...
2406 byte By
raspus at 2007-9-26 2:53:24
Hi All, HELP NEEDED URGENTLY!!! I am writing a JSP application that access an Oracle database and makes use of Java beans. The case is: a user logs in, login information is set in the bean P_USER P_PASSWORD When a user clicks on a hyperlink (from a select.jsp file) the JSP sets these ...
Hi I have a servletwhich processes client request.The processing of request takes some 2 to 3 minutes.In the mean time if the operator at the client terminal presses the back button on the browser or if he closes the browser window,I want to throw a Exception and get notified.How do i do ...
66 byte By
ShagVT at 2007-9-26 2:53:40
Can anybody point me to a good reference on taglibs?
602 byte By
adamrau at 2007-9-26 2:53:54
Hi all,Why does this error occur in netscape. Its says the form is undefined and the forms name is form1.Questions.1) Is there a way around this without javascript?2) If must use javascript, can i code this instead of puttin in the onLoad statement. The reason I would want to do this so i can ...
Unable to compile Class for JSP
Can anyone let me know how to raise a "open with" dialog box for a unknown MIME type.thankschandru
1002 byte By
siv-viv at 2007-9-26 2:54:05
hi ,i have a jsp page which receives the user name and pass word by two simple methods like getPass()and getuser() , this method works fine by getting the password and username . what i need is that after getting this username and password i need to store them in a xml file which is existing , ...
1002 byte By
siv-viv at 2007-9-26 2:54:06
hi ,i have a jsp page which receives the user name and pass word by two simple methods like getPass()and getuser() , this method works fine by getting the password and username . what i need is that after getting this username and password i need to store them in a xml file which is existing , ...
502 byte By
jshamann at 2007-9-26 2:54:17
Hi all, I'm a newbie in java (and jsp) and i want to use an applet to display pie chart. This applet should be filled up dynamically by a jsp (or other) file: data coming from db.I don't know if you can do that (it seems, according to threads in jdc, that it's difficult), how can we do that ...
382 byte By
jusbe at 2007-9-26 2:54:24
Hi Friends,I'm newer in XML in Java Technology.Where I find a good samples and good documentations...and, I'll really appreciate if somebody send me a java sample to parse a simple xml, ...
212 byte By
jazztoy at 2007-9-26 2:54:40
Hi all,I have 2 pages using the same third page to process data, how can I tell the 3rd page to go back to the appropriate page that sent the request?Many thanks in advance!!Un.
416 byte By
CHEERS at 2007-9-26 2:54:45
In one of the JSP I have created I seem to have way too much javascript that is there to do some validation of inputted data by the user. If the user enters something that doesn't fit, they are given an alert msg box. Is this an acceptable JSP practice or should I find a way to place all this ...
How can I assign javascript variables to jsp or java variables.?