3,747 Topics

Member Avatar for
Member Avatar for Millsington

To me, what I want to do is extremely simple. I will have multiple users, each will login to a character with info stored in a database. Each user enters commands into a text field which will post the info to a page that will return the result of the …

0
49
Member Avatar for albertkao

How to store variables in the jsp page scope with the spring 2.5.x framework? This has compile errors. [CODE]import javax.servlet.jsp.PageContext; @Override public ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception { PageContext pageContext; Object o = pageContext.getAttribute("com.mycompany.pageId");[/CODE] Description Resource Path Location Type The local variable pageContext may not have been initialized …

Member Avatar for albertkao
0
120
Member Avatar for pavan146

Hi , actually we are in need of free web space which supports services for JSP n servlets...Can anybody pls post me the link of that which provide above facilities...Thank you for readin ma thread

Member Avatar for peter_budo
0
77
Member Avatar for rumpleteaser33

Hi, I'm trying my first program using servlets and JSP and would appreciate any help or advice about a problem I'm having. In my servlet I'm connecting to the database and displaying all the records in there. I'm then trying to add data to a JavaBean so that I can …

Member Avatar for peter_budo
0
162
Member Avatar for oggiemc

Hi Everybody, Im having a bit of a problem with an assignment..Im trying to write a JDBC servlet which checks the value of a name in the database against the value inputed in a form..USER and PASS are the values inputted to the by user into the form.. The code …

Member Avatar for oggiemc
0
80
Member Avatar for aditya_22cent

[B]amru.java :--[/B] [code=java]package test; public class amru { public static void fa() { System.out.println("ADitya"); //return; } }[/code] -------------------------------- [B]INDEX .jsp[/B] [code=jsp]<%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@page import="test.amru"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <h1>Hello World!</h1> <% amru adi = new …

Member Avatar for peter_budo
0
84
Member Avatar for emteez

I am Linux server with cPanel. My problem is that i keep getting PermGenSpace error; even though i have set the -Xms and -Xmx attributes in starttomcat under /usr/sbin. I have searched thru the net, but I am not been able to find any solution to my problem. Any suggestions?

Member Avatar for ~s.o.s~
0
64
Member Avatar for gayatrib

Hey i have a problem with jsp can anybody help me plz? I want to fetch the data stored on server from the client. If anybody has any solution plz let me know... Basically i want to run the project stored on server from client.... what are the steps for …

-1
57
Member Avatar for JSPnewbie

I have a problem I hope someone can help me with in JSP. Whenever I write code in the JSP page, netbeans underlines it as illegal saying "The content of elements must contain well formed character data" E.g [CODE]<% System.out.println(request.getParameter("user")); %>[/CODE] Why is this wrong? I haven't been able to …

Member Avatar for peter_budo
0
85
Member Avatar for rozbaz

Hello, As a newbie i would like to ask someone to provide me with the code that [URL="http://bookshop.blackwell.co.uk/"]blackwell.co.uk[/URL] is converstion an ISBN-10 to an ISBN-13 through the search box. For example if i paste an ISBN-10 on their search box and click search the system automatically converts it in ISBN-13 …

Member Avatar for peter_budo
0
25
Member Avatar for Hakoo

I connected jsp with mysql. i m beg. level programmer in JSP. So, plz dont comment on my code writing style, bt plz help me to improve ma programming. I can execute query bt whn i try RESULTSET to retrive, getting error. my code is below : <%@page import = …

Member Avatar for Smith5646
0
116
Member Avatar for santhuravi

hi guys, do anyone kno how to play wmv without classid in jsp!! please do the needful waiting for yr reply!!!

0
53
Member Avatar for null880305
Member Avatar for Emmett_1981

Hi guys, I am still building the same Struts 1 app and having serious issues with getting ActionMessages to appear on my Jsp, if anyone can help I would greatly appreciate as this is my final year project and its due in 2 weeks, the Jsp is picking up the …

0
64
Member Avatar for albertkao

How to use "c:if" to test for the boolean true? These does not work: [CODE]<c:if test="${model.value == 'true' }"> <c:if test="${model.value == "true" }"> <c:if test="${model.value == true }">[/CODE]

Member Avatar for albertkao
0
138
Member Avatar for anuplike

hi, i want to access my database through checkbox in jsp if i click on checkbox i should get database records

0
64
Member Avatar for vij123

i have a jsp page which have a some school names link. when i click to link of a school name, school name are appended to a link that will go to a second page. in this second page have same item which i will use same for all school. …

Member Avatar for vij123
0
880
Member Avatar for omkareswari
Member Avatar for jwenting
0
31
Member Avatar for Viruthagiri

Here is my code. I want to insert the date in 0000-00-00 format. But The error shows like this [COLOR="Red"][B]exception occured in Trainee Status java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date[/B][/COLOR]Here is my code [CODE]<%@ page import="INCLUDES.DBConnection"%> <%@ page import="java.sql.*"%> <%@ page import="java.io.*"%> <%@ page import="java.util.*"%> <jsp:useBean id="DB" …

Member Avatar for jwenting
0
264
Member Avatar for Hakoo

Hello Everyone, Currently I m working on "Bug Tracking System" project using JSPs and MySQL. Actually this one is Intranet Base project. I want to add e-mail facility for each user. How can I do? Which Data Type is suitable for "File Attachment"?? And also I want help for Session. …

Member Avatar for stephen84s
0
92
Member Avatar for afruja
Member Avatar for vaishnavicse

[code]<% TreeSet Addval=new TreeSet(); TreeMap abbval=new TreeMap(); Vector newurl=new Vector(); for(int i=0;i<dds.size();i++) { double ids=Double.parseDouble(dds.elementAt(i).toString()); ids=ids+Math.random(); newurl.addElement(new Double(ids)); Addval.add(new Double(ids)); %>[/code]

Member Avatar for jwenting
-1
68
Member Avatar for sasi1240

hi friends can u provide me servlet code for displaying students profile based on roll number.

Member Avatar for jwenting
-1
40
Member Avatar for nitto2cool

hi, i have written a jsp to upload images which forwards them to a servlet which in turn stores them in the server and puts a path reference in the database...the prob is i cant view the new images unless i restart the server.. the img src for new photos …

0
54
Member Avatar for fourteen

since FB.Connect works only in javascript how do i send the user id from the javascript to JSP for it to be stored in the database. for example how do i use FB.Connect.get_loggedInUser(); to send the id to jsp.?

0
75
Member Avatar for mundee

New to the Java world. Can .jsp work on Windows based platform also, oppsoe to Linux? ~Mundee

Member Avatar for masijade
0
70
Member Avatar for girishkk.bec

I have one jsp which contains few input fileds one input field should be saved in one table of the database and another input field should be saved in another table of the database. Please Help. Thanks in Advance, GK

Member Avatar for peter_budo
0
58
Member Avatar for anuplike
Member Avatar for niranjancs

Hi, I have an HTML table with number of rows based on number of rows in a database table. So this table's rows are dynamically rendered. I am trying to make on of these column values a link and make that link submit the form. At that point I want …

Member Avatar for javaAddict
0
72
Member Avatar for hasini07

im dng an online test project and i inserted a timer in my test ,the problem is when i submit my exam manually it is taking my answers and showing the marks but when time is over it is not taking the marked answers in that frame where the timer …

Member Avatar for peter_budo
0
47

The End.