jsp

fmt:parseDate - a parse index locale can not be established

Does anyone know the root cause of this error? I am feeding known good data to the fmt:parseDate tag (its db driven data controlled by us), and yet this error randomly pops up. I can't seem to find a way to replicate what causes this exception. ...

Eclipse's WTP translation output

How can I view the intermediate translation done to JSP and JSPX pages by WTP? I'm getting weird syntax errors in my Problems tab of Eclipse in a project that has plenty of .jspx pages. They don't affect anything in the running application (Tomcat 6.0) and they appeared only over the last 2 weeks, after an update. The reason why I'd l...

Netbeans Error: "Could not add one or more tag libraries"

I am using Netbeans 6.1 and Tomcat 6.0.1.6. I made some very minor changes to a project that had been working and now I am getting the following error: com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: Could not add one or more tag libraries. The only change I made was to a backing bean method, no ne...

Any viewstate implementation for JSP-Servlet app?

Do you know any implementation / technique which would provide similar behavior as Viewstate provides in ASP.NET. (Serializing the data into hidden field within the HTML form). I am using only JSP, Servlet, and Spring MVC. ...

POST multiple parameters

I am changing a GET to a POST. Currently I have .jsp?id=a,b,c,d. When changing this to a post I am still sitting the id parameter a,b,c,d . This is not working for me. Can I submit a comma separated list to a post parameter? ...

How can I include a servlet in a jsp page?

is it possible to include a servlet in a jsp page? if so how? ...

IE Chopping off left of DIV

In IE6 the left of the #right-content DIV is cut off. I've been playing with it and can't get it to display properly. http://philzit.com/services ...

How do I include a header into my site that is hosted externally?

We are hosting a site for a client and they want us to include the header they have on their server into the pages we are hosting. So whenever they change it, it will automatically change on our site. We are attempting to use the "include" tag in our JSP code. The code we are using is as follows: <%@ include file="www.CLIENT.com/CLIE...

Wicket and JSPs

I am trying my hands at Wicket, Using add(new Include()) syntax I was able to include jsps which are at the top level. However those which are present inside 'WEB-INF' cannot be referenced, is there any way to achieve this? ...

Loading JSP pages from custom sources

Would it be possible to execute a JSP page and capture its output outside of a web application? Mode specifically, in my case there still exists a usual web application, but it loads JSP pages not from its classpath, but from an arbitrary source. It seems like I cannot simply get RequestDispatcher and point it to a JSP file on disk. ...

How to configure spring HandlerExceptionResolver to handle NullPointerException thrown in jsp ?

From a jsp is thrown a NullPointerException for example using <% null.toString(); %> This exception is not handled by the HandlerExceptionResolver, but thrown to the web container(tomcat) and converted into a code 500 error. How can I configure spring to get that error in my HandlerExceptionResolver ? Details: Spring can be configu...

Tools to help with Internationalization of Strings in JSP

Are there any tools to assist with the internationalization of Strings within JSP files? Most IDEs (for example, NetBeans) offer such a feature for Java code. However, in the case of NetBeans, no such feature exists for JSP files. With gettext, for example, there is are various tools out there that assist with extracting text Strings f...

Is there a way to set timeouts in tomcat?

Can I set timeouts for JSP pages in tomcat either on a per page or server level? ...

Large JSP response is truncated :(

I have a JSP accessed through JBoss. It renders a list (a search result). If the response gets big, approximately larger than 200k the response is truncated. I can see how the page just ends in the middle of a tag in Firefox. IE totally freaks out an so does Fiddler. Responses smaller than 200k are no problem. Anyone has experienced thi...

TinyMCE in JSP(Struts application)

Which download I need to use to use TinyMCE in JSP(Struts application) I see Main Package, Development Package and also different Compression packages.. I am trying to implement Rich text editor for a text area in our application Thanks ...

WebSphere App Server Not Compiling JSP/Tag Libs

Hello This is a problem that only occurs on application update (only tested through Admin Console, not CLI). Also, this is only happening on our development environment, which is identical to our prod env. On uninstall/install, everything is compiled properly. However, this is a large application and it takes long enough to do an upd...

How do you get the length of a list in the JSF expression language?

How would I get the length of an ArrayList using a JSF EL expression? "#{MyBean.somelist.length}" does not work. ...

Print JPEG File Using JSP

Hello all, Is there a JSP script I can run to point to a JPEG file on the local filesystem to be printed to the Windows default printer? Thanks. Edit: I have the file on my server already. How would I load the file into a browser to run window.print()? Thanks ...

Eclipse & JSP: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V

I'm using Eclipse 3.4 with WTP 3.0.2 and running a fairly large Dynamic Web Project. I've set up the project so that I can access it at http://127.0.0.1:8080/share/ but whenever I do, I get the following error: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V at org.a...

Jsp useBean with struts

I'm pretty new at this so take it easy on me. The code I'm trying to get to work is: <jsp:useBean id="EJD" class= "MoverDetailForm" scope="application"/> <jsp:setProperty name="EJD" property="empFDJoiningDate" param="empFDJoiningDate" /> <% String empFDJoiningDate = EJD.getEmpFDJoiningDate(); out.print("please work" + empFDJoiningDate...