3,760 Topics
| |
Which one do you perfer to use? For me I am using glassfish becuase netbeans installed it for me. Also I heard glassfish support newer java api while tomcat doesnt | |
Hi, Could anyone help me to pass user name and password to another jsp page for testing from database without showing it in URL that what user has entered? | |
Hi I have problem with calling jsp using <a href> in scriptlets. Not able to call the jsp. I used the following code. but not able to enter in to ozCmnDeleteEntity.jsp. please give me solution. [code] out.println( "<a href=\"ozCmnDeleteEntity.jsp?objType=PROJECT&objId="+prj.getProjectId()+"\">"); out.println("</a>"); [/code] thanks in advance... | |
Hello Everyone, I am a new java user and i have a problem where i have made a servlet "Conn.java". In which i have established a connection and i m retrieving data from database using dsn. This data i store in a array list called rowsetArray. when i run just … | |
Hi, I am very very new to JSP so I urge you to bare with me. I have resolved my issue, however, I really don't like to solve a problem without understanding how I solved it. We use Weblogic 8 as out web server. The problem: JSP compilation error. It … | |
I'm using odbc:jdbc bridge and an access db and I always get this error: Driver does not support this function [code] <%@ page import = "java.sql.*" %> <%@ page import="java.io.*" %> <%@ page import="java.util.*" %> <HTML> <title>Stock Portfolio</title> <body> <body bgcolor="gray"><center> <table border = 1> <tr> <td><th>Symbol</td></th> <td><th>Type of Transaction</td></th> … | |
I got error while i am trying to use java generic classes in jsp. Is there any cofiguration required to solve it. I use java 1.6 Tomcat 6 | |
Hai guys, I am new at jsp.I have made a simple j2ee application in which i am getting class cast exception in PortableRemoteObject.narrow function. The exception is: [code]org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247) javax.servlet.http.HttpServlet.service(HttpServlet.java:860) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:517) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)[/code] The root cause is : [code]java.lang.ClassCastException com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229) … | |
Hi, Here is my jsp page where i trying to display the data from table. Here form1 is the name of drop down list in my searchuser.jsp page. The content in the drop down list is a name of one column of the database. I am able to connect firstjsp … | |
error:javax.servlet.ServletException: java.sql.SQLException: Illegal operation on emp -------------------------------------------------------------------------------- Hi, I am stuck here about 2-hours. Kindly help me. In this my updateuser.jsp page I am retrieving the data from drop down list which is in my search user.jsp . I am taking form name of searchuser.jsp page for reference here which … | |
Hi, I am creating the updateuser.jsp page. For that I create search.jsp where one can serch users and after submitting this page.it should display the updateuser.jsp page where I can update the details of user. Here is my code of searchuser.jsp: [code=JSP]<% Connection connection = null; Statement st = null; … | |
my vista home premium system success apache and IIS JSP InstalleR HELP | |
Hi, i want to upload a excel file and insert those data into mysql. i did in core java , just displayed excel sheet data into output. can you plz tell me how to do in jsp.. if possible send me the code | |
As the title says. I have a Application that takes in user input and saves it to a text file. I am trying to just make a simple JSP to display the text file now, but I am having problems. Anyone have a code snippet that could get me started? | |
HI To All, I want small help ,How can we send multiple dropdown selected values to database using jsp as multipart form data is it possibleif yes how can we do that please help me its very urgent any body help me Advance Thanx TO One and all | |
Hi, I have a requirement to popup an alert message in a jsp page, I could achieve this. But I need to display this message on top of all the windows (for example, the user is in Email browser, the message should be displayed on it). Is it possible to … | |
Hi, In main.jsp i wish to display the data from the database( user information stored in user table ). my codein main.jsp is: [code=JSP]<h2> description about user:</h2> <% Statement st = null; ResultSet rs = null; rs = st.executeQuery("Select description from user "); %> <option value = "<%=rs.getString("description")%>" > </option>[/code] … | |
I am having difficulty setting my computer up in order to do JSP. Some people are telling me to use Jakarta others are saying Apache Tomcat. When I try to find the things to download there are so many options with little or not tutorials accompaining it. Could someone provide … | |
Hi All, I had created application where once you log in into index.jsp page, the next validateuser check for validation. but when i fill the form of username and password the error shows like: [COLOR="Red"]The requisted resources are not available[/COLOR] Here my context.xml [code=xml]<?xml version="1.0" encoding="UTF-8"?> <Context path="/student" docBase="student" debug="5" … | |
hi, i have to create 1 jsp page containing 2 radio buttons-buy,sell if i select "buy"radio button,it should display 2 jsp page containing drop down menus if i select items from drop down list,click on "submit" button it should dispay another page. can u pls send me the code for … | |
Is there a place where we can evaluate our jsp page code is in accordance with the sun "jsp coding standards"? | |
By Sayed, June 25th, 2008 * Single tier applications are easier to design. Single tier applications mix data, presentation, business logic altogether. It is easier design but workload distribution becomes difficult. Moreover, software maintenance becomes a big headache. * Multi-tier applications can address these challenges. Here, the application, hence, the … | |
Hi I am working with java project, using jsp, struts 2.1 and servlet technology. I would like to create a json file or a object from the data from the database using sql query on fly. Then pass this data to jsp page dynamically. Please can someone help or put … | |
I've this servlet that reads the data from db and then passes on a sublist of the data retrieved from db to the jsp page... [ICODE] package tryjsp; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.*; public class GetReleaseDataServlet extends HttpServlet { String releaseno = ""; String location = ""; … | |
hi. i have this method: [code] public Set listTaglie() throws Exception { try { Set<Scheda> ret = new HashSet<Scheda>(); ret.addAll(manager.createQuery("from Scheda").getResultList()); return ret; } catch (Exception e) { log.error("listTaglie() - Failed to list Taglie: "+e); throw e; } } [/code] I want a query like this: select distinct taglia_scheda from … | |
hi, prepared two list boxes which both interchange data thru forward arrrow and backwardarrow images. data is getting from database storing in avariable,have to assign var to array . this is my code pls help thanks in advance. [code] <script language=javascript> /* ************************* */ // Copy the code inside head … | |
Hello everyone, I have the following problem and was wondering if I could do this with JSP. basically have table with two columns one column willretrieve data(names) from database in the form of textfields. Upon getting data within the textfields I want it to transfer data from textbox to another … | |
Hi, It will be very helpful 4 me if any1 kindly provide me code of session log out in JSP. It means if any member signs in and after accessing all possible services that member can sign out him/herself clicking a "sign out" button. You can send code in this … | |
Hi. i'm new user of jsp and i have this problem. I post my code [code] <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page import="it.yacme.mystiquexml.mapping.Modello"%> <%@ page import="it.yacme.mystiquexml.mapping.*" %> <%@ page import="it.yacme.mystiquexml.business.YacmeRemote"%> <%@ page import="it.yacme.mystiquexml.presentation.YacmeLocator"%> <%@ page import="java.util.Iterator"%> <%@ page import="java.util.List"%> <%@ … | |
Hi, I have hidden field in the jsp mentioned below: [B]<input type="hidden" name="SelectedTime" value="<%=request.getParameter("SelectedTime")%>"/>[/B] How to set this hidden field value to null? I tried using request.setAttribute. But it is not working. Please note i am using this field in the current page only. Please help me out. Regards, hampali |
The End.