Encoding of special properties in Eclipse

I have an application which uses swedish language in some java and jsp pages. Swedish words are described in application.properties file and those names will be used in the application. Application Screen: Words which are defined in the propert...
more »

2017-09-03 22:09 (4) Answers

Eclipse is not able to create .jsp-files

If I am starting Eclipse, I get the Following error: Indexing JSR-109 Web Services has encountered a problem. An internal error occurred during: "Indexing JSR-109 Web Services". org/eclipse/wst/sse/core/internal/provisional/IModelStateListener If...
more »

2017-09-03 18:09 (0) Answers

XML URL location

I am following a JSP tutorial and covering a chapter on XML parsing within the JSP page. The tutorial does not use Eclipse but I am with Tomcat 8 imported as the server. The example below shows a URL for the XML file but where do I place the books....
more »

2017-09-01 14:09 (0) Answers

Using Dart in JSP or Spring

Are there any tutorials on how to use Dart in JSP or Spring? I wonder if someone has good links for a step by step process in using Dart in jsp. I can only find a few on Google search and all of them are incomplete. I'm already familiar in creating D...
more »

2017-07-02 07:07 (0) Answers

Concurrent Conflicting statements with db

I am attempting to make a website (using html, javascript and jsp) that sends modification and selection queries to a db at the same time. MySQL apparently doesn't like that (ConcurrectModificationExceptions everywhere). I thought of creating someth...
more »

2017-06-22 07:06 (1) Answers

how insert data into database from table in jsp

Why not data store into database in jsp. find error in the following the code. I want to fetch data from form fields and get it from jsp page and store into database. database name=test table name=info columns name=first_name,last_name <%@page ...
more »

2017-05-05 20:05 (1) Answers

Eclipse: jsp:include action with servlet

Well, here again strucked on a suppoused no problem. I have a simple servlet "Myservlet.java" that prints a string (Dynamic Web Project name is "JspCallingServlet" and its context root is "/") DynamicWebProject Explorer import java.io.IOException; i...
more »

2017-04-18 12:04 (1) Answers

How to get response from jsp page withou reloading

i'm trying to make a forum in which as we submit the form the post should save into the database and appear below. It is getting saved into the database but appears only once we reload the page. is there some way that it appears as we submit the form...
more »

2017-03-29 13:03 (0) Answers

How do i run chrome as a tab inside netbeans 8.2?

i am doing my first web application. I use latest versions of both netbeans and google chrome to date. i'm using the latest version of tomcat server and successfully connected it to netbeans. Whenever i run my jsp file in netbeans a chrome window o...
more »

2017-03-21 13:03 (1) Answers

Sending URLs using a loop- Eclipse Java Tomcat

I have a jsp program that receives 5 parameters. Each parameter can have 8 values and I need to test all the combinations. The output of this program is stored in a file. Changing the parameters manually takes a very a long time, is there a way to...
more »

2017-03-11 12:03 (1) Answers

JSP pages don't see css

It's only problem with visability of css. There are a lot of answers in google, but since yesterday I've checked all of them and I still didn't solve my problem... My project structure in eclipse looks like this: Only in one file I have relatio...
more »

2017-02-26 11:02 (1) Answers

JsonParseException with jsonResponse

Not able to parse the json I get from my service. I'm using Jackson API to parse the json. I'm getting JsonParseException: com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('>' (code 62)): was expecting comma to separat...
more »

2017-02-10 11:02 (1) Answers

Amazon Web Services - RDS Configuration

I am using AWS tools for deploy a simple application. I have a RDS instance (Oracle) and it is working. (I can access to it from SQL Developer in my local computer) By other side, I built in Eclipse a simple application in jsp that loops over a ta...
more »

2017-01-08 19:01 (2) Answers

searching data from database on dynamic web page

I'm having a problem with my website code. I am writing a website when the user can search activities on jsp page. Database is including some activities according to the their type,city,location and date. User will fill this informations and press su...
more »

2017-01-01 18:01 (2) Answers

date send error in location.href in jsp

first i ran intro_do.jsp using form action in intro.jsp including value 'ID','password'. and where in intro_do.jsp, compare value in database using while&if like that. case 2 : pstmt = conn.prepareStatement(sql2); ...
more »

2016-12-18 19:12 (2) Answers

HTML page is not connecting to database

I am asking for a user input in the index.jsp and I take that input to a different search.jsp where I search the database with given query. However, it's not connecting to database. Can someone please help me. Here is my code in index.jsp that ask...
more »

2016-11-28 04:11 (1) Answers

Tern Eclipse IDE and JSP

I have: Eclipse Mars.2 Tern Eclipse IDE 1.2.0 dynamic web project with one test JSP file: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <html> <body> <script> var x = { ...
more »

2016-09-08 11:09 (0) Answers