RE: debugging jsp pages with struts html tags

2009-04-23 Thread Martin Gainty
set struts.properties struts.devMode = true then turn on debug for xml or console with http params ?debug=xml or ?debug=console to the URL http://struts.apache.org/2.x/docs/debugging.html Martin Gainty __ Disclaimer and Confidentiality/Verzicht und

Re: debugging jsp pages with struts html tags

2009-04-23 Thread Dave Newton
Bhaarat Sharma wrote: Is there a way to debug jsp pages that have struts2 html tags?? Sure, most IDEs have JSP debuggers, there's the debug tag, etc. How best to go about it probably depends on what the actual issue is. Dave -

Re: debugging jsp pages with struts html tags

2009-04-23 Thread Denis Cabasson
is usually helpful (without being a real debugger). Denis. Bhaarat Sharma a écrit : Is there a way to debug jsp pages that have struts2 html tags?? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additi

Re: Debugging form values being set

2009-04-06 Thread dusty
Seems like it should work the way you have it described. Perhaps show the JSP syntax although is suspect its correct. Maybe also show the Bean and action code for good measure. Is days a reserved word in OGNL? I don't think so. Did you try to change it to dayz and see if that works? Secur

Re: debugging tag syntax problems

2007-08-16 Thread Laszlo Borsos
I use Eclipse and it does not validate for example OGNL. Is there really no means to see the exception raised by JSP compiler? kuvera > Idea validates tag syntax, and I'm sure other IDEs have this > functionality too. > > Oleg --

Re: debugging tag syntax problems

2007-08-16 Thread Oleg Mikheev
Laszlo Borsos wrote: When I have a syntax error in a tag, I get an "Unable to load class for JSP" / ClassNotFoundException, as the JSP file does not get translated and compiled. But Tomcat 6 logs don't show the original exception, that would refer to the problem. How can it be logged? Syntax er

Re: Debugging struts applications with eclipse

2006-10-25 Thread Yujun Liang
MyEclipse has a huge selection of plugins, it is easy to config any application server and use the breakpoint to debug, you can even debug open source code if you download the source code. You need pay $50+ per year. I think it worths it. Regards On 10/25/06, Ulrich Elsner <[EMAIL PROTECTED]> wr

Re: Debugging struts applications with eclipse

2006-10-25 Thread Ulrich Elsner
On 10/25/06, Joe Yuen <[EMAIL PROTECTED]> wrote: Can anyone tell me how to debug an application running under tomcat? Is there any special setup I have to do in eclipse? A popular method consists of using the sysdeo plugin for Eclipse (http://www.sysdeo.com/eclipse/tomcatplugin). If you then

Re: Debugging struts applications with eclipse

2006-10-24 Thread Ed Griebel
This should answer all your questions: http://tomcat.apache.org/faq/development.html Google is your friend, this is the first link for "tomcat eclipse debugging" search. -ed On 10/24/06, Joe Yuen <[EMAIL PROTECTED]> wrote: Can anyone tell me how to debug an application running under tomcat? I

Re: Debugging struts applications with eclipse

2006-10-24 Thread Martin Gainty
I would look at implementing either commons-logging or Log4j for loggin using socket/smtp/ftp protocols which is organised to categories For more info take a look at http://www.theserverside.com/discussions/thread.tss?thread_id=19402 Anyone else? M- This e-mail communication and any attachments m

Re: debugging in eclipse

2006-03-06 Thread Shasirekha Engala
Getting error when trying to debug a remote application as Launching (error: Failed to connect to remote VM) and the details displayed are Failed to connect to remote VM java.io.IOException: EOF encountered during handshake org.eclipse.jdi.internal.connect.SocketTransportImpl.PerformHandshake(Sock

Re: Debugging

2005-09-29 Thread Borislav Sabev
Laurie Harper wrote: Bryon Lape wrote: hm strange ... in this case I don't know what ot tell you ... the file name should be struts.log may be somebody who is more familiar with log4j should give you an idea ... borislav Let me do a search on the whole harddrive for that file name. make

Re: Debugging

2005-09-29 Thread Swapnil Patil
Hi Bryon, I had used once log4j with Tomcat server. You can give absolute path for log file in log4j.properties.. like log4j.appender.struts.File=d:/MyApplicationLogs/struts.log so atleast you don't need to find log file . swapnil Patil On 9/28/05, Borislav Sabev <[EMAIL PROTECTED]> wrote:

Re: Debugging

2005-09-28 Thread Laurie Harper
Bryon Lape wrote: hm strange ... in this case I don't know what ot tell you ... the file name should be struts.log may be somebody who is more familiar with log4j should give you an idea ... borislav Let me do a search on the whole harddrive for that file name. make sure your log4j.properties

Re: Debugging

2005-09-28 Thread Bryon Lape
Configuring a .File and giving it a name I've been able to find the log. I can see it converting the parameter on and converts it to a String. WHat I don't see is it reading it nor are there any errors. I even put a value in of a file that does not exist and still no error. ---

Re: Debugging

2005-09-28 Thread Bryon Lape
>> > hm strange ... in this case I don't know what ot tell you ... > the file name should be struts.log > may be somebody who is more familiar with log4j should give you an idea > ... > borislav Let me do a search on the whole harddrive for that file name. ---

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: just make a file search under the path where the server is installed Please excuse my ignorance, but look for what? That is, what file name should I expect to find? I did a search for *.log and *log* and didn't find anything of use. hm strange ... in this case I

Re: Debugging

2005-09-28 Thread Bryon Lape
> Bryon Lape wrote: > >>>Bryon Lape wrote: >>> >>> >>> >Bryon Lape wrote: > > > > > >>I am looking for good pointers on getting debug logging turned on in >>Struts. I've added debug and detail params to my web.xml file, but I >>get >>nothing. Do I need log4

Re: [OT] Re: Debugging

2005-09-28 Thread Borislav Sabev
Dave Newton wrote: Holy crap, edit your replies! Dave Sorry Dave, ussualy i do Borislav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Re: Debugging

2005-09-28 Thread Dave Newton
Borislav Sabev wrote: Bryon Lape wrote: Bryon Lape wrote: Bryon Lape wrote: I am looking for good pointers on getting debug logging turned on in Struts. I've added debug and detail params to my web.xml file, but I get nothing. Do I need log4j? In the Struts Cookbook I've

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: Bryon Lape wrote: Bryon Lape wrote: I am looking for good pointers on getting debug logging turned on in Struts. I've added debug and detail params to my web.xml file, but I get nothing. Do I need log4j? In the Struts Cookbook I've found some things on de

Re: Debugging

2005-09-28 Thread Bryon Lape
> Bryon Lape wrote: > >>>Bryon Lape wrote: >>> >>> >>> I am looking for good pointers on getting debug logging turned on in Struts. I've added debug and detail params to my web.xml file, but I get nothing. Do I need log4j? In the Struts Cookbook I've found some things o

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: Bryon Lape wrote: I am looking for good pointers on getting debug logging turned on in Struts. I've added debug and detail params to my web.xml file, but I get nothing. Do I need log4j? In the Struts Cookbook I've found some things on debugging, but it seems very comp

Re: Debugging

2005-09-28 Thread Bryon Lape
> Bryon Lape wrote: > >>I am looking for good pointers on getting debug logging turned on in >>Struts. I've added debug and detail params to my web.xml file, but I get >>nothing. Do I need log4j? In the Struts Cookbook I've found some things >>on debugging, but it seems very complex to configure

Re: Debugging

2005-09-28 Thread Bryon Lape
I am currently using IntelliJ 5.0 and I have tried numerous times to get remote debugging for iPlanet working. So far, no dice. > My suggestion is to use an IDE that has source level debugging > (JDeveloper, Eclipse, NetBeans). If you start your appserver in > debugging mode, you can connect remo

Re: Debugging

2005-09-28 Thread Richard Yee
My suggestion is to use an IDE that has source level debugging (JDeveloper, Eclipse, NetBeans). If you start your appserver in debugging mode, you can connect remotely with your IDE and step through the code and observe variable values. -Richard Bryon Lape wrote: Bryon Lape wrote: My

Re: Debugging

2005-09-28 Thread Bryon Lape
> Bryon Lape wrote: > >>My goodness, it is as long as I thought. I can at least cut and paste >>this instead of doing all that typing. >> >> >> > is it so much? > >>Thanks. I'll let you know how it goes. I am running under iPlanet Web >>Server 6.0 SP1, so things can goofy. It already will not f

Re: Debugging

2005-09-28 Thread Frank W. Zammetti
An alternative is the following: (1) Create the file commons-logging.properties and put it in WEB-INF/classes with the following contents: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog (2) Create the file simplelog.properties and also place it in WEB-INF/classes with t

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: My goodness, it is as long as I thought. I can at least cut and paste this instead of doing all that typing. that's why I pasted you lines from my log4j.proprties file and it's sure they are correct borislav ---

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: My goodness, it is as long as I thought. I can at least cut and paste this instead of doing all that typing. is it so much? Thanks. I'll let you know how it goes. I am running under iPlanet Web Server 6.0 SP1, so things can goofy. It already will not find the message

Re: Debugging

2005-09-28 Thread Bryon Lape
> I hope this could help you: > 1. get log4j and put it together with other jars of your web project > 2. create a log4j.properties file and put on the root of your web app. > 3. add following lines in log4j.properties > > > Borislav My goodness, it is as long as I thought. I can at least cut and

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: I am looking for good pointers on getting debug logging turned on in Struts. I've added debug and detail params to my web.xml file, but I get nothing. Do I need log4j? In the Struts Cookbook I've found some things on debugging, but it seems very complex to configure. Is thi

Re: debugging tomcat with eclipse

2005-08-30 Thread Jay Sheth
Thanks a lot. I had to add the source to the path. Regards, Jay On 8/28/05, zheng chengbao <[EMAIL PROTECTED]> wrote: > > i'am using myeclipse,it is very easy to debug > > 2005/8/27, Jay Sheth <[EMAIL PROTECTED]>: > > > > HI, > > > > It would be great if you could give some hints on how to debu

Re: debugging tomcat with eclipse

2005-08-28 Thread zheng chengbao
i'am using myeclipse,it is very easy to debug 2005/8/27, Jay Sheth <[EMAIL PROTECTED]>: > > HI, > > It would be great if you could give some hints on how to debug tomcat > with eclipse. > > I have tried the following: > > * Running tomcat with option jpda start and then running a remote java

Re: debugging tomcat with eclipse

2005-08-27 Thread Xavier Vanderstukken
I'm using Eclipse WTP version 0.7 very nice Eclipse project. It can control a Tomcat Server and allow easy debugging Martijn Smit wrote: I'm running Tomcat within Eclipse with the Sysdeo plugin since the dawn of time. As long as you handle your own context definitions (keep a close watch on th

Re: debugging tomcat with eclipse

2005-08-26 Thread Martijn Smit
I'm running Tomcat within Eclipse with the Sysdeo plugin since the dawn of time. As long as you handle your own context definitions (keep a close watch on the occasional xml sysdeo generates) and define the source directories within the Sysdeo general option, you can debug and trace your source

RE: Debugging struts application

2005-03-26 Thread David G. Friedman
e to look out for in the logs. Regards, David -Original Message- From: Martin Seebach [mailto:[EMAIL PROTECTED] Sent: Friday, March 25, 2005 2:49 PM To: Struts Users Mailing List Subject: Re: Debugging struts application That looks really nice, thanks! But will that tell me why Tomcat sa

Re: Debugging struts application

2005-03-26 Thread Dave Newton
Martin Seebach wrote: That looks really nice, thanks! But will that tell me why Tomcat says that my action is unavailable? Maybe. You could also try raising the log level to DEBUG temporarily. I've found that when I get an error message like that it's usually related to a class loading or casting

Re: Debugging struts application

2005-03-25 Thread Martin Seebach
That looks really nice, thanks! But will that tell me why Tomcat says that my action is unavailable? Venlig hilsen Martin Seebach John Hyun wrote: If you use eclipse you can get the tomcat-eclipse plugin and this will let you debug your web application (including tomcat and any supporting libr

Re: Debugging struts application

2005-03-25 Thread John Hyun
If you use eclipse you can get the tomcat-eclipse plugin and this will let you debug your web application (including tomcat and any supporting libraries, i.e. struts). The plugin is at: http://www.sysdeo.com/eclipse/tomcatPlugin.html You will need to download the source code of struts and

RE: debugging with Struts

2004-11-12 Thread David G. Friedman
Doh! I already use that and should have had the brains to tell you about it when the thread started. :( Regards, David -Original Message- From: Yaroslav Novytskyy [mailto:[EMAIL PROTECTED] Sent: Friday, November 12, 2004 4:20 AM To: Struts Users Mailing List Subject: Re: debugging with

Re: debugging with Struts

2004-11-12 Thread Yaroslav Novytskyy
lloch" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, November 11, 2004 6:40 PM Subject: RE: debugging with Struts I think it is actually the source path of the *debug* configuration you are using. I just spent a goo

RE: debugging with Struts

2004-11-11 Thread Paul McCulloch
rdy [mailto:[EMAIL PROTECTED] > Sent: 11 November 2004 15:50 > To: Struts Users Mailing List > Subject: Re: debugging with Struts > > > On 11/11/2004 02:50 PM Yaroslav Novytskyy wrote: > > Hi all! > > > > Can anyone say how setup debugging in Eclipse

Re: debugging with Struts

2004-11-11 Thread Adam Hardy
On 11/11/2004 02:50 PM Yaroslav Novytskyy wrote: Hi all! Can anyone say how setup debugging in Eclipse 3.0.1 for useing with Struts under Tomcat 5. Thanks Yaroslav Novytskyy If you want to trace through the struts source code, you must link the struts.jar to the src code directory in the project's

Re: Debugging jsp file in IDE?

2004-08-04 Thread Thorbjørn Ravn Andersen
[EMAIL PROTECTED] wrote: Hello friends, could anyone explain how I can debugg a jsp file from a project in IDE 3.0.5? You can debug JSP-files with Netbeans. It uses Tomcat as the web container. -- Thorbjoern Ravn Andersen "...plus...Tubular Bells!" --

Re: Debugging jsp file in IDE?

2004-07-31 Thread Javen Fang
In my opinion, it seems netbeans,and I am not familiar with it. On Sun, 1 Aug 2004 02:32:05 +0800, Javen Fang <[EMAIL PROTECTED]> wrote: > bersoy, > > Your IDe 3.0.5 refer to ?? > > netbeans ? or eclipse ? > > if eclipse , lomboz plugin can suit your need, and it is free. lomboz > is also step

Re: Debugging jsp file in IDE?

2004-07-31 Thread Javen Fang
bersoy, Your IDe 3.0.5 refer to ?? netbeans ? or eclipse ? if eclipse , lomboz plugin can suit your need, and it is free. lomboz is also step throgh files generated by jsp. On Fri, 30 Jul 2004 09:28:47 +0100, Robert Shields <[EMAIL PROTECTED]> wrote: > Hi > > There are two plugins that I ha

RE: Debugging jsp file in IDE?

2004-07-30 Thread Robert Shields
Hi There are two plugins that I have used. The first is called myeclipse: http://www.myeclipseide.com This is a commercial (but inexpensive) plugin that will allow you to step through JSP files. The second is the Tomcat plugin by Sysdeo: http://www.sysdeo.com/eclipse/tomcatPlugin.html This w

RE: debugging prepared statements...view built SQl...Newbe?

2004-07-25 Thread tiwari.rajeev
I will also love to know this answer - regards Raj (+91-11-31261821) -Original Message- From: Research labs [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 9:44 AM To: [EMAIL PROTECTED] Subject: debugging prepared statements...view built SQl...Newbe? Is there anything in Struts t

Re: debugging prepared statements...view built SQl...Newbe?

2004-07-25 Thread Research labs
Thank for your very prompt response, I will investigate MySQl db. Ola. --- Peng Tuck Kwok <[EMAIL PROTECTED]> wrote: > Nope, don't think so. > If you are preparing your own sql statements you can > print them out > through a logger (tedious I know but still > workable). > Some database drivers

Re: debugging prepared statements...view built SQl...Newbe?

2004-07-25 Thread Peng Tuck Kwok
Nope, don't think so. If you are preparing your own sql statements you can print them out through a logger (tedious I know but still workable). Some database drivers do support jdbc logging, where statements executed against the database will be logged to a text file. You'll probably need to look