Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2489
| Newsgroups | comp.lang.java.help |
|---|---|
| Date | 2013-02-11 12:45 -0800 |
| References | <kfb9jr$69d$1@dont-email.me> |
| Message-ID | <3b447074-316f-4e1a-bb0f-0b54b4a547b6@googlegroups.com> (permalink) |
| Subject | Re: LINTing Javascript in a Java WebApp |
| From | Lew <lewbloch@gmail.com> |
Steve wrote: > I have a number a Java webapp with a number of embedded ( in JSPs ) > Javascripts and straight *.js files. Hmm. Not a good clean separation there. > More than few times I've built the webapp and deployed it only to find > I've made a trivial error, like forgetting a semicolon in the Javascript. Why do you need so much Javascript? > I've seen that there are some Javascript LINT tools out there. > > Is there any particular tool or combination of tools that will highlight > Javascript errors as I go ( similar to what spellchecks do these days by > putting squiggly red line underneath ) or give me error messages at > compile time ( for my Java webapp )? The Aptana plugin for Eclipse www.aptana.org provides more advance Javascript editing. It seems wrong to put a lot of JS into a JSP. Or any, really. I've seen it done in some projects and that consistently caused unholy messes. But you might try using static pages with the same Javascript and debug the JS that way. Freeze one possible output that the JSP might generate and try to use its Javascript. -- Lew
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-11 12:26 -0500
Re: LINTing Javascript in a Java WebApp Roedy Green <see_website@mindprod.com.invalid> - 2013-02-11 11:42 -0800
Re: LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-12 08:40 -0500
Re: LINTing Javascript in a Java WebApp Lew <lewbloch@gmail.com> - 2013-02-11 12:45 -0800
Re: LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-12 08:40 -0500
Re: LINTing Javascript in a Java WebApp Lew <lewbloch@gmail.com> - 2013-02-12 09:45 -0800
Re: LINTing Javascript in a Java WebApp Steve <tinker123@gmail.com> - 2013-02-13 14:26 -0500
Re: LINTing Javascript in a Java WebApp Lew <lewbloch@gmail.com> - 2013-02-13 14:56 -0800
Re: LINTing Javascript in a Java WebApp Roedy Green <see_website@mindprod.com.invalid> - 2013-02-13 18:43 -0800
csiph-web