Results 1 to 19 of 19
- 10-30-2014, 08:07 PM #1
Member
- Join Date
- Dec 2012
- Posts
- 30
- Rep Power
- 0
- 10-30-2014, 08:51 PM #2
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: view jsp page without runing server
It would help if you explain what your exact problem is and why you ask this, I'm having trouble to understand what you don't want and what you do exactly want. Generally to do something with the web to need an actual web environment which is minimally a web server. But this is IT and in IT things can be automated, even starting a webserver and doing something with it.
But what is that "something" ? For what purpose do you want to see the HTML? For unit testing or something?"Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 10-30-2014, 09:23 PM #3
Member
- Join Date
- Dec 2012
- Posts
- 30
- Rep Power
- 0
Re: view jsp page without runing server
1-Edititng of web page and seeing results each time I need run server and I take too much time and I want only see view of web page and not code processing ,and of course my memory occupied by runing server.
2- it is good if there is button on toolbar which only shows(NOT Run) html page which I am currently editing,because I working with more than 40 html page in my projocet"
Thanks
- 10-30-2014, 10:01 PM #4
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: view jsp page without runing server
1) I don't know on what system you run this stuff, but I don't need to "run" a server each time I develop but only once and it starts up in mere seconds. Memory is cheap, that is not an argument against having to run a server.
2) you're not editing a HTML page but a JSP. You may be able to find an Eclipse plugin that can generate some sort of preview however, I don't know of any specifically.
If you're not using Apache Tomcat, I would check that out. It uses very little memory and starts up in a few seconds."Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 10-30-2014, 10:05 PM #5
Member
- Join Date
- Dec 2012
- Posts
- 30
- Rep Power
- 0
Re: view jsp page without runing server
I am using glassfish server
thanks
- 10-30-2014, 10:06 PM #6
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: view jsp page without runing server
Glassfish starts up in seconds for me too. I don't know what is wrong with your computer, but you're not going to solve it by tossing the server away.
"Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 10-30-2014, 11:47 PM #7
Re: view jsp page without runing server
Slow starting Java servers/stand-alone applications are usually caused by a virusscanner which is setup to scan each and every file it gets its hands on. Virusscanning a JAR file will cause the jarfile to be opened and several thousands of classfiles will be scanned. McAfee shit is notorious for being a pain in the ass. Exclude your appserver's directory from scanning and see if that helps.
Last edited by SurfMan; 10-31-2014 at 10:26 AM.
"It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013
- 10-31-2014, 11:32 AM #8
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
Re: view jsp page without runing server
As gimbal says, you're writing a JSP.
If you need to figure out a page structure I would recommend prototyping it in HTML first, then using that as the basis for producing your JSP page.
Besides, surely you can hot deploy, so no need for stopping and starting your server. You are, after all, using JSPs.Please do not ask for code as refusal often offends.
** This space for rent **
- 10-31-2014, 11:55 AM #9
- 10-31-2014, 11:55 AM #10
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: view jsp page without runing server
Points for recommending to prototype, that didn't even occur to me even though I do it myself all the time :/
"Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 10-31-2014, 12:02 PM #11
Re: view jsp page without runing server
"It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013
- 10-31-2014, 12:08 PM #12
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
Re: view jsp page without runing server
Please do not ask for code as refusal often offends.
** This space for rent **
- 10-31-2014, 02:00 PM #13
Re: view jsp page without runing server
Very off-topic:
+1. It's extremely rare to see a developer with designing skills and vice-versa. I have worked with a designer who whipped out an awesome Photoshop mockup. Just brilliant, everything about it. I was like, yeah, well 'shopped, but can you deliver this in HTML? I told him I wanted it in HTML5 with CSS, and as little "hacks" as possible. He delivered fully HTML5 compliant HTML styled with pure CSS, image sprites, including media queries for responsive design, all pixel-perfect. For my collegues I have put up the final webpage and his PSD next to eachother, and nobody could see the difference. I could NEVER have done that in a million years.
TL;DR: Get yourself a skilled designer :)"It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013
- 10-31-2014, 02:18 PM #14
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: view jsp page without runing server
My girlfriend happens to be one - she started out as a designer and then rolled into fulltime programming. You can do everything and do it amazingly efficient - which also means people will abuse that and make you do everything. Alone.
Nope - I'm a big fan of separation of concerns. In people too."Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 10-31-2014, 04:10 PM #15
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
Re: view jsp page without runing server
Me and the other dev are having to do it where I am at the moment as "it's only an in house backoffice thing", so we've built the front end...thank god for things like Bootstrap otherwise it would look even worse.
:)Please do not ask for code as refusal often offends.
** This space for rent **
- 10-31-2014, 04:46 PM #16
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: view jsp page without runing server
JQuery-UI and its themes are also quite nice ;)
ThemeRoller | jQuery UI"Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 11-03-2014, 12:04 PM #17
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
Re: view jsp page without runing server
I was going to use that, but turns out they use Bootstrap here, so go with the flow.
Please do not ask for code as refusal often offends.
** This space for rent **
- 11-03-2014, 12:15 PM #18
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: view jsp page without runing server
And that is a piece of software engineering wisdom: rather than going your own way, go with the flow.
"Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 11-03-2014, 03:41 PM #19
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
Re: view jsp page without runing server
Please do not ask for code as refusal often offends.
** This space for rent **
Similar Threads
-
page view prelude
By willemjav in forum AWT / SwingReplies: 1Last Post: 03-06-2014, 01:27 PM -
unnable to view the default home page though j2ee server starting properly
By shallz in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 03-21-2009, 10:37 AM -
setting the view to a jsp page from a self refeshing page
By deepal_205 in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 08-15-2008, 05:41 PM -
Applet - enter URL and view the page
By Java Tip in forum Java TipReplies: 0Last Post: 03-10-2008, 03:38 PM -
How to view applet from html page.
By jwzumwalt in forum Java AppletsReplies: 2Last Post: 11-24-2007, 05:21 AM
Bookmarks