RE: PDF File Display in JSP-Struts

2003-11-14 Thread Jarrod M. Lugo
The question that Abhijeet asked was how to do it in a JSP. I agree that doing this is a kludge. Regards, Jarrod Lugo -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:09 PM To: [EMAIL PROTECTED] Subject: RE: PDF File Display in

RE: PDF File Display in JSP-Struts

2003-11-12 Thread Jarrod M. Lugo
It may be an issue with using white space inside your jsp. I normally do something like this (using a custom fo to pdf bean)... (note: everything up to, and including, the c:set var=junkWhiteSpace is on one line) %@ page contentType=application/pdf %%@ taglib prefix=c

RE: Struts custom tags tutorial

2003-08-26 Thread Jarrod M. Lugo
Using some style sheet logic in conjunction with JSTL is an elegant solution. Here's a quick snip of code to do just that (the arraylist should come from the action, and the style sheet should be in it's own file, but you get the idea). *snip* style type=text/css !-- .negative_true {

Problems with Struts 1.1, html-el, and weblogic 6.1

2003-07-29 Thread Jarrod M. Lugo
I have been running Struts 1.1 on WebLogic 6.1 with no problems (using both the html and html-el taglibs), until I tried to use the precompile option. If I have a page that uses the html taglib, the compilation works fine. But if I change the page to use the html-el taglib, I get this error. Any

RE: Newbie Question about tiles definitions. I am lost :(

2003-02-14 Thread Jarrod M. Lugo
M. Lugo [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 2:14 PM To: Struts-User@Jakarta. Apache. Org Subject: Newbie Question about tiles definitions. I am lost :( Hello, I am trying to get tiles to work with definitions, and I am having a little trouble. How do I get either

Newbie Question about tiles definitions. I am lost :(

2003-02-13 Thread Jarrod M. Lugo
Hello, I am trying to get tiles to work with definitions, and I am having a little trouble. How do I get either the home page or products page to show up in my browser? struts-config.xml: action path=/home forward name=success path=.home / /action action path=/products forward

RE: Difference between Tiles and Templates ?

2003-02-10 Thread Jarrod M. Lugo
I have tried replacing template:* with tiles:*, and some of my apps do not work properly. I am at a loss as to how to nest tiles tags, because I used to do it with templates, but I can't with tiles... I posted messages before about this issue, but didn't get any responses. Any help would be

Nesting a tiles:insert inside of a tiles:put is returning Illegal to flush within a custom tag

2003-01-30 Thread Jarrod M. Lugo
Hello, I have a situation that I need to nest a tiles:insert inside of a tiles:put. I did this with template tags in the past with no problem. I am now getting an Illegal to flush within a custom tag error when I changed all the template tags to tiles. I have read about similar problems when