3,760 Topics
| |
good day could anyone solve this error ??? it occurs in the below code for (int i = supportedLocales.length-1; i >= 0; i--) { %> <a class ="langChangeOn" onclick="javascript:document.repost.locale.value='<%=supportedLocales.toString()%>';<%= session.setAttribute("userId",supportedLocales.toString())%> ; document.repost.submit();"> <%= supportedLocales.getDisplayLanguage(supportedLocales)%> </a> <% } } %> any support is highly appreciated | |
when i login the page then it navigate to the home page and when i logout then i came back to the login page, the problem is that when i click the back button in the browser then the page navigate to the home page without login it.. | |
I have created a home page with a division in which 2 other JSP pages are to load. The validations fire properly when I lauch those 2 pages seperately. The problem is, validations arent working when they load within the first page. How can I solve this? Should i write … | |
[CODE]<% String Username = request.getParameter("USER_ID"); String Password = request.getParameter("USER_PASS"); String Mobile = request.getParameter("Mobile"); String Address = request.getParameter("Address"); String sql = ""; { int LoaiSubmit; String DriverName; String connectionURL; Connection con; Statement stmt; LoaiSubmit = 0; LoaiSubmit = Integer.parseInt(request.getParameter("LoaiSubmit")); DriverName = "oracle.jdbc.driver.OracleDriver"; connectionURL = "jdbc:oracle:thin:@"; con = null; stmt = null; … | |
sir -- i wrote in the jsp for remving junk character from the application [code]<% request.setCharacterEncoding("UTF-8"); response.setContentType("text/html;charset=UTF-8"); %>[/code] but still some page show the junk character what should i doo... | |
I am currently at this URL localhost:8080/Test/students/Steve The page from that URL displays some info about Steve and a link that goes to teachers. [CODE]<a href="teachers/all">Click to view all teachers</a>[/CODE] When I click the link it goes to localhost:8080/Test/students/teachers/all I want localhost:8080/Test/teachers/all How can I do that? I managed to … | |
hi i want to do valiation of text area and database in one of my project the main thing i in database and that values i stored in arraylist and in jsp i used that list object in jsp after that i am not getting how to compare the values … | |
Hello there, Can any one please tell if it is possible to create user defined methods inside a servlet and call the appropriate one as in when required?? | |
Hi… I’m looking for any popup calendar like where I may select previous, present or future date like “datetimepick” to include in my jsf page. But I’m failure to do it. So here I’ve attached code of my project to show where I need to add to run calendar properly. … | |
Can anyone tell me how can we perform code analyze using PMD or Checkstyle during develop time.... I want to know it so as instead of checking at the last for bugs,i can correct them as soon as i find it. I searched in google and there i found a … | |
In the following code, there exist items="${message}". I know it is EL. But I cannot find out where "${message}" is came from . Please help. Thanks. [CODE]<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %> <%@ taglib prefix="spring" uri="/spring" %> <%@ taglib prefix="z" uri="/WEB-INF/tag.tld" %> <%@ page language="java" contentType="text/html; … | |
Using NetBeans IDE 7.0.1 with Java SDK 1.7.1 and Glassfish 3.x: I am trying to load an ArrayList from a database in the Servlet to be used on the JSP page in a dropdown box that would show stock symbol and company name. I get the following message when trying … | |
[B]Hi, How can i create Multilingual Website. I Have created two Properties file for different language but how to assign the right property file at runtime... Thanks.[/B] | |
[B]Here is the [COLOR="Red"]Oracle[/COLOR] site from where [/B]I tried to learn JSP [URL="http://192.9.162.55/products/jsp/html/jspbasics.fm2.html"]http://192.9.162.55/products/jsp/html/jspbasics.fm2.html[/URL] But after following all th instructions and creating folders as per site I got a big error- HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it … | |
I'm not sure how it's done, but I need a link to change an attribute so that the main content page can get the attribute and then display the appropriate content. My following code does not work...and it always seems to include home.jsp no matter what (home is set from … | |
Is it possible to trigger an informatica job in JSP/Servlets? For eg. in unix we use pmcmd command to perform this task. Is it possible to run informatica jobs in JSP/Servlets? | |
Hi all. I'm a JSP newbie and I'm trying to write a small client application that should facilitate the user authentication onto wifi hotspots provided by a telco operator from my country. Basically the application stores the user credentials and when the user push the (only) button on the GUI … | |
I am creating a web-based app written in JSF and Java. One functionality of the system is that the user can select a text file from his pc and import it in order to get the data inside the text file. Do you have any idea on how can I … | |
I'm completely new to JSP but not Java [CODE]<div> <%@ page import="java.util.*" %> <%= Date date = new Date(); out.println(date.getHours()+":"+date.getMinutes()+":"+date.getSeconds()); %> </div>[/CODE] All I need is [CODE]Hour:Minute:Second[/CODE]. (Edit: stupid emoticons) I'm getting this error on Date [CODE]Multiple annotations found at this line: - Syntax error, insert ")" to complete MethodInvocation … | |
Hello Everyone! Very close to completing my project but a small favor needed! Which is blocking me from finishing the last section of the project! This is how it goes!!!!! Have an Interface with inc complete methods [CODE] //OshwalDAO.java void InsertLog(String LogID , String Username , java.Util.Date CurrentDate) throws ClassNotFoundException … | |
Hi Every Body Does any one help me in deploying and running Servlet and JSP in Tomcat 5.5 I tried all the ways I found on net. I downloaded lots of tutorials and tried them also. But always getting same ugly error CONTEXT Path not found \TestInput I am just … | |
Hi, i have eclipse indigo 3.7.1 and running xampp 1.7.4 with the tomcat plugin. I followed the tutorial at [URL="http://www.vogella.de/articles/EclipseWTP/article.html"]http://www.vogella.de/articles/EclipseWTP/article.html[/URL] and all went well till i reached the jsp/servlet tutorial where i keep getting a HTTP 404 error saying "[B]de.vogella.wtp.jsp.controller[/B]" is unavailable, preventing me from navigating amongst the pages. Thanks. | |
To play audio clips in an Applet either in browser or viewer, needed set any env var, or plugin to install? | |
How to insert jsp testbox values in sql database in button click plz help | |
Hi, My problem is pretty simple, but I'm not sure about the solution. The idea is simply to send a list with an unknown number of java objects from a servlet to a jsp page, and display the objects as checkboxes on the page. The user should then check the … | |
I am having problems running a JSP with a java class file on a Tomcat server. My files are located at: tomcat/webapps/ROOT/temp.jsp tomcat/webapps/ROOT/WEB-INF/classes/tempbeans/TempBean.class The contents of my JSP file: [CODE]<%@ page import="tempbeans.*" %> <% TempBean bean = new TempBean(); %>[/CODE] The contents of my class file. package tempbeans; [CODE] package … | |
hello, i just want to know what is the need that we make a custom tag...i know that its for reusebility..but i want some examples where should i use them. thanks | |
Hi all, I am doing my second year undergraduate and I have a new project which is due in 10 days. I wanted to create an Online Bookstore project using JSP. *** I haven't used JSP before and also I wanted it to run in Linux system. So everything is … | |
i have code like this in page1.jsp <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <html xmlns="http://www.w3.org/1999/xhtml"> <body> <h1>Test</h1> <script language="javascript"> function JSGetSelectedItem() { var dropdownIndex = document.getElementById('lang').selectedIndex; var dropdownValue = document.getElementById('lang')[dropdownIndex].text; alert("Hello JSCript " + dropdownValue); } </script> <!-- to fill combobox i had get from … | |
Hi all, I am learning j2ee with the help of this forum . First thanks for all of your replies realy that makes me to know more things . Now i have doubt, i don't know whether it is silly or not . How does RequestDispatcher works? I know it … |
The End.