3,760 Topics

Member Avatar for
Member Avatar for SwatiGulati

I have created a servlet in java(jsp), compiled it bt m unable to run it..it is does as :- [url]http://host//Servlet/ServletName[/url] But if m workinh locally on my pc,what host should I b mentioning?

Member Avatar for stephen84s
0
73
Member Avatar for auhuman

my Assignment is this : there is a index.jsp with header [COLOR="Red"]welcome[/COLOR].And a link "[COLOR="Red"]open[/COLOR]".when someone click this "open" this must show [COLOR="Red"]HELLO[/COLOR] in the same index.jsp. And this Hello must be from another jsp file ( simply, i want to embed hello.jsp into index.jsp when "open" is clicked ). …

Member Avatar for auhuman
0
149
Member Avatar for soniarad

Can someone help me, I was getting an error message about SQL syntax, now I get no error message, it redirects, but database does not change. I also made sure autocommit was enabled. Any ideas? [code=jsp]<%@page import="java.sql.*,java.util.*" %> <% Connection conn = null; PreparedStatement stmt = null; String userName = …

Member Avatar for ~s.o.s~
0
139
Member Avatar for complexcodes

Hello, I am trying to design a page which has a textarea and a button that says "say something", assume the page is "test.jsp". If a user hit that "say something" button, browser redirects to another page where user can enter anything they want, assume the page is "test1.jsp" . …

0
90
Member Avatar for senthil12345

When i type in the following link manually in firefox as " file://///172.16.2.1/copyediting/ELS/mallet.pdf", pdf file is loaded successfully in the firefox browser. PDF file is located in remote server which is referred by IP 172.16.2.1. I've assigned the Same link in a String in jsp page and tested it through …

Member Avatar for ~s.o.s~
0
176
Member Avatar for marjan_m

Can any one please give some links about Form Validation through java script. Or if any one can assign me some assignment related to JSP,thn please reply this post. I need to know that practically how and where JSP is used except form validation. Thanks for your time. Regards,

0
66
Member Avatar for tiborv

Hello. First of all i must say that im a noob with .jsp programming, so pleas be indulgent :) .. [code]String somepage = "client.jsp"; <%@ include file="menu.jsp" %> // this works[/code] [code]//How to add variable somepage in file= <%@ include file="somepage" %>[/code] Thanks !

Member Avatar for tiborv
0
80
Member Avatar for peter_budo

After numerous issues with my first hosting I got new deal. Now I want to get my blog move to its new home, but I hit the wall with simple WAR deployment Here is catalina.log [code]INFO main org.apache.catalina.core.StandardService - Starting service Catalina INFO main org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache …

Member Avatar for stephen84s
0
162
Member Avatar for dreamer14

Hi iwould like to check if there is any function that allows me to take the last 4 char or a String? Or the 1st two char of a String? I require this because i require to have a auto increase product id. Example current productid stops at WA0059. When …

Member Avatar for dreamer14
0
120
Member Avatar for rockyPrz

Hi im new to jsp and I was wondering anybody could help me about uploading images using jsp.

Member Avatar for peter_budo
0
86
Member Avatar for romi123

Hi, I have got an arraylist with Profile objects where each profile object has a HashSet of Customers and each Customer in Hashset has further a HashSEt of movies. I have got it in JSP page through servlet like [code]<% ArrayList profiles = (ArrayList)request.getAttribute("profiles"); %>[/code] now i want to access …

Member Avatar for stephen84s
0
58
Member Avatar for pratima82

Hi, I need help in fixing this simple JSP Code below. The I need the MarkAll and the sort by classes need to come on the same line of the page. But now Sort By is coming one line below. How can i fix this? Please hlpe urgent [code=JSP]<div class="markAll"> …

0
48
Member Avatar for kisokos

Sorry for my poor English. What is the problem whit this code? The error is in the browser: "The method frissit() in the type Xml_file is not applicable for the arguments (String, String, String)" [B]in the JSP file:[/B] [CODE]<% String szerzo = request.getParameter("szerzo"); String cim = request.getParameter("cim"); String ev = …

0
50
Member Avatar for eclipse3.4ide

hi, I have one drop down in my form. i want to access the selectd vaues from servlet. code in my servlet is: [CODE] String nval=request.getParameter("color"); [/CODE] in Jsp my code is: [CODE] ............ <select name="selectPrimaryKey"> <option>SelectValue</option> <% for (int i = 0; i < Nheadlist.size(); i++) { %> <Option …

Member Avatar for javaAddict
0
86
Member Avatar for rockyPrz

Hi, I need a solution for implementing a rating system. Where users can rate movies in my application and display the total results for each rated movie.

0
41
Member Avatar for pratima82

Hi, I am new to J2EE and i have a requirement to convert the image logo in the banner of the page to an image logo link. How do i go about doing this, and where do i need to do it? The JSP of my header where i found …

Member Avatar for stephen84s
0
66
Member Avatar for sujehsmarar

Hi im really new to jsp. any body can help me in creating a thread of my own. i have creadted the Db(Mysql) and data is inserting in to db. i dont know how to display the threads according to the user login can any body help me out????

Member Avatar for peter_budo
0
250
Member Avatar for kjaxx

My java app is doing a POST with Multipart format as thetype for a certain file size when uploading a file. The application server is checking the size and returning results, but the Web server is giving a page not found with the results. It appears to be trying do …

Member Avatar for stephen84s
0
82
Member Avatar for geetha123

Dear all, Good afternoon. I need a help. I am trying to install an open source DRM server in my system.from OPENIPMP Here they are using Tomcat server. To access the DRM server we are using JBOSS Application server.After installation I am trying to acccess the server by [url]http://localhost:8080/openipmp/jsp/login.jsp[/url]. But …

0
52
Member Avatar for sayeo87

Hi, I'm quite new to setting up webservers so I hope I can find some help here. Currently on a server that I have root access to, under /root/apache-tomcat-6.0.18/webapps/ROOT, I have a couple of .html and .jsp files which show up perfectly when I enter locally "http://localhost:8080/***.html", but when I …

Member Avatar for sayeo87
0
145
Member Avatar for NeoKyrgyz

Hi, I don't know whether this is correct place to ask, but since my application is J2EE application (JSP) I'm asking it here. We've several web applications, some of them are J2EE applications (JSP, JAVA) and the administrators of these applications change frequently. One can just change code and add …

0
68
Member Avatar for jaiprakash15

Dear Friends, I a working on a project where i have to let the user to type in other languages(hindi,tamil,kannada etc..) and i have to store into the database and retrive it back and show it to the client in the same language he has entered..I am using postgres 8.0 …

Member Avatar for peter_budo
0
209
Member Avatar for tulsi_apr03

hi all, Can anybody help me, In my project, Im using Tomcat5 webserver and Oracle10g as backend.now I want to display one report .For that Im using CrystalReportsXi with JSP page , Report is generated correctly and displayed on to browser with out images.Images are those came with CrystalReport Tool. …

Member Avatar for tulsi_apr03
0
182
Member Avatar for Rameses

I've created database in Mysql and would like to access db tables from localhost jsp. This is what I've created for far: [code=JSP]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <HTML> <HEAD> <TITLE>insert data using JSP </TITLE> </HEAD> <BODY bgcolor="#ffffcc"> <font size="+3" color="green"><br>Welcome to my world !</font> <FORM action="statement.jsp" method="get"> …

Member Avatar for javaAddict
0
148
Member Avatar for Roger L

Hello, I am a JSP newbie. I am trying to encode a password on a login form, before it is sent to the server. I created a test button to display the hashed password, but errors out with the message 'digestPswd not defined' Here are the code snippits that I …

Member Avatar for Roger L
0
169
Member Avatar for funlovingashish

HII EVERYONE. i AM WORKING ON JSP AND I WANT TO SET THE SCREEN RESOLUTION ACCORDINGLY.ANYONE PLZ HELP ME OUT!!!

Member Avatar for masijade
0
97
Member Avatar for funlovingashish

thanks for ur suggestions peter sir. I have another problem sir. I am creating a jsp application where I am using a custom class for sending emails. THe java class is working fine. but when i am importing it's package using page directive and creeating an object of it,then Tomcat …

Member Avatar for peter_budo
0
55
Member Avatar for Anu_JSP

Hi I have got a WSDL created by using one tool (Query As a Web Service: which creates a wsdl for the given query) and now I want to consume this WSDL in jsp to display the data through web. Anyone of you can give me some idea on this …

0
49
Member Avatar for tarikiihem_01

Your web based ordering should work as follows: 1. Authorized customer must be able to place his online orders. 2. Authorized customer MUST log in first before making any transaction. If the login is invalid the customer access is denied and a message is displayed to the customer “ACCESS DENIED” …

Member Avatar for ~s.o.s~
0
131
Member Avatar for RajeevSd

Hi I am creating a web application containing html and jsp files.....Actually the whole application is divided into three frames ie. left , center which expands to right also and bottom.....I have put my logout link there at bottom....The logout.jsp file has code [icode]<% session.invalidate() %> [/icode] which is terminating …

Member Avatar for peter_budo
0
136

The End.