Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need restarting the weblogic server everytime I make changes in jsp.

 
Arvinth Kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am using Weblogic 10.2. I can get the jsp changes reflected only after restarting the server. Can anyone help me with any option without restarting the server.
 
Bhagat Singh Rawat
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are you including one jsp in another jsp by using <jsp:include>?
 
Arvinth Kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes I am using <jsp:include> in some jsps.
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Arvinth,

Check for JSP reload value in Admin console. Is it packaged as war or exploded dierctory.
 
Bhagat Singh Rawat
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arvinth Kumar wrote:yes I am using <jsp:include> in some jsps.



So whenever you make any changes in your included JSP(child jsp) the same time you have to make some changes in your parent jsp too. So that Parent jsp would compile again.

What happens when there is no changes in your parent jsp, server doesn't compile it again and your changes in child jsp would not be reflected.

Just to compile your parent jsp, make some fake changes like write something, delete it and save it.


Hope it will help you, let me know if problem still there.
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I guess his problem is with parent jsps too. if yes check out this link
 
Arvinth Kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried on a jsp. I am getting the same problem in the Parent Page too. Do I need to do anything with the Portal Admin Console. I am including the jsp in the book as a portlet.
 
Arvinth Kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bhagat/Balu, I had a case where I could see the changes getting reflected when I make fake changes in the Parent jsp and could see the changes done on the child getting reflected. Thats great..

But in another situation I make a changes in the parent jsp and that is not reflecting on building the project.
 
Bhagat Singh Rawat
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arvinth Kumar wrote:Hi Bhagat/Balu, I had a case where I could see the changes getting reflected when I make fake changes in the Parent jsp and could see the changes done on the child getting reflected. Thats great..

But in another situation I make a changes in the parent jsp and that is not reflecting on building the project.



Thats good news. For parent jsp problem please flow the link which Balu has provided.
 
Arvinth Kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey I got it.. The Parent jsp will get forwarded from the pageflow. So I have did fake change on the controller (jsp) and got the changes reflected. Thank you so much... This will save me big time...
 
Arvinth Kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey I got it.. The Parent jsp will get forwarded from the pageflow. So I have did fake change on the controller (jpf) and got the changes reflected. Thank you so much... This will save me big time...
 
Bhagat Singh Rawat
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arvinth Kumar wrote:Hey I got it.. The Parent jsp will get forwarded from the pageflow. So I have did fake change on the controller (jpf) and got the changes reflected. Thank you so much... This will save me big time...



Yeah Man that situation we can't understand over this forum as this is your environment related. But overall it was good conversation. Great job
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic