3,760 Topics
| |
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? | |
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 ). … | |
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 = … | |
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" . … | |
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 … | |
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, | |
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 ! | |
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 … | |
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 … | |
Hi im new to jsp and I was wondering anybody could help me about uploading images using jsp. | |
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 … | |
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"> … | |
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 = … | |
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 … | |
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. | |
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 … | |
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???? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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"> … | |
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 … | |
HII EVERYONE. i AM WORKING ON JSP AND I WANT TO SET THE SCREEN RESOLUTION ACCORDINGLY.ANYONE PLZ HELP ME OUT!!! | |
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 … | |
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 … | |
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” … | |
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 … |
The End.