cant connect to servlet
I wrote some code to connect to my servlet. Code: String charset = "UTF-8"; System.out.println("msg "+message); String urlParameters = "jsessionid=" +...
View ArticleServlets or JSP?
Hello, I'm creating a small web application using Servlets and I wonder is it necessary to use JSP pages. I've read a little about it and I think I can use it, but it's easier for me to use Servlets...
View ArticleInvoking servlets from a swing class
Hey Im a java newbe and im making a java swing application which sends data to the servlet.the servlet uses Jdbc to add data to the local database. I tried HttpURLConnection for ending the url via URL....
View ArticleModify JNDI java.util.Properties in code
Hey guys I have a Glassfish Custom Resource of type java.util.Properties which stores a set of IPs. I want to edit it in code to dynamically add and/or remove items. Is there a way of doing this? If...
View ArticleHttpSessionListener and Session Invalidate
I want to override method sessionDestroyed of interface HttpSessionListener . And my purpose f doing so is that whenever I call session.invalidate() from my server code then a condition should be...
View ArticleJava and SOAP - Any good book to recommend for beginner?
Dear forum member, Right now, I'm trying to get hold of a good book to read on Java and SOAP and decided to post the question here. Searched the web but found this xml and java by O'Reilly but seems...
View ArticleHttp-Header for NOT storing cache has no effect on Mozilla
Hi, all !! my web app has a section that lists a table where each register is an image name (from db, a byte[]). The user may click on a register, then a modal appears showing that image. It works...
View Articletype Status report description The requested resource is not available
After starting the Apache session when i type my User id and password in my proj i m gettin an error type Status report message /MAS/LoginForSession.com description The requested resource is not...
View ArticleGettin unkownHostException while trying to translate using microsoft...
am writing a simple program to translate convert korean text entered to english i am using microsoft-translator-java-api-0.6.1-jar for tha. even tried it with google translate API and getting the same...
View ArticleNew to this
Hey guys I have a error on a intranet server. The server froze one day and I had to restart it. I lost most of the company intranet functionality. Here is the Error I get when i try to search for a...
View ArticleSending SOAP request server
Hi all!!! I need help. Have a web service running on the protocol SOAP. It Registers client. The first time you run the client it sends a SOAP request for registration, the server responds to it...
View ArticleHelp !!! Dynamic Tabular List Generation !!!
Hi all, I am new to Java. So, I need a little help.I am really sorry if I sound stupid. I want to generate/populate a dynamic table in JSP by fetching data from the database with the help of Servlets...
View ArticleReceiving UDP packets
Hello, I want to ask is it possible to receive UDP packets in the java servlet, and then show received content? If yes, then what is the best way to do that? Thanks in advance
View ArticleHTTP post to html servlet
Hello i have a task to create a client that can remotely add entries to blog. By doing this i need to call HTTP POST and put proper content to forms ( at least i guess so) blog Code: url...
View ArticleServlets/JSP Tomcat Eclipse
I have an assignment that requires a simple date.txt file to be read, verifies that strings in the txt are actual dates and then display the information in the index.jsp The code was simple enough, but...
View Articlehow to connect the server using same port number more than one time?
Hi, if anybody know this error.. please share with me... i have using netty server and start the server with same port but i couldn't connect more than one time. It displays...
View ArticleServlet and jdbc connectivity
I am trying to create a login page asking user for username and password, once submitted i am passing this info to servlet which will connect to database and check if login id and password is correct...
View ArticleASP.net to jsp
Hello i have created some pages in asp.net using vb.net and now i need to convert them into jsp pages could you just help me out? any link or software..thank you for your help. Have a great day :)
View Article
More Pages to Explore .....