3,760 Topics
| |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
hi, i need a jsp code fordisplying a second form(form2) when i click a submit button. plz help me. | |
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. | |
| |
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 … | |
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 | |
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 … | |
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; … | |
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 … | |
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 = … | |
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 = … | |
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 … | |
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 … | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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** | |
Pl. help in handling button events in JSP like calling a servlet on Button click or executing java code. | |
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 ? | |
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 … | |
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 … |
The End.