-1
votes
1answer
10 views

Stackoverflow on Java JAX-WS

I'm trying to make a servlet to handle add or updates to a JDBC database, the data is passed through POST and when i'm trying to create or edit some new data, gives a java.lang.StackOverflowError. ...
0
votes
1answer
21 views

Cant Get the integer value of the response passed from server in an ajax call?

<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ...
0
votes
1answer
24 views

JSTL foreach hidden input submits a null value

I'm doing a small JEE5 application similar to an online shop and I need to show the shop products, it can be seen more clearly in the code: <c:forEach var="product" ...
0
votes
1answer
18 views

Java Error java.lang.ClassNotFoundException: com.oreilly.servlet.multipart.MultipartParser

im kind of new at programming, so i really don't know how to make this work, i have some jsp files to upload some forms to a database, but when i try to send the form y get that exception. I was ...
-2
votes
1answer
41 views

HttpServlet - which method to use for a search functionality [closed]

We are implementing a search functionality in my web application which uses HttpServlet. We use the doGet() method for getting functionality, doPost() method for adding/creating functionality, ...
0
votes
1answer
35 views

Spring MVC - Return static page

I'm struggling with trying to return a static web page from a spring MVC controller. I followed this tutorial: http://www.tutorialspoint.com/spring/spring_static_pages_example.htm and yet it still ...
-1
votes
2answers
20 views

HTTPServletResponse messes up UTf-8

I have an utf-8 encoded string and want to respond this string as answer for an http-request via a java http servlet, but the browser just receives messed up special characters. If I print the same ...
-1
votes
4answers
47 views

HTTP STATUS 404, requested resource is not available. What mistake am I doing? Tomcat 6.0

My servlet application is package p1; import javax.servlet.*; import java.io.*; public class MyServ extends GenericServlet{ public void init(ServletConfig con){ System.out.println("INIT"); } ...
0
votes
3answers
38 views

Simple CMS functionality like wordpress

I need to develop simple CMS functionality, it supports multiple pages with static HTML ( with WYSIWYG editor) To keep it simple, I can save the content in DB and give an ID to the page and ...
0
votes
0answers
27 views

StandardWrapper.Throwable: java.lang.NullPointerException

Hello everybody I looked ti several topics but I didn't found a solution to my problem. I want to upload a file using GWT,so I followed this tutorial When I click on the button load file I got this ...
0
votes
4answers
71 views

increment a counter by using links

<% Integer i=(Integer)request.getAttribute("count"); %> I want to increment/decrement my array counter(i) by pressing the link next/prev. But so far it has not worked. I tried using script. My ...
4
votes
3answers
76 views

Passing variable from servlet to JSP

I've seen other questions similar to this asked but none of them have helped me solve my problem. Basically, I'm trying to pass a variable from a servlet to a JSP. The servlet code. package ...
-2
votes
0answers
42 views

Servlet - does not working

when I want to run servlet I have few errors: Servlet: protected void processRequest(HttpServletRequest request, HttpServletResponse response) { ...
-4
votes
0answers
28 views

Java Servlets prgram to display table with checkboxes [closed]

in my project i wana to display data in table from database to web page using servlet and correplying to each row there should be a checkbox and then the selected check boxes data should be submitted ...
1
vote
1answer
16 views

Does a persistent tracker cookie become a session cookie if I setMaxAge(-1)

I am creating a servlet to capture cookies. I want to make all the cookies active only for that session. I have setMaxAge(-1) Just need to confirm if this will kill the cookie after the session?

1 2 3 4 5 516
15 30 50 per page