Description:
Programming in the Java language.
|
|
|
Next problem: HttpURLConnection
|
| |
Following code does not connect URL url = new URL("[link]"); URLConnection connection = url.openConnection(); logger.finest("[url class: " + connection.getClass().getName( ) + "]") ; connection.setDoInput(false); connection.setDoOutput(true); connection.setAllowUserInterac tion(false);... more »
|
|
How to using pack() in the SingleFrameApplication ?
|
| |
Hi, I have Main.Java code like this : ========== package ecgterminal3; import org.jdesktop.application.Appli cation; import org.jdesktop.application.Singl eFrameApplication; public class Main extends SingleFrameApplication { @Override protected void startup() { show(new Login(this)); }... more »
|
|
Yasca v1.0 Released - New Static Analysis Tool
|
| |
Hello, Yasca is a new static analysis tool designed to scan Java, C/C++, JavaScript, .NET, and other source code for security and code-quality issues. Yasca is easily extensible via a plugin-based architecture, so scanning PHP, Ruby, or other languages is as simple as coming up with rules or integrating external tools.... more »
|
|
Reading from Excel file, plz some help
|
| |
Hello all, i tried to read some data from Excel file via this code, but i got an exception ( 'an$' is not a valid name..... ) hint: i made the settings in Control Panel>Administrative tools>Data Sources(ODBC) public class ExcelReader { public static void main( String[] args ) { Connection c = null;... more »
|
|
How to use @Resource annotation?
|
| |
I have a piece of java code here. @PersistenceUnit private EntityManagerFactory emf; @Resource private UserTransaction utx; I can find persistence unit in persistence.xml configuration file. But I cannot find Resource configuration information in a descriptor file. How does the container do resource injection? Thank you very much.... more »
|
|
java project
|
| |
Hi friends i am doing final bsc cs. I need some project titles. And also i need some new topics. Also if u have source code means pls giv me...
|
|
how to apply time constraints to JSP page
|
| |
I have created a timer thread on the server machine. Whenever the particular time is reached all the users should be redirected to another page. How can this timer thread be interfaced with oher servlet classes. Should I pass the HttpSevletResponse object to the thread class constructor and then in the run method redirect the page... more »
|
|
Unicode support
|
| |
Hello All I need some help from you folks. I want my J2EE webapp to accept international characters. Here is what I have done so far 1. Wrote a filter that encodes request and response with UTF-8. 2. Oracle is UTF-8. Now when I input a hindi character from the jsp page, and save it in database, I see characters in &#dddd; format. Here are my questions,... more »
|
|
|