- This topic has 4 replies, 3 voices, and was last updated 18 years, 3 months ago by glacier3.
-
AuthorPosts
-
peterdnightMemberHi ,
yup – I am a new user. Have used WTP and RAD, I am used to right clicking on any JSP or Servlet and clicking “run”. At which point the embedded browser is opened, with a url containing the JSP or servlet.
So far the tools seem pretty slick – so I am thinking this must be there somewhere? Is there an embedded web browser – even if I have to type the url manually?
Ps. I really like the preview for both IE and firefox on the jsp/html editor….
Thanks,
Peter
Riyad KallaMemberPeter,
Thank you for giving MyEclipse a try, we hope it helps you in your development.Now on to the debugging. You have two choices, the old “Web Browser” and the new “Web 2.0 Browser”. The Web 2.0 Browser can be opened from the toolbar, it’s up there next to the deployment button and the servers button. While you can use either view for accessing your site, the Web 2.0 Browser has a slick “instant-on” JavaScript debugging feature. You just point it at a site, fire up the JS debug button and viola, you are ready to go.
For JSPs, you just need to deploy your application, run your app server and then use your browser to excercise the app in such a way that your break points are hit. More information here:
http://www.myeclipseide.com/images/tutorials/quickstarts/webprojects/
peterdnightMemberUhmmmm – I did figure out how to start a server, because MyEclipse makes that part very easy.
What I do not want to do 10k times a day is to click “launch Web Browser”, and then type in url. What WTP plugin, and RAD do, is allow me WITH A SINGLE CLICK to launch a server, open a browser at the url of the servlet or jsp I clicked on.
ONE Click. That one click in My Eclipse launches the server. But it does not open the browser at the URL of the resource clicked on.
Does that exist?
Riyad KallaMemberNo, not in the manner you are used to. Considering that so many JSP pages simply don’t run standalone these days (Struts, JSF, Tapestry, Wicket, etc.) it’s not been a hugely requested item (actually very infrequently).
What I would suggest is the following:
1) Be sure to use an exploded deployment, this will synchronize changes with your app server every time you save your file.
2) Keep the web browser view open, just hit refreshAs I can imagine if you are using that feature so many times a day, that you are actively working on a JSP and effectively re-loading it over and over and over. In that case, the scenario I gave above should give you instant results, not even a right-click is necessary or restarting the app server.
glacier3MemberONE CLICK! I think WITH A SINGLE CLICK to launch a server is very convenient to debug my APP. But now , we can not . I hope MYECLIPSE have a debug model like Microsoft’s(such as visual studio 2005).
-
AuthorPosts