This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Location of *_jsp.java files in tomcat-7

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using tomcat-7
i am writing the following code in a abc.jsp file.



if i execute the output comes first "invalid userID password please login again"
then output of login.jsp file then CHECK.
i think it should be like this
first "invalid userID password please login again"
file then CHECK then output of login.jsp.

and also I want to know where the location of abc_jsp.java file.

thanks in advance.
 
Sheriff
Posts: 21775
103
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bhagirathi Mallick wrote:and also I want to know where the location of abc_jsp.java file.


<Tomcat>\work\Catalina\localhost\<webapp> is the root of your web application's JSP package structure. If you use a different host in your server.xml file then localhost will be replaced by that host.
 
Bartender
Posts: 20924
127
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Rob Spoor wrote:

Bhagirathi Mallick wrote:and also I want to know where the location of abc_jsp.java file.


<Tomcat>\work\Catalina\localhost\<webapp> is the root of your web application's JSP package structure. If you use a different host in your server.xml file then localhost will be replaced by that host.



Not mine. I'm not using Windows. It's $CATALINA_BASE/work/Catalina/localhost/webapp for me.

And, of course, as always I am obliged to observe that writing your own login code is a Bad Idea.
 
Bhagirathi Mallick
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not using tomcat-6 , I am using tomcat-7 with ecipse but I am unable to find that location, because there is no folder as webapps
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!