I wrote my own XML-PDF FOP servlet. Here is the code.
Maris
--
import java.io.*;
import java.net.*;
import javax.servlet.*;
import javax.servlet.http.*;
import org.xml.sax.InputSource;
import org.apache.fop.apps.Driver;
import org.apache.fop.apps.Version;
: Struts based app. and SSL doesnt work together
I had a similar problem with JRUN 3.1, after following the
instruction and
recompiled JRUN connector, the problem is solved.
What type of system are you using?
-D
- Original Message -
From: Maris Orbidans [EMAIL PROTECTED
for me... No matter if I access Apache and it's
SSL port or use Tomcat standalone (which I also configured to
use ssl on
8443).
Michael
-Original Message-
From: Maris Orbidans [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 3. Januar 2003 14:36
To: Struts Users Mailing List
Subject
architecture consists of Apache HTTP server, which talks to Tomcat. SSL support is
installed in Apache server.
Do you have ideas how to solve this problem ?
Maris Orbidans
app. architect
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
-Original Message-
From: Maris Orbidans [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 3. Januar 2003 14:36
To: Struts Users Mailing List
Subject: Struts based app. and SSL doesnt work together
hello all
We have finished a large project which was based on Struts.
Now our client
Try to comment this line.
html:text property=userToFind size=35/
I think it's only plase which can cause NPE.
Pls let us know if it works.
Maris
-Original Message-
From: kiuma [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 8:18 PM
To: struts-user
Subject:
grained getXXX setXXX methods through local interface, not
DTO's as set/get parameter or ejbCreate
with a lots of arguments.
Maris Orbidans
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
hi
I have a bunch of checkboxes genereted in a loop:
logic:iterate name=ZurnaluProjekti property=saraksts
type=lv.datapro.lad.pri.utils.ZurnaluProjektiView id=element
html:checkbox name=ZurnaluProjekti property=raditIzdruka/
But when I read values of checkboxes
I have solved it. I can read numbers of contracts to print as checkbox values.
html:checkbox name=ZurnaluProjekti value=%=element.getLigumaNumurs()%
property=raditIzdruka/
Maris
-Original Message-
From: Mâris Orbidâns
Sent: Wednesday, August 28, 2002 8:53 PM
To: Struts Users
http://www.theserverside.com/resources/article.jsp?l=Struts1_1
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
hello
html:text tag has styleId attribute which is Rt Expr. I havent figured out how to
generate html:text tags (in a loop) with different styleId attribs.
Maris
styleId Identifier to be assigned to this HTML element. [RT Expr]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Here you got sample code:
Zurnals4Buvniecibas is form class, it has property saraksts which contains a vector
with objects of Zurnals4CommonView.
Zurnals4CommonView has properties jaiesniedzAtskaite, jaiesniedzDatums and so on
...
Maris
logic:iterate id=element
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 7:30 PM
To: Struts Users Mailing List
Subject: Re: Is it possible to generate styleId ?
Maris Orbidans wrote:
Hello
I would like to have styleId different for each html:text
element. How to achieve it ?
logic:iterate id
Hello
I would like to have styleId different for each html:text element. How to achieve it
?
logic:iterate id=element name=Zurnals4Zem6 property=saraksts
type=lv.datapro.lad.pri.utils.Zurnals4BaseView
td class=small3
html:text name=element styleId=123
this
servlet
servlet-nameaction/servlet-name
servlet-classlv.datapro.lad.pri.actions.LADActionServlet/servlet-class
...
init-param
param-namerequestEncoding/param-name
param-valuewindows-1257/param-value
/init-param
load-on-startup2/load-on-startup
/servlet
regards
Maris
We use Struts in our project.
it's very good
Pros:
+ you can apply your OOP skills and build large class hierarchies of form beans and
+action classes
Maris
-Original Message-
From: Struts Newsgroup (@Basebeans.com) [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 10:55 PM
I believe that the best IDE is TogetherSoft Control Center. Beats even .net Visual
Studio.
It's sad that CC costs so much :-(
Maris Orbidans
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 5:13 PM
To: Struts Users Mailing List
When is it bad form to use form beans?
For example, if you are processing a web page with several form
fields and the only goal of the process is to get the information
from the form fields into the data base, is it ok to send a form bean
from the Action servlet directly to a class in the
Maybe you can add a hidden param formName in all your JSPs.
html:hidden property=formName value=Name1/
Then in your action class check which JSP page HTTP request came from and forward back
to corresponding page.
Don't know better solution.
Maris
-Original Message-
From:
for the last 4 months and don't mind it. I see it as a poor
mans EJB.
Poor man's EJB ? :-)
No, EJB deals with very different problems.
Also, seems like Struts is more useful for smaller
companies and EJB is
more suitable for large corporations. Is this pretty much a valid
Yes, of course, it's possible. There is no requirement that class you work with must
be derived from ActionForm.
A class derived from ActionForm is a bean.
Logic tags also can work with cookies, request headers etc. ( see doc. of logic tags
)
I'd suggest you to create some JavaBean ( in
You specify classpath during compiling:
C:\javac
Usage: javac options source files
where possible options include:
-classpath path Specify where to find user class files
-sourcepath pathSpecify where to find input source files
-Original Message-
From: Gilson
And don't put struts.jar in global classpath.
Maris Orbidans
You specify classpath during compiling:
C:\javac
Usage: javac options source files
where possible options include:
-classpath path Specify where to find user class files
-sourcepath pathSpecify where
I like the tutorial. Thank you Stephan !!!
Maris
PS
http://rzserv2.fhnon.de/~lg002556/struts/#pi2
Should be TLD instead of LTD, shouldn't it ?
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 3:10 PM
To: 'Struts Users
:
define forward to action class.
forward name=Page2Action path=/Page2.do/
In action class of first page do this:
if (NextIsClicked) return mapping.findForward(Page2Action);
hope it helps
Maris Orbidans
-Original Message-
From: arul [mailto:[EMAIL PROTECTED]]
Sent: Friday
Does it depend on scope of a session bean ?
thanx in advance
Maris Orbidans
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Have you written your encoding in page tag like this ?
%@ page language=java contentType=text/html; charset=windows-1257
%
Have you read
http://tagunov.newmail.ru/i18n/i18n.html
Maris
-Original Message-
From: Haider Kazmi [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002
hello folks
html:errors/
prints
null blablabla null
Why null gets printed ?
if(!user.isPasswordValid(request.getParameter(password)))
{
log.info(Incorrect password for
+request.getParameter(username));
errors.add(password, new
hello
What if there is no request attribute with name READ ? NPE ?
logic:equal name=READ scope=request value=true
/logic:equal
Maris Orbidans
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
hello
Do I have to use Nightly Build to get subj. ?
1.0.2 says
Lemums1.jsp: Attribute indexed invalid according to the specified TLD
at line 194, column 5
html:text indexed=yes property=labCits size=20 maxlength=20/
Searched mail archive but didnt find any useful.
Maris
How to use indexed properties?
Please, give me an URL with examples or documents.
Maris Orbidans
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
tdjsp:getProperty name=element property=work//td
tdjsp:getProperty name=element property=email//td
tdjsp:getProperty name=element property=comments//td
/tr
/logic:iterate
/table
/logic:present
Maris Orbidans
-Original Message-
From: Jay Milam [mailto:[EMAIL
hello
If I compile my webapp with Tomcat 4.0 library it shows following
warnings:
saraksts.jsp: Warning #: 368 : variable EVAL_BODY_TAG in interface
javax.servlet.jsp.tagext.BodyTag has been deprecated at line 24
Could anybody tell why ?
Maris
--
To unsubscribe, e-mail: mailto:[EMAIL
section of the 2.0 spec, this has evolved to
the
more mealy-mouthed:
The client of an entity bean may be a remote client or the client
may
be a local client.
It's simply because EJB 2.0 has local interfaces (1.1 doesnt) , not that
claim to location independence is eroding.
regards,
Maris
hello
What if I want to just display some property of form bean (without any
input field) ?
Is there a tag for it ?
thanx in advance
Maris Orbidans
Data Pro
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
What' s the difference between a forward to jsp or to do ?
In case of forward to jsp just servlet compiled from the jsp file will
be called. Am I right ?
What will happen if I forward to *.do ?
regards,
Maris
global-forwards
forward name=logon path=/logon.jsp/
forward
How can I determine ( in perform() method ) which was the
previous ActionClass that forwarded to current class ?
Maris
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
hello all
I need to pass a Collection from an Action class to JSP form. (to
display search results)
Which is the best way to do it ? Store a Collection in session ?
Maris Orbidans
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
Maris Orbidans
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL
Hi Gundars
I have used new FileInputStream(servlet.properties) with no problems
but then servlet.properties should be in
Tomcat /bin directory. Method
getClass().getResourceAsStream(servlet.properties); will work if you
have the file
in the classpath.
regards
Maris Orbidans
DataPro
private
html:submit property=prevbean:message
key=button.prev//html:submit
Maris
-Original Message-
From: Henrick Chua [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 22, 2001 7:38 PM
To: Struts Users Mailing List (E-mail)
Subject: placing a value to a button
Hi!
How can I place a
Yes
JSP have the same comment
Maris
-Original Message-
From: Henrick Chua [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 22, 2001 8:12 PM
To: Struts Users Mailing List (E-mail)
Subject: comments
hi all!
how can I comment out struts code?
do i do it like any other html comments?
: comments
No!
JSP Comments are not !-- -- but %-- --%
--
gR
- Original Message -
From: Maris Orbidans [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, November 22, 2001 7:14 PM
Subject: RE: comments
Yes
JSP have the same comment
Maris
-Original
=savebean:message
key=button.save//html:submit/td
tdhtml:submit property=deletebean:message
key=button.delete//html:submit/td
tdhtml:submit property=addbean:message
key=button.add//html:submit/td
/tr
/table
The question is: How to determine which one has been pressed ?
Maris Orbidans
=deletebean:message
key=button.delete//html:submit/td
tdhtml:submit property=addbean:message
key=button.add//html:submit/td
/tr
/table
The question is: How to determine which one has been pressed ?
Maris Orbidans
--
To unsubscribe, e-mail:
mailto:struts-user- [EMAIL PROTECTED
So why make an action ?
Because I need a forward forward name=main path=/main.jsp/
to main page
and if I dont have the action I get:
javax.servlet.ServletException: Cannot retrieve mapping for action /main
Maris
Attribut name in action element cannot be null, you must put
46 matches
Mail list logo