It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

HttpServletRequest jar file

Ganesh Srinivasan Feb 01, 2012

I am trying to develop a Crowd plugin, but getting stuck on HttpServletRequest (and its wrapper class) unresolved. Per Crowd documentation, it only required JDK 1.6 and hence I did not install JEE. By any chance are these classes only available in J2EE? Can you point me to a JAR file that I can download to resolve the issue? I am using Eclipse and I have tried referencing the servlet-api.jar from tomcat lib folder. That jar file only goes up to javax.servlet.http.*, but does not include the ....http.HttpServletRequest nor HttpServletRequestWrapper classes. Any help would be much appreciated.

Thanks,

Ganesh

1 answer

0 votes
JamieA Feb 01, 2012

You should put this in your pom:

        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.3</version>
            <scope>provided</scope>
        </dependency>

Ganesh Srinivasan Feb 06, 2012

Hi Jamie,

I am a .NET / C# developer and I am dealing with a huge learning curve with Servlets and Eclipse. I understand Project Object Model xml needs to be created for the project I am building? With Eclipse I am stumbling on all kinds of names like Maven, Indigo, Mylyn etc. Searching for pom.xml on the drive yields several in Eclipse folders under features and configuration folders. Am I to copy / paste one of these into my project folder to start? Any pointers to a very good quick read tutorial or book will get me started.

Thanks in advance.

Ganesh

JamieA Feb 06, 2012

Hi Ganesh, well, the learning cliff is quite steep. Start by creating a project from an archetype in the Atlassian SDK. Googling for Atlassian SDK will get you what you need. That will create your pom.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in United States

Unofficial downtown meetup week of June 3 or 4?

Hello everyone!  It's been a while since Houston's had a Atlassian Community Event (formerly Atlassian User Group meeting) so I wanted to gauge interest in an unofficial downtown meetup after wo...

35 views 0 0
View post

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you