3,760 Topics

Member Avatar for
Member Avatar for silhoutte

Hey, Currently I am doing an assignment building an enterprise web application. One of the specification states that I need to make a calendar view of a booking system in JSP. Is there a library out there that help me doing this? Calendar view here is a page that represents …

Member Avatar for peter_budo
0
113
Member Avatar for rp_prasanna

i have struts html based checkbox <html:checkbox disabled="true" value="Y" property="active" >Yes</html:checkbox> when i submit the form after checking the checkbox the bean value should get "Y" value. Since the checkbos is disabled the bean value becomes null even after i check the checkbox do any one know a solution for …

Member Avatar for javaAddict
0
52
Member Avatar for vishalanuj

[CODE]package Add; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionForward; public class AddSuccessAction extends Action { private final static String SUCCESS = "success"; public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { …

Member Avatar for vishalanuj
0
249
Member Avatar for shuchi.vishnoi

There is a jsp page on which I have to access the selected value from a dropdown list and then compare it's value with the field 'role' stored in mysql database. I have to comapre both values to authenticate the user. I can access the role from dropdown list but …

Member Avatar for Thirusha
0
170
Member Avatar for neeraj20gupta

i m a stater with jsp .... have installed Tomact 5.0.28. Its displaying server page when i type [url]http://localhost:8080[/url] now i have made a simple context.jsp file----> [code=JSP]<HTML> <HEAD> <TITLE> Context </TITLE> </HEAD> <BODY> <% out.println("First JSP APPLICATION"); %> </BODY> </HTML>[/code] placed it in a folder ch in webapps folder …

Member Avatar for neeraj20gupta
0
195
Member Avatar for MORACOM

I have this JSP code that i found online and it seems to work cuz it loops thru the xml file and writes the HTML code for the TRs and TDs but for some reason is not displaying the data. Am i missing something? [CODE]<%@page import="org.w3c.dom.*, javax.xml.parsers.*" %> <% DocumentBuilderFactory …

Member Avatar for peter_budo
0
134
Member Avatar for alsoumhi

hi experts, hope you are fine. I am having a connection problem from client side to my servera(localhost:8080/project). client can access to my normal pages either jsp or html. However, for the jsp pages that show information stored in database , they are not appeared in client side and I …

Member Avatar for peter_budo
0
53
Member Avatar for ceyesuma

Topic The topic of this question is: JSF_navigation and database connection Hello and Thank you in advance for any assistance. [b] System info: [/b] Netbeans6.7.1,jsf1.2,two MySQL databases.(one for login one for searches) [b] The purpose of this post is: [/b] Try to get the login jsp to switch to the …

Member Avatar for ceyesuma
0
158
Member Avatar for dombit

Ok, I use apache web server to host a club website within a school network. Now I need a script to display the ip address of my web sever because it is constantly changing. Is there scrip that will perform this function. note: the site only works within the school …

0
68
Member Avatar for ddempsey96

Web Server: Sun Java System Web Server 7 update 5 I have inherited a JSP application and am trying to get it to work. I have figured out that it has something to do with the [ICODE]<input type="file"> [/ICODE]tag, because I cut all the rest of the code out. [CODE]<input …

Member Avatar for ddempsey96
1
275
Member Avatar for Sujata Bandyo

Hi Friends, I am having problem with the above code snippet. Initially it woked fine. But now it is giving an error of java.sql.SQLException: ORA-01722: invalid number. How can I resolve the exception? Thanks. [code=JSP] try { String ein=(String)session.getAttribute("EIN"); System.out.println("inside try block"); Class.forName("oracle.jdbc.driver.OracleDriver"); con=DriverManager.getConnection("jdbc:oracle:thin:@10.9.16.2:1521:TESTDB","HE","HE123"); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select distinct REV_OWNER …

Member Avatar for masijade
-1
2K
Member Avatar for anantha_krish

Hi I just tried to create the login form using java,jsp and servlets.The database am using here is mysql. The tool am using is eclipse galileo.The code is as follows: <index.jsp> [code=JSP]<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; …

0
54
Member Avatar for shanks_86

heyy can ny 1 help me.....m wrking on jsp using ajax......i built a small application...as m new to ajax.....i built 2 field....FNAME & Lname and when my application used to do is..when you enter ur first name.....n press the tab button...the last name shld come from data base......but its nt …

Member Avatar for kvprajapati
0
113
Member Avatar for timon_zed

Kindly go through the code below and the little explanation that follows thereafter... The code for the web form [CODE]<form name="purchase" action="Purchase" method="POST"> <table border="1"> <thead> <tr> <th></th> <th></th> </tr> </thead> <tbody> <tr> <td>Product Number</td> <td><input type="text" name="ProdNum" value="" maxlength="7" /></td> </tr> <tr> <td>Quantity</td> <td><input type="text" name="quantity" value="" /></td> </tr> …

0
58
Member Avatar for Xessa

I have a Servlet and JSP page. I invoke a method with form submit and the method is a java method. [code] response.setHeader("Content-Disposition", "attachment; filename = report.XLS"); response.setContentType("application/vnd.ms-excel"); response.getWriter().write(result); response.getWriter().flush(); [/code] Everything works fine but it tries to fit the columns in 1 page. So i have a long adress …

Member Avatar for ~s.o.s~
0
78
Member Avatar for adityam4444

I have a struts 1.x application which uses JDK 1.4. I want to implement YUI Compressor in this. What can be the best ways to do that? Step wise instruction will be very helpful. Thanks.

0
44
Member Avatar for chinu

please let me know something abt how to go for making of on line examination project using jsp and beans as soon as possible

Member Avatar for peter_budo
4
212
Member Avatar for rajeesh_rsn

hai I am a PHP programmer and I likes to study JSP from the base level. Please advice me a right book to start. Thanks in advance Rajeesh

Member Avatar for peter_budo
0
125
Member Avatar for 633shane

Hi All, This is my first post on here so please be gentle with me! We have a website that provides new car prices instantly to customers. One problem we are having is that Google (we think) does not like our 70000+ duplicate page titles. Those pages come from our …

0
56
Member Avatar for rizza_f

According to thread MVC above, I create web.xml like this [CODE] <servlet> <servlet-name>addServlet</servlet-name> <servlet-class>servlet.AddServlet</servlet-class> <init-param> <param-name>dbURL</param-name> <param-value>jdbc:odbc:database</param-value> </init-param> <init-param> <param-name>dbUserName</param-name> <param-value>username</param-value> </init-param> <init-param> <param-name>dbPassword</param-name> <param-value>password</param-value> </init-param> <init-param> <param-name>JdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </init-param> </servlet> <servlet> <servlet-name>loginServlet</servlet-name> <servlet-class>servlet.loginServlet</servlet-class> <init-param> <param-name>dbURL</param-name> <param-value>jdbc:odbc:database</param-value> </init-param> <init-param> <param-name>dbUserName</param-name> <param-value>username</param-value> </init-param> <init-param> <param-name>dbPassword</param-name> <param-value>password</param-value> </init-param> <init-param> <param-name>JdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </init-param> …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for feoperro

Hi, Below I have code that contains ajax on a JSP. The JSP runs the Servlet which gets a parameter from the JSP and returns the exact same input field's value. For some reason, it is returning a null though. Can someone please assist? Servlet: [CODE] package Web; import java.io.IOException; …

Member Avatar for feoperro
0
135
Member Avatar for alsoumhi

hi all , I have finsihed my small project(online form system), I mean the development stage, now I am looking for how I deploy it in windows, exactly windows professional environment . what do I need in order to successfully access to online form project installed in windows professional. I …

0
57
Member Avatar for Abdul Gaffar

How i can make JSP as SMS sender to all celular operator. If someone has some reference or any source for more information. :) Thanks before.

Member Avatar for kvprajapati
0
26
Member Avatar for ankitjain_dce

Hi All, We had an issue in our project that one user was able to see each other's data, we identified the problem as of caching by the proxy server of those users. On checking we found, we were not specifying any caching preference in our server side code and …

0
61
Member Avatar for britto

hello.. i need help on how to convert a video to byte stream and i must sent that comverted stream through internet and in client it must be again changed to a video ... what must i do??

Member Avatar for britto
0
100
Member Avatar for wildheart25c

you've read it once you've read it a thousand times! probably responded to it just as many times. Now i ask that you respond one more time I've added as many details as possible becuase i've tried the solutions in an old thread in this forum but no luck. [url]http://developers.sun.com/mobility/midp/articles/tutorial2/[/url] …

Member Avatar for wildheart25c
0
251
Member Avatar for lukethedrifter

I know this contains actionscript, but the server side is Java. I am trying to get a red5 server to insert into mysql, but I can't get eclipse to compile this client side code. Could someone tell me if this tutorial is up to date with galileo, the new version …

Member Avatar for lukethedrifter
0
68
Member Avatar for r1990

i created a dropdown list containing university names e.g. 'oxford' 'cambridge' and so on. I would like the uni selected from the dropdown list to be sent to another page as the heading. I am having trouble doing this myself and I dont want to create a page for every …

Member Avatar for javaAddict
0
144
Member Avatar for ash2401

I am new to JSPs. I would like to know how can I get the database info (drivername, url, username, password etc.) to load from a config file into the JSP rather than hard coding the values there. Thank you everyone in advance.

Member Avatar for emnidhi
0
101
Member Avatar for Anjana sharma

The End.