| Thread | Last Post | Replies |
|
| JSP Document HTML Output | 04 Nov 2006 18:28 GMT | 2 |
JSP documents require XML syntax for all HTML elements (<img />). By default, the elements are outputted with XHTML syntax, is there a way to tell the JSP container that you want HTML 4 syntax (<img>) instead of the XHTML version?
|
| Hiding the .JSP extension using mod_write module | 04 Nov 2006 17:48 GMT | 2 |
I would like to hide the extension of my jsp page. My correct URL is this one, with a .JSP extension: http://localhost/Web/view.jsp?keyname=name&keynumber=number But I would like the End-USer to use the following URL with .ASP
|
| Qestion about convert Object to byte[] and convert it back | 04 Nov 2006 17:11 GMT | 5 |
I need to convert an object to String to store it into structure in our application, so I write some function to convert Object into byte[] and convert it back. The following is a test program: import java.io.ByteArrayInputStream;
|
| Trouble changing Tomcat webapps directory | 04 Nov 2006 16:17 GMT | 4 |
I just instaleld Tomcat 5.5 on Fedora Core 5 Linux. Everything works fine if I make absolutely no changes to anything, including server.xml with this host element ... <Host name="localhost" appBase="webapps"
|
| servlet - file upload problem... IndexOutOfBoundsException | 04 Nov 2006 15:32 GMT | 2 |
Im trying to allow a user to upload a file ( 0 - 1 meg). However when the file gets larger than about 3k, its throwing an IndexOutOfBoundsException. Its odd that it works perfectly with extremely small files, yet breaks
|
| Can't Load/Login Java Applet of LIVE CHAT | 04 Nov 2006 11:31 GMT | 3 |
Today I am failed to load Java Applet and unable to reach a point of typing user name and password. I have checked that several timesfor at least 2 LIVE CHAT sites including Beta Chat. http://www.shiachat.com/forum/chat.html
|
| How do I get this to output 12 strings per line | 04 Nov 2006 09:49 GMT | 6 |
This is a program that randomizies the strings in the array 20 times and outputs them in a single line. How do I make it output 12 strings per line? thanks, Lane
|
| need only Content-Type: text/plain from the form submit using mutilpart/form data | 04 Nov 2006 07:16 GMT | 5 |
I am trying to use NetComponents-1.3.8a to create a web based FTP upload and download. i am using enctype:multipart/form-data for form submission. To obtained the contain the following code is used,
|
| media keyboard | 04 Nov 2006 04:28 GMT | 2 |
How do I receive input for pressing of the Play, Stop, Next, etc buttons on my keyboard? (They don't seem to be in java.awt.event.KeyEvent). Thanks,
|
| nearest router | 04 Nov 2006 04:22 GMT | 11 |
I would like to know if there is a way to retrieve the ip or the name of the nearest router when we send a socket ? thanks
|
| revise my code | 04 Nov 2006 03:48 GMT | 2 |
I have a main window ,by clicking on (add new item) , another window open to fill the form on clicking on (save to file),my form will be saved in text file. if I open this text file using notepad for example,then I found my data
|
| DatagramSocketChannel returning same data over and over | 04 Nov 2006 03:36 GMT | 5 |
I have written a method to read the next incoming packet from a non-blocking DatagramSocketChannel, convert it into a DatagramPacket and return it. The method works perfectly the first time it is called, but as soon as the method is called with NEW data waiting on the channel,
|
| Runs in Eclipse, Not in .jar ?? | 04 Nov 2006 02:34 GMT | 2 |
I made a math program as a project for my Java class, but I've suddenly run into problems. The program runs perfectly in Eclipse, but when I export it as a .jar, the program will run almost perfectly, but not quite; there are some math problems that aren't displayed. I've used
|
| Java minus value parsing error | 04 Nov 2006 02:30 GMT | 1 |
I'd like to parse the String to double value. But String has a minus value such as "-1", "-2"... I used the Double.parseDouble(String s); method. The example code is
|
| package protected and compile error | 04 Nov 2006 01:53 GMT | 7 |
code-1 ------------- package packageX; public class SuperclassX {
|