Hi All,
I have a JSP page where I load an arraylist which has the list of fields to be displayed.If the arrayList has nothing I will not load any inputbox else create as many input boxes as there are in arraylist which is done correctly.I keep a name field1,field2,field3...fieldn where n is the size of the array.Now When I submit my...
I'm using grails and want to use an in-house custom JSP taglib in the project. Does anyone know how to do this? I've seen references to getting other jsp taglibs working but not if you've written them yourself. I have a jar file called 'common-view.jar' in the lib folder and have tried this code to reference it:
<%@ taglib uri="${cre...
Hi Guys,
I have a requirement in jsp , an user can enter details in one screen and screen to follow, and has next and previous button to go to next screen. When he clicks on next button , he goes to another screen where he enters or modify some details and similarly he clicks on next button,till the final screen where he asked to confir...
Hi,
Any ideas how I get rid of white space on my IE browser. It is caused by a hidden div. When I remove the div the white space goes. Works fine in FF.
Here is the DIV:
<div class="hidden" id="popup">
<div>
<H1 class="center" id="popupTitle"></H2><br/><br/><br/>
<div style="position:relative; display:inline;">
<p id="popu...
Hi, all.
Does anyone know of any tools out there that will let me run and debug a VXML application visually? There are a ton of VXML development tools, but they all require you to build your application within them.
I have an existing application that uses JSPs to generate VXML, and I'm looking for a way to navigate through and debug ...
i have a a tree structure of folders and documents. There are options to edit, delete, move and add new folders and documents. When the user do these actions I will have a jquery ajax call to update the database.
The question is how to refresh the tree structure when the update is done? it is not in an iframe or frame.
i don't want to ...
I'm having a problem with JSTL formatDate when displaying dates from MySQL database. I am using DAO layer for communication with database and in beans, dates are stored in java.util.Date objects. In JSP the code looks like this:
<fmt:parseDate value="${season.startDate}" pattern="dd.MM.yyyy."/>
When I try to run this page I get java.te...
One of the things that's neat about the IIS / ASP.NET environment is the ability to do an "xcopy deployment" - you can literally just drop a stack of .aspx pages in a web-shared directory, and ISS will figure out how to show them to the web.
Is there a way to do something similar with JSPs?
The exact use case in question is this: we ha...
I'm running an exploded war on weblogic 10.0 in production mode.
I want to modify a jsp without having to fully redeploy the application. I can't seem to achieve this using the weblogic.Deployer with a partial redployment - see:
http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs100/deployment/redeploy.html#wp1025739
This must ...
I'm using jsp:include inside json-taglib's json:property element. The problem with this is that all HTML elements from included JSP page gets stripped at some point and only plain text remains. I have already stripped all newlines so the result shoud be valid JSON data.
How do I get full HTML returned by json-taglib?
Below is a snippet...
Hi All,
I have a model with this method:
public List<String> getPriviledgeNames()
I'm trying to display a list of checkbox in my jstl page, and I'd like to checked only the ones which their name is in the list returned from my model.
So I have something like:
<li>
<input type="checkbox" name ="priviledge" id="CheckBox2" class="c...
I am beginning to break apart a large JSP file into a some smaller JSP pages so I can reuse this across other areas of the site.
I can take the approach of leaving as a large Monolithic JSP file that takes params and adjusts it's behavior accordingly. The other approach I can take is breaking it apart so that it's called via jsp:i...
I want to modify my jsp page after submission with some additional readonly fields. I have used iterators and if conditions. I am working in struts2. How to reset my save page after saving?
public String savePerson(){
Session hSession = ActionManager.getHibernateSession();
profileObj.setProfileId(pid);
Date doBir...
I'm not a total beginner in Java, but I just don't know the skills I need to make a jump to JSP. I have been programming with PHP for a few months now.
...
I am trying to make a mail application through apache james, but I could not really get all the
things, please give suggestions how to use it. MOreover, I could not figure it how to use jsp and servlet for james. Please help.
...
I want one of my servlets (test2) to handles the "/" request (i.e. http://localhost/), while another servlet (test1) handles all other requests ("/*").
I set up my web.xml below, but the problem is that ALL requests go to test1.jsp (even the "/" request)
Can someone tell my how to accomplish this?
<servlet>
<servlet-name>test1</se...
Hi everyone,
A pretty basic JSP question, since I'm still trying to understand the right way to do things.
I'm working on a web app which requires users to log in before working. What I'd like to happen is, anytime a user that isn't logged in tries to access any page (other than the login page), the user will be redirected to my login ...
Hi,
I am having an issue with a jquery function. It works in FF but not in IE 6. I want the function to be triggered when any option inside a select drop down is clicked. Here is the start of my funcation:
$('#titleSelect option').click( function() {
alert("title clicked");
......
});
Here is my drop down list:
<selec...
Hi,
I've got a JSP page, which calls a function and checks its return value. If the return value is not null, the JSP page goes on to use it. If the return value IS null, I want the processing of the JSP page to stop (this is because the function will perform a redirect before returning the null object. Also, the rest of the JSP code ob...
I need to hide an element if certain values are present in the JSP
The values are stored in a List so I tried:
<c:if test="${ mylist.contains( myValue ) }">style='display:none;'</c:if>
But, it doesn't work.
How can I evaluate if a list contains a value in JSTL, the list and the values are strings.
...