Re: What Book??

2005-03-10 Thread Alex Kravets
If you are talking about 'Struts: The Complete Reference' then I vote for that one, reall straight forward and easy to read. Ted Husted wrote: For newbies, I like Struts for Dummies. :) (Really, I do!) Struts Cookbook (ORA) is quite good for the pragmatic programmer ready to fine tune a basic app

Stuts forwarding does not work

2005-01-12 Thread Alex Kravets
I am trying to redirect from index.jsp to another page but no luck. I get this error: org.apache.jasper.JasperException: Exception forwarding for name queryInput: org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)

Re: Stuts forwarding does not work

2005-01-13 Thread Alex Kravets
pplication logon.war from Husted's Struts In Action source code. So may be my struts installation is wrong? thanks a lot, Alex Amit Gupta wrote: What are you writing in your index.jsp? Amit Gupta Mobile: 91-9891062552 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message----- Fro

Re: Stuts forwarding does not work

2005-01-14 Thread Alex Kravets
like you sent your messages over a day ahead of us. Considering daylight savings time only allows for a 24 hour window, I'm guessing your computer's (whichever one you send email from) time might be off just a little, a tad, a pinch, a smidgeon, etc. -Original Message----- From: Alex

Re: Stuts forwarding does not work

2005-01-14 Thread Alex Kravets
ation" you mention? Is it a struts example application or your application? Did you recompile it on your local machine after installing Struts? Regards, David -Original Message----- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 01, 1980 4:36 PM To: Struts Users Mailing L

Re: Stuts forwarding does not work

2005-01-17 Thread Alex Kravets
I know where the error is, I viewed java class compiled by the servelet container of the JSP page and the error is at the line that servlet container generated, but I don't know what it means. The error in compiled JSP page: if (_jspx_meth_html_form_0(pageContext)) return; out.write("

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
imilar exception to those I am having in JBoss, and looking at Catalina.out see some classes not being loaded. David G. Friedman wrote: Alex, I'd like to see the line 85 of the JSP as was listed in the stack dump. Can you post that to the list? Regards, David -Original Message- F

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
} finally { if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); } } Dakota Jack wrote: Line 85 is the catch clause, Alex. Give us the try clause. The problem is there. Include the catch in your post, please, with reference to line 85 again. This is a good le

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
wrote: I would try removing one by one the base, errors and form tags and see what happens. One of those seems to have a problem. Jack On Tue, 18 Jan 2005 14:19:27 -0500, Alex Kravets <[EMAIL PROTECTED]> wrote: the code snippet is part of source code when my JSP page was compiled. It&

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
In addition, part of the application is forwarding of initial request from index.jsp to action forward in struts-config.xml (welcome.jsp/welcome.do). So if this works then the whole mechanism of ActionServlet works? Alex Kravets wrote: But here is the scenario. I take standard application from

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
Success! Now I know it's JBoss for sure. I just finally installed Tomcat on the server, deployed my application and it worked. Now I need to figure out what's wrong with JBoss. Thanks for your help guys! Alex Kravets wrote: In addition, part of the application is forwarding of initi

Re: Stuts forwarding does not work

2005-01-18 Thread Alex Kravets
hmm...I guess I'll forward this there. Hubert Rabago wrote: On Tue, 18 Jan 2005 17:38:15 -0500, Alex Kravets <[EMAIL PROTECTED]> wrote: Now I need to figure out what's wrong with JBoss. Ooh, this line would get tons of responses in

running ant

2005-01-19 Thread Alex Kravets
I am building my application using Ant. It seems to be compiling but fails at step to build javadoc. Will this impact running of the application (I think not)? Here is the output of running Ant: Buildfile: build.xml clean: [delete] Deleting directory /export/home/jakarta-tomcat-5.5.4/webapps/

Re: running ant

2005-01-19 Thread Alex Kravets
but then how can compilation step succeed? David G. Friedman wrote: Sounds like you don't have servet.jar or servlet-api.jar (Tomcat 5.X name for that jar) in your classpath. Regards, David -Original Message- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 20

NullPointerException, how to determine cause?

2005-01-19 Thread Alex Kravets
I am trying to connect to a database in Action Class and set return data into a vector. Then vector is set into session and session is read from forwarded page. However, I am getting NullPointerException. Now I put the part of the code that I think might generate an exception into try block, bu

Re: NullPointerException, how to determine cause?

2005-01-19 Thread Alex Kravets
) form).getSQLQuery(); Are you sure there's a form definition available for this action? It means, is there a "name" attribute defined in an appropriate element in your struts-config.xml? Pavel On Wed, 19 Jan 2005 12:34:51 -0500, Alex Kravets <[EMAIL PROTECTED]> wrote: I am t

installing Struts on JBoss

2005-01-20 Thread Alex Kravets
Are there any special requirements to install and run Struts applications on JBoss? I istalled JBoss on Tomcat and have been able to run Struts applications w/o any problems. Same application on JBoss gives me Servlet Exception. I would try mailing lists/forums for JBoss, but I find them not es

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
wrote: Alex Kravets wrote: Are there any special requirements to install and run Struts applications on JBoss? I istalled JBoss on Tomcat and have been able to run Struts applications w/o any problems. Same application on JBoss gives me Servlet Exception. I would try mailing lists/forums for JBoss

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
$ControlRunnable.run(ThreadPool.java:677) Have no idea where to start tracing this. at java.lang.Thread.run(Thread.java:534) Pavel Kolesnikov wrote: On Thu, 20 Jan 2005 15:22:01 -0500, Alex Kravets <[EMAIL PROTECTED]> wrote: Are there any special requirements to install and run

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
stack trace doesn't say anything more than "there was some error processing a Test.jsp". Couldn't you find anything more in the server log? ($JBOSS_HOME/server/default/logs/server.log) Pavel On Thu, 20 Jan 2005 15:54:40 -0500, Alex Kravets <[EMAIL PROTECTED]> wrote: Ok,

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
model should be used over the normal Java2 parent first class loading model. false In Jboss 4.x this is in the file .../deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml In Jboss 3.x it's in the file 'tomcat41-service.xml' in .../deploy Greg -----Original Message

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
$Http11ConnectionHandler.processConnection(Http11Protocol.java:549) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677) at java.lang.Thread.run(Thread.java:534) Alex Kravets wrote: Graig, After I

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
the file 'tomcat41-service.xml' in .../deploy Greg -Original Message- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005 2:22 PM To: Struts Users Mailing List Subject: installing Struts on JBoss Are there any special requirements to install and run Struts ap

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
boss 3.x it's in the file 'tomcat41-service.xml' in .../deploy Greg -Original Message- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005 2:22 PM To: Struts Users Mailing List Subject: installing Struts on JBoss Are there any special requirements to

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
false In Jboss 4.x this is in the file .../deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml In Jboss 3.x it's in the file 'tomcat41-service.xml' in .../deploy Greg -Original Message- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005 2:22 PM T

commons-logging

2005-01-21 Thread Alex Kravets
Couple of question about logging in Struts. I included commons-logging.jar in my classpath, imported Log and LogFactory in my class and have the following: public final class ExecuteQueryForm extends ActionForm { private static Log log = LogFactory.getLog(ExecuteQueryForm.class); public voi

Re: commons-logging

2005-01-21 Thread Alex Kravets
But how do I configure these, I've googled for it, but can't find any specific details. Will Stranathan wrote: You have to configure the underlying logging package - such as Log4j if you're using that or Java 1.4 logging if you're using that. w On Fri, 21 Jan 2005 16:02:39

Re: Database Connection Workflow Question

2005-01-28 Thread Alex Kravets
I think you can still use your DAO classes in Struts. In my application, which was not written in Struts I use DAOs written as Singleton, Factory DP everywhere, I guess in Struts you can call your DAOs from Action Class to access database. Scott Purcell wrote: Hello, I am running Tomcat struts.

Struts 2.0 or Struts 0.0?

2005-01-31 Thread Alex Kravets
So what do you guys think? http://www.theserverside.com/news/thread.tss?thread_id=31509 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Alex Kravets
tries to change/disprove? Ted Husted wrote: On Mon, 31 Jan 2005 17:03:09 -0500, Alex Kravets wrote: So what do you guys think? http://www.theserverside.com/news/thread.tss?thread_id=31509 An important clarification we'll make to the FAQ is that "by doing our job right&quo

Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Alex Kravets
CH ONE FITS YOU NEEDS BEST BASED ON YOUR ANAYLSIS? (It's a bit like sayind what method call you you call in your code? I'ts up to you). Alex Kravets wrote: Ted, Graig, 've read some posts/blogs where people who've used Struts and now use Tapestry say that they will never go back to

Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Alex Kravets
se that too? or would you jump of a bridge? Waren Buffet has a book and a chapter on Lemmings) Alex Kravets wrote: Well I think 70% is a little bit too much http://www.manageability.org/polls/what-is-the-best-java-web-framework Accroding to latest "market share" reportring (by Raibl

Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Alex Kravets
ct of reasonable size. choice is good. sure. but i also think there's confusion when there is so many ways to do the same thing. this is the irony that will always be there. i think feeling 'overwhelmed' would be a safe assumption for anyone starting out right now. woodchu

Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Alex Kravets
, Spring MVC, and WebWorks are others. -Ted. On Wed, 02 Feb 2005 09:34:54 -0500, Alex Kravets wrote: Ted, Graig, So was Struts Shale made to make programmer's life easier in creating Web Applications using MVC Framework? I've read some posts/blogs where people who've used Str