3,760 Topics

Member Avatar for
Member Avatar for sasikrishnasamy

hi, I am having doubt in peter_budo 's Mvc tutorial, in datbase design he has separate table for group mapping, Even we can add seperate feild (like group) in user table itself to acheive the same result, Is there any advantage in seperate that, Pls some one guide me. Sorry …

Member Avatar for pritaeas
0
159
Member Avatar for Raghu D

hi ! Actually the operation is as follows.when the user clicks the"search" button in t he jsp, the datas from mysql is sent to jsp page.If the user likes to print the datas,he has to click "print" button.Then the datas in the jsp page has to be sent to the …

Member Avatar for Ramkeeys
0
250
Member Avatar for staneja

I am very new to JSP language and i ahve worked a lot on JAVAlanguage and i have configured my Tomcat Server also and its running fire I would like to know about the steps that i am required to follow to Execute my JSP File. 1.Please tell me in …

Member Avatar for Gayanmdh
-4
4K
Member Avatar for rpjanaka

hi all. I have a form in [COLOR=darkred]page1.jsp[/COLOR]. the action for that form submit is in [COLOR=sandybrown]page2.jsp[/COLOR] so I want to just come back to the [COLOR=darkred]page1.jsp[/COLOR] after processing the request.(reload the first page again) so in [COLOR=orange]page2.jsp[/COLOR], how can i redirect the display page to the [COLOR=darkred]page1.jsp[/COLOR] here I …

Member Avatar for Ice515
0
2K
Member Avatar for treasureireland

Hi, I am trying to display certain content to certain mobile devices, specifically displaying alternative content to iphone's as they cant play flash. I am currently using the detectmobilebrowsers.com JSP code, to redirect my site from the full version to the mobile site, the code is as follows: <% String …

0
102
Member Avatar for daravindm

hi, i need a jsp code fordisplying a second form(form2) when i click a submit button. plz help me.

Member Avatar for rajesh1158
0
75
Member Avatar for fularipk

Hello friends, I am working with jsp and oracle database and The problem is after inserting 3 enteries(rows) through form filling into database next enteries are not going in databse.So please suggest me something.

Member Avatar for anand01
0
166
Member Avatar for hasstechit
Member Avatar for anand01
0
93
Member Avatar for bibiki

hey there, I am trying to set up tomcat on my computer (I am so new to this, I am not even sure I am explaining my problem correctly.) I was told to install XAMPP. I did using the installer that appache's web site offers. It says that the installer …

Member Avatar for mahadeb
0
2K
Member Avatar for anand01

When I run the follwin cod it shows err could any one tell me <%@page import="java.util.ArrayList"%> <%@page import="BeanClass.User"%> <jsp:useBean id="listUser" type="ArrayList<BeanClass.User>" scope="session"/> Its Shows undefined type error thanks in advance

Member Avatar for brynFlew
0
68
Member Avatar for greek_wizard

Good evening, I have a simple problem. I'm making a shopping basket and i want to add some prices for the items but i can not figure out how to pass the value from one page to another in order to view the total ammount of payment in the cart …

Member Avatar for brynFlew
0
1K
Member Avatar for lemur

Hi there, I wrote code that reset search settings, code is: function formReset() { var fields = document.getElementsByTagName( "input" ); for ( i = 0; i < fields.length; i++ ) { if ( fields[ i ].type == "checkbox" ) fields[ i ].checked = false; } document.getElementById( 'rrpmin' ).selectedIndex = 0; …

Member Avatar for peter_budo
0
116
Member Avatar for mydreamgirl

I installed Apache Tomcat 7.0.28 in my JBuilder6. I use JDK 1.6.0_32 (jre6). I can get http://localhost:8080/ page. However, when I tried to run my JSP file, I encountered following error: org.apache.catalina.startup.Bootstrap start -config "C:\Documents and Settings\user\jbproject\whoznextdoor\conf\server8080.xml" -nonaming Jun 23, 2012 8:22:47 AM org.apache.catalina.startup.Bootstrap main WARNING: Bootstrap: command "-nonaming" does …

Member Avatar for peter_budo
0
145
Member Avatar for vazzdoin

i am facing a problem in running multiple queries in jsp page, as it is unable to store the values in the 2nd result set i use in my page. tha code is written below: [code] String strQuery = "select * from services "; ResultSet rs =null; ResultSet rs1 = …

Member Avatar for Manda.Ravi
0
1K
Member Avatar for revanthb3000

I'm having trouble trying to run the unoconv command in a .jsp file. Here's my code : String pyfilelocation = request.getRealPath ("/") ; String[] cmd = new String[4]; cmd[0] = "unoconv"; cmd[1] = "-f"; cmd[2] = "html"; cmd[3] = "temp.doc"; Runtime rt = Runtime.getRuntime (); Process pr; String helplocation = …

0
66
Member Avatar for bilfus01

I am hoping this is an easy question. I am not well versed in Java, I am a ITSM admin, but the ITSM product we use comes with Tomcat as it's web server. I am trying to find out if there is a simple way to set index file (welcome …

Member Avatar for Imby
0
152
Member Avatar for hprem991

Hello All, I am stumbled with one problem regarding HTML Tag Name which is a Varible and I am reassigned it value in runtime. Actually the Code is something like this. <% String var=null; for (int i=0;i<=5;i++) { var=(String)i; %> <div id=var> </div> <% } %> No if I want …

Member Avatar for kvprajapati
0
111
Member Avatar for daravindm

Hi friends,, please help anyone.. I want to send a auto mail when i apporve(button click) the user. how it possible, please provide the link or code.. thanks in advance

Member Avatar for poojavb
-1
77
Member Avatar for sureshksk

Hi All I am using struts2 for my multi lingual web application.Here I am faceing a problem with select box ,which contains options in different languages. I am using standard HTML code for representaion of the characters in different languages. Problem is selectbox not showing options in diff languages,rather it …

Member Avatar for sureshksk
0
109
Member Avatar for vinithktp

Hi All, I am facing an issue with apostrophe. Please look in to my code [CODE]String ss1="St: Mary's School."; out.println("<input type='text' name='shipTest' value='"+ ss1 +"'>");[/CODE] Output: St: Mary Not able to display letters after the apostrophe. Kindly help me to resolve this issue. Thanks in advance -- Vinith

Member Avatar for Manoj Phutela
0
889
Member Avatar for shilu2

Hi All, Can you please help me how to create user defined function for database connectivity and return values to anather servlet. I have tried following code but it indicates error can not find symbol package controller; import java.io.IOException; import java.io.PrintWriter; import java.sql.*; import java.util.*; import java.util.ArrayList; import javax.servlet.RequestDispatcher; import …

0
85
Member Avatar for manish250

Hi All, I am not been able to understand "What is application context" even after trying a lot on google.Can anybody make be understand the application context concept and how it is different from servlet context. Thanks

0
122
Member Avatar for daravindm

i have adoubt about passing a parameter in JSP page.. could u help anyone please.. i have getiing a value from text box in jsp page 1 -> am using that text box value in jsp page 2 -> now i want to use that same textbox value in jsp …

Member Avatar for moniyak
0
153
Member Avatar for syfr

Hello. Me and my classmates are working on a project and we ran into some trouble. We are making an online storage system and for the storage we need a map. We decided to do it with a table (letters from A-Z are rows, numbers from 1-10 are collumns) that …

Member Avatar for anand01
0
118
Member Avatar for mcddewitt

Hello I am learning JSP authentication and am having issues. I think my code for this simple test looks pretty good but everytime I try to login I get my login error page: web.xml <!-- Define security roles --> <security-role> <description>administrator</description> <role-name>administrator</role-name> </security-role> <!-- Restrict access to all files in …

0
66
Member Avatar for daravindm

please give the code for searching a value from mysql databse in jsp page?... i created **1.search jsp 2.searchAction.jsp 3.searchBean.java** and created **DBConnection.java** for db connection and i need to view the search result in new page which is **searchresult.page**

Member Avatar for anand01
0
68
Member Avatar for jeetudaljit

Pl. help in handling button events in JSP like calling a servlet on Button click or executing java code.

Member Avatar for ethar.ammar
0
1K
Member Avatar for anand01

hi all , I know how to develop Mvc architectur application , Now I paln to learn frameworks, which one will be best choice structs or spring? , should I learn both ?

Member Avatar for anand01
0
110
Member Avatar for divsok

i created a jsp page and put a javascript code " window.onload=func(); " in the header when the page is loading.In that func(),i set two objects to the session (using AJAX) and get them back into the jsp.After debugging the aplication everything is ok.but jsp page doesn't display the content …

0
86
Member Avatar for cmaheshwari16

Hi all, I am giving the href to give a link to a file. The problem is that in IE it opens the text files in the same browser, but in mozilla it works fine(gives prompt of save as option). I want the same functionality for IE also, searching Google …

Member Avatar for almostbob
0
730

The End.