Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top JSP Solutions: 1 - 25 of 121
 
I am using the following stub in my jsp page to display the selected value ("Read" or "Write")           <html:form action="/addRole">                Role Name  <html:text property="rolename"/>                <table>           ...
Hello all, I have a form with 2 submit buttons. Depending on which submit button is clicked by the user, a hidden control with value command is used to pass a command to a servlet for proce...
Hi, I want to find in controller JSP which button is clicked i.e. submit button or cancel button. Please help me with this as I want to take different action based on that. in the enclos...
<HTML> <SCRIPT> function call(){ alert("MANI"); //window.open("<%= response.encodeURL("http://192.200.100.120:10038/com.tce.test/webengine/fileupload/NewWindow")%>"); window.self.close(...
Hello, I am trying to read the current URL in my jsp page (Java Spring Application) . I am using the current code segment to obtain that: ${pageContext.request.requestURL} The issue is ...
Hi, I have a simple JSP page in which i have referenced a java BEAN and made specified its attrivbute to "session". now i do lots of things from this bean. What i would like to do here i...
I have a label tag in my jsp page. <label class="FormLabel" id="titleName_id" ><%= request.getAttribute("titleName") != null ? request.getAttribute("titleName") : "" %></label> <%= requ...
i have created an excel sheet using POI library in a struts application and i want to allow the client to save the excel sheet in his system. i want to display some kind of window to allow the...
How could i create login page using jsp Based upon the login user name and password  and it enter in to the next page How could i run the first program using tomcat server
I have requirement to display value based on key selected in dropdown above. As this is in same form so I need to way to display this please help me with sample code. This is what I have done ...
u have a form where it has two buttons when i click one button i have to call jsppage1 with parameter emp_name,when i click second button i have to call jsppage1 with another parameter can ...
Hi , I am working in struts , I have a parent window  which has a popup. when i click on Add button the PopUp window should open and it has some id and lables need to be populated. when i cl...
I am implementing the file upload in jsp using struts, for thi si used the file tag. I am able to upload the file. But i want to validate the file directory path as user manually typed like 'a...
Hi, I'm trying to call the javascript blur function in the onFocus event, for the Select (dropdown) element on my page. It doesn't work. Any idea why this doen't work?? But it works for oth...
I have a Struts form with a <html:textarea>, but the text is not wrapping within the textarea box.  "wrap" doesn't appear to be a part of the tld for this tag.  Any ideas?
I am creating a web page using JS for e-store. At the end I like to send the a email to user for confirmation. How can I do for sending the email out using JS? Thank you! Best Regards, John
I'm attempting to create a table similar to the attached code. Basically, in the first column there will be a selectBooleanCheckbox which the user can select in order to "join" the group that'...
give me example on pagination in jsp .
Hi, i have code like below. i need to get the selected values and create a record for each selected value. how can do proceed? while(AssetsRS.next()) {                     String strAsset = AssetsRS.get...
HI, I have series of checkbox. i need to check only one check box at a time. for ex: if i am having 10 checkboxes, i can only check on check box ( like radio button).. how to do this.. ( ...
I am new to java and am trying to make a login page which stores the users login details into "users.xml".The problem is that every time i add a user the users.xml is recreated losing the prev...
I want to submit a series of HTTP requests from my JSP/Servlet page. (Inside a for or while loop. Here I cant forward or sendRedirect) Thanks
Dear Experts I am facing problem while uploading the files through my JSP and i am using commons fileuplaod API and DiskFileItemFactory factory = new DiskFileItemFactory(); ServletFile...
I'm converting from JSP using scripts to JSP using JSTL. My current JSP retrieves data from a bean as follows: <jsp:useBean id="eventRegistration" class="com.xxxx.EventRegistration" scope="...
Hi From my JSP page I am calling a function of a java class .I am getting error . My jsp page where calling is {code}barCodeClasss1 barcodeJCOObj = new barCodeClasss1(); int i =barc...