Eclipse - JBoss Development problem [message #884569] |
Mon, 11 June 2012 07:22  |
Eclipse User |
|
|
|
Hi!
I have installed the last version of Eclipse (Indigo sp2) and the last version of JBoss AS (7.1.1 Final). Installed JBoss server adapter. So I can start and stop JBoss from Eclipse. I created my first WebApp without any classes just one jsp file (index.jsp):
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
Hello World!!!
</body>
</html>
When I was launching this app for the first time, everything was ok and I have got "Hello World!!!" on the browser. BUT after that changes doesn't appears on the browser. For example if I chnge the index.jsp to:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
Hello World second time!!!
</body>
</html>
and I launch the application I get once "Hello World!!!" on the browser.
After restarting the JBoss AS and lautch the app I get the correct result: "Hello World second time!!!"
Why do I need to restart JBoss after any small changes in the code?
Thanks,
Karoly
|
|
|
|
|
Re: Eclipse - JBoss Development problem [message #886603 is a reply to message #884953] |
Fri, 15 June 2012 05:06  |
Eclipse User |
|
|
|
Hi,
which JBoss server adapter do you mean? Probably the one at
http://www.jboss.org/tools ? If this is true, you might ask the question
there.
Is your web app deployed as WAR file or exploded? Did you check whether
the files in the JBoss deploy directory are correctly updated? Maybe
JBoss does not pick the change, maybe JBossTools does not deploy
modified content correctly...
Best regards
Wolfgang
Am 12.06.2012 08:56, schrieb Karoly Guba:
> Hi!
>
> I have using internal browser, but I was try with external browser
> (firefox) but the result is the same. Yes I have refreshed the browser,
> but still see the old content.
>
> How did you resolve your problem ("I've have seen this before, looks
> like the page stays in the browser's cache")?
>
> Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.24901 seconds