4,248 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 | |
I am a newbie ...and i m working on a casetool....named Coolgen... Which Generate the jsp pages.... now i have added a html control on my page...... <input id="demo1" size = "10" onBlur="magicDate(this);validate1();" > Now there is a onther field.... which is ool gen field.........whose id is 'PUBLISH_DATE' i want … | |
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 ran hijack this and saved the report it spit out. Didn't do anything more since I can't read these logfiles as of yet: Logfile of HijackThis v1.99.1 Scan saved at 1:16:54 AM, on 7/15/2008 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16674) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe … | |
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 … | |
I am wondering what does people put for programming experience time frame? Do they put the total years of which they programmed for companies or do they put years where they learned and mess with programming like in college, high school, etc. I am asking this because lot of jobs … | |
Hi All, I am thinking, it would be best to generate the complete Javascript Code for the navigation menu within a Java-Class and call this functionality out of the JSP page. To make it easier to maintain the menu-structure and all the therefore needed information, we had the idea to … | |
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 | |
Hi, I am working in a finance project where each transaction table is having more than 4 Million records just for 3 months. I have user & branch related information on other tables. I wrote a joined query by joining around 5 tables to summarize the report based on Branch, … | |
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"? | |
i am making a project using jsp and i am stuck with the signup page i want the user to enter its username , password, re enter password and a security question plz can any one provide me with the code or something i shall be very very thakful to … | |
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"%> <%@ … | |
Hello friends i m trying to connect my jsp code with mysql front but i found myself helpless. please guys help me.....this is the code. <%@ page import="java.sql.*"%> <%@ page import="javax.sql.*"%> <%@ page import="java.util.Vector"%> <%@ page import="java.io.*"%> <%@ page language="java" %> <%@ page import="java.lang.*" %> <%@ page import="java.text.*" %> <%@ … | |
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 | |
Hi can any help me how to call a Crystal report 10 in JSP? Please provide me sample codings if you have. [B]Thanks[/B] in advance | |
I am using one jsp page. In that page there is a field to select a date this value will go to the report and report contain one selection formula. Which value we are passing on that basis the report should display with date which we are passing from GUI. | |
Hi, first of all I apologise for all the mistakes I am going to do writing in English. I will try to explain what I should do. I manage a web site where the owner like to put a sort of newletter for members. It doesn't sound so difficult... but … | |
Hello: I was implementing payment processing through Moneris. I set some information in session variables. Then I go to moneris hosted page. After I come back from moneris, my session variable values expire. What am I doing wrong? If increasing session timeout variable will work or not? I am using … | |
Hello: I was implementing payment processing through Moneris. I set some information in session variables. Then I go to moneris hosted page. After I come back from moneris, my session variable values expire. What am I doing wrong? If increasing session timeout variable will work or not? I am using … | |
i have a USERNAME and PASSWORD text field. how can i call it using JSP | |
hello guys, good day! i would like to seek for help regarding on how to cascade drop down list using struts tag <html:select> with ajax. it goes like this. drop down list 'A' is the list for Car Brands and drop down list 'B' is for the Car models by … | |
hi, want to call td element value to next page ,which is getting thru session attribute.while calling getting null in next page. below is my code pls help me thanks in advance. <input type="text" id="tname" value="<%= session.getAttribute("ename") %>"></td> next page iam calling as: name=request.getParameter("tname") | |
so i have a war deployed, and i need to make a temp file. but when i make one in the java app it creates it in the tomcat root which is not equal to the web root... how do i create a tmp file in the root if i … | |
hello, i am trying to convert a doublt to float but it doesnot work on the form..can some one please help me.my code: <display:column property="WGTD_AVG" title="Avg.Sales 3Months" sortable="true" class="alignright" format="{0,number,###.##} " style="text-align: right;" /> thanx a lot, cutelucks | |
Dear my friends, I really need your help to work out JSP function in my website. In navigation section, I want jsp code which can show all information relevant to a navigation button customer click on: Eg: I have navigation called laptop. After clicking on laptop navigation, customer will see … | |
HELO, Can anyone tel me where i can find gud tutorial fro building a simple strut application. Thx. | |
Dear All, Im Raj. Im currently working on a project where there is a requirement on inserting the login details into mysql database. Im not sure with the code. Can anyone provide me the code to achieve this task. For example, i want to store login name, login time into … |
The End.